settings

package
v1.14.6 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const GroupName = "settings.k8s.io"

GroupName is the group name use in this package

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type PodPreset

type PodPreset struct {
	metav1.TypeMeta
	// +optional
	metav1.ObjectMeta

	// +optional
	Spec PodPresetSpec
}

PodPreset is a policy resource that defines additional runtime requirements for a Pod.

func (*PodPreset) DeepCopy added in v1.8.0

func (in *PodPreset) DeepCopy() *PodPreset

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodPreset.

func (*PodPreset) DeepCopyInto added in v1.8.0

func (in *PodPreset) DeepCopyInto(out *PodPreset)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PodPreset) DeepCopyObject added in v1.8.0

func (in *PodPreset) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type PodPresetList

type PodPresetList struct {
	metav1.TypeMeta
	// +optional
	metav1.ListMeta

	Items []PodPreset
}

PodPresetList is a list of PodPreset objects.

func (*PodPresetList) DeepCopy added in v1.8.0

func (in *PodPresetList) DeepCopy() *PodPresetList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodPresetList.

func (*PodPresetList) DeepCopyInto added in v1.8.0

func (in *PodPresetList) DeepCopyInto(out *PodPresetList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PodPresetList) DeepCopyObject added in v1.8.0

func (in *PodPresetList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type PodPresetSpec

type PodPresetSpec struct {
	// Selector is a label query over a set of resources, in this case pods.
	// Required.
	Selector metav1.LabelSelector
	// Env defines the collection of EnvVar to inject into containers.
	// +optional
	Env []api.EnvVar
	// EnvFrom defines the collection of EnvFromSource to inject into containers.
	// +optional
	EnvFrom []api.EnvFromSource
	// Volumes defines the collection of Volume to inject into the pod.
	// +optional
	Volumes []api.Volume
	// VolumeMounts defines the collection of VolumeMount to inject into containers.
	// +optional
	VolumeMounts []api.VolumeMount
}

PodPresetSpec is a description of a pod preset.

func (*PodPresetSpec) DeepCopy added in v1.8.0

func (in *PodPresetSpec) DeepCopy() *PodPresetSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodPresetSpec.

func (*PodPresetSpec) DeepCopyInto added in v1.8.0

func (in *PodPresetSpec) DeepCopyInto(out *PodPresetSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Directories

Path Synopsis
Package install installs the settings API group, making it available as an option to all of the API encoding/decoding machinery.
Package install installs the settings API group, making it available as an option to all of the API encoding/decoding machinery.

Jump to

Keyboard shortcuts

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