v1alpha1

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2017 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+groupName=settings.k8s.io

Package v1alpha1 is a generated protocol buffer package.

It is generated from these files:
	k8s.io/kubernetes/pkg/apis/settings/v1alpha1/generated.proto

It has these top-level messages:
	PodPreset
	PodPresetList
	PodPresetSpec

Index

Constants

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

GroupName is the group name use in this package

Variables

View Source
var (
	ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Convert_settings_PodPresetList_To_v1alpha1_PodPresetList

func Convert_settings_PodPresetList_To_v1alpha1_PodPresetList(in *settings.PodPresetList, out *PodPresetList, s conversion.Scope) error

func Convert_settings_PodPresetSpec_To_v1alpha1_PodPresetSpec

func Convert_settings_PodPresetSpec_To_v1alpha1_PodPresetSpec(in *settings.PodPresetSpec, out *PodPresetSpec, s conversion.Scope) error

func Convert_settings_PodPreset_To_v1alpha1_PodPreset

func Convert_settings_PodPreset_To_v1alpha1_PodPreset(in *settings.PodPreset, out *PodPreset, s conversion.Scope) error

func Convert_v1alpha1_PodPresetList_To_settings_PodPresetList

func Convert_v1alpha1_PodPresetList_To_settings_PodPresetList(in *PodPresetList, out *settings.PodPresetList, s conversion.Scope) error

func Convert_v1alpha1_PodPresetSpec_To_settings_PodPresetSpec

func Convert_v1alpha1_PodPresetSpec_To_settings_PodPresetSpec(in *PodPresetSpec, out *settings.PodPresetSpec, s conversion.Scope) error

func Convert_v1alpha1_PodPreset_To_settings_PodPreset

func Convert_v1alpha1_PodPreset_To_settings_PodPreset(in *PodPreset, out *settings.PodPreset, s conversion.Scope) error

func DeepCopy_v1alpha1_PodPreset

func DeepCopy_v1alpha1_PodPreset(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1alpha1_PodPresetList

func DeepCopy_v1alpha1_PodPresetList(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1alpha1_PodPresetSpec

func DeepCopy_v1alpha1_PodPresetSpec(in interface{}, out interface{}, c *conversion.Cloner) error

func RegisterConversions

func RegisterConversions(scheme *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDeepCopies

func RegisterDeepCopies(scheme *runtime.Scheme) error

RegisterDeepCopies adds deep-copy functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

func SetObjectDefaults_PodPreset

func SetObjectDefaults_PodPreset(in *PodPreset)

func SetObjectDefaults_PodPresetList

func SetObjectDefaults_PodPresetList(in *PodPresetList)

Types

type PodPreset

type PodPreset struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// +optional
	Spec PodPresetSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
}

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

func (*PodPreset) Descriptor

func (*PodPreset) Descriptor() ([]byte, []int)

func (*PodPreset) Marshal

func (m *PodPreset) Marshal() (data []byte, err error)

func (*PodPreset) MarshalTo

func (m *PodPreset) MarshalTo(data []byte) (int, error)

func (*PodPreset) ProtoMessage

func (*PodPreset) ProtoMessage()

func (*PodPreset) Reset

func (m *PodPreset) Reset()

func (*PodPreset) Size

func (m *PodPreset) Size() (n int)

func (*PodPreset) String

func (this *PodPreset) String() string

func (PodPreset) SwaggerDoc

func (PodPreset) SwaggerDoc() map[string]string

func (*PodPreset) Unmarshal

func (m *PodPreset) Unmarshal(data []byte) error

type PodPresetList

type PodPresetList struct {
	metav1.TypeMeta `json:",inline"`
	// Standard list metadata.
	// More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
	// +optional
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is a list of schema objects.
	Items []PodPreset `json:"items" protobuf:"bytes,2,rep,name=items"`
}

PodPresetList is a list of PodPreset objects.

func (*PodPresetList) Descriptor

func (*PodPresetList) Descriptor() ([]byte, []int)

func (*PodPresetList) Marshal

func (m *PodPresetList) Marshal() (data []byte, err error)

func (*PodPresetList) MarshalTo

func (m *PodPresetList) MarshalTo(data []byte) (int, error)

func (*PodPresetList) ProtoMessage

func (*PodPresetList) ProtoMessage()

func (*PodPresetList) Reset

func (m *PodPresetList) Reset()

func (*PodPresetList) Size

func (m *PodPresetList) Size() (n int)

func (*PodPresetList) String

func (this *PodPresetList) String() string

func (PodPresetList) SwaggerDoc

func (PodPresetList) SwaggerDoc() map[string]string

func (*PodPresetList) Unmarshal

func (m *PodPresetList) Unmarshal(data []byte) error

type PodPresetSpec

type PodPresetSpec struct {
	// Selector is a label query over a set of resources, in this case pods.
	// Required.
	Selector metav1.LabelSelector `json:"selector,omitempty" protobuf:"bytes,1,opt,name=selector"`

	// Env defines the collection of EnvVar to inject into containers.
	// +optional
	Env []v1.EnvVar `json:"env,omitempty" protobuf:"bytes,2,rep,name=env"`
	// EnvFrom defines the collection of EnvFromSource to inject into containers.
	// +optional
	EnvFrom []v1.EnvFromSource `json:"envFrom,omitempty" protobuf:"bytes,3,rep,name=envFrom"`
	// Volumes defines the collection of Volume to inject into the pod.
	// +optional
	Volumes []v1.Volume `json:"volumes,omitempty" protobuf:"bytes,4,rep,name=volumes"`
	// VolumeMounts defines the collection of VolumeMount to inject into containers.
	// +optional
	VolumeMounts []v1.VolumeMount `json:"volumeMounts,omitempty" protobuf:"bytes,5,rep,name=volumeMounts"`
}

PodPresetSpec is a description of a pod injection policy.

func (*PodPresetSpec) Descriptor

func (*PodPresetSpec) Descriptor() ([]byte, []int)

func (*PodPresetSpec) Marshal

func (m *PodPresetSpec) Marshal() (data []byte, err error)

func (*PodPresetSpec) MarshalTo

func (m *PodPresetSpec) MarshalTo(data []byte) (int, error)

func (*PodPresetSpec) ProtoMessage

func (*PodPresetSpec) ProtoMessage()

func (*PodPresetSpec) Reset

func (m *PodPresetSpec) Reset()

func (*PodPresetSpec) Size

func (m *PodPresetSpec) Size() (n int)

func (*PodPresetSpec) String

func (this *PodPresetSpec) String() string

func (PodPresetSpec) SwaggerDoc

func (PodPresetSpec) SwaggerDoc() map[string]string

func (*PodPresetSpec) Unmarshal

func (m *PodPresetSpec) Unmarshal(data []byte) error

Jump to

Keyboard shortcuts

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