k8s

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarshalYAML

func MarshalYAML(ptr interface{}) (interface{}, error)

func UnmarshalYAML

func UnmarshalYAML(ptr interface{}, unmarshal func(interface{}) error) error

Types

type Affinity

type Affinity corev1.Affinity

func (*Affinity) K8s

func (a *Affinity) K8s() *corev1.Affinity

func (*Affinity) MarshalYAML

func (a *Affinity) MarshalYAML() (interface{}, error)

func (*Affinity) UnmarshalYAML

func (a *Affinity) UnmarshalYAML(unmarshal func(interface{}) error) error

type Resources

type Resources corev1.ResourceRequirements

func (*Resources) MarshalYAML

func (r *Resources) MarshalYAML() (interface{}, error)

func (*Resources) UnmarshalYAML

func (r *Resources) UnmarshalYAML(unmarshal func(interface{}) error) error

type Toleration

type Toleration corev1.Toleration

func (Toleration) K8s

func (t Toleration) K8s() corev1.Toleration

func (Toleration) MarshalYAML

func (t Toleration) MarshalYAML() (interface{}, error)

func (*Toleration) UnmarshalYAML

func (t *Toleration) UnmarshalYAML(unmarshal func(interface{}) error) error

type Tolerations

type Tolerations []Toleration

func (Tolerations) K8s

func (t Tolerations) K8s() []corev1.Toleration

Jump to

Keyboard shortcuts

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