apply

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 NewCmdApply

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

Types

type ApplyOptions

type ApplyOptions struct {
	TargetName string `json:"target_name"`
	ZoneName   string `json:"zone_name"`
	AllZones   bool   `json:"all_zones"`
	Playbook   string `json:"playbook"`

	StartAtPlay string `json:"start_at_playbook"`

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

func NewApplyOptions

func NewApplyOptions(sailOption *models.SailOption) *ApplyOptions

func (*ApplyOptions) Complete

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

func (*ApplyOptions) Run

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

func (*ApplyOptions) Validate

func (o *ApplyOptions) Validate() error

Jump to

Keyboard shortcuts

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