setup

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewInitCommand

func NewInitCommand(f cmdutil.Factory, ioStreams cmdutil.IOStreams) *cobra.Command

func NewResetCommand

func NewResetCommand(f cmdutil.Factory, ioStreams cmdutil.IOStreams) *cobra.Command

func RunPiped added in v1.2.2

func RunPiped(c1, c2 *exec.Cmd) error

RunPiped runs c1 and pipes the output into c2

Types

type InitOptions added in v1.2.2

type InitOptions struct {
	Kubectl
	IncludeBootstrapRole bool
	DryRun               bool

	cmdutil.IOStreams
}

InitOptions is the configuration for initialization

func NewInitOptions added in v1.2.2

func NewInitOptions(ioStreams cmdutil.IOStreams) *InitOptions

NewInitOptions returns a new initialization options struct

func (*InitOptions) Complete added in v1.2.2

func (o *InitOptions) Complete(f cmdutil.Factory, cmd *cobra.Command) error

func (*InitOptions) Run added in v1.2.2

func (o *InitOptions) Run() error

type Kubectl added in v1.2.2

type Kubectl struct {
	Bin       string
	Namespace string
}

func (*Kubectl) Apply added in v1.2.2

func (k *Kubectl) Apply() *exec.Cmd

Apply returns a command that will apply the manifests specified on stdin

func (*Kubectl) Complete added in v1.2.2

func (k *Kubectl) Complete() error

func (*Kubectl) Create added in v1.2.2

func (k *Kubectl) Create() *exec.Cmd

Create returns a command that will create the manifests specified on stdin

func (*Kubectl) Delete added in v1.2.2

func (k *Kubectl) Delete() *exec.Cmd

Delete returns a command that will delete the manifests specified on stdin

func (*Kubectl) GenerateRedSkyOpsManifests added in v1.2.2

func (k *Kubectl) GenerateRedSkyOpsManifests(env io.Reader) *exec.Cmd

GenerateRedSkyOpsManifests returns a command that will produce the Red Sky Ops product manifests on stdout

type ResetOptions added in v1.2.2

type ResetOptions struct {
	Kubectl

	cmdutil.IOStreams
}

ResetOptions is the configuration for suggesting assignments

func NewResetOptions added in v1.2.2

func NewResetOptions(ioStreams cmdutil.IOStreams) *ResetOptions

NewResetOptions returns a new reset options struct

func (*ResetOptions) Complete added in v1.2.2

func (o *ResetOptions) Complete(f cmdutil.Factory, cmd *cobra.Command) error

func (*ResetOptions) Run added in v1.2.2

func (o *ResetOptions) Run() error

Jump to

Keyboard shortcuts

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