constants

package
v0.0.0-...-5c2e470 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	IPMIToolPathFlagName = "ipmitool-path"
	KubeConfigFlagName   = "kubeconfig"
	PeriodFlagName       = "period"
	NodeNameFlagName     = "nodename"

	DefaultIPMIToolPath   = "ipmitool"
	DefaultKubeConfigFile = "~/.kube/config"
	DefaultPeriod         = "1h"

	// APICallRetryInterval defines how long plugin should wait before retrying a failed API operation
	APICallRetryInterval = 500 * time.Millisecond
	// PatchNodeTimeout specifies how long plugin should wait for applying the label and taint on the master before timing out
	PatchNodeTimeout = 2 * time.Minute

	NodeNameEnvName = "NODENAME"

	IPMIAnnotationKey = "ipmi.alpha.kubernetes.io/net"
)

Variables

View Source
var IPMIConfigurationKeys = []string{
	"IP Address Source",
	"IP Address",
	"Subnet Mask",
	"MAC Address",
	"Default Gateway IP",
	"Default Gateway MAC",
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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