commands

package
v2.10.2 Latest Latest
Warning

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

Go to latest
Published: May 10, 2022 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type DeleteCommand

type DeleteCommand struct {
	OverrideDeleteByLabels map[string]string
	// contains filtered or unexported fields
}

func (*DeleteCommand) Run

func (cmd *DeleteCommand) Run(ctx context.Context, k *k8s.K8sCluster) ([]k8s2.ObjectRef, error)

type DeployCommand

type DeployCommand struct {
	ForceApply          bool
	ReplaceOnError      bool
	ForceReplaceOnError bool
	AbortOnError        bool
	ReadinessTimeout    time.Duration
	NoWait              bool
	// contains filtered or unexported fields
}

func (*DeployCommand) Run

func (cmd *DeployCommand) Run(ctx context.Context, k *k8s.K8sCluster, diffResultCb func(diffResult *types.CommandResult) error) (*types.CommandResult, error)

type DiffCommand

type DiffCommand struct {
	ForceApply          bool
	ReplaceOnError      bool
	ForceReplaceOnError bool
	IgnoreTags          bool
	IgnoreLabels        bool
	IgnoreAnnotations   bool
	// contains filtered or unexported fields
}

func (*DiffCommand) Run

type DownscaleCommand

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

func (*DownscaleCommand) Run

type PokeImagesCommand

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

func (*PokeImagesCommand) Run

type PruneCommand

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

func (*PruneCommand) Run

func (cmd *PruneCommand) Run(ctx context.Context, k *k8s.K8sCluster) ([]k8s2.ObjectRef, error)

type SealCommand

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

func (*SealCommand) Run

func (cmd *SealCommand) Run(sealer *seal.Sealer) error

type ValidateCommand

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

func (*ValidateCommand) ForgetRemoteObject

func (cmd *ValidateCommand) ForgetRemoteObject(ref k8s2.ObjectRef)

func (*ValidateCommand) Run

Jump to

Keyboard shortcuts

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