commands

package
v2.24.1 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 21 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type DeleteCommand

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

func NewDeleteCommand

func NewDeleteCommand(discriminator string, targetCtx *target_context.TargetContext, inclusion *utils.Inclusion, wait bool) *DeleteCommand

func (*DeleteCommand) Run

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

type DeployCommand

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

func NewDeployCommand

func NewDeployCommand(targetCtx *target_context.TargetContext) *DeployCommand

func (*DeployCommand) Run

func (cmd *DeployCommand) Run(diffResultCb func(diffResult *result.CommandResult) error) *result.CommandResult

type DiffCommand

type DiffCommand struct {
	ForceApply           bool
	ReplaceOnError       bool
	ForceReplaceOnError  bool
	IgnoreTags           bool
	IgnoreLabels         bool
	IgnoreAnnotations    bool
	IgnoreKluctlMetadata bool

	SkipResourceVersions map[k8s2.ObjectRef]string
	// contains filtered or unexported fields
}

func NewDiffCommand

func NewDiffCommand(targetCtx *target_context.TargetContext) *DiffCommand

func (*DiffCommand) Run

func (cmd *DiffCommand) Run() *result.CommandResult

type PokeImagesCommand

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

func NewPokeImagesCommand

func NewPokeImagesCommand(targetCtx *target_context.TargetContext) *PokeImagesCommand

func (*PokeImagesCommand) Run

type PruneCommand

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

func NewPruneCommand

func NewPruneCommand(discriminator string, targetCtx *target_context.TargetContext, wait bool) *PruneCommand

func (*PruneCommand) Run

func (cmd *PruneCommand) Run(confirmCb func(refs []k8s2.ObjectRef) error) *result.CommandResult

type SealCommand

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

func NewSealCommand

func NewSealCommand(c *deployment.DeploymentCollection, outputPattern string, renderDir string, sealedSecretsDir string) *SealCommand

func (*SealCommand) Run

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

type ValidateCommand

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

func NewValidateCommand

func NewValidateCommand(discriminator string, targetCtx *target_context.TargetContext) *ValidateCommand

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