Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindOrphanObjects ¶
func FindOrphanObjects(k *k8s.K8sCluster, ru *utils2.RemoteObjectUtils, c *deployment.DeploymentCollection) ([]k8s2.ObjectRef, error)
Types ¶
type DeleteCommand ¶
type DeleteCommand struct { OverrideDeleteByLabels map[string]string // contains filtered or unexported fields }
func NewDeleteCommand ¶
func NewDeleteCommand(c *deployment.DeploymentCollection) *DeleteCommand
func (*DeleteCommand) Run ¶
func (cmd *DeleteCommand) Run(k *k8s.K8sCluster) ([]k8s2.ObjectRef, error)
type DeployCommand ¶
type DeployCommand struct { ForceApply bool ReplaceOnError bool ForceReplaceOnError bool AbortOnError bool HookTimeout time.Duration NoWait bool // contains filtered or unexported fields }
func NewDeployCommand ¶
func NewDeployCommand(c *deployment.DeploymentCollection) *DeployCommand
func (*DeployCommand) Run ¶
func (cmd *DeployCommand) Run(k *k8s.K8sCluster) (*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 NewDiffCommand ¶
func NewDiffCommand(c *deployment.DeploymentCollection) *DiffCommand
func (*DiffCommand) Run ¶
func (cmd *DiffCommand) Run(k *k8s.K8sCluster) (*types.CommandResult, error)
type DownscaleCommand ¶
type DownscaleCommand struct {
// contains filtered or unexported fields
}
func NewDownscaleCommand ¶
func NewDownscaleCommand(c *deployment.DeploymentCollection) *DownscaleCommand
func (*DownscaleCommand) Run ¶
func (cmd *DownscaleCommand) Run(k *k8s.K8sCluster) (*types.CommandResult, error)
type PokeImagesCommand ¶
type PokeImagesCommand struct {
// contains filtered or unexported fields
}
func NewPokeImagesCommand ¶
func NewPokeImagesCommand(c *deployment.DeploymentCollection) *PokeImagesCommand
func (*PokeImagesCommand) Run ¶
func (cmd *PokeImagesCommand) Run(k *k8s.K8sCluster) (*types.CommandResult, error)
type PruneCommand ¶
type PruneCommand struct {
// contains filtered or unexported fields
}
func NewPruneCommand ¶
func NewPruneCommand(c *deployment.DeploymentCollection) *PruneCommand
func (*PruneCommand) Run ¶
func (cmd *PruneCommand) Run(k *k8s.K8sCluster) ([]k8s2.ObjectRef, error)
type SealCommand ¶
type SealCommand struct {
// contains filtered or unexported fields
}
func NewSealCommand ¶
func NewSealCommand(c *deployment.DeploymentCollection) *SealCommand
type ValidateCommand ¶
type ValidateCommand struct {
// contains filtered or unexported fields
}
func NewValidateCommand ¶
func NewValidateCommand(c *deployment.DeploymentCollection) *ValidateCommand
func (*ValidateCommand) ForgetRemoteObject ¶
func (cmd *ValidateCommand) ForgetRemoteObject(ref k8s2.ObjectRef)
func (*ValidateCommand) Run ¶
func (cmd *ValidateCommand) Run(k *k8s.K8sCluster) (*types.ValidateResult, error)
Click to show internal directories.
Click to hide internal directories.