types

package
v1.7.3 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AnnotationEnvMapping = "plugin.rig.dev/env-mapping"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AnnotationMappings

type AnnotationMappings struct {
	// Env is the environment name the property should be exposed as.
	Env string `json:"env"`
	// Key is the ConfigMap or Secret property that should me mapped from.
	Key string `json:"key"`
}

type AnnotationSource

type AnnotationSource struct {
	// Container name default to capsule name.
	Container string `json:"container,omitempty"`
	// Optional ConfigMap reference.
	ConfigMap string `json:"configMap,omitempty"`
	// Optional Secret reference.
	Secret string `json:"secret,omitempty"`
	// Mappings within this ConfigMap or Secret.
	Mappings []AnnotationMappings `json:"mappings"`
}

type AnnotationValue

type AnnotationValue struct {
	Sources []AnnotationSource `json:"sources"`
}

Jump to

Keyboard shortcuts

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