k8s

package
v0.31.6 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 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 Tolerations

type Tolerations []corev1.Toleration

Jump to

Keyboard shortcuts

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