types

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2020 License: LGPL-2.1 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CatalogVersion

type CatalogVersion string

CatalogVersion denotes the version string of CRD

type ComponentName

type ComponentName string

ComponentName denotes distinct functional components in the architecture

type ConfigName

type ConfigName = ComponentName

ConfigName is a special type of component used for ConfigMaps and Secrets

type ContainerName

type ContainerName string

ContainerName denotes lowest-level components, i.e. containers

type ContainerPort

type ContainerPort int

ContainerPort denotes port in the container

func (*ContainerPort) String

func (port *ContainerPort) String() string

type Containers

type Containers = []v1.Container

Containers represents set of corev1.Container

type Labels

type Labels = labels.Set

Labels is synonymous to labels.Set

type ObjectName

type ObjectName string

ObjectName denotes distinct k8s resources using ObjectMeta.Name

type VolumeMounts

type VolumeMounts []v1.VolumeMount

VolumeMounts represents set of corev1.VolumeMount

func (*VolumeMounts) Add

func (vm *VolumeMounts) Add(volumeMounts ...v1.VolumeMount) VolumeMounts

Add returns a new set of volume mounts by adding volume mounts to the existing set

func (*VolumeMounts) ToSlice

func (vm *VolumeMounts) ToSlice() []v1.VolumeMount

ToSlice returns array of underlying volume mounts

type VolumeName

type VolumeName string

VolumeName denotes individual volume names to be later mounted in the containers

type Volumes

type Volumes []v1.Volume

Volumes represents set of corev1.Volume

func (*Volumes) Add

func (v *Volumes) Add(volumes ...v1.Volume) Volumes

Add returns a new set of volumes by adding volumes to the existing set

func (*Volumes) ToSlice

func (v *Volumes) ToSlice() []v1.Volume

ToSlice returns array of underlying volumes

Jump to

Keyboard shortcuts

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