confcreate

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdConfCreate

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

Types

type ConfCreateOptions

type ConfCreateOptions struct {
	TargetName  string
	ZoneName    string
	ProductName string

	InstallDir string
	DataDir    string
	SSHUser    string
	SSHPort    int

	Hosts []string

	KubeConfig  string
	KubeContext string
	Namespace   string
	// contains filtered or unexported fields
}

func NewConfCreateOptions

func NewConfCreateOptions(sailOption *models.SailOption) *ConfCreateOptions

func (*ConfCreateOptions) Complete

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

func (*ConfCreateOptions) Run

func (o *ConfCreateOptions) Run() error

func (*ConfCreateOptions) Validate

func (o *ConfCreateOptions) Validate() error

Jump to

Keyboard shortcuts

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