env

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const UserProvided = "user-provided"

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceDetails added in v0.2.0

type ServiceDetails struct {
	Label          string            `json:"label"`
	Name           string            `json:"name"`
	Tags           []string          `json:"tags"`
	InstanceGUID   string            `json:"instance_guid"`
	InstanceName   string            `json:"instance_name"`
	BindingGUID    string            `json:"binding_guid"`
	BindingName    *string           `json:"binding_name"`
	Credentials    map[string]string `json:"credentials"`
	SyslogDrainURL *string           `json:"syslog_drain_url"`
	VolumeMounts   []string          `json:"volume_mounts"`
}

type VCAPApplicationEnvValueBuilder added in v0.7.0

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

func NewVCAPApplicationEnvValueBuilder added in v0.7.0

func NewVCAPApplicationEnvValueBuilder(k8sClient client.Client, extraValues map[string]any) *VCAPApplicationEnvValueBuilder

func (*VCAPApplicationEnvValueBuilder) BuildEnvValue added in v0.7.0

type VCAPServices added in v0.7.0

type VCAPServices map[string][]ServiceDetails

type VCAPServicesEnvValueBuilder added in v0.7.0

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

func NewVCAPServicesEnvValueBuilder added in v0.7.0

func NewVCAPServicesEnvValueBuilder(k8sClient client.Client) *VCAPServicesEnvValueBuilder

func (*VCAPServicesEnvValueBuilder) BuildEnvValue added in v0.7.0

func (b *VCAPServicesEnvValueBuilder) BuildEnvValue(ctx context.Context, cfApp *korifiv1alpha1.CFApp) (map[string]string, error)

type WorkloadEnvBuilder added in v0.7.0

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

func NewWorkloadEnvBuilder added in v0.7.0

func NewWorkloadEnvBuilder(k8sClient client.Client) *WorkloadEnvBuilder

func (*WorkloadEnvBuilder) BuildEnv added in v0.7.0

func (b *WorkloadEnvBuilder) BuildEnv(ctx context.Context, cfApp *korifiv1alpha1.CFApp) ([]corev1.EnvVar, error)

Jump to

Keyboard shortcuts

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