add

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDefaultAddCmd

func NewDefaultAddCmd(c *config.Configuration) *cobra.Command

Types

type AddOptions

type AddOptions struct {
	Config      *config.Configuration
	Cluster     config.Cluster
	Password    string
	Reset       bool
	NewPassword string
	Json        string
}

func NewAddOptions

func NewAddOptions(c *config.Configuration) *AddOptions

func (*AddOptions) Login

func (ap *AddOptions) Login()

func (*AddOptions) Parse

func (ap *AddOptions) Parse()

func (*AddOptions) ResetPassword

func (ap *AddOptions) ResetPassword()

func (*AddOptions) Validate

func (ap *AddOptions) Validate()

Jump to

Keyboard shortcuts

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