cmd

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2020 License: Apache-2.0 Imports: 16 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(f Factory, out io.Writer, options *ApplyChannelOptions, args []string) error

func RunGetAddons

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

Types

type ApplyChannelOptions

type ApplyChannelOptions struct {
	Yes   bool
	Files []string
}

type CmdRootOptions

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

type DefaultFactory

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

func (*DefaultFactory) KubernetesClient

func (f *DefaultFactory) KubernetesClient() (kubernetes.Interface, error)

type Factory

type Factory interface {
	KubernetesClient() (kubernetes.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