config

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	DryRun                     bool
	NodeName                   string
	MetadataURL                string
	IgnoreDaemonSets           bool
	DeleteLocalData            bool
	KubernetesServiceHost      string
	KubernetesServicePort      string
	PodTerminationGracePeriod  int
	NodeTerminationGracePeriod int
}

Config arguments set via CLI, environment variables, or defaults

func ParseCliArgs

func ParseCliArgs() Config

ParseCliArgs parses cli arguments and uses environment variables as fallback values

Jump to

Keyboard shortcuts

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