labels

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RancherLabelPrefix = "io.rancher"

	RevisionLabel       = "io.rancher.revision"
	DeploymentUUIDLabel = "io.rancher.deployment.uuid"

	SchedulingLabelPrefix          = "io.rancher.scheduler"
	GlobalLabel                    = "io.rancher.scheduler.global"
	HostAffinityLabel              = "io.rancher.scheduler.affinity:host_label"
	HostAntiAffinityLabel          = "io.rancher.scheduler.affinity:host_label_ne"
	HostSoftAffinityLabel          = "io.rancher.scheduler.affinity:host_label_soft"
	HostSoftAntiAffinityLabel      = "io.rancher.scheduler.affinity:host_label_soft_ne"
	ContainerAffinityLabel         = "io.rancher.scheduler.affinity:container_label"
	ContainerAntiAffinityLabel     = "io.rancher.scheduler.affinity:container_label_ne"
	ContainerSoftAffinityLabel     = "io.rancher.scheduler.affinity:container_label_soft"
	ContainerSoftAntiAffinityLabel = "io.rancher.scheduler.affinity:container_label_soft_ne"

	ServiceLaunchConfig        = "io.rancher.service.launch.config"
	ServicePrimaryLaunchConfig = "io.rancher.service.primary.launch.config"
	RancherDNS                 = "io.rancher.container.dns"
	RancherDNSPriority         = "io.rancher.container.dns.priority"
	RancherDNSSearch           = "io.rancher.container.dnssearch"

	PrimaryContainerName = "io.rancher.container.primary"

	ServiceAccountLabel = "io.rancher.kubernetes.service_account"
)

Variables

This section is empty.

Functions

func Parse

func Parse(label interface{}) map[string]string

Types

This section is empty.

Jump to

Keyboard shortcuts

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