upgrade

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdUpgrade

func NewCmdUpgrade(sailOption *models.SailOption) *cobra.Command

Types

type UpgradeOptions

type UpgradeOptions struct {
	TargetName string `json:"target_name"`
	ZoneName   string `json:"zone_name"`
	AllZones   bool   `json:"all_zones"`

	Components []string `json:"component"`
	Ansible    bool     `json:"ansible"`
	Helm       bool     `json:"helm"`
	// contains filtered or unexported fields
}

func NewUpgradeOptions

func NewUpgradeOptions(sailOption *models.SailOption) *UpgradeOptions

func (*UpgradeOptions) Complete

func (o *UpgradeOptions) Complete(cmd *cobra.Command, args []string) error

func (*UpgradeOptions) Run

func (o *UpgradeOptions) Run(args []string) error

func (*UpgradeOptions) Validate

func (o *UpgradeOptions) Validate() error

Jump to

Keyboard shortcuts

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