Documentation ¶
Index ¶
Constants ¶
View Source
const ( ADD = "ADD" DEL = "DEL" UPDATE = "UPDATE" )
View Source
const ( NginxImageName = "nginx" RedisImageName = "redis" )
Variables ¶
View Source
var ( CronJobGroupVersionResourceAlpha = schema.GroupVersionResource{Group: "batch", Version: "v2alpha1", Resource: "cronjobs"} CronJobGroupVersionResourceBeta = schema.GroupVersionResource{Group: "batch", Version: "v1beta1", Resource: "cronjobs"} NautilusImage = imageutils.GetE2EImage(imageutils.Nautilus) KittenImage = imageutils.GetE2EImage(imageutils.Kitten) NginxImage = imageutils.GetE2EImage(imageutils.Nginx) NewNginxImage = imageutils.GetE2EImage(imageutils.NginxNew) RedisImage = imageutils.GetE2EImage(imageutils.Redis) )
View Source
var NamespaceNodeSelectors = []string{"scheduler.alpha.kubernetes.io/node-selector"}
The annotation key scheduler.alpha.kubernetes.io/node-selector is for assigning node selectors labels to namespaces
Functions ¶
func NewRestartConfig ¶
func NewRestartConfig(nodeName, daemonName string, healthzPort int, pollInterval, pollTimeout time.Duration) *restartDaemonConfig
NewRestartConfig creates a restartDaemonConfig for the given node and daemon.
func SIGDescribe ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.