Documentation ¶
Overview ¶
Package utils provides utility functions for working with Kubernetes resources and custom resources defined in the container-app-operator API.
Index ¶
Constants ¶
View Source
const ( // AnnotationKeyHasPlacement is the key used to store the managed cluster name in an annotation on a Capp resource AnnotationKeyHasPlacement = "rcs.dana.io/has-placement" // RcsConfigName is the name of the RCS Deployer Config CRD instance RcsConfigName = "rcs-config" // RcsConfigNamespace is the namespace that contains the RCS Deployer Config CRD instance RcsConfigNamespace = "rcs-deployer-system" )
Variables ¶
This section is empty.
Functions ¶
func ContainsPlacementAnnotation ¶ added in v0.1.2
func ContainsPlacementAnnotation(capp cappv1alpha1.Capp) bool
ContainsPlacementAnnotation checks if a Capp resource has an annotation indicating it has been placed on a managed cluster.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.