secrets

package
v0.8.0-alpha7 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2023 License: Apache-2.0 Imports: 42 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOrCreateSecret

func GetOrCreateSecret(secrets map[string]*corev1.Secret, req router.Request, appInstance *v1.AppInstance, secretName string) (*corev1.Secret, error)

Types

type ErrInterpolation

type ErrInterpolation struct {
	v1.ExpressionError
}

func (*ErrInterpolation) Error

func (e *ErrInterpolation) Error() string

type Interpolator

type Interpolator struct {
	// contains filtered or unexported fields
}

func NewInterpolator

func NewInterpolator(ctx context.Context, c kclient.Client, app *v1.AppInstance) *Interpolator

func (*Interpolator) AddError

func (i *Interpolator) AddError(err error)

func (*Interpolator) AddMissingAnnotations

func (i *Interpolator) AddMissingAnnotations(stopped bool, annotations map[string]string)

func (*Interpolator) Err

func (i *Interpolator) Err() error

func (*Interpolator) ForContainer

func (i *Interpolator) ForContainer(containerName string) *Interpolator

func (*Interpolator) ForJob

func (i *Interpolator) ForJob(jobName string) *Interpolator

func (*Interpolator) ForService

func (i *Interpolator) ForService(serviceName string) *Interpolator

func (*Interpolator) Incomplete

func (i *Interpolator) Incomplete() bool

func (*Interpolator) Objects

func (i *Interpolator) Objects() []kclient.Object

func (*Interpolator) SecretName

func (i *Interpolator) SecretName() string

func (*Interpolator) ToEnv

func (i *Interpolator) ToEnv(key, value string) corev1.EnvVar

func (*Interpolator) ToVolumeMount

func (i *Interpolator) ToVolumeMount(filename string, file v1.File) corev1.VolumeMount

Jump to

Keyboard shortcuts

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