cmd

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "v0.0.0-dev"

Functions

func NewCreateCmd

func NewCreateCmd(epinioCLI *cli.EpinioCLI) *cobra.Command

func NewCreateRoleCmd

func NewCreateRoleCmd(epinioCLI *cli.EpinioCLI) *cobra.Command

func NewCreateUserCmd

func NewCreateUserCmd(epinioCLI *cli.EpinioCLI) *cobra.Command

func NewDescribeCmd

func NewDescribeCmd(cli *cli.EpinioCLI) *cobra.Command

func NewDescribeRoleCmd

func NewDescribeRoleCmd(cli *cli.EpinioCLI) *cobra.Command

func NewDescribeUserCmd

func NewDescribeUserCmd(cli *cli.EpinioCLI) *cobra.Command

func NewEditCmd

func NewEditCmd(cli *cli.EpinioCLI) *cobra.Command

func NewEditUserCmd

func NewEditUserCmd(cli *cli.EpinioCLI) *cobra.Command

func NewGetCmd

func NewGetCmd(cli *cli.EpinioCLI) *cobra.Command

func NewGetRoleCmd

func NewGetRoleCmd(cli *cli.EpinioCLI) *cobra.Command

func NewGetUserCmd

func NewGetUserCmd(cli *cli.EpinioCLI) *cobra.Command

func NewRootCmd

func NewRootCmd(streams genericiooptions.IOStreams) (*cobra.Command, error)

func NewVersionCmd

func NewVersionCmd(kubeClient kubernetes.Interface) *cobra.Command

func NoFileCompletions

func NoFileCompletions(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

NoFileCompletions can be used to disable file completion for commands that should not trigger file completions.

Types

type CreateRoleConfig

type CreateRoleConfig struct {
	Interactive bool
	ID          string
	Name        string
	Default     bool
	Actions     []string
}

type CreateUserConfig

type CreateUserConfig struct {
	Interactive bool
	Password    string
	Namespaces  []string
	Roles       []string
}

type EpinioOptions

type EpinioOptions struct {
	genericiooptions.IOStreams
	// contains filtered or unexported fields
}

type ValidArgsFunc

type ValidArgsFunc func(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

func NewNamespaceValidator

func NewNamespaceValidator(epinioCLI *cli.EpinioCLI) ValidArgsFunc

func NewRoleValidator

func NewRoleValidator(epinioCLI *cli.EpinioCLI) ValidArgsFunc

func NewStaticFlagsCompletionFunc

func NewStaticFlagsCompletionFunc(allowedValues []string) ValidArgsFunc

func NewUserValidator

func NewUserValidator(epinioCLI *cli.EpinioCLI) ValidArgsFunc

Jump to

Keyboard shortcuts

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