Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ContainershipNamespace is that namespace in which all containership // resources will live ContainershipNamespace = "containership-core" // ContainershipServiceAccountName is the name of containership controlled // service account in every namespace ContainershipServiceAccountName = "containership" )
View Source
const ( // EC2Registry is the name of an amazon registry in containership cloud EC2Registry = "amazon_ec2_registry" // Azure is the name of an azure registry in containership cloud Azure = "azure" // Docker is the name of a docker registry in containership cloud Docker = "dockerhub" // GCR is the name of a google cloud registry in containership cloud GCR = "google_registry" // Private is the name of a private registry in containership cloud Private = "private" // Quay is the name of a quay registry in containership cloud Quay = "quay" )
Containership provider registry names
View Source
const BaseContainershipManagedLabelString = "containership.io/managed=true"
BaseContainershipManagedLabelString is the containership managed label as a string
View Source
const (
// ContainershipMount is the base Containership mount
ContainershipMount = "/etc/containership"
)
View Source
const (
// SyncJitterFactor is used to avoid periodic and simultaneous syncs
SyncJitterFactor = 0.1
)
TODO this const block should be scoped to a sync-specific package after we refactor appropriately
Variables ¶
This section is empty.
Functions ¶
func BuildContainershipLabelMap ¶
BuildContainershipLabelMap builds a map of labels that should be attached to any Containership-managed resources. If additionalLabels is non-nil, they will be included in the returned map.
func IsContainershipManaged ¶
func IsContainershipManaged(obj interface{}) bool
IsContainershipManaged takes in a resource and looks to see if it is being managed by containership
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.