Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SyncComponentConfigResponse ¶
type SyncComponentConfigResponse struct {
CfgID, RequestChecksum string
}
type SyncerOption ¶ added in v0.19.1012
type SyncerOption func(*syncer)
New creates a new API-based syncer that communicates with ctl-api over HTTP. This is the original sync implementation used by the CLI.
Parameters:
- apiClient: nuon SDK client for making API calls
- appID: ID of the app to sync
- cliVersion: version of the CLI performing the sync (for tracking)
- cfg: parsed app configuration to sync
Returns a sync.Syncer interface that can be used to perform the sync operation. SyncerOption configures optional syncer behavior.
func WithAppBranch ¶ added in v0.19.1012
func WithAppBranch(branchID string, planOnly bool) SyncerOption
WithAppBranch configures the syncer to target a specific app branch.
Source Files
¶
- actions_sync.go
- apisyncer.go
- app_metadata.go
- app_stack_sync.go
- branches_sync.go
- break_glass_sync.go
- checksum.go
- component_sync_helpers.go
- components_container_image.go
- components_docker_build.go
- components_helm_chart.go
- components_job.go
- components_kubernetes_manifest.go
- components_pulumi.go
- components_sync.go
- components_terraform_module.go
- finish.go
- inputs_sync.go
- kubernetes_contexts_sync.go
- operation_roles_sync.go
- permissions_sync.go
- policies_sync.go
- runbooks_sync.go
- runner_sync.go
- sandbox_sync.go
- secrets_sync.go
- shared_iam.go
- start.go
- state.go
- step.go
- steps.go
Click to show internal directories.
Click to hide internal directories.