container

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const Name = "basic"

Variables

This section is empty.

Functions

func NewContainer

func NewContainer(opts ...Opts) corev1.Container

Types

type Opts

type Opts func(container *corev1.Container)

func WithEnvFromFieldPath

func WithEnvFromFieldPath(name, fieldPath string) Opts

WithEnvFromFieldPath adds an environment variable to the container based on a field path.

Jump to

Keyboard shortcuts

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