# Packages
No description provided by the author
# Functions
CheckPermission can be used to check if the current user/service-account is allowed to execute a given operation in the cluster.
ConfigureResource will set a resource on the specified resource list or returns an error.
DefaultOperatorSecurityContext to ensure a container with low privilege and limited permissions.
FilterCamelCreatorLabels is used to inherit the creator information among resources.
No description provided by the author
No description provided by the author
GetCamelCreator returns the Camel creator object referenced by this runtime object, if present.
No description provided by the author
GetConfigMapRefValue returns the value of a configmap in the supplied namespace.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetSecretRefData returns the value of a secret in the supplied namespace.
GetSecretRefValue returns the value of a secret in the supplied namespace.
GetSecretsRefData returns the value of the secrets in the supplied namespace.
GetUnstructured provides a generic unstructured K8S object.
No description provided by the author
IsUnknownAPIError checks if the given error is due to some missing APIs in the cluster.
LoadResourceFromYaml returns a Kubernetes resource from its serialized YAML definition.
LookupConfigmap will look for any k8s Configmap with a given name in a given namespace.
LookupDefaultStorageClass will look for the default k8s StorageClass in the cluster.
LookupPersistentVolumeClaim will look for any k8s PersistentVolumeClaim with a given name in a given namespace.
LookupResourceVersion will look for any k8s resource with a given name in a given namespace, returning its resource version only.
LookupSecret will look for any k8s Secret with a given name in a given namespace.
LookupStorageClass will look for any k8s StorageClass with a given name in a given namespace.
MergeCamelCreatorLabels is used to inject the creator information from another set of labels.
NewCollection creates a new empty collection.
NewNodeSelectors build a map of NodeSelectors from an array of string.
NewPersistentVolumeClaim will create a NewPersistentVolumeClaim based on a StorageClass.
NewResourceRequirements will build a CPU and memory requirements from an array of requests matching <requestType.requestResource=value> (ie, limits.memory=256Mi).
NewTolerations build an array of Tolerations from an array of string.
No description provided by the author
ReplaceResource allows to completely replace a resource on Kubernetes, taking care of immutable fields and resource versions.
No description provided by the author
SanitizeLabel sanitizes the given name to be compatible with k8s.
SanitizeName sanitizes the given name to be compatible with k8s.
ToJSON marshal to json format.
ToYAML marshal to yaml format.
ToYAMLNoManagedFields marshal to yaml format but without metadata.managedFields.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ConfigMapAutogenLabel -- .
ConfigMapOriginalFileNameLabel -- .
ConfigMapTypeLabel -- .
# Structs
CLIPrinter is delegated to print the runtime object.
A Collection is a container of Kubernetes resources.