Documentation
¶
Index ¶
- Constants
- type Service
- func (s *Service) Actions(ctx context.Context, installID string, offset, limit int, asJSON bool) error
- func (s *Service) Components(ctx context.Context, installID string, offset, limit int, asJSON bool) error
- func (s *Service) Create(ctx context.Context, appID, name, region string, inputs []string, ...) error
- func (s *Service) CreateDeploy(ctx context.Context, installID, buildID string, deployDeps, asJSON bool) error
- func (s *Service) CurrentInputs(ctx context.Context, installID string, asJSON bool) error
- func (s *Service) Delete(ctx context.Context, installID string, asJSON bool) error
- func (s *Service) DeployComponents(ctx context.Context, installID string, planOnly bool, asJSON bool) error
- func (s *Service) DeployLogs(ctx context.Context, installID, deployID, installComponentID string, ...) error
- func (s *Service) Deprovision(ctx context.Context, installID string, asJSON bool) error
- func (s *Service) DeprovisionSandbox(ctx context.Context, installID string, asJSON bool) error
- func (s *Service) Forget(ctx context.Context, installID string, asJSON bool) error
- func (s *Service) GenerateConfig(ctx context.Context, installID string) error
- func (s *Service) Get(ctx context.Context, installID string, asJSON bool) error
- func (s *Service) GetDeploy(ctx context.Context, installID, deployID string, asJSON bool) error
- func (s *Service) GetInstallID() string
- func (s *Service) GetWorkflowID() string
- func (s *Service) List(ctx context.Context, appID string, offset, limit int, asJSON bool) error
- func (s *Service) ListDeploys(ctx context.Context, installID string, offset, limit int, asJSON bool) error
- func (s *Service) Reprovision(ctx context.Context, installID string, asJSON bool) error
- func (s *Service) SandboxRunLogs(ctx context.Context, installID, runID string, asJSON bool) error
- func (s *Service) SandboxRuns(ctx context.Context, installID string, offset, limit int, asJSON bool) error
- func (s *Service) Select(ctx context.Context, appID, installID string, asJSON bool) error
- func (s *Service) SetCurrent(ctx context.Context, installID string, asJSON bool)
- func (s *Service) Sync(ctx context.Context, fileOrDir string, appID string, ...) error
- func (s *Service) TeardownComponent(ctx context.Context, installID, componentID string, asJSON bool) error
- func (s *Service) TeardownComponents(ctx context.Context, installID string, asJSON bool) error
- func (s *Service) ToggleSync(ctx context.Context, installID string, enable, disable bool) error
- func (s *Service) UnsetCurrent(ctx context.Context) error
- func (s *Service) UpdateInput(ctx context.Context, installID string, inputs []string, printJSON bool) error
- func (s *Service) WorkflowSetApprovalOption(ctx context.Context, workflowID string, approveAll, prompt, asJSON bool) error
- func (s *Service) WorkflowStepApprove(ctx context.Context, installID, workflowID, stepID, note string, ...) error
- func (s *Service) WorkflowStepLogs(ctx context.Context, installID, workflowID, stepID string, asJSON bool) error
- func (s *Service) WorkflowStepPlan(ctx context.Context, installID, workflowID, stepID string, asJSON bool) error
- func (s *Service) WorkflowStepReject(ctx context.Context, installID, workflowID, stepID, note string, ...) error
- func (s *Service) WorkflowStepRetry(ctx context.Context, installID, workflowID, stepID string, ...) error
- func (s *Service) WorkflowStepsGet(ctx context.Context, workflowID, stepID string, asJSON bool) error
- func (s *Service) WorkflowStepsList(ctx context.Context, workflowID string, asJSON bool) error
- func (s *Service) WorkflowsDeselect(ctx context.Context) error
- func (s *Service) WorkflowsGet(ctx context.Context, workflowID string, asJSON bool) error
- func (s *Service) WorkflowsList(ctx context.Context, installID string, offset, limit int, asJSON bool) error
- func (s *Service) WorkflowsSelect(ctx context.Context, installID, workflowID string, offset, limit int, ...) error
- func (s *Service) WorkflowsTUI(ctx context.Context, installID, workflowID string) error
- func (s *Service) WorkflowsWatch(ctx context.Context, installID, workflowID string, interval time.Duration, ...) (int, error)
- func (s *Service) WorkflowsWatchTUI(ctx context.Context, installID, workflowID string) (int, error)
Constants ¶
View Source
const ( ManagedByNuonCLIConfig = "nuon/cli/install-config" ManagedByNuonDashboard = "nuon/dashboard" )
View Source
const ( ExitCodeSuccess = 0 ExitCodeFailed = 1 ExitCodeCancelled = 2 ExitCodeApprovalRequired = 3 ExitCodeStepFailed = 4 ExitCodeInterrupt = 130 )
Exit codes for workflow watch command
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) Components ¶
func (*Service) CreateDeploy ¶
func (*Service) CurrentInputs ¶
func (*Service) DeployComponents ¶
func (*Service) DeployLogs ¶
func (*Service) Deprovision ¶
func (*Service) DeprovisionSandbox ¶
func (*Service) GenerateConfig ¶
func (*Service) GetInstallID ¶
func (*Service) GetWorkflowID ¶ added in v0.19.777
func (*Service) ListDeploys ¶
func (*Service) Reprovision ¶
func (*Service) SandboxRunLogs ¶
func (*Service) SandboxRuns ¶
func (*Service) SetCurrent ¶
func (*Service) TeardownComponent ¶
func (*Service) TeardownComponents ¶
func (*Service) ToggleSync ¶
func (*Service) UpdateInput ¶
func (*Service) WorkflowSetApprovalOption ¶ added in v0.19.777
func (*Service) WorkflowStepApprove ¶ added in v0.19.777
func (*Service) WorkflowStepLogs ¶ added in v0.19.777
func (*Service) WorkflowStepPlan ¶ added in v0.19.777
func (*Service) WorkflowStepReject ¶ added in v0.19.777
func (*Service) WorkflowStepRetry ¶ added in v0.19.777
func (*Service) WorkflowStepsGet ¶ added in v0.19.777
func (*Service) WorkflowStepsList ¶ added in v0.19.777
func (*Service) WorkflowsDeselect ¶ added in v0.19.777
func (*Service) WorkflowsGet ¶ added in v0.19.777
func (*Service) WorkflowsList ¶ added in v0.19.777
func (*Service) WorkflowsSelect ¶ added in v0.19.777
func (*Service) WorkflowsTUI ¶ added in v0.19.777
func (*Service) WorkflowsWatch ¶ added in v0.19.777
func (s *Service) WorkflowsWatch(ctx context.Context, installID, workflowID string, interval time.Duration, asJSON, quiet bool) (int, error)
WorkflowsWatch polls a workflow until it reaches a terminal state or requires approval
func (*Service) WorkflowsWatchTUI ¶ added in v0.19.777
WorkflowsWatchTUI launches the full-screen TUI for watching all workflows for an install. It accepts either an installID or workflowID. If workflowID is provided, it resolves the install ID from the workflow's OwnerID field. Returns an exit code and error for proper CLI exit handling.
Source Files
¶
- actions.go
- app_install_syncer.go
- components.go
- create.go
- create_deploy.go
- current_inputs.go
- delete.go
- deploy_components.go
- deploy_logs.go
- deprovision.go
- deprovision_sandbox.go
- forget.go
- generate_config.go
- get.go
- get_deploy.go
- list.go
- list_deploys.go
- reprovision.go
- sandbox_run_logs.go
- sandbox_runs.go
- select.go
- service.go
- set_current.go
- sync.go
- teardown_component.go
- teardown_components.go
- toggle_sync.go
- unset_current.go
- update_input.go
- workflows.go
- workflows_select.go
- workflows_tui.go
- workflows_watch.go
Click to show internal directories.
Click to hide internal directories.