init

package
v3.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdInit

func NewCmdInit() *cobra.Command

NewCmdInit create a new init command

func NewCmdInitOs

func NewCmdInitOs() *cobra.Command

NewCmdInitOs creates a new init os command

func NewCmdInitRegistry

func NewCmdInitRegistry() *cobra.Command

NewCmdInitRegistry creates a new init os command

Types

type InitOptions

type InitOptions struct {
	CommonOptions *options.CommonOptions
}

func NewInitOptions

func NewInitOptions() *InitOptions

type InitOsOptions

type InitOsOptions struct {
	CommonOptions  *options.CommonOptions
	ClusterCfgFile string
	Artifact       string
}

func NewInitOsOptions

func NewInitOsOptions() *InitOsOptions

func (*InitOsOptions) AddFlags

func (o *InitOsOptions) AddFlags(cmd *cobra.Command)

func (*InitOsOptions) Run

func (o *InitOsOptions) Run() error

type InitRegistryOptions

type InitRegistryOptions struct {
	CommonOptions  *options.CommonOptions
	ClusterCfgFile string
	DownloadCmd    string
	Artifact       string
}

func NewInitRegistryOptions

func NewInitRegistryOptions() *InitRegistryOptions

func (*InitRegistryOptions) AddFlags

func (o *InitRegistryOptions) AddFlags(cmd *cobra.Command)

func (*InitRegistryOptions) Complete

func (o *InitRegistryOptions) Complete(_ *cobra.Command, _ []string) error

func (*InitRegistryOptions) Run

func (o *InitRegistryOptions) Run() error

Jump to

Keyboard shortcuts

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