Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultHost = "localhost" // DefaultHost is default address where discovery will look for Kubelet API. DefaultPort = 10250 // DefaultPort is default port user for Kubelet API. DefaultTimeout = 5000 // Default timeout of 5 seconds in miliseconds DefaultRetries = 5 // Default retries to 5 FlagHost = "host" FlagNamespaces = "namespaces" FlagPort = "port" FlagInsecure = "insecure" FlagTimeout = "timeout" FlagRetries = "retries" FlagTLS = "tls" FlagKubeConfigFile = "kubeconfig" FlagClusterName = "cluster_name" FlagNodeName = "node_name" )
Variables ¶
View Source
var (
ErrClusterNameNotSet = errors.New("cluster name is not set")
)
Functions ¶
func IsFlagPassed ¶ added in v1.3.0
IsFlagPassed checks if a particular command line argument was provided or not.
Types ¶
Click to show internal directories.
Click to hide internal directories.