cmd

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdGuard

func NewCmdGuard(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewCmdGuard provides a cobra command wrapping GuardOptions

func NewGuardAllCommand

func NewGuardAllCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewGuardAllCommand returns a new instance of an `argocd app create` command

func NewGuardHpaCommand

func NewGuardHpaCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewGuardHpaCommand returns a new instance of an `argocd app create` command

func NewGuardIngressCommand

func NewGuardIngressCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewGuardIngressCommand is to enforce Deployment object has "PodReadinessCondition for ALB-Ingress" when target-type is "ip" in Ingress

Types

type GuardOptions

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

GuardOptions provides information required to update the current context on a user's KUBECONFIG

func NewGuardOptions

func NewGuardOptions(clientOpts *argocdclient.ClientOptions) *GuardOptions

NewGuardOptions provides an instance of GuardOptions with default values

Jump to

Keyboard shortcuts

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