cmd

package
v1.31.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2025 License: Apache-2.0 Imports: 23 Imported by: 26

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(ctx context.Context, f *ChannelsFactory, out io.Writer) error

func NewCmdApply

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

func NewCmdApplyChannel

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

func NewCmdGet

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

func NewCmdGetAddons

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

func NewCmdRoot

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

func RunApplyChannel

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

func RunGetAddons

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

Types

type ApplyChannelOptions

type ApplyChannelOptions struct {
	Yes bool
	// contains filtered or unexported fields
}

type ChannelsFactory added in v1.31.0

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

func NewChannelsFactory added in v1.31.0

func NewChannelsFactory() *ChannelsFactory

func (*ChannelsFactory) DynamicClient added in v1.31.0

func (f *ChannelsFactory) DynamicClient() (dynamic.Interface, error)

func (*ChannelsFactory) HTTPClient added in v1.31.0

func (f *ChannelsFactory) HTTPClient() (*http.Client, error)

func (*ChannelsFactory) RESTConfig added in v1.31.0

func (f *ChannelsFactory) RESTConfig() (*rest.Config, error)

func (*ChannelsFactory) RESTMapper added in v1.31.0

func (*ChannelsFactory) VFSContext added in v1.31.0

func (f *ChannelsFactory) VFSContext() *vfs.VFSContext

type CmdRootOptions

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

type GetAddonsOptions

type GetAddonsOptions struct{}

Jump to

Keyboard shortcuts

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