container

package
v0.2.4-rc Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

type Container struct {
	Image           string
	Name            string
	EnvConfigMaps   []string
	Command         []string
	EnvMap          map[string]string
	Args            []string
	ImagePullPolicy string
	VolumeMounts    []VolumeMount
	Requests        map[string]string
	Limits          map[string]string
	PreStopCmd      []string
	PostStartCmd    []string
}

func (Container) Template

func (c Container) Template() corev1.Container

type VolumeMount

type VolumeMount struct {
	Name      string
	MountPath string
}

Jump to

Keyboard shortcuts

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