plan

package
v1.122.1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 39 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(s store.Store, p *types.Plan) error

TODO (@salah): make each step report better status

func PlanUpgrade

func PlanUpgrade(s store.Store, kcli kbclient.Client, opts PlanUpgradeOptions) (*types.Plan, error)

func Resume

func Resume(s store.Store) error

func UpdateStep

func UpdateStep(s store.Store, opts UpdateStepOptions) error

Types

type ExtensionsDiffResult

type ExtensionsDiffResult struct {
	Added    []ecv1beta1.Chart
	Removed  []ecv1beta1.Chart
	Modified []ecv1beta1.Chart
}

type PlanUpgradeOptions

type PlanUpgradeOptions struct {
	AppSlug      string
	VersionLabel string
	UpdateCursor string
	ChannelID    string
}

type UpdateStepOptions

type UpdateStepOptions struct {
	AppSlug           string
	VersionLabel      string
	StepID            string
	Status            types.PlanStepStatus
	StatusDescription string
	Output            string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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