deployment

package
v0.0.0-...-8ac9041 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// StageK8sMultiSync represents the state where
	// all resources should be synced with the Git state.
	StageK8sMultiSync = "K8S_MULTI_SYNC"
	// StageK8sMultiRollback represents the state where all deployed resources should be rollbacked.
	StageK8sMultiRollback = "K8S_MULTI_ROLLBACK"
)
View Source
const (
	// StageDescriptionK8sMultiSync represents the description of the K8sSync stage.
	StageDescriptionK8sMultiSync = "Sync by applying all manifests"
	// StageDescriptionK8sMultiRollback represents the description of the K8sRollback stage.
	StageDescriptionK8sMultiRollback = "Rollback the deployment"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin struct {
}

Plugin implements the sdk.DeploymentPlugin interface.

func (*Plugin) BuildPipelineSyncStages

BuildPipelineSyncStages returns the stages for the pipeline sync strategy.

func (*Plugin) BuildQuickSyncStages

BuildQuickSyncStages returns the stages for the quick sync strategy.

func (*Plugin) DetermineStrategy

DetermineStrategy determines the strategy for the deployment.

func (*Plugin) DetermineVersions

DetermineVersions determines the versions of the application.

func (*Plugin) FetchDefinedStages

func (p *Plugin) FetchDefinedStages() []string

FetchDefinedStages returns the defined stages for this plugin.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL