Documentation
¶
Index ¶
- Constants
- func NewCmdCreate(streams options.IOStreams) *cobra.Command
- func NewCmdCreateCluster(streams options.IOStreams) *cobra.Command
- func NewCmdCreateRole(streams options.IOStreams) *cobra.Command
- func NewCmdCreateUser(streams options.IOStreams) *cobra.Command
- type BaseOptions
- type CreateClusterOptions
- type CreateOptions
- type CreateRoleOptions
- type CreateUserOptions
Constants ¶
View Source
const IPDetectDescription = `` /* 2173-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BaseOptions ¶
type BaseOptions struct { PrintFlags *printer.PrintFlags CliOpts *options.CliOptions options.IOStreams Client *kc.Client }
type CreateClusterOptions ¶
type CreateClusterOptions struct { BaseOptions Masters []string Workers []string UntaintMaster bool Offline bool LocalRegistry string CRI string CRIVersion string K8sVersion string CNI string CNIVersion string Name string CertSans []string CaCertFile string CaKeyFile string DNSDomain string IPv4AutoDetection string // contains filtered or unexported fields }
func NewCreateClusterOptions ¶
func NewCreateClusterOptions(streams options.IOStreams) *CreateClusterOptions
func (*CreateClusterOptions) Complete ¶
func (l *CreateClusterOptions) Complete(opts *options.CliOptions) error
func (*CreateClusterOptions) PreRun ¶
func (l *CreateClusterOptions) PreRun() error
func (*CreateClusterOptions) RunCreate ¶
func (l *CreateClusterOptions) RunCreate() error
func (*CreateClusterOptions) ValidateArgs ¶
func (l *CreateClusterOptions) ValidateArgs(cmd *cobra.Command) error
type CreateOptions ¶
type CreateOptions struct { BaseOptions Filename string }
func NewCreateOptions ¶
func NewCreateOptions(streams options.IOStreams) *CreateOptions
func (*CreateOptions) Complete ¶
func (l *CreateOptions) Complete(opts *options.CliOptions) error
type CreateRoleOptions ¶
type CreateRoleOptions struct { BaseOptions Name string Rules []string // contains filtered or unexported fields }
func NewCreateRoleOptions ¶
func NewCreateRoleOptions(streams options.IOStreams) *CreateRoleOptions
func (*CreateRoleOptions) Complete ¶
func (l *CreateRoleOptions) Complete(opts *options.CliOptions) error
func (*CreateRoleOptions) RunCreate ¶
func (l *CreateRoleOptions) RunCreate() error
func (*CreateRoleOptions) ValidateArgs ¶
func (l *CreateRoleOptions) ValidateArgs(cmd *cobra.Command) error
type CreateUserOptions ¶
type CreateUserOptions struct { BaseOptions Name string Role string Email string Description string DisplayName string Password string Phone string }
func NewCreateUserOptions ¶
func NewCreateUserOptions(streams options.IOStreams) *CreateUserOptions
func (*CreateUserOptions) Complete ¶
func (l *CreateUserOptions) Complete(opts *options.CliOptions) error
func (*CreateUserOptions) RunCreate ¶
func (l *CreateUserOptions) RunCreate() error
func (*CreateUserOptions) ValidateArgs ¶
func (l *CreateUserOptions) ValidateArgs(cmd *cobra.Command) error
Click to show internal directories.
Click to hide internal directories.