Documentation ¶
Index ¶
- func BuildAgent(agentRegions, fips []string, defaultRegion string) (options.Agents, error)
- func BuildAgentRegion(agentRegions []string, defaultRegion string) (options.AgentRegions, error)
- func BuildFIP(fips []string) (options.FIPs, error)
- func GetDeployConfig(ctx context.Context, cli *kc.Client, dump bool) (*options.DeployConfig, error)
- func NewCmdDeploy(streams options.IOStreams) *cobra.Command
- func NewCmdDeployConfig(o *DeployOptions) *cobra.Command
- func UpdateDeployConfig(ctx context.Context, cli *kc.Client, deployConfig *options.DeployConfig, ...) error
- type DeployOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildAgent ¶ added in v1.3.1
func BuildAgentRegion ¶ added in v1.3.1
func BuildAgentRegion(agentRegions []string, defaultRegion string) (options.AgentRegions, error)
func GetDeployConfig ¶ added in v1.3.1
GetDeployConfig get online deploy config and dump to local if we need.
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 ¶
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
Click to show internal directories.
Click to hide internal directories.