utils

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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