annotation

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2023 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// CesServicesAnnotation contains the identifier of the annotation containing ces service information
	CesServicesAnnotation = "k8s-dogu-operator.cloudogu.com/ces-services"
)

Variables

This section is empty.

Functions

func SplitImagePortConfig

func SplitImagePortConfig(exposedPort string) (int32, corev1.Protocol, error)

Types

type CesServiceAnnotator

type CesServiceAnnotator struct{}

CesServiceAnnotator collects ces service information and annotates them to a given K8s service.

func (*CesServiceAnnotator) AnnotateService

func (c *CesServiceAnnotator) AnnotateService(service *corev1.Service, config *imagev1.Config) error

AnnotateService annotates a given service with ces service information based on the given service and the provided image configuration which includes defined environment variables and labels used to customize the service for the ecosystem.

Jump to

Keyboard shortcuts

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