cmd

package
v1.28.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2023 License: Apache-2.0 Imports: 19 Imported by: 26

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(f Factory, out io.Writer) error

func NewCmdApply

func NewCmdApply(f Factory, out io.Writer) *cobra.Command

func NewCmdApplyChannel

func NewCmdApplyChannel(f Factory, out io.Writer) *cobra.Command

func NewCmdGet

func NewCmdGet(f Factory, out io.Writer) *cobra.Command

func NewCmdGetAddons

func NewCmdGetAddons(f Factory, out io.Writer) *cobra.Command

func NewCmdRoot

func NewCmdRoot(f Factory, out io.Writer) *cobra.Command

func RunApplyChannel

func RunApplyChannel(ctx context.Context, f Factory, out io.Writer, options *ApplyChannelOptions, args []string) error

func RunGetAddons

func RunGetAddons(ctx context.Context, f Factory, out io.Writer, options *GetAddonsOptions) error

Types

type ApplyChannelOptions

type ApplyChannelOptions struct {
	Yes bool
}

type CmdRootOptions

type CmdRootOptions struct {
	// contains filtered or unexported fields
}

type Factory

type Factory interface {
	KubernetesClient() (kubernetes.Interface, error)
	CertManagerClient() (certmanager.Interface, error)
	RESTMapper() (*restmapper.DeferredDiscoveryRESTMapper, error)
	DynamicClient() (dynamic.Interface, error)
}

type GetAddonsOptions

type GetAddonsOptions struct{}

Jump to

Keyboard shortcuts

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