Module wizard

Module wizard 

Source
Expand description

Interactive deployment wizard for configuring new services

Provides a step-by-step TUI wizard for deploying services to the Syncable platform.

Re-exports§

pub use recommendations::recommend_deployment;
pub use recommendations::DeploymentRecommendation;
pub use recommendations::MachineOption;
pub use recommendations::ProviderOption;
pub use recommendations::RecommendationAlternatives;
pub use recommendations::RecommendationInput;
pub use recommendations::RegionOption;

Modules§

recommendations
Deployment recommendation engine

Structs§

CloudRegion
A cloud region/location option
MachineType
A machine/instance type option

Enums§

ClusterSelectionResult
Result of cluster selection step
ConfigFormResult
Result of config form step
DockerfileSelectionResult
Result of Dockerfile selection step
EnvironmentCreationResult
Result of environment creation wizard
EnvironmentSelectionResult
Result of environment selection step
InfrastructureSelectionResult
Result of infrastructure selection step
ProviderSelectionResult
Result of provider selection step
RegistryProvisioningResult
Result of registry provisioning
RegistrySelectionResult
Result of registry selection step
RepositorySelectionResult
Result of repository selection step
TargetSelectionResult
Result of target selection step
WizardResult
Result of running the wizard

Functions§

collect_config
Collect deployment configuration details from user
count_badge
Format a count badge
create_environment_wizard
Run the environment creation wizard
display_step_header
Display a wizard step header box
get_default_machine_type
Get default machine type for a provider
get_default_region
Get default region for a provider
get_machine_types_for_provider
Get machine types for a cloud provider
get_provider_deployment_statuses
Get deployment status for all providers
get_regions_for_provider
Get regions for a cloud provider
provision_registry
Provision a new artifact registry
run_wizard
Run the deployment wizard
select_cluster
Display cluster selection for Kubernetes deployments
select_dockerfile
Select a Dockerfile from discovered Dockerfiles
select_environment
Prompt user to select an environment for deployment
select_infrastructure
Select region and machine type for Cloud Runner deployment
select_provider
Display provider selection and prompt user to choose
select_registry
Display registry selection for container image storage
select_repository
Select repository for deployment
select_target
Display target selection based on provider capabilities
status_indicator
Format a status indicator (checkmark or X)
wizard_render_config
Get the standard render config for wizard prompts