Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateArgs ¶
func ValidateArgs() error
ValidateArgs validates all of the command line arguments
Types ¶
type Args ¶
type Args struct { Min int32 Max int32 Rate time.Duration ScaleDown ScaleDownArgs Logging LoggingArgs Kubernetes KubernetesArgs AZD AzureDevopsArgs Health HealthArgs }
Args holds all of the program arguments
func ArgsFromFlags ¶
func ArgsFromFlags() Args
ArgsFromFlags returns an Args parsed from the program flags
type AzureDevopsArgs ¶
AzureDevopsArgs holds all of the Azure Devops related args
type HealthArgs ¶
type HealthArgs struct {
Port int
}
HealthArgs holds all of the healthcheck related args
type KubernetesArgs ¶
KubernetesArgs holds all of the Kubernetes related args
func (KubernetesArgs) FriendlyName ¶
func (a KubernetesArgs) FriendlyName() string
FriendlyName returns the name used to reference the resource in the CLI, ex: deployment/myapp
type LoggingArgs ¶
LoggingArgs holds all of the logging related args
type ScaleDownArgs ¶
ScaleDownArgs holds all of the scale-down related args
Click to show internal directories.
Click to hide internal directories.