cmd

package
v1.28.4 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: Apache-2.0 Imports: 20 Imported by: 25

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 {
	VFSContext() *vfs.VFSContext
	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