v1alpha1

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package v1alpha1 is a generated protocol buffer package.

It is generated from these files:

k8s.io/api/settings/v1alpha1/generated.proto

It has these top-level messages:

PodPreset
PodPresetList
PodPresetSpec

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type PodPreset

type PodPreset struct {
	// +optional
	Metadata *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// +optional
	Spec             *PodPresetSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"`
	XXX_unrecognized []byte         `json:"-"`
}

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

func (*PodPreset) Descriptor

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

func (*PodPreset) GetMetadata

func (*PodPreset) GetSpec

func (m *PodPreset) GetSpec() *PodPresetSpec

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 (m *PodPreset) String() string

func (*PodPreset) Unmarshal

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

type PodPresetList

type PodPresetList struct {
	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
	// +optional
	Metadata *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// Items is a list of schema objects.
	Items            []*PodPreset `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
	XXX_unrecognized []byte       `json:"-"`
}

PodPresetList is a list of PodPreset objects.

func (*PodPresetList) Descriptor

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

func (*PodPresetList) GetItems

func (m *PodPresetList) GetItems() []*PodPreset

func (*PodPresetList) GetMetadata

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 (m *PodPresetList) 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 *k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector `protobuf:"bytes,1,opt,name=selector" json:"selector,omitempty"`
	// Env defines the collection of EnvVar to inject into containers.
	// +optional
	Env []*k8s_io_api_core_v1.EnvVar `protobuf:"bytes,2,rep,name=env" json:"env,omitempty"`
	// EnvFrom defines the collection of EnvFromSource to inject into containers.
	// +optional
	EnvFrom []*k8s_io_api_core_v1.EnvFromSource `protobuf:"bytes,3,rep,name=envFrom" json:"envFrom,omitempty"`
	// Volumes defines the collection of Volume to inject into the pod.
	// +optional
	Volumes []*k8s_io_api_core_v1.Volume `protobuf:"bytes,4,rep,name=volumes" json:"volumes,omitempty"`
	// VolumeMounts defines the collection of VolumeMount to inject into containers.
	// +optional
	VolumeMounts     []*k8s_io_api_core_v1.VolumeMount `protobuf:"bytes,5,rep,name=volumeMounts" json:"volumeMounts,omitempty"`
	XXX_unrecognized []byte                            `json:"-"`
}

PodPresetSpec is a description of a pod preset.

func (*PodPresetSpec) Descriptor

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

func (*PodPresetSpec) GetEnv

func (m *PodPresetSpec) GetEnv() []*k8s_io_api_core_v1.EnvVar

func (*PodPresetSpec) GetEnvFrom

func (m *PodPresetSpec) GetEnvFrom() []*k8s_io_api_core_v1.EnvFromSource

func (*PodPresetSpec) GetSelector

func (*PodPresetSpec) GetVolumeMounts

func (m *PodPresetSpec) GetVolumeMounts() []*k8s_io_api_core_v1.VolumeMount

func (*PodPresetSpec) GetVolumes

func (m *PodPresetSpec) GetVolumes() []*k8s_io_api_core_v1.Volume

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 (m *PodPresetSpec) 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