deploy

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2023 License: Apache-2.0 Imports: 43 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildAgent added in v1.3.1

func BuildAgent(agentRegions, fips []string, defaultRegion string) (options.Agents, error)

func BuildAgentRegion added in v1.3.1

func BuildAgentRegion(agentRegions []string, defaultRegion string) (options.AgentRegions, error)

func BuildFIP added in v1.3.1

func BuildFIP(fips []string) (options.FIPs, error)

BuildFIP parse ip and fip.

func GetDeployConfig added in v1.3.1

func GetDeployConfig(ctx context.Context, cli *kc.Client, dump bool) (*options.DeployConfig, error)

GetDeployConfig get online deploy config and dump to local if we need.

func NewCmdDeploy

func NewCmdDeploy(streams options.IOStreams) *cobra.Command

func NewCmdDeployConfig

func NewCmdDeployConfig(o *DeployOptions) *cobra.Command

func UpdateDeployConfig added in v1.3.1

func UpdateDeployConfig(ctx context.Context, cli *kc.Client, deployConfig *options.DeployConfig, dump bool) error

UpdateDeployConfig update online deploy config and dump to local if we need.

Types

type DeployOptions

type DeployOptions struct {
	options.IOStreams
	// contains filtered or unexported fields
}

func NewDeployOptions

func NewDeployOptions(streams options.IOStreams) *DeployOptions

func (*DeployOptions) Complete

func (d *DeployOptions) Complete() error

func (*DeployOptions) GenDefaultConfig

func (d *DeployOptions) GenDefaultConfig() error

func (*DeployOptions) RunDeploy

func (d *DeployOptions) RunDeploy() error

func (*DeployOptions) ValidateArgs

func (d *DeployOptions) ValidateArgs() error

Jump to

Keyboard shortcuts

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