v1beta1

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

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")
	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type AllowedCSIDriver added in v1.2.2

type AllowedCSIDriver struct {
	// Name is the registered name of the CSI driver
	Name                 *string  `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

AllowedCSIDriver represents a single inline CSI Driver that is allowed to be used.

func (*AllowedCSIDriver) Descriptor added in v1.2.2

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

func (*AllowedCSIDriver) GetName added in v1.2.2

func (m *AllowedCSIDriver) GetName() string

func (*AllowedCSIDriver) Marshal added in v1.2.2

func (m *AllowedCSIDriver) Marshal() (dAtA []byte, err error)

func (*AllowedCSIDriver) MarshalTo added in v1.2.2

func (m *AllowedCSIDriver) MarshalTo(dAtA []byte) (int, error)

func (*AllowedCSIDriver) MarshalToSizedBuffer added in v1.2.2

func (m *AllowedCSIDriver) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AllowedCSIDriver) ProtoMessage added in v1.2.2

func (*AllowedCSIDriver) ProtoMessage()

func (*AllowedCSIDriver) Reset added in v1.2.2

func (m *AllowedCSIDriver) Reset()

func (*AllowedCSIDriver) Size added in v1.2.2

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

func (*AllowedCSIDriver) String added in v1.2.2

func (m *AllowedCSIDriver) String() string

func (*AllowedCSIDriver) Unmarshal added in v1.2.2

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

func (*AllowedCSIDriver) XXX_DiscardUnknown added in v1.2.2

func (m *AllowedCSIDriver) XXX_DiscardUnknown()

func (*AllowedCSIDriver) XXX_Marshal added in v1.2.2

func (m *AllowedCSIDriver) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AllowedCSIDriver) XXX_Merge added in v1.2.2

func (m *AllowedCSIDriver) XXX_Merge(src proto.Message)

func (*AllowedCSIDriver) XXX_Size added in v1.2.2

func (m *AllowedCSIDriver) XXX_Size() int

func (*AllowedCSIDriver) XXX_Unmarshal added in v1.2.2

func (m *AllowedCSIDriver) XXX_Unmarshal(b []byte) error

type AllowedFlexVolume added in v1.0.0

type AllowedFlexVolume struct {
	// driver is the name of the Flexvolume driver.
	Driver               *string  `protobuf:"bytes,1,opt,name=driver" json:"driver,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

AllowedFlexVolume represents a single Flexvolume that is allowed to be used. Deprecated: use AllowedFlexVolume from policy API Group instead.

func (*AllowedFlexVolume) Descriptor added in v1.0.0

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

func (*AllowedFlexVolume) GetDriver added in v1.0.0

func (m *AllowedFlexVolume) GetDriver() string

func (*AllowedFlexVolume) Marshal added in v1.0.0

func (m *AllowedFlexVolume) Marshal() (dAtA []byte, err error)

func (*AllowedFlexVolume) MarshalTo added in v1.0.0

func (m *AllowedFlexVolume) MarshalTo(dAtA []byte) (int, error)

func (*AllowedFlexVolume) MarshalToSizedBuffer added in v1.2.1

func (m *AllowedFlexVolume) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AllowedFlexVolume) ProtoMessage added in v1.0.0

func (*AllowedFlexVolume) ProtoMessage()

func (*AllowedFlexVolume) Reset added in v1.0.0

func (m *AllowedFlexVolume) Reset()

func (*AllowedFlexVolume) Size added in v1.0.0

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

func (*AllowedFlexVolume) String added in v1.0.0

func (m *AllowedFlexVolume) String() string

func (*AllowedFlexVolume) Unmarshal added in v1.0.0

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

func (*AllowedFlexVolume) XXX_DiscardUnknown added in v1.2.1

func (m *AllowedFlexVolume) XXX_DiscardUnknown()

func (*AllowedFlexVolume) XXX_Marshal added in v1.2.1

func (m *AllowedFlexVolume) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AllowedFlexVolume) XXX_Merge added in v1.2.1

func (m *AllowedFlexVolume) XXX_Merge(src proto.Message)

func (*AllowedFlexVolume) XXX_Size added in v1.2.1

func (m *AllowedFlexVolume) XXX_Size() int

func (*AllowedFlexVolume) XXX_Unmarshal added in v1.2.1

func (m *AllowedFlexVolume) XXX_Unmarshal(b []byte) error

type AllowedHostPath added in v1.0.0

type AllowedHostPath struct {
	// pathPrefix is the path prefix that the host volume must match.
	// It does not support `*`.
	// Trailing slashes are trimmed when validating the path prefix with a host path.
	//
	// Examples:
	// `/foo` would allow `/foo`, `/foo/` and `/foo/bar`
	// `/foo` would not allow `/food` or `/etc/foo`
	PathPrefix *string `protobuf:"bytes,1,opt,name=pathPrefix" json:"pathPrefix,omitempty"`
	// when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.
	// +optional
	ReadOnly             *bool    `protobuf:"varint,2,opt,name=readOnly" json:"readOnly,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined. Deprecated: use AllowedHostPath from policy API Group instead.

func (*AllowedHostPath) Descriptor added in v1.0.0

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

func (*AllowedHostPath) GetPathPrefix added in v1.0.0

func (m *AllowedHostPath) GetPathPrefix() string

func (*AllowedHostPath) GetReadOnly added in v1.2.1

func (m *AllowedHostPath) GetReadOnly() bool

func (*AllowedHostPath) Marshal added in v1.0.0

func (m *AllowedHostPath) Marshal() (dAtA []byte, err error)

func (*AllowedHostPath) MarshalTo added in v1.0.0

func (m *AllowedHostPath) MarshalTo(dAtA []byte) (int, error)

func (*AllowedHostPath) MarshalToSizedBuffer added in v1.2.1

func (m *AllowedHostPath) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AllowedHostPath) ProtoMessage added in v1.0.0

func (*AllowedHostPath) ProtoMessage()

func (*AllowedHostPath) Reset added in v1.0.0

func (m *AllowedHostPath) Reset()

func (*AllowedHostPath) Size added in v1.0.0

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

func (*AllowedHostPath) String added in v1.0.0

func (m *AllowedHostPath) String() string

func (*AllowedHostPath) Unmarshal added in v1.0.0

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

func (*AllowedHostPath) XXX_DiscardUnknown added in v1.2.1

func (m *AllowedHostPath) XXX_DiscardUnknown()

func (*AllowedHostPath) XXX_Marshal added in v1.2.1

func (m *AllowedHostPath) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AllowedHostPath) XXX_Merge added in v1.2.1

func (m *AllowedHostPath) XXX_Merge(src proto.Message)

func (*AllowedHostPath) XXX_Size added in v1.2.1

func (m *AllowedHostPath) XXX_Size() int

func (*AllowedHostPath) XXX_Unmarshal added in v1.2.1

func (m *AllowedHostPath) XXX_Unmarshal(b []byte) error

type DaemonSet

type DaemonSet struct {
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// The desired behavior of this daemon set.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	// +optional
	Spec *DaemonSetSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"`
	// The current status of this daemon set. This data may be
	// out of date by some window of time.
	// Populated by the system.
	// Read-only.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	// +optional
	Status               *DaemonSetStatus `protobuf:"bytes,3,opt,name=status" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

DEPRECATED - This group version of DaemonSet is deprecated by apps/v1beta2/DaemonSet. See the release notes for more information. DaemonSet represents the configuration of a daemon set.

func (*DaemonSet) Descriptor

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

func (*DaemonSet) GetMetadata

func (m *DaemonSet) GetMetadata() *v1.ObjectMeta

func (*DaemonSet) GetSpec

func (m *DaemonSet) GetSpec() *DaemonSetSpec

func (*DaemonSet) GetStatus

func (m *DaemonSet) GetStatus() *DaemonSetStatus

func (*DaemonSet) Marshal

func (m *DaemonSet) Marshal() (dAtA []byte, err error)

func (*DaemonSet) MarshalTo

func (m *DaemonSet) MarshalTo(dAtA []byte) (int, error)

func (*DaemonSet) MarshalToSizedBuffer added in v1.2.1

func (m *DaemonSet) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DaemonSet) ProtoMessage

func (*DaemonSet) ProtoMessage()

func (*DaemonSet) Reset

func (m *DaemonSet) Reset()

func (*DaemonSet) Size

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

func (*DaemonSet) String

func (m *DaemonSet) String() string

func (*DaemonSet) Unmarshal

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

func (*DaemonSet) XXX_DiscardUnknown added in v1.2.1

func (m *DaemonSet) XXX_DiscardUnknown()

func (*DaemonSet) XXX_Marshal added in v1.2.1

func (m *DaemonSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DaemonSet) XXX_Merge added in v1.2.1

func (m *DaemonSet) XXX_Merge(src proto.Message)

func (*DaemonSet) XXX_Size added in v1.2.1

func (m *DaemonSet) XXX_Size() int

func (*DaemonSet) XXX_Unmarshal added in v1.2.1

func (m *DaemonSet) XXX_Unmarshal(b []byte) error

type DaemonSetCondition added in v1.0.0

type DaemonSetCondition struct {
	// Type of DaemonSet condition.
	Type *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
	// Status of the condition, one of True, False, Unknown.
	Status *string `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"`
	// Last time the condition transitioned from one status to another.
	// +optional
	LastTransitionTime *v1.Time `protobuf:"bytes,3,opt,name=lastTransitionTime" json:"lastTransitionTime,omitempty"`
	// The reason for the condition's last transition.
	// +optional
	Reason *string `protobuf:"bytes,4,opt,name=reason" json:"reason,omitempty"`
	// A human readable message indicating details about the transition.
	// +optional
	Message              *string  `protobuf:"bytes,5,opt,name=message" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

DaemonSetCondition describes the state of a DaemonSet at a certain point.

func (*DaemonSetCondition) Descriptor added in v1.0.0

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

func (*DaemonSetCondition) GetLastTransitionTime added in v1.0.0

func (m *DaemonSetCondition) GetLastTransitionTime() *v1.Time

func (*DaemonSetCondition) GetMessage added in v1.0.0

func (m *DaemonSetCondition) GetMessage() string

func (*DaemonSetCondition) GetReason added in v1.0.0

func (m *DaemonSetCondition) GetReason() string

func (*DaemonSetCondition) GetStatus added in v1.0.0

func (m *DaemonSetCondition) GetStatus() string

func (*DaemonSetCondition) GetType added in v1.0.0

func (m *DaemonSetCondition) GetType() string

func (*DaemonSetCondition) Marshal added in v1.0.0

func (m *DaemonSetCondition) Marshal() (dAtA []byte, err error)

func (*DaemonSetCondition) MarshalTo added in v1.0.0

func (m *DaemonSetCondition) MarshalTo(dAtA []byte) (int, error)

func (*DaemonSetCondition) MarshalToSizedBuffer added in v1.2.1

func (m *DaemonSetCondition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DaemonSetCondition) ProtoMessage added in v1.0.0

func (*DaemonSetCondition) ProtoMessage()

func (*DaemonSetCondition) Reset added in v1.0.0

func (m *DaemonSetCondition) Reset()

func (*DaemonSetCondition) Size added in v1.0.0

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

func (*DaemonSetCondition) String added in v1.0.0

func (m *DaemonSetCondition) String() string

func (*DaemonSetCondition) Unmarshal added in v1.0.0

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

func (*DaemonSetCondition) XXX_DiscardUnknown added in v1.2.1

func (m *DaemonSetCondition) XXX_DiscardUnknown()

func (*DaemonSetCondition) XXX_Marshal added in v1.2.1

func (m *DaemonSetCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DaemonSetCondition) XXX_Merge added in v1.2.1

func (m *DaemonSetCondition) XXX_Merge(src proto.Message)

func (*DaemonSetCondition) XXX_Size added in v1.2.1

func (m *DaemonSetCondition) XXX_Size() int

func (*DaemonSetCondition) XXX_Unmarshal added in v1.2.1

func (m *DaemonSetCondition) XXX_Unmarshal(b []byte) error

type DaemonSetList

type DaemonSetList struct {
	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// A list of daemon sets.
	Items                []*DaemonSet `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

DaemonSetList is a collection of daemon sets.

func (*DaemonSetList) Descriptor

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

func (*DaemonSetList) GetItems

func (m *DaemonSetList) GetItems() []*DaemonSet

func (*DaemonSetList) GetMetadata

func (m *DaemonSetList) GetMetadata() *v1.ListMeta

func (*DaemonSetList) Marshal

func (m *DaemonSetList) Marshal() (dAtA []byte, err error)

func (*DaemonSetList) MarshalTo

func (m *DaemonSetList) MarshalTo(dAtA []byte) (int, error)

func (*DaemonSetList) MarshalToSizedBuffer added in v1.2.1

func (m *DaemonSetList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DaemonSetList) ProtoMessage

func (*DaemonSetList) ProtoMessage()

func (*DaemonSetList) Reset

func (m *DaemonSetList) Reset()

func (*DaemonSetList) Size

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

func (*DaemonSetList) String

func (m *DaemonSetList) String() string

func (*DaemonSetList) Unmarshal

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

func (*DaemonSetList) XXX_DiscardUnknown added in v1.2.1

func (m *DaemonSetList) XXX_DiscardUnknown()

func (*DaemonSetList) XXX_Marshal added in v1.2.1

func (m *DaemonSetList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DaemonSetList) XXX_Merge added in v1.2.1

func (m *DaemonSetList) XXX_Merge(src proto.Message)

func (*DaemonSetList) XXX_Size added in v1.2.1

func (m *DaemonSetList) XXX_Size() int

func (*DaemonSetList) XXX_Unmarshal added in v1.2.1

func (m *DaemonSetList) XXX_Unmarshal(b []byte) error

type DaemonSetSpec

type DaemonSetSpec struct {
	// A label query over pods that are managed by the daemon set.
	// Must match in order to be controlled.
	// If empty, defaulted to labels on Pod template.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
	// +optional
	Selector *v1.LabelSelector `protobuf:"bytes,1,opt,name=selector" json:"selector,omitempty"`
	// An object that describes the pod that will be created.
	// The DaemonSet will create exactly one copy of this pod on every node
	// that matches the template's node selector (or on every node if no node
	// selector is specified).
	// More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template
	Template *v11.PodTemplateSpec `protobuf:"bytes,2,opt,name=template" json:"template,omitempty"`
	// An update strategy to replace existing DaemonSet pods with new pods.
	// +optional
	UpdateStrategy *DaemonSetUpdateStrategy `protobuf:"bytes,3,opt,name=updateStrategy" json:"updateStrategy,omitempty"`
	// The minimum number of seconds for which a newly created DaemonSet pod should
	// be ready without any of its container crashing, for it to be considered
	// available. Defaults to 0 (pod will be considered available as soon as it
	// is ready).
	// +optional
	MinReadySeconds *int32 `protobuf:"varint,4,opt,name=minReadySeconds" json:"minReadySeconds,omitempty"`
	// DEPRECATED.
	// A sequence number representing a specific generation of the template.
	// Populated by the system. It can be set only during the creation.
	// +optional
	TemplateGeneration *int64 `protobuf:"varint,5,opt,name=templateGeneration" json:"templateGeneration,omitempty"`
	// The number of old history to retain to allow rollback.
	// This is a pointer to distinguish between explicit zero and not specified.
	// Defaults to 10.
	// +optional
	RevisionHistoryLimit *int32   `protobuf:"varint,6,opt,name=revisionHistoryLimit" json:"revisionHistoryLimit,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

DaemonSetSpec is the specification of a daemon set.

func (*DaemonSetSpec) Descriptor

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

func (*DaemonSetSpec) GetMinReadySeconds added in v0.3.0

func (m *DaemonSetSpec) GetMinReadySeconds() int32

func (*DaemonSetSpec) GetRevisionHistoryLimit added in v1.0.0

func (m *DaemonSetSpec) GetRevisionHistoryLimit() int32

func (*DaemonSetSpec) GetSelector

func (m *DaemonSetSpec) GetSelector() *v1.LabelSelector

func (*DaemonSetSpec) GetTemplate

func (m *DaemonSetSpec) GetTemplate() *v11.PodTemplateSpec

func (*DaemonSetSpec) GetTemplateGeneration added in v0.3.0

func (m *DaemonSetSpec) GetTemplateGeneration() int64

func (*DaemonSetSpec) GetUpdateStrategy added in v0.3.0

func (m *DaemonSetSpec) GetUpdateStrategy() *DaemonSetUpdateStrategy

func (*DaemonSetSpec) Marshal

func (m *DaemonSetSpec) Marshal() (dAtA []byte, err error)

func (*DaemonSetSpec) MarshalTo

func (m *DaemonSetSpec) MarshalTo(dAtA []byte) (int, error)

func (*DaemonSetSpec) MarshalToSizedBuffer added in v1.2.1

func (m *DaemonSetSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DaemonSetSpec) ProtoMessage

func (*DaemonSetSpec) ProtoMessage()

func (*DaemonSetSpec) Reset

func (m *DaemonSetSpec) Reset()

func (*DaemonSetSpec) Size

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

func (*DaemonSetSpec) String

func (m *DaemonSetSpec) String() string

func (*DaemonSetSpec) Unmarshal

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

func (*DaemonSetSpec) XXX_DiscardUnknown added in v1.2.1

func (m *DaemonSetSpec) XXX_DiscardUnknown()

func (*DaemonSetSpec) XXX_Marshal added in v1.2.1

func (m *DaemonSetSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DaemonSetSpec) XXX_Merge added in v1.2.1

func (m *DaemonSetSpec) XXX_Merge(src proto.Message)

func (*DaemonSetSpec) XXX_Size added in v1.2.1

func (m *DaemonSetSpec) XXX_Size() int

func (*DaemonSetSpec) XXX_Unmarshal added in v1.2.1

func (m *DaemonSetSpec) XXX_Unmarshal(b []byte) error

type DaemonSetStatus

type DaemonSetStatus struct {
	// The number of nodes that are running at least 1
	// daemon pod and are supposed to run the daemon pod.
	// More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
	CurrentNumberScheduled *int32 `protobuf:"varint,1,opt,name=currentNumberScheduled" json:"currentNumberScheduled,omitempty"`
	// The number of nodes that are running the daemon pod, but are
	// not supposed to run the daemon pod.
	// More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
	NumberMisscheduled *int32 `protobuf:"varint,2,opt,name=numberMisscheduled" json:"numberMisscheduled,omitempty"`
	// The total number of nodes that should be running the daemon
	// pod (including nodes correctly running the daemon pod).
	// More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
	DesiredNumberScheduled *int32 `protobuf:"varint,3,opt,name=desiredNumberScheduled" json:"desiredNumberScheduled,omitempty"`
	// The number of nodes that should be running the daemon pod and have one
	// or more of the daemon pod running and ready.
	NumberReady *int32 `protobuf:"varint,4,opt,name=numberReady" json:"numberReady,omitempty"`
	// The most recent generation observed by the daemon set controller.
	// +optional
	ObservedGeneration *int64 `protobuf:"varint,5,opt,name=observedGeneration" json:"observedGeneration,omitempty"`
	// The total number of nodes that are running updated daemon pod
	// +optional
	UpdatedNumberScheduled *int32 `protobuf:"varint,6,opt,name=updatedNumberScheduled" json:"updatedNumberScheduled,omitempty"`
	// The number of nodes that should be running the
	// daemon pod and have one or more of the daemon pod running and
	// available (ready for at least spec.minReadySeconds)
	// +optional
	NumberAvailable *int32 `protobuf:"varint,7,opt,name=numberAvailable" json:"numberAvailable,omitempty"`
	// The number of nodes that should be running the
	// daemon pod and have none of the daemon pod running and available
	// (ready for at least spec.minReadySeconds)
	// +optional
	NumberUnavailable *int32 `protobuf:"varint,8,opt,name=numberUnavailable" json:"numberUnavailable,omitempty"`
	// Count of hash collisions for the DaemonSet. The DaemonSet controller
	// uses this field as a collision avoidance mechanism when it needs to
	// create the name for the newest ControllerRevision.
	// +optional
	CollisionCount *int32 `protobuf:"varint,9,opt,name=collisionCount" json:"collisionCount,omitempty"`
	// Represents the latest available observations of a DaemonSet's current state.
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions           []*DaemonSetCondition `protobuf:"bytes,10,rep,name=conditions" json:"conditions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

DaemonSetStatus represents the current status of a daemon set.

func (*DaemonSetStatus) Descriptor

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

func (*DaemonSetStatus) GetCollisionCount added in v1.0.0

func (m *DaemonSetStatus) GetCollisionCount() int32

func (*DaemonSetStatus) GetConditions added in v1.0.0

func (m *DaemonSetStatus) GetConditions() []*DaemonSetCondition

func (*DaemonSetStatus) GetCurrentNumberScheduled

func (m *DaemonSetStatus) GetCurrentNumberScheduled() int32

func (*DaemonSetStatus) GetDesiredNumberScheduled

func (m *DaemonSetStatus) GetDesiredNumberScheduled() int32

func (*DaemonSetStatus) GetNumberAvailable added in v0.3.0

func (m *DaemonSetStatus) GetNumberAvailable() int32

func (*DaemonSetStatus) GetNumberMisscheduled

func (m *DaemonSetStatus) GetNumberMisscheduled() int32

func (*DaemonSetStatus) GetNumberReady

func (m *DaemonSetStatus) GetNumberReady() int32

func (*DaemonSetStatus) GetNumberUnavailable added in v0.3.0

func (m *DaemonSetStatus) GetNumberUnavailable() int32

func (*DaemonSetStatus) GetObservedGeneration added in v0.3.0

func (m *DaemonSetStatus) GetObservedGeneration() int64

func (*DaemonSetStatus) GetUpdatedNumberScheduled added in v0.3.0

func (m *DaemonSetStatus) GetUpdatedNumberScheduled() int32

func (*DaemonSetStatus) Marshal

func (m *DaemonSetStatus) Marshal() (dAtA []byte, err error)

func (*DaemonSetStatus) MarshalTo

func (m *DaemonSetStatus) MarshalTo(dAtA []byte) (int, error)

func (*DaemonSetStatus) MarshalToSizedBuffer added in v1.2.1

func (m *DaemonSetStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DaemonSetStatus) ProtoMessage

func (*DaemonSetStatus) ProtoMessage()

func (*DaemonSetStatus) Reset

func (m *DaemonSetStatus) Reset()

func (*DaemonSetStatus) Size

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

func (*DaemonSetStatus) String

func (m *DaemonSetStatus) String() string

func (*DaemonSetStatus) Unmarshal

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

func (*DaemonSetStatus) XXX_DiscardUnknown added in v1.2.1

func (m *DaemonSetStatus) XXX_DiscardUnknown()

func (*DaemonSetStatus) XXX_Marshal added in v1.2.1

func (m *DaemonSetStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DaemonSetStatus) XXX_Merge added in v1.2.1

func (m *DaemonSetStatus) XXX_Merge(src proto.Message)

func (*DaemonSetStatus) XXX_Size added in v1.2.1

func (m *DaemonSetStatus) XXX_Size() int

func (*DaemonSetStatus) XXX_Unmarshal added in v1.2.1

func (m *DaemonSetStatus) XXX_Unmarshal(b []byte) error

type DaemonSetUpdateStrategy added in v0.3.0

type DaemonSetUpdateStrategy struct {
	// Type of daemon set update. Can be "RollingUpdate" or "OnDelete".
	// Default is OnDelete.
	// +optional
	Type *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
	// Rolling update config params. Present only if type = "RollingUpdate".
	// ---
	// TODO: Update this to follow our convention for oneOf, whatever we decide it
	// to be. Same as Deployment `strategy.rollingUpdate`.
	// See https://github.com/kubernetes/kubernetes/issues/35345
	// +optional
	RollingUpdate        *RollingUpdateDaemonSet `protobuf:"bytes,2,opt,name=rollingUpdate" json:"rollingUpdate,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

func (*DaemonSetUpdateStrategy) Descriptor added in v0.3.0

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

func (*DaemonSetUpdateStrategy) GetRollingUpdate added in v0.3.0

func (m *DaemonSetUpdateStrategy) GetRollingUpdate() *RollingUpdateDaemonSet

func (*DaemonSetUpdateStrategy) GetType added in v0.3.0

func (m *DaemonSetUpdateStrategy) GetType() string

func (*DaemonSetUpdateStrategy) Marshal added in v0.3.0

func (m *DaemonSetUpdateStrategy) Marshal() (dAtA []byte, err error)

func (*DaemonSetUpdateStrategy) MarshalTo added in v0.3.0

func (m *DaemonSetUpdateStrategy) MarshalTo(dAtA []byte) (int, error)

func (*DaemonSetUpdateStrategy) MarshalToSizedBuffer added in v1.2.1

func (m *DaemonSetUpdateStrategy) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DaemonSetUpdateStrategy) ProtoMessage added in v0.3.0

func (*DaemonSetUpdateStrategy) ProtoMessage()

func (*DaemonSetUpdateStrategy) Reset added in v0.3.0

func (m *DaemonSetUpdateStrategy) Reset()

func (*DaemonSetUpdateStrategy) Size added in v0.3.0

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

func (*DaemonSetUpdateStrategy) String added in v0.3.0

func (m *DaemonSetUpdateStrategy) String() string

func (*DaemonSetUpdateStrategy) Unmarshal added in v0.3.0

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

func (*DaemonSetUpdateStrategy) XXX_DiscardUnknown added in v1.2.1

func (m *DaemonSetUpdateStrategy) XXX_DiscardUnknown()

func (*DaemonSetUpdateStrategy) XXX_Marshal added in v1.2.1

func (m *DaemonSetUpdateStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DaemonSetUpdateStrategy) XXX_Merge added in v1.2.1

func (m *DaemonSetUpdateStrategy) XXX_Merge(src proto.Message)

func (*DaemonSetUpdateStrategy) XXX_Size added in v1.2.1

func (m *DaemonSetUpdateStrategy) XXX_Size() int

func (*DaemonSetUpdateStrategy) XXX_Unmarshal added in v1.2.1

func (m *DaemonSetUpdateStrategy) XXX_Unmarshal(b []byte) error

type Deployment

type Deployment struct {
	// Standard object metadata.
	// +optional
	Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// Specification of the desired behavior of the Deployment.
	// +optional
	Spec *DeploymentSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"`
	// Most recently observed status of the Deployment.
	// +optional
	Status               *DeploymentStatus `protobuf:"bytes,3,opt,name=status" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

DEPRECATED - This group version of Deployment is deprecated by apps/v1beta2/Deployment. See the release notes for more information. Deployment enables declarative updates for Pods and ReplicaSets.

func (*Deployment) Descriptor

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

func (*Deployment) GetMetadata

func (m *Deployment) GetMetadata() *v1.ObjectMeta

func (*Deployment) GetSpec

func (m *Deployment) GetSpec() *DeploymentSpec

func (*Deployment) GetStatus

func (m *Deployment) GetStatus() *DeploymentStatus

func (*Deployment) Marshal

func (m *Deployment) Marshal() (dAtA []byte, err error)

func (*Deployment) MarshalTo

func (m *Deployment) MarshalTo(dAtA []byte) (int, error)

func (*Deployment) MarshalToSizedBuffer added in v1.2.1

func (m *Deployment) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Deployment) ProtoMessage

func (*Deployment) ProtoMessage()

func (*Deployment) Reset

func (m *Deployment) Reset()

func (*Deployment) Size

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

func (*Deployment) String

func (m *Deployment) String() string

func (*Deployment) Unmarshal

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

func (*Deployment) XXX_DiscardUnknown added in v1.2.1

func (m *Deployment) XXX_DiscardUnknown()

func (*Deployment) XXX_Marshal added in v1.2.1

func (m *Deployment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Deployment) XXX_Merge added in v1.2.1

func (m *Deployment) XXX_Merge(src proto.Message)

func (*Deployment) XXX_Size added in v1.2.1

func (m *Deployment) XXX_Size() int

func (*Deployment) XXX_Unmarshal added in v1.2.1

func (m *Deployment) XXX_Unmarshal(b []byte) error

type DeploymentCondition

type DeploymentCondition struct {
	// Type of deployment condition.
	Type *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
	// Status of the condition, one of True, False, Unknown.
	Status *string `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"`
	// The last time this condition was updated.
	LastUpdateTime *v1.Time `protobuf:"bytes,6,opt,name=lastUpdateTime" json:"lastUpdateTime,omitempty"`
	// Last time the condition transitioned from one status to another.
	LastTransitionTime *v1.Time `protobuf:"bytes,7,opt,name=lastTransitionTime" json:"lastTransitionTime,omitempty"`
	// The reason for the condition's last transition.
	Reason *string `protobuf:"bytes,4,opt,name=reason" json:"reason,omitempty"`
	// A human readable message indicating details about the transition.
	Message              *string  `protobuf:"bytes,5,opt,name=message" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

DeploymentCondition describes the state of a deployment at a certain point.

func (*DeploymentCondition) Descriptor

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

func (*DeploymentCondition) GetLastTransitionTime

func (m *DeploymentCondition) GetLastTransitionTime() *v1.Time

func (*DeploymentCondition) GetLastUpdateTime

func (m *DeploymentCondition) GetLastUpdateTime() *v1.Time

func (*DeploymentCondition) GetMessage

func (m *DeploymentCondition) GetMessage() string

func (*DeploymentCondition) GetReason

func (m *DeploymentCondition) GetReason() string

func (*DeploymentCondition) GetStatus

func (m *DeploymentCondition) GetStatus() string

func (*DeploymentCondition) GetType

func (m *DeploymentCondition) GetType() string

func (*DeploymentCondition) Marshal

func (m *DeploymentCondition) Marshal() (dAtA []byte, err error)

func (*DeploymentCondition) MarshalTo

func (m *DeploymentCondition) MarshalTo(dAtA []byte) (int, error)

func (*DeploymentCondition) MarshalToSizedBuffer added in v1.2.1

func (m *DeploymentCondition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DeploymentCondition) ProtoMessage

func (*DeploymentCondition) ProtoMessage()

func (*DeploymentCondition) Reset

func (m *DeploymentCondition) Reset()

func (*DeploymentCondition) Size

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

func (*DeploymentCondition) String

func (m *DeploymentCondition) String() string

func (*DeploymentCondition) Unmarshal

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

func (*DeploymentCondition) XXX_DiscardUnknown added in v1.2.1

func (m *DeploymentCondition) XXX_DiscardUnknown()

func (*DeploymentCondition) XXX_Marshal added in v1.2.1

func (m *DeploymentCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeploymentCondition) XXX_Merge added in v1.2.1

func (m *DeploymentCondition) XXX_Merge(src proto.Message)

func (*DeploymentCondition) XXX_Size added in v1.2.1

func (m *DeploymentCondition) XXX_Size() int

func (*DeploymentCondition) XXX_Unmarshal added in v1.2.1

func (m *DeploymentCondition) XXX_Unmarshal(b []byte) error

type DeploymentList

type DeploymentList struct {
	// Standard list metadata.
	// +optional
	Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// Items is the list of Deployments.
	Items                []*Deployment `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

DeploymentList is a list of Deployments.

func (*DeploymentList) Descriptor

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

func (*DeploymentList) GetItems

func (m *DeploymentList) GetItems() []*Deployment

func (*DeploymentList) GetMetadata

func (m *DeploymentList) GetMetadata() *v1.ListMeta

func (*DeploymentList) Marshal

func (m *DeploymentList) Marshal() (dAtA []byte, err error)

func (*DeploymentList) MarshalTo

func (m *DeploymentList) MarshalTo(dAtA []byte) (int, error)

func (*DeploymentList) MarshalToSizedBuffer added in v1.2.1

func (m *DeploymentList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DeploymentList) ProtoMessage

func (*DeploymentList) ProtoMessage()

func (*DeploymentList) Reset

func (m *DeploymentList) Reset()

func (*DeploymentList) Size

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

func (*DeploymentList) String

func (m *DeploymentList) String() string

func (*DeploymentList) Unmarshal

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

func (*DeploymentList) XXX_DiscardUnknown added in v1.2.1

func (m *DeploymentList) XXX_DiscardUnknown()

func (*DeploymentList) XXX_Marshal added in v1.2.1

func (m *DeploymentList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeploymentList) XXX_Merge added in v1.2.1

func (m *DeploymentList) XXX_Merge(src proto.Message)

func (*DeploymentList) XXX_Size added in v1.2.1

func (m *DeploymentList) XXX_Size() int

func (*DeploymentList) XXX_Unmarshal added in v1.2.1

func (m *DeploymentList) XXX_Unmarshal(b []byte) error

type DeploymentRollback

type DeploymentRollback struct {
	// Required: This must match the Name of a deployment.
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// The annotations to be updated to a deployment
	// +optional
	UpdatedAnnotations map[string]string `` /* 156-byte string literal not displayed */
	// The config of this deployment rollback.
	RollbackTo           *RollbackConfig `protobuf:"bytes,3,opt,name=rollbackTo" json:"rollbackTo,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

DEPRECATED. DeploymentRollback stores the information required to rollback a deployment.

func (*DeploymentRollback) Descriptor

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

func (*DeploymentRollback) GetName

func (m *DeploymentRollback) GetName() string

func (*DeploymentRollback) GetRollbackTo

func (m *DeploymentRollback) GetRollbackTo() *RollbackConfig

func (*DeploymentRollback) GetUpdatedAnnotations

func (m *DeploymentRollback) GetUpdatedAnnotations() map[string]string

func (*DeploymentRollback) Marshal

func (m *DeploymentRollback) Marshal() (dAtA []byte, err error)

func (*DeploymentRollback) MarshalTo

func (m *DeploymentRollback) MarshalTo(dAtA []byte) (int, error)

func (*DeploymentRollback) MarshalToSizedBuffer added in v1.2.1

func (m *DeploymentRollback) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DeploymentRollback) ProtoMessage

func (*DeploymentRollback) ProtoMessage()

func (*DeploymentRollback) Reset

func (m *DeploymentRollback) Reset()

func (*DeploymentRollback) Size

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

func (*DeploymentRollback) String

func (m *DeploymentRollback) String() string

func (*DeploymentRollback) Unmarshal

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

func (*DeploymentRollback) XXX_DiscardUnknown added in v1.2.1

func (m *DeploymentRollback) XXX_DiscardUnknown()

func (*DeploymentRollback) XXX_Marshal added in v1.2.1

func (m *DeploymentRollback) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeploymentRollback) XXX_Merge added in v1.2.1

func (m *DeploymentRollback) XXX_Merge(src proto.Message)

func (*DeploymentRollback) XXX_Size added in v1.2.1

func (m *DeploymentRollback) XXX_Size() int

func (*DeploymentRollback) XXX_Unmarshal added in v1.2.1

func (m *DeploymentRollback) XXX_Unmarshal(b []byte) error

type DeploymentSpec

type DeploymentSpec struct {
	// Number of desired pods. This is a pointer to distinguish between explicit
	// zero and not specified. Defaults to 1.
	// +optional
	Replicas *int32 `protobuf:"varint,1,opt,name=replicas" json:"replicas,omitempty"`
	// Label selector for pods. Existing ReplicaSets whose pods are
	// selected by this will be the ones affected by this deployment.
	// +optional
	Selector *v1.LabelSelector `protobuf:"bytes,2,opt,name=selector" json:"selector,omitempty"`
	// Template describes the pods that will be created.
	Template *v11.PodTemplateSpec `protobuf:"bytes,3,opt,name=template" json:"template,omitempty"`
	// The deployment strategy to use to replace existing pods with new ones.
	// +optional
	// +patchStrategy=retainKeys
	Strategy *DeploymentStrategy `protobuf:"bytes,4,opt,name=strategy" json:"strategy,omitempty"`
	// Minimum number of seconds for which a newly created pod should be ready
	// without any of its container crashing, for it to be considered available.
	// Defaults to 0 (pod will be considered available as soon as it is ready)
	// +optional
	MinReadySeconds *int32 `protobuf:"varint,5,opt,name=minReadySeconds" json:"minReadySeconds,omitempty"`
	// The number of old ReplicaSets to retain to allow rollback.
	// This is a pointer to distinguish between explicit zero and not specified.
	// This is set to the max value of int32 (i.e. 2147483647) by default, which
	// means "retaining all old ReplicaSets".
	// +optional
	RevisionHistoryLimit *int32 `protobuf:"varint,6,opt,name=revisionHistoryLimit" json:"revisionHistoryLimit,omitempty"`
	// Indicates that the deployment is paused and will not be processed by the
	// deployment controller.
	// +optional
	Paused *bool `protobuf:"varint,7,opt,name=paused" json:"paused,omitempty"`
	// DEPRECATED.
	// The config this deployment is rolling back to. Will be cleared after rollback is done.
	// +optional
	RollbackTo *RollbackConfig `protobuf:"bytes,8,opt,name=rollbackTo" json:"rollbackTo,omitempty"`
	// The maximum time in seconds for a deployment to make progress before it
	// is considered to be failed. The deployment controller will continue to
	// process failed deployments and a condition with a ProgressDeadlineExceeded
	// reason will be surfaced in the deployment status. Note that progress will
	// not be estimated during the time a deployment is paused. This is set to
	// the max value of int32 (i.e. 2147483647) by default, which means "no deadline".
	// +optional
	ProgressDeadlineSeconds *int32   `protobuf:"varint,9,opt,name=progressDeadlineSeconds" json:"progressDeadlineSeconds,omitempty"`
	XXX_NoUnkeyedLiteral    struct{} `json:"-"`
	XXX_unrecognized        []byte   `json:"-"`
	XXX_sizecache           int32    `json:"-"`
}

DeploymentSpec is the specification of the desired behavior of the Deployment.

func (*DeploymentSpec) Descriptor

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

func (*DeploymentSpec) GetMinReadySeconds

func (m *DeploymentSpec) GetMinReadySeconds() int32

func (*DeploymentSpec) GetPaused

func (m *DeploymentSpec) GetPaused() bool

func (*DeploymentSpec) GetProgressDeadlineSeconds

func (m *DeploymentSpec) GetProgressDeadlineSeconds() int32

func (*DeploymentSpec) GetReplicas

func (m *DeploymentSpec) GetReplicas() int32

func (*DeploymentSpec) GetRevisionHistoryLimit

func (m *DeploymentSpec) GetRevisionHistoryLimit() int32

func (*DeploymentSpec) GetRollbackTo

func (m *DeploymentSpec) GetRollbackTo() *RollbackConfig

func (*DeploymentSpec) GetSelector

func (m *DeploymentSpec) GetSelector() *v1.LabelSelector

func (*DeploymentSpec) GetStrategy

func (m *DeploymentSpec) GetStrategy() *DeploymentStrategy

func (*DeploymentSpec) GetTemplate

func (m *DeploymentSpec) GetTemplate() *v11.PodTemplateSpec

func (*DeploymentSpec) Marshal

func (m *DeploymentSpec) Marshal() (dAtA []byte, err error)

func (*DeploymentSpec) MarshalTo

func (m *DeploymentSpec) MarshalTo(dAtA []byte) (int, error)

func (*DeploymentSpec) MarshalToSizedBuffer added in v1.2.1

func (m *DeploymentSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DeploymentSpec) ProtoMessage

func (*DeploymentSpec) ProtoMessage()

func (*DeploymentSpec) Reset

func (m *DeploymentSpec) Reset()

func (*DeploymentSpec) Size

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

func (*DeploymentSpec) String

func (m *DeploymentSpec) String() string

func (*DeploymentSpec) Unmarshal

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

func (*DeploymentSpec) XXX_DiscardUnknown added in v1.2.1

func (m *DeploymentSpec) XXX_DiscardUnknown()

func (*DeploymentSpec) XXX_Marshal added in v1.2.1

func (m *DeploymentSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeploymentSpec) XXX_Merge added in v1.2.1

func (m *DeploymentSpec) XXX_Merge(src proto.Message)

func (*DeploymentSpec) XXX_Size added in v1.2.1

func (m *DeploymentSpec) XXX_Size() int

func (*DeploymentSpec) XXX_Unmarshal added in v1.2.1

func (m *DeploymentSpec) XXX_Unmarshal(b []byte) error

type DeploymentStatus

type DeploymentStatus struct {
	// The generation observed by the deployment controller.
	// +optional
	ObservedGeneration *int64 `protobuf:"varint,1,opt,name=observedGeneration" json:"observedGeneration,omitempty"`
	// Total number of non-terminated pods targeted by this deployment (their labels match the selector).
	// +optional
	Replicas *int32 `protobuf:"varint,2,opt,name=replicas" json:"replicas,omitempty"`
	// Total number of non-terminated pods targeted by this deployment that have the desired template spec.
	// +optional
	UpdatedReplicas *int32 `protobuf:"varint,3,opt,name=updatedReplicas" json:"updatedReplicas,omitempty"`
	// Total number of ready pods targeted by this deployment.
	// +optional
	ReadyReplicas *int32 `protobuf:"varint,7,opt,name=readyReplicas" json:"readyReplicas,omitempty"`
	// Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
	// +optional
	AvailableReplicas *int32 `protobuf:"varint,4,opt,name=availableReplicas" json:"availableReplicas,omitempty"`
	// Total number of unavailable pods targeted by this deployment. This is the total number of
	// pods that are still required for the deployment to have 100% available capacity. They may
	// either be pods that are running but not yet available or pods that still have not been created.
	// +optional
	UnavailableReplicas *int32 `protobuf:"varint,5,opt,name=unavailableReplicas" json:"unavailableReplicas,omitempty"`
	// Represents the latest available observations of a deployment's current state.
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions []*DeploymentCondition `protobuf:"bytes,6,rep,name=conditions" json:"conditions,omitempty"`
	// Count of hash collisions for the Deployment. The Deployment controller uses this
	// field as a collision avoidance mechanism when it needs to create the name for the
	// newest ReplicaSet.
	// +optional
	CollisionCount       *int32   `protobuf:"varint,8,opt,name=collisionCount" json:"collisionCount,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

DeploymentStatus is the most recently observed status of the Deployment.

func (*DeploymentStatus) Descriptor

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

func (*DeploymentStatus) GetAvailableReplicas

func (m *DeploymentStatus) GetAvailableReplicas() int32

func (*DeploymentStatus) GetCollisionCount added in v1.0.0

func (m *DeploymentStatus) GetCollisionCount() int32

func (*DeploymentStatus) GetConditions

func (m *DeploymentStatus) GetConditions() []*DeploymentCondition

func (*DeploymentStatus) GetObservedGeneration

func (m *DeploymentStatus) GetObservedGeneration() int64

func (*DeploymentStatus) GetReadyReplicas added in v0.3.0

func (m *DeploymentStatus) GetReadyReplicas() int32

func (*DeploymentStatus) GetReplicas

func (m *DeploymentStatus) GetReplicas() int32

func (*DeploymentStatus) GetUnavailableReplicas

func (m *DeploymentStatus) GetUnavailableReplicas() int32

func (*DeploymentStatus) GetUpdatedReplicas

func (m *DeploymentStatus) GetUpdatedReplicas() int32

func (*DeploymentStatus) Marshal

func (m *DeploymentStatus) Marshal() (dAtA []byte, err error)

func (*DeploymentStatus) MarshalTo

func (m *DeploymentStatus) MarshalTo(dAtA []byte) (int, error)

func (*DeploymentStatus) MarshalToSizedBuffer added in v1.2.1

func (m *DeploymentStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DeploymentStatus) ProtoMessage

func (*DeploymentStatus) ProtoMessage()

func (*DeploymentStatus) Reset

func (m *DeploymentStatus) Reset()

func (*DeploymentStatus) Size

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

func (*DeploymentStatus) String

func (m *DeploymentStatus) String() string

func (*DeploymentStatus) Unmarshal

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

func (*DeploymentStatus) XXX_DiscardUnknown added in v1.2.1

func (m *DeploymentStatus) XXX_DiscardUnknown()

func (*DeploymentStatus) XXX_Marshal added in v1.2.1

func (m *DeploymentStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeploymentStatus) XXX_Merge added in v1.2.1

func (m *DeploymentStatus) XXX_Merge(src proto.Message)

func (*DeploymentStatus) XXX_Size added in v1.2.1

func (m *DeploymentStatus) XXX_Size() int

func (*DeploymentStatus) XXX_Unmarshal added in v1.2.1

func (m *DeploymentStatus) XXX_Unmarshal(b []byte) error

type DeploymentStrategy

type DeploymentStrategy struct {
	// Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
	// +optional
	Type *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
	// Rolling update config params. Present only if DeploymentStrategyType =
	// RollingUpdate.
	// ---
	// TODO: Update this to follow our convention for oneOf, whatever we decide it
	// to be.
	// +optional
	RollingUpdate        *RollingUpdateDeployment `protobuf:"bytes,2,opt,name=rollingUpdate" json:"rollingUpdate,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

DeploymentStrategy describes how to replace existing pods with new ones.

func (*DeploymentStrategy) Descriptor

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

func (*DeploymentStrategy) GetRollingUpdate

func (m *DeploymentStrategy) GetRollingUpdate() *RollingUpdateDeployment

func (*DeploymentStrategy) GetType

func (m *DeploymentStrategy) GetType() string

func (*DeploymentStrategy) Marshal

func (m *DeploymentStrategy) Marshal() (dAtA []byte, err error)

func (*DeploymentStrategy) MarshalTo

func (m *DeploymentStrategy) MarshalTo(dAtA []byte) (int, error)

func (*DeploymentStrategy) MarshalToSizedBuffer added in v1.2.1

func (m *DeploymentStrategy) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DeploymentStrategy) ProtoMessage

func (*DeploymentStrategy) ProtoMessage()

func (*DeploymentStrategy) Reset

func (m *DeploymentStrategy) Reset()

func (*DeploymentStrategy) Size

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

func (*DeploymentStrategy) String

func (m *DeploymentStrategy) String() string

func (*DeploymentStrategy) Unmarshal

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

func (*DeploymentStrategy) XXX_DiscardUnknown added in v1.2.1

func (m *DeploymentStrategy) XXX_DiscardUnknown()

func (*DeploymentStrategy) XXX_Marshal added in v1.2.1

func (m *DeploymentStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeploymentStrategy) XXX_Merge added in v1.2.1

func (m *DeploymentStrategy) XXX_Merge(src proto.Message)

func (*DeploymentStrategy) XXX_Size added in v1.2.1

func (m *DeploymentStrategy) XXX_Size() int

func (*DeploymentStrategy) XXX_Unmarshal added in v1.2.1

func (m *DeploymentStrategy) XXX_Unmarshal(b []byte) error

type FSGroupStrategyOptions

type FSGroupStrategyOptions struct {
	// rule is the strategy that will dictate what FSGroup is used in the SecurityContext.
	// +optional
	Rule *string `protobuf:"bytes,1,opt,name=rule" json:"rule,omitempty"`
	// ranges are the allowed ranges of fs groups.  If you would like to force a single
	// fs group then supply a single range with the same start and end. Required for MustRunAs.
	// +optional
	Ranges               []*IDRange `protobuf:"bytes,2,rep,name=ranges" json:"ranges,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

FSGroupStrategyOptions defines the strategy type and options used to create the strategy. Deprecated: use FSGroupStrategyOptions from policy API Group instead.

func (*FSGroupStrategyOptions) Descriptor

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

func (*FSGroupStrategyOptions) GetRanges

func (m *FSGroupStrategyOptions) GetRanges() []*IDRange

func (*FSGroupStrategyOptions) GetRule

func (m *FSGroupStrategyOptions) GetRule() string

func (*FSGroupStrategyOptions) Marshal

func (m *FSGroupStrategyOptions) Marshal() (dAtA []byte, err error)

func (*FSGroupStrategyOptions) MarshalTo

func (m *FSGroupStrategyOptions) MarshalTo(dAtA []byte) (int, error)

func (*FSGroupStrategyOptions) MarshalToSizedBuffer added in v1.2.1

func (m *FSGroupStrategyOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FSGroupStrategyOptions) ProtoMessage

func (*FSGroupStrategyOptions) ProtoMessage()

func (*FSGroupStrategyOptions) Reset

func (m *FSGroupStrategyOptions) Reset()

func (*FSGroupStrategyOptions) Size

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

func (*FSGroupStrategyOptions) String

func (m *FSGroupStrategyOptions) String() string

func (*FSGroupStrategyOptions) Unmarshal

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

func (*FSGroupStrategyOptions) XXX_DiscardUnknown added in v1.2.1

func (m *FSGroupStrategyOptions) XXX_DiscardUnknown()

func (*FSGroupStrategyOptions) XXX_Marshal added in v1.2.1

func (m *FSGroupStrategyOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FSGroupStrategyOptions) XXX_Merge added in v1.2.1

func (m *FSGroupStrategyOptions) XXX_Merge(src proto.Message)

func (*FSGroupStrategyOptions) XXX_Size added in v1.2.1

func (m *FSGroupStrategyOptions) XXX_Size() int

func (*FSGroupStrategyOptions) XXX_Unmarshal added in v1.2.1

func (m *FSGroupStrategyOptions) XXX_Unmarshal(b []byte) error

type HTTPIngressPath

type HTTPIngressPath struct {
	// Path is matched against the path of an incoming request. Currently it can
	// contain characters disallowed from the conventional "path" part of a URL
	// as defined by RFC 3986. Paths must begin with a '/'. When unspecified,
	// all paths from incoming requests are matched.
	// +optional
	Path *string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
	// PathType determines the interpretation of the Path matching. PathType can
	// be one of the following values:
	// * Exact: Matches the URL path exactly.
	// * Prefix: Matches based on a URL path prefix split by '/'. Matching is
	//   done on a path element by element basis. A path element refers is the
	//   list of labels in the path split by the '/' separator. A request is a
	//   match for path p if every p is an element-wise prefix of p of the
	//   request path. Note that if the last element of the path is a substring
	//   of the last element in request path, it is not a match (e.g. /foo/bar
	//   matches /foo/bar/baz, but does not match /foo/barbaz).
	// * ImplementationSpecific: Interpretation of the Path matching is up to
	//   the IngressClass. Implementations can treat this as a separate PathType
	//   or treat it identically to Prefix or Exact path types.
	// Implementations are required to support all path types.
	// Defaults to ImplementationSpecific.
	PathType *string `protobuf:"bytes,3,opt,name=pathType" json:"pathType,omitempty"`
	// Backend defines the referenced service endpoint to which the traffic
	// will be forwarded to.
	Backend              *IngressBackend `protobuf:"bytes,2,opt,name=backend" json:"backend,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.

func (*HTTPIngressPath) Descriptor

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

func (*HTTPIngressPath) GetBackend

func (m *HTTPIngressPath) GetBackend() *IngressBackend

func (*HTTPIngressPath) GetPath

func (m *HTTPIngressPath) GetPath() string

func (*HTTPIngressPath) GetPathType added in v1.2.2

func (m *HTTPIngressPath) GetPathType() string

func (*HTTPIngressPath) Marshal

func (m *HTTPIngressPath) Marshal() (dAtA []byte, err error)

func (*HTTPIngressPath) MarshalTo

func (m *HTTPIngressPath) MarshalTo(dAtA []byte) (int, error)

func (*HTTPIngressPath) MarshalToSizedBuffer added in v1.2.1

func (m *HTTPIngressPath) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HTTPIngressPath) ProtoMessage

func (*HTTPIngressPath) ProtoMessage()

func (*HTTPIngressPath) Reset

func (m *HTTPIngressPath) Reset()

func (*HTTPIngressPath) Size

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

func (*HTTPIngressPath) String

func (m *HTTPIngressPath) String() string

func (*HTTPIngressPath) Unmarshal

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

func (*HTTPIngressPath) XXX_DiscardUnknown added in v1.2.1

func (m *HTTPIngressPath) XXX_DiscardUnknown()

func (*HTTPIngressPath) XXX_Marshal added in v1.2.1

func (m *HTTPIngressPath) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HTTPIngressPath) XXX_Merge added in v1.2.1

func (m *HTTPIngressPath) XXX_Merge(src proto.Message)

func (*HTTPIngressPath) XXX_Size added in v1.2.1

func (m *HTTPIngressPath) XXX_Size() int

func (*HTTPIngressPath) XXX_Unmarshal added in v1.2.1

func (m *HTTPIngressPath) XXX_Unmarshal(b []byte) error

type HTTPIngressRuleValue

type HTTPIngressRuleValue struct {
	// A collection of paths that map requests to backends.
	Paths                []*HTTPIngressPath `protobuf:"bytes,1,rep,name=paths" json:"paths,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http://<host>/<path>?<searchpart> -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.

func (*HTTPIngressRuleValue) Descriptor

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

func (*HTTPIngressRuleValue) GetPaths

func (m *HTTPIngressRuleValue) GetPaths() []*HTTPIngressPath

func (*HTTPIngressRuleValue) Marshal

func (m *HTTPIngressRuleValue) Marshal() (dAtA []byte, err error)

func (*HTTPIngressRuleValue) MarshalTo

func (m *HTTPIngressRuleValue) MarshalTo(dAtA []byte) (int, error)

func (*HTTPIngressRuleValue) MarshalToSizedBuffer added in v1.2.1

func (m *HTTPIngressRuleValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HTTPIngressRuleValue) ProtoMessage

func (*HTTPIngressRuleValue) ProtoMessage()

func (*HTTPIngressRuleValue) Reset

func (m *HTTPIngressRuleValue) Reset()

func (*HTTPIngressRuleValue) Size

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

func (*HTTPIngressRuleValue) String

func (m *HTTPIngressRuleValue) String() string

func (*HTTPIngressRuleValue) Unmarshal

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

func (*HTTPIngressRuleValue) XXX_DiscardUnknown added in v1.2.1

func (m *HTTPIngressRuleValue) XXX_DiscardUnknown()

func (*HTTPIngressRuleValue) XXX_Marshal added in v1.2.1

func (m *HTTPIngressRuleValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HTTPIngressRuleValue) XXX_Merge added in v1.2.1

func (m *HTTPIngressRuleValue) XXX_Merge(src proto.Message)

func (*HTTPIngressRuleValue) XXX_Size added in v1.2.1

func (m *HTTPIngressRuleValue) XXX_Size() int

func (*HTTPIngressRuleValue) XXX_Unmarshal added in v1.2.1

func (m *HTTPIngressRuleValue) XXX_Unmarshal(b []byte) error

type HostPortRange

type HostPortRange struct {
	// min is the start of the range, inclusive.
	Min *int32 `protobuf:"varint,1,opt,name=min" json:"min,omitempty"`
	// max is the end of the range, inclusive.
	Max                  *int32   `protobuf:"varint,2,opt,name=max" json:"max,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

HostPortRange defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined. Deprecated: use HostPortRange from policy API Group instead.

func (*HostPortRange) Descriptor

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

func (*HostPortRange) GetMax

func (m *HostPortRange) GetMax() int32

func (*HostPortRange) GetMin

func (m *HostPortRange) GetMin() int32

func (*HostPortRange) Marshal

func (m *HostPortRange) Marshal() (dAtA []byte, err error)

func (*HostPortRange) MarshalTo

func (m *HostPortRange) MarshalTo(dAtA []byte) (int, error)

func (*HostPortRange) MarshalToSizedBuffer added in v1.2.1

func (m *HostPortRange) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HostPortRange) ProtoMessage

func (*HostPortRange) ProtoMessage()

func (*HostPortRange) Reset

func (m *HostPortRange) Reset()

func (*HostPortRange) Size

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

func (*HostPortRange) String

func (m *HostPortRange) String() string

func (*HostPortRange) Unmarshal

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

func (*HostPortRange) XXX_DiscardUnknown added in v1.2.1

func (m *HostPortRange) XXX_DiscardUnknown()

func (*HostPortRange) XXX_Marshal added in v1.2.1

func (m *HostPortRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HostPortRange) XXX_Merge added in v1.2.1

func (m *HostPortRange) XXX_Merge(src proto.Message)

func (*HostPortRange) XXX_Size added in v1.2.1

func (m *HostPortRange) XXX_Size() int

func (*HostPortRange) XXX_Unmarshal added in v1.2.1

func (m *HostPortRange) XXX_Unmarshal(b []byte) error

type IDRange

type IDRange struct {
	// min is the start of the range, inclusive.
	Min *int64 `protobuf:"varint,1,opt,name=min" json:"min,omitempty"`
	// max is the end of the range, inclusive.
	Max                  *int64   `protobuf:"varint,2,opt,name=max" json:"max,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

IDRange provides a min/max of an allowed range of IDs. Deprecated: use IDRange from policy API Group instead.

func (*IDRange) Descriptor

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

func (*IDRange) GetMax

func (m *IDRange) GetMax() int64

func (*IDRange) GetMin

func (m *IDRange) GetMin() int64

func (*IDRange) Marshal

func (m *IDRange) Marshal() (dAtA []byte, err error)

func (*IDRange) MarshalTo

func (m *IDRange) MarshalTo(dAtA []byte) (int, error)

func (*IDRange) MarshalToSizedBuffer added in v1.2.1

func (m *IDRange) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IDRange) ProtoMessage

func (*IDRange) ProtoMessage()

func (*IDRange) Reset

func (m *IDRange) Reset()

func (*IDRange) Size

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

func (*IDRange) String

func (m *IDRange) String() string

func (*IDRange) Unmarshal

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

func (*IDRange) XXX_DiscardUnknown added in v1.2.1

func (m *IDRange) XXX_DiscardUnknown()

func (*IDRange) XXX_Marshal added in v1.2.1

func (m *IDRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IDRange) XXX_Merge added in v1.2.1

func (m *IDRange) XXX_Merge(src proto.Message)

func (*IDRange) XXX_Size added in v1.2.1

func (m *IDRange) XXX_Size() int

func (*IDRange) XXX_Unmarshal added in v1.2.1

func (m *IDRange) XXX_Unmarshal(b []byte) error

type IPBlock added in v1.0.0

type IPBlock struct {
	// CIDR is a string representing the IP Block
	// Valid examples are "192.168.1.1/24" or "2001:db9::/64"
	Cidr *string `protobuf:"bytes,1,opt,name=cidr" json:"cidr,omitempty"`
	// Except is a slice of CIDRs that should not be included within an IP Block
	// Valid examples are "192.168.1.1/24" or "2001:db9::/64"
	// Except values will be rejected if they are outside the CIDR range
	// +optional
	Except               []string `protobuf:"bytes,2,rep,name=except" json:"except,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

DEPRECATED 1.9 - This group version of IPBlock is deprecated by networking/v1/IPBlock. IPBlock describes a particular CIDR (Ex. "192.168.1.1/24","2001:db9::/64") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.

func (*IPBlock) Descriptor added in v1.0.0

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

func (*IPBlock) GetCidr added in v1.0.0

func (m *IPBlock) GetCidr() string

func (*IPBlock) GetExcept added in v1.0.0

func (m *IPBlock) GetExcept() []string

func (*IPBlock) Marshal added in v1.0.0

func (m *IPBlock) Marshal() (dAtA []byte, err error)

func (*IPBlock) MarshalTo added in v1.0.0

func (m *IPBlock) MarshalTo(dAtA []byte) (int, error)

func (*IPBlock) MarshalToSizedBuffer added in v1.2.1

func (m *IPBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IPBlock) ProtoMessage added in v1.0.0

func (*IPBlock) ProtoMessage()

func (*IPBlock) Reset added in v1.0.0

func (m *IPBlock) Reset()

func (*IPBlock) Size added in v1.0.0

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

func (*IPBlock) String added in v1.0.0

func (m *IPBlock) String() string

func (*IPBlock) Unmarshal added in v1.0.0

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

func (*IPBlock) XXX_DiscardUnknown added in v1.2.1

func (m *IPBlock) XXX_DiscardUnknown()

func (*IPBlock) XXX_Marshal added in v1.2.1

func (m *IPBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IPBlock) XXX_Merge added in v1.2.1

func (m *IPBlock) XXX_Merge(src proto.Message)

func (*IPBlock) XXX_Size added in v1.2.1

func (m *IPBlock) XXX_Size() int

func (*IPBlock) XXX_Unmarshal added in v1.2.1

func (m *IPBlock) XXX_Unmarshal(b []byte) error

type Ingress

type Ingress struct {
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// Spec is the desired state of the Ingress.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	// +optional
	Spec *IngressSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"`
	// Status is the current state of the Ingress.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	// +optional
	Status               *IngressStatus `protobuf:"bytes,3,opt,name=status" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc. DEPRECATED - This group version of Ingress is deprecated by networking.k8s.io/v1beta1 Ingress. See the release notes for more information.

func (*Ingress) Descriptor

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

func (*Ingress) GetMetadata

func (m *Ingress) GetMetadata() *v1.ObjectMeta

func (*Ingress) GetSpec

func (m *Ingress) GetSpec() *IngressSpec

func (*Ingress) GetStatus

func (m *Ingress) GetStatus() *IngressStatus

func (*Ingress) Marshal

func (m *Ingress) Marshal() (dAtA []byte, err error)

func (*Ingress) MarshalTo

func (m *Ingress) MarshalTo(dAtA []byte) (int, error)

func (*Ingress) MarshalToSizedBuffer added in v1.2.1

func (m *Ingress) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Ingress) ProtoMessage

func (*Ingress) ProtoMessage()

func (*Ingress) Reset

func (m *Ingress) Reset()

func (*Ingress) Size

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

func (*Ingress) String

func (m *Ingress) String() string

func (*Ingress) Unmarshal

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

func (*Ingress) XXX_DiscardUnknown added in v1.2.1

func (m *Ingress) XXX_DiscardUnknown()

func (*Ingress) XXX_Marshal added in v1.2.1

func (m *Ingress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Ingress) XXX_Merge added in v1.2.1

func (m *Ingress) XXX_Merge(src proto.Message)

func (*Ingress) XXX_Size added in v1.2.1

func (m *Ingress) XXX_Size() int

func (*Ingress) XXX_Unmarshal added in v1.2.1

func (m *Ingress) XXX_Unmarshal(b []byte) error

type IngressBackend

type IngressBackend struct {
	// Specifies the name of the referenced service.
	// +optional
	ServiceName *string `protobuf:"bytes,1,opt,name=serviceName" json:"serviceName,omitempty"`
	// Specifies the port of the referenced service.
	// +optional
	ServicePort *intstr.IntOrString `protobuf:"bytes,2,opt,name=servicePort" json:"servicePort,omitempty"`
	// Resource is an ObjectRef to another Kubernetes resource in the namespace
	// of the Ingress object. If resource is specified, serviceName and servicePort
	// must not be specified.
	// +optional
	Resource             *v11.TypedLocalObjectReference `protobuf:"bytes,3,opt,name=resource" json:"resource,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

IngressBackend describes all endpoints for a given service and port.

func (*IngressBackend) Descriptor

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

func (*IngressBackend) GetResource added in v1.2.2

func (m *IngressBackend) GetResource() *v11.TypedLocalObjectReference

func (*IngressBackend) GetServiceName

func (m *IngressBackend) GetServiceName() string

func (*IngressBackend) GetServicePort

func (m *IngressBackend) GetServicePort() *intstr.IntOrString

func (*IngressBackend) Marshal

func (m *IngressBackend) Marshal() (dAtA []byte, err error)

func (*IngressBackend) MarshalTo

func (m *IngressBackend) MarshalTo(dAtA []byte) (int, error)

func (*IngressBackend) MarshalToSizedBuffer added in v1.2.1

func (m *IngressBackend) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IngressBackend) ProtoMessage

func (*IngressBackend) ProtoMessage()

func (*IngressBackend) Reset

func (m *IngressBackend) Reset()

func (*IngressBackend) Size

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

func (*IngressBackend) String

func (m *IngressBackend) String() string

func (*IngressBackend) Unmarshal

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

func (*IngressBackend) XXX_DiscardUnknown added in v1.2.1

func (m *IngressBackend) XXX_DiscardUnknown()

func (*IngressBackend) XXX_Marshal added in v1.2.1

func (m *IngressBackend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IngressBackend) XXX_Merge added in v1.2.1

func (m *IngressBackend) XXX_Merge(src proto.Message)

func (*IngressBackend) XXX_Size added in v1.2.1

func (m *IngressBackend) XXX_Size() int

func (*IngressBackend) XXX_Unmarshal added in v1.2.1

func (m *IngressBackend) XXX_Unmarshal(b []byte) error

type IngressList

type IngressList struct {
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// Items is the list of Ingress.
	Items                []*Ingress `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

IngressList is a collection of Ingress.

func (*IngressList) Descriptor

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

func (*IngressList) GetItems

func (m *IngressList) GetItems() []*Ingress

func (*IngressList) GetMetadata

func (m *IngressList) GetMetadata() *v1.ListMeta

func (*IngressList) Marshal

func (m *IngressList) Marshal() (dAtA []byte, err error)

func (*IngressList) MarshalTo

func (m *IngressList) MarshalTo(dAtA []byte) (int, error)

func (*IngressList) MarshalToSizedBuffer added in v1.2.1

func (m *IngressList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IngressList) ProtoMessage

func (*IngressList) ProtoMessage()

func (*IngressList) Reset

func (m *IngressList) Reset()

func (*IngressList) Size

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

func (*IngressList) String

func (m *IngressList) String() string

func (*IngressList) Unmarshal

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

func (*IngressList) XXX_DiscardUnknown added in v1.2.1

func (m *IngressList) XXX_DiscardUnknown()

func (*IngressList) XXX_Marshal added in v1.2.1

func (m *IngressList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IngressList) XXX_Merge added in v1.2.1

func (m *IngressList) XXX_Merge(src proto.Message)

func (*IngressList) XXX_Size added in v1.2.1

func (m *IngressList) XXX_Size() int

func (*IngressList) XXX_Unmarshal added in v1.2.1

func (m *IngressList) XXX_Unmarshal(b []byte) error

type IngressRule

type IngressRule struct {
	// Host is the fully qualified domain name of a network host, as defined by RFC 3986.
	// Note the following deviations from the "host" part of the
	// URI as defined in RFC 3986:
	// 1. IPs are not allowed. Currently an IngressRuleValue can only apply to
	//    the IP in the Spec of the parent Ingress.
	// 2. The `:` delimiter is not respected because ports are not allowed.
	// 	  Currently the port of an Ingress is implicitly :80 for http and
	// 	  :443 for https.
	// Both these may change in the future.
	// Incoming requests are matched against the host before the
	// IngressRuleValue. If the host is unspecified, the Ingress routes all
	// traffic based on the specified IngressRuleValue.
	//
	// Host can be "precise" which is a domain name without the terminating dot of
	// a network host (e.g. "foo.bar.com") or "wildcard", which is a domain name
	// prefixed with a single wildcard label (e.g. "*.foo.com").
	// The wildcard character '*' must appear by itself as the first DNS label and
	// matches only a single label. You cannot have a wildcard label by itself (e.g. Host == "*").
	// Requests will be matched against the Host field in the following way:
	// 1. If Host is precise, the request matches this rule if the http host header is equal to Host.
	// 2. If Host is a wildcard, then the request matches this rule if the http host header
	// is to equal to the suffix (removing the first label) of the wildcard rule.
	// +optional
	Host *string `protobuf:"bytes,1,opt,name=host" json:"host,omitempty"`
	// IngressRuleValue represents a rule to route requests for this IngressRule.
	// If unspecified, the rule defaults to a http catch-all. Whether that sends
	// just traffic matching the host to the default backend or all traffic to the
	// default backend, is left to the controller fulfilling the Ingress. Http is
	// currently the only supported IngressRuleValue.
	// +optional
	IngressRuleValue     *IngressRuleValue `protobuf:"bytes,2,opt,name=ingressRuleValue" json:"ingressRuleValue,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.

func (*IngressRule) Descriptor

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

func (*IngressRule) GetHost

func (m *IngressRule) GetHost() string

func (*IngressRule) GetIngressRuleValue

func (m *IngressRule) GetIngressRuleValue() *IngressRuleValue

func (*IngressRule) Marshal

func (m *IngressRule) Marshal() (dAtA []byte, err error)

func (*IngressRule) MarshalTo

func (m *IngressRule) MarshalTo(dAtA []byte) (int, error)

func (*IngressRule) MarshalToSizedBuffer added in v1.2.1

func (m *IngressRule) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IngressRule) ProtoMessage

func (*IngressRule) ProtoMessage()

func (*IngressRule) Reset

func (m *IngressRule) Reset()

func (*IngressRule) Size

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

func (*IngressRule) String

func (m *IngressRule) String() string

func (*IngressRule) Unmarshal

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

func (*IngressRule) XXX_DiscardUnknown added in v1.2.1

func (m *IngressRule) XXX_DiscardUnknown()

func (*IngressRule) XXX_Marshal added in v1.2.1

func (m *IngressRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IngressRule) XXX_Merge added in v1.2.1

func (m *IngressRule) XXX_Merge(src proto.Message)

func (*IngressRule) XXX_Size added in v1.2.1

func (m *IngressRule) XXX_Size() int

func (*IngressRule) XXX_Unmarshal added in v1.2.1

func (m *IngressRule) XXX_Unmarshal(b []byte) error

type IngressRuleValue

type IngressRuleValue struct {
	// +optional
	Http                 *HTTPIngressRuleValue `protobuf:"bytes,1,opt,name=http" json:"http,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

IngressRuleValue represents a rule to apply against incoming requests. If the rule is satisfied, the request is routed to the specified backend. Currently mixing different types of rules in a single Ingress is disallowed, so exactly one of the following must be set.

func (*IngressRuleValue) Descriptor

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

func (*IngressRuleValue) GetHttp

func (m *IngressRuleValue) GetHttp() *HTTPIngressRuleValue

func (*IngressRuleValue) Marshal

func (m *IngressRuleValue) Marshal() (dAtA []byte, err error)

func (*IngressRuleValue) MarshalTo

func (m *IngressRuleValue) MarshalTo(dAtA []byte) (int, error)

func (*IngressRuleValue) MarshalToSizedBuffer added in v1.2.1

func (m *IngressRuleValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IngressRuleValue) ProtoMessage

func (*IngressRuleValue) ProtoMessage()

func (*IngressRuleValue) Reset

func (m *IngressRuleValue) Reset()

func (*IngressRuleValue) Size

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

func (*IngressRuleValue) String

func (m *IngressRuleValue) String() string

func (*IngressRuleValue) Unmarshal

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

func (*IngressRuleValue) XXX_DiscardUnknown added in v1.2.1

func (m *IngressRuleValue) XXX_DiscardUnknown()

func (*IngressRuleValue) XXX_Marshal added in v1.2.1

func (m *IngressRuleValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IngressRuleValue) XXX_Merge added in v1.2.1

func (m *IngressRuleValue) XXX_Merge(src proto.Message)

func (*IngressRuleValue) XXX_Size added in v1.2.1

func (m *IngressRuleValue) XXX_Size() int

func (*IngressRuleValue) XXX_Unmarshal added in v1.2.1

func (m *IngressRuleValue) XXX_Unmarshal(b []byte) error

type IngressSpec

type IngressSpec struct {
	// IngressClassName is the name of the IngressClass cluster resource. The
	// associated IngressClass defines which controller will implement the
	// resource. This replaces the deprecated `kubernetes.io/ingress.class`
	// annotation. For backwards compatibility, when that annotation is set, it
	// must be given precedence over this field. The controller may emit a
	// warning if the field and annotation have different values.
	// Implementations of this API should ignore Ingresses without a class
	// specified. An IngressClass resource may be marked as default, which can
	// be used to set a default value for this field. For more information,
	// refer to the IngressClass documentation.
	// +optional
	IngressClassName *string `protobuf:"bytes,4,opt,name=ingressClassName" json:"ingressClassName,omitempty"`
	// A default backend capable of servicing requests that don't match any
	// rule. At least one of 'backend' or 'rules' must be specified. This field
	// is optional to allow the loadbalancer controller or defaulting logic to
	// specify a global default.
	// +optional
	Backend *IngressBackend `protobuf:"bytes,1,opt,name=backend" json:"backend,omitempty"`
	// TLS configuration. Currently the Ingress only supports a single TLS
	// port, 443. If multiple members of this list specify different hosts, they
	// will be multiplexed on the same port according to the hostname specified
	// through the SNI TLS extension, if the ingress controller fulfilling the
	// ingress supports SNI.
	// +optional
	Tls []*IngressTLS `protobuf:"bytes,2,rep,name=tls" json:"tls,omitempty"`
	// A list of host rules used to configure the Ingress. If unspecified, or
	// no rule matches, all traffic is sent to the default backend.
	// +optional
	Rules                []*IngressRule `protobuf:"bytes,3,rep,name=rules" json:"rules,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

IngressSpec describes the Ingress the user wishes to exist.

func (*IngressSpec) Descriptor

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

func (*IngressSpec) GetBackend

func (m *IngressSpec) GetBackend() *IngressBackend

func (*IngressSpec) GetIngressClassName added in v1.2.2

func (m *IngressSpec) GetIngressClassName() string

func (*IngressSpec) GetRules

func (m *IngressSpec) GetRules() []*IngressRule

func (*IngressSpec) GetTls

func (m *IngressSpec) GetTls() []*IngressTLS

func (*IngressSpec) Marshal

func (m *IngressSpec) Marshal() (dAtA []byte, err error)

func (*IngressSpec) MarshalTo

func (m *IngressSpec) MarshalTo(dAtA []byte) (int, error)

func (*IngressSpec) MarshalToSizedBuffer added in v1.2.1

func (m *IngressSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IngressSpec) ProtoMessage

func (*IngressSpec) ProtoMessage()

func (*IngressSpec) Reset

func (m *IngressSpec) Reset()

func (*IngressSpec) Size

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

func (*IngressSpec) String

func (m *IngressSpec) String() string

func (*IngressSpec) Unmarshal

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

func (*IngressSpec) XXX_DiscardUnknown added in v1.2.1

func (m *IngressSpec) XXX_DiscardUnknown()

func (*IngressSpec) XXX_Marshal added in v1.2.1

func (m *IngressSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IngressSpec) XXX_Merge added in v1.2.1

func (m *IngressSpec) XXX_Merge(src proto.Message)

func (*IngressSpec) XXX_Size added in v1.2.1

func (m *IngressSpec) XXX_Size() int

func (*IngressSpec) XXX_Unmarshal added in v1.2.1

func (m *IngressSpec) XXX_Unmarshal(b []byte) error

type IngressStatus

type IngressStatus struct {
	// LoadBalancer contains the current status of the load-balancer.
	// +optional
	LoadBalancer         *v11.LoadBalancerStatus `protobuf:"bytes,1,opt,name=loadBalancer" json:"loadBalancer,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

IngressStatus describe the current state of the Ingress.

func (*IngressStatus) Descriptor

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

func (*IngressStatus) GetLoadBalancer

func (m *IngressStatus) GetLoadBalancer() *v11.LoadBalancerStatus

func (*IngressStatus) Marshal

func (m *IngressStatus) Marshal() (dAtA []byte, err error)

func (*IngressStatus) MarshalTo

func (m *IngressStatus) MarshalTo(dAtA []byte) (int, error)

func (*IngressStatus) MarshalToSizedBuffer added in v1.2.1

func (m *IngressStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IngressStatus) ProtoMessage

func (*IngressStatus) ProtoMessage()

func (*IngressStatus) Reset

func (m *IngressStatus) Reset()

func (*IngressStatus) Size

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

func (*IngressStatus) String

func (m *IngressStatus) String() string

func (*IngressStatus) Unmarshal

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

func (*IngressStatus) XXX_DiscardUnknown added in v1.2.1

func (m *IngressStatus) XXX_DiscardUnknown()

func (*IngressStatus) XXX_Marshal added in v1.2.1

func (m *IngressStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IngressStatus) XXX_Merge added in v1.2.1

func (m *IngressStatus) XXX_Merge(src proto.Message)

func (*IngressStatus) XXX_Size added in v1.2.1

func (m *IngressStatus) XXX_Size() int

func (*IngressStatus) XXX_Unmarshal added in v1.2.1

func (m *IngressStatus) XXX_Unmarshal(b []byte) error

type IngressTLS

type IngressTLS struct {
	// Hosts are a list of hosts included in the TLS certificate. The values in
	// this list must match the name/s used in the tlsSecret. Defaults to the
	// wildcard host setting for the loadbalancer controller fulfilling this
	// Ingress, if left unspecified.
	// +optional
	Hosts []string `protobuf:"bytes,1,rep,name=hosts" json:"hosts,omitempty"`
	// SecretName is the name of the secret used to terminate SSL traffic on 443.
	// Field is left optional to allow SSL routing based on SNI hostname alone.
	// If the SNI host in a listener conflicts with the "Host" header field used
	// by an IngressRule, the SNI host is used for termination and value of the
	// Host header is used for routing.
	// +optional
	SecretName           *string  `protobuf:"bytes,2,opt,name=secretName" json:"secretName,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

IngressTLS describes the transport layer security associated with an Ingress.

func (*IngressTLS) Descriptor

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

func (*IngressTLS) GetHosts

func (m *IngressTLS) GetHosts() []string

func (*IngressTLS) GetSecretName

func (m *IngressTLS) GetSecretName() string

func (*IngressTLS) Marshal

func (m *IngressTLS) Marshal() (dAtA []byte, err error)

func (*IngressTLS) MarshalTo

func (m *IngressTLS) MarshalTo(dAtA []byte) (int, error)

func (*IngressTLS) MarshalToSizedBuffer added in v1.2.1

func (m *IngressTLS) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IngressTLS) ProtoMessage

func (*IngressTLS) ProtoMessage()

func (*IngressTLS) Reset

func (m *IngressTLS) Reset()

func (*IngressTLS) Size

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

func (*IngressTLS) String

func (m *IngressTLS) String() string

func (*IngressTLS) Unmarshal

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

func (*IngressTLS) XXX_DiscardUnknown added in v1.2.1

func (m *IngressTLS) XXX_DiscardUnknown()

func (*IngressTLS) XXX_Marshal added in v1.2.1

func (m *IngressTLS) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IngressTLS) XXX_Merge added in v1.2.1

func (m *IngressTLS) XXX_Merge(src proto.Message)

func (*IngressTLS) XXX_Size added in v1.2.1

func (m *IngressTLS) XXX_Size() int

func (*IngressTLS) XXX_Unmarshal added in v1.2.1

func (m *IngressTLS) XXX_Unmarshal(b []byte) error

type NetworkPolicy

type NetworkPolicy struct {
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// Specification of the desired behavior for this NetworkPolicy.
	// +optional
	Spec                 *NetworkPolicySpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

DEPRECATED 1.9 - This group version of NetworkPolicy is deprecated by networking/v1/NetworkPolicy. NetworkPolicy describes what network traffic is allowed for a set of Pods

func (*NetworkPolicy) Descriptor

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

func (*NetworkPolicy) GetMetadata

func (m *NetworkPolicy) GetMetadata() *v1.ObjectMeta

func (*NetworkPolicy) GetSpec

func (m *NetworkPolicy) GetSpec() *NetworkPolicySpec

func (*NetworkPolicy) Marshal

func (m *NetworkPolicy) Marshal() (dAtA []byte, err error)

func (*NetworkPolicy) MarshalTo

func (m *NetworkPolicy) MarshalTo(dAtA []byte) (int, error)

func (*NetworkPolicy) MarshalToSizedBuffer added in v1.2.1

func (m *NetworkPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NetworkPolicy) ProtoMessage

func (*NetworkPolicy) ProtoMessage()

func (*NetworkPolicy) Reset

func (m *NetworkPolicy) Reset()

func (*NetworkPolicy) Size

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

func (*NetworkPolicy) String

func (m *NetworkPolicy) String() string

func (*NetworkPolicy) Unmarshal

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

func (*NetworkPolicy) XXX_DiscardUnknown added in v1.2.1

func (m *NetworkPolicy) XXX_DiscardUnknown()

func (*NetworkPolicy) XXX_Marshal added in v1.2.1

func (m *NetworkPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetworkPolicy) XXX_Merge added in v1.2.1

func (m *NetworkPolicy) XXX_Merge(src proto.Message)

func (*NetworkPolicy) XXX_Size added in v1.2.1

func (m *NetworkPolicy) XXX_Size() int

func (*NetworkPolicy) XXX_Unmarshal added in v1.2.1

func (m *NetworkPolicy) XXX_Unmarshal(b []byte) error

type NetworkPolicyEgressRule added in v1.0.0

type NetworkPolicyEgressRule struct {
	// List of destination ports for outgoing traffic.
	// Each item in this list is combined using a logical OR. If this field is
	// empty or missing, this rule matches all ports (traffic not restricted by port).
	// If this field is present and contains at least one item, then this rule allows
	// traffic only if the traffic matches at least one port in the list.
	// +optional
	Ports []*NetworkPolicyPort `protobuf:"bytes,1,rep,name=ports" json:"ports,omitempty"`
	// List of destinations for outgoing traffic of pods selected for this rule.
	// Items in this list are combined using a logical OR operation. If this field is
	// empty or missing, this rule matches all destinations (traffic not restricted by
	// destination). If this field is present and contains at least one item, this rule
	// allows traffic only if the traffic matches at least one item in the to list.
	// +optional
	To                   []*NetworkPolicyPeer `protobuf:"bytes,2,rep,name=to" json:"to,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

DEPRECATED 1.9 - This group version of NetworkPolicyEgressRule is deprecated by networking/v1/NetworkPolicyEgressRule. NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8

func (*NetworkPolicyEgressRule) Descriptor added in v1.0.0

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

func (*NetworkPolicyEgressRule) GetPorts added in v1.0.0

func (m *NetworkPolicyEgressRule) GetPorts() []*NetworkPolicyPort

func (*NetworkPolicyEgressRule) GetTo added in v1.0.0

func (*NetworkPolicyEgressRule) Marshal added in v1.0.0

func (m *NetworkPolicyEgressRule) Marshal() (dAtA []byte, err error)

func (*NetworkPolicyEgressRule) MarshalTo added in v1.0.0

func (m *NetworkPolicyEgressRule) MarshalTo(dAtA []byte) (int, error)

func (*NetworkPolicyEgressRule) MarshalToSizedBuffer added in v1.2.1

func (m *NetworkPolicyEgressRule) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NetworkPolicyEgressRule) ProtoMessage added in v1.0.0

func (*NetworkPolicyEgressRule) ProtoMessage()

func (*NetworkPolicyEgressRule) Reset added in v1.0.0

func (m *NetworkPolicyEgressRule) Reset()

func (*NetworkPolicyEgressRule) Size added in v1.0.0

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

func (*NetworkPolicyEgressRule) String added in v1.0.0

func (m *NetworkPolicyEgressRule) String() string

func (*NetworkPolicyEgressRule) Unmarshal added in v1.0.0

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

func (*NetworkPolicyEgressRule) XXX_DiscardUnknown added in v1.2.1

func (m *NetworkPolicyEgressRule) XXX_DiscardUnknown()

func (*NetworkPolicyEgressRule) XXX_Marshal added in v1.2.1

func (m *NetworkPolicyEgressRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetworkPolicyEgressRule) XXX_Merge added in v1.2.1

func (m *NetworkPolicyEgressRule) XXX_Merge(src proto.Message)

func (*NetworkPolicyEgressRule) XXX_Size added in v1.2.1

func (m *NetworkPolicyEgressRule) XXX_Size() int

func (*NetworkPolicyEgressRule) XXX_Unmarshal added in v1.2.1

func (m *NetworkPolicyEgressRule) XXX_Unmarshal(b []byte) error

type NetworkPolicyIngressRule

type NetworkPolicyIngressRule struct {
	// List of ports which should be made accessible on the pods selected for this rule.
	// Each item in this list is combined using a logical OR.
	// If this field is empty or missing, this rule matches all ports (traffic not restricted by port).
	// If this field is present and contains at least one item, then this rule allows traffic
	// only if the traffic matches at least one port in the list.
	// +optional
	Ports []*NetworkPolicyPort `protobuf:"bytes,1,rep,name=ports" json:"ports,omitempty"`
	// List of sources which should be able to access the pods selected for this rule.
	// Items in this list are combined using a logical OR operation.
	// If this field is empty or missing, this rule matches all sources (traffic not restricted by source).
	// If this field is present and contains at least one item, this rule allows traffic only if the
	// traffic matches at least one item in the from list.
	// +optional
	From                 []*NetworkPolicyPeer `protobuf:"bytes,2,rep,name=from" json:"from,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

DEPRECATED 1.9 - This group version of NetworkPolicyIngressRule is deprecated by networking/v1/NetworkPolicyIngressRule. This NetworkPolicyIngressRule matches traffic if and only if the traffic matches both ports AND from.

func (*NetworkPolicyIngressRule) Descriptor

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

func (*NetworkPolicyIngressRule) GetFrom

func (*NetworkPolicyIngressRule) GetPorts

func (*NetworkPolicyIngressRule) Marshal

func (m *NetworkPolicyIngressRule) Marshal() (dAtA []byte, err error)

func (*NetworkPolicyIngressRule) MarshalTo

func (m *NetworkPolicyIngressRule) MarshalTo(dAtA []byte) (int, error)

func (*NetworkPolicyIngressRule) MarshalToSizedBuffer added in v1.2.1

func (m *NetworkPolicyIngressRule) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NetworkPolicyIngressRule) ProtoMessage

func (*NetworkPolicyIngressRule) ProtoMessage()

func (*NetworkPolicyIngressRule) Reset

func (m *NetworkPolicyIngressRule) Reset()

func (*NetworkPolicyIngressRule) Size

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

func (*NetworkPolicyIngressRule) String

func (m *NetworkPolicyIngressRule) String() string

func (*NetworkPolicyIngressRule) Unmarshal

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

func (*NetworkPolicyIngressRule) XXX_DiscardUnknown added in v1.2.1

func (m *NetworkPolicyIngressRule) XXX_DiscardUnknown()

func (*NetworkPolicyIngressRule) XXX_Marshal added in v1.2.1

func (m *NetworkPolicyIngressRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetworkPolicyIngressRule) XXX_Merge added in v1.2.1

func (m *NetworkPolicyIngressRule) XXX_Merge(src proto.Message)

func (*NetworkPolicyIngressRule) XXX_Size added in v1.2.1

func (m *NetworkPolicyIngressRule) XXX_Size() int

func (*NetworkPolicyIngressRule) XXX_Unmarshal added in v1.2.1

func (m *NetworkPolicyIngressRule) XXX_Unmarshal(b []byte) error

type NetworkPolicyList

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

DEPRECATED 1.9 - This group version of NetworkPolicyList is deprecated by networking/v1/NetworkPolicyList. Network Policy List is a list of NetworkPolicy objects.

func (*NetworkPolicyList) Descriptor

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

func (*NetworkPolicyList) GetItems

func (m *NetworkPolicyList) GetItems() []*NetworkPolicy

func (*NetworkPolicyList) GetMetadata

func (m *NetworkPolicyList) GetMetadata() *v1.ListMeta

func (*NetworkPolicyList) Marshal

func (m *NetworkPolicyList) Marshal() (dAtA []byte, err error)

func (*NetworkPolicyList) MarshalTo

func (m *NetworkPolicyList) MarshalTo(dAtA []byte) (int, error)

func (*NetworkPolicyList) MarshalToSizedBuffer added in v1.2.1

func (m *NetworkPolicyList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NetworkPolicyList) ProtoMessage

func (*NetworkPolicyList) ProtoMessage()

func (*NetworkPolicyList) Reset

func (m *NetworkPolicyList) Reset()

func (*NetworkPolicyList) Size

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

func (*NetworkPolicyList) String

func (m *NetworkPolicyList) String() string

func (*NetworkPolicyList) Unmarshal

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

func (*NetworkPolicyList) XXX_DiscardUnknown added in v1.2.1

func (m *NetworkPolicyList) XXX_DiscardUnknown()

func (*NetworkPolicyList) XXX_Marshal added in v1.2.1

func (m *NetworkPolicyList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetworkPolicyList) XXX_Merge added in v1.2.1

func (m *NetworkPolicyList) XXX_Merge(src proto.Message)

func (*NetworkPolicyList) XXX_Size added in v1.2.1

func (m *NetworkPolicyList) XXX_Size() int

func (*NetworkPolicyList) XXX_Unmarshal added in v1.2.1

func (m *NetworkPolicyList) XXX_Unmarshal(b []byte) error

type NetworkPolicyPeer

type NetworkPolicyPeer struct {
	// This is a label selector which selects Pods. This field follows standard label
	// selector semantics; if present but empty, it selects all pods.
	//
	// If NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects
	// the Pods matching PodSelector in the Namespaces selected by NamespaceSelector.
	// Otherwise it selects the Pods matching PodSelector in the policy's own Namespace.
	// +optional
	PodSelector *v1.LabelSelector `protobuf:"bytes,1,opt,name=podSelector" json:"podSelector,omitempty"`
	// Selects Namespaces using cluster-scoped labels. This field follows standard label
	// selector semantics; if present but empty, it selects all namespaces.
	//
	// If PodSelector is also set, then the NetworkPolicyPeer as a whole selects
	// the Pods matching PodSelector in the Namespaces selected by NamespaceSelector.
	// Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector.
	// +optional
	NamespaceSelector *v1.LabelSelector `protobuf:"bytes,2,opt,name=namespaceSelector" json:"namespaceSelector,omitempty"`
	// IPBlock defines policy on a particular IPBlock. If this field is set then
	// neither of the other fields can be.
	// +optional
	IpBlock              *IPBlock `protobuf:"bytes,3,opt,name=ipBlock" json:"ipBlock,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

DEPRECATED 1.9 - This group version of NetworkPolicyPeer is deprecated by networking/v1/NetworkPolicyPeer.

func (*NetworkPolicyPeer) Descriptor

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

func (*NetworkPolicyPeer) GetIpBlock added in v1.0.0

func (m *NetworkPolicyPeer) GetIpBlock() *IPBlock

func (*NetworkPolicyPeer) GetNamespaceSelector

func (m *NetworkPolicyPeer) GetNamespaceSelector() *v1.LabelSelector

func (*NetworkPolicyPeer) GetPodSelector

func (m *NetworkPolicyPeer) GetPodSelector() *v1.LabelSelector

func (*NetworkPolicyPeer) Marshal

func (m *NetworkPolicyPeer) Marshal() (dAtA []byte, err error)

func (*NetworkPolicyPeer) MarshalTo

func (m *NetworkPolicyPeer) MarshalTo(dAtA []byte) (int, error)

func (*NetworkPolicyPeer) MarshalToSizedBuffer added in v1.2.1

func (m *NetworkPolicyPeer) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NetworkPolicyPeer) ProtoMessage

func (*NetworkPolicyPeer) ProtoMessage()

func (*NetworkPolicyPeer) Reset

func (m *NetworkPolicyPeer) Reset()

func (*NetworkPolicyPeer) Size

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

func (*NetworkPolicyPeer) String

func (m *NetworkPolicyPeer) String() string

func (*NetworkPolicyPeer) Unmarshal

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

func (*NetworkPolicyPeer) XXX_DiscardUnknown added in v1.2.1

func (m *NetworkPolicyPeer) XXX_DiscardUnknown()

func (*NetworkPolicyPeer) XXX_Marshal added in v1.2.1

func (m *NetworkPolicyPeer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetworkPolicyPeer) XXX_Merge added in v1.2.1

func (m *NetworkPolicyPeer) XXX_Merge(src proto.Message)

func (*NetworkPolicyPeer) XXX_Size added in v1.2.1

func (m *NetworkPolicyPeer) XXX_Size() int

func (*NetworkPolicyPeer) XXX_Unmarshal added in v1.2.1

func (m *NetworkPolicyPeer) XXX_Unmarshal(b []byte) error

type NetworkPolicyPort

type NetworkPolicyPort struct {
	// Optional.  The protocol (TCP, UDP, or SCTP) which traffic must match.
	// If not specified, this field defaults to TCP.
	// +optional
	Protocol *string `protobuf:"bytes,1,opt,name=protocol" json:"protocol,omitempty"`
	// If specified, the port on the given protocol.  This can
	// either be a numerical or named port on a pod.  If this field is not provided,
	// this matches all port names and numbers.
	// If present, only traffic on the specified protocol AND port
	// will be matched.
	// +optional
	Port                 *intstr.IntOrString `protobuf:"bytes,2,opt,name=port" json:"port,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

DEPRECATED 1.9 - This group version of NetworkPolicyPort is deprecated by networking/v1/NetworkPolicyPort.

func (*NetworkPolicyPort) Descriptor

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

func (*NetworkPolicyPort) GetPort

func (m *NetworkPolicyPort) GetPort() *intstr.IntOrString

func (*NetworkPolicyPort) GetProtocol

func (m *NetworkPolicyPort) GetProtocol() string

func (*NetworkPolicyPort) Marshal

func (m *NetworkPolicyPort) Marshal() (dAtA []byte, err error)

func (*NetworkPolicyPort) MarshalTo

func (m *NetworkPolicyPort) MarshalTo(dAtA []byte) (int, error)

func (*NetworkPolicyPort) MarshalToSizedBuffer added in v1.2.1

func (m *NetworkPolicyPort) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NetworkPolicyPort) ProtoMessage

func (*NetworkPolicyPort) ProtoMessage()

func (*NetworkPolicyPort) Reset

func (m *NetworkPolicyPort) Reset()

func (*NetworkPolicyPort) Size

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

func (*NetworkPolicyPort) String

func (m *NetworkPolicyPort) String() string

func (*NetworkPolicyPort) Unmarshal

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

func (*NetworkPolicyPort) XXX_DiscardUnknown added in v1.2.1

func (m *NetworkPolicyPort) XXX_DiscardUnknown()

func (*NetworkPolicyPort) XXX_Marshal added in v1.2.1

func (m *NetworkPolicyPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetworkPolicyPort) XXX_Merge added in v1.2.1

func (m *NetworkPolicyPort) XXX_Merge(src proto.Message)

func (*NetworkPolicyPort) XXX_Size added in v1.2.1

func (m *NetworkPolicyPort) XXX_Size() int

func (*NetworkPolicyPort) XXX_Unmarshal added in v1.2.1

func (m *NetworkPolicyPort) XXX_Unmarshal(b []byte) error

type NetworkPolicySpec

type NetworkPolicySpec struct {
	// Selects the pods to which this NetworkPolicy object applies.  The array of ingress rules
	// is applied to any pods selected by this field. Multiple network policies can select the
	// same set of pods.  In this case, the ingress rules for each are combined additively.
	// This field is NOT optional and follows standard label selector semantics.
	// An empty podSelector matches all pods in this namespace.
	PodSelector *v1.LabelSelector `protobuf:"bytes,1,opt,name=podSelector" json:"podSelector,omitempty"`
	// List of ingress rules to be applied to the selected pods.
	// Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod
	// OR if the traffic source is the pod's local node,
	// OR if the traffic matches at least one ingress rule across all of the NetworkPolicy
	// objects whose podSelector matches the pod.
	// If this field is empty then this NetworkPolicy does not allow any traffic
	// (and serves solely to ensure that the pods it selects are isolated by default).
	// +optional
	Ingress []*NetworkPolicyIngressRule `protobuf:"bytes,2,rep,name=ingress" json:"ingress,omitempty"`
	// List of egress rules to be applied to the selected pods. Outgoing traffic is
	// allowed if there are no NetworkPolicies selecting the pod (and cluster policy
	// otherwise allows the traffic), OR if the traffic matches at least one egress rule
	// across all of the NetworkPolicy objects whose podSelector matches the pod. If
	// this field is empty then this NetworkPolicy limits all outgoing traffic (and serves
	// solely to ensure that the pods it selects are isolated by default).
	// This field is beta-level in 1.8
	// +optional
	Egress []*NetworkPolicyEgressRule `protobuf:"bytes,3,rep,name=egress" json:"egress,omitempty"`
	// List of rule types that the NetworkPolicy relates to.
	// Valid options are "Ingress", "Egress", or "Ingress,Egress".
	// If this field is not specified, it will default based on the existence of Ingress or Egress rules;
	// policies that contain an Egress section are assumed to affect Egress, and all policies
	// (whether or not they contain an Ingress section) are assumed to affect Ingress.
	// If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ].
	// Likewise, if you want to write a policy that specifies that no egress is allowed,
	// you must specify a policyTypes value that include "Egress" (since such a policy would not include
	// an Egress section and would otherwise default to just [ "Ingress" ]).
	// This field is beta-level in 1.8
	// +optional
	PolicyTypes          []string `protobuf:"bytes,4,rep,name=policyTypes" json:"policyTypes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

DEPRECATED 1.9 - This group version of NetworkPolicySpec is deprecated by networking/v1/NetworkPolicySpec.

func (*NetworkPolicySpec) Descriptor

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

func (*NetworkPolicySpec) GetEgress added in v1.0.0

func (m *NetworkPolicySpec) GetEgress() []*NetworkPolicyEgressRule

func (*NetworkPolicySpec) GetIngress

func (m *NetworkPolicySpec) GetIngress() []*NetworkPolicyIngressRule

func (*NetworkPolicySpec) GetPodSelector

func (m *NetworkPolicySpec) GetPodSelector() *v1.LabelSelector

func (*NetworkPolicySpec) GetPolicyTypes added in v1.0.0

func (m *NetworkPolicySpec) GetPolicyTypes() []string

func (*NetworkPolicySpec) Marshal

func (m *NetworkPolicySpec) Marshal() (dAtA []byte, err error)

func (*NetworkPolicySpec) MarshalTo

func (m *NetworkPolicySpec) MarshalTo(dAtA []byte) (int, error)

func (*NetworkPolicySpec) MarshalToSizedBuffer added in v1.2.1

func (m *NetworkPolicySpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NetworkPolicySpec) ProtoMessage

func (*NetworkPolicySpec) ProtoMessage()

func (*NetworkPolicySpec) Reset

func (m *NetworkPolicySpec) Reset()

func (*NetworkPolicySpec) Size

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

func (*NetworkPolicySpec) String

func (m *NetworkPolicySpec) String() string

func (*NetworkPolicySpec) Unmarshal

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

func (*NetworkPolicySpec) XXX_DiscardUnknown added in v1.2.1

func (m *NetworkPolicySpec) XXX_DiscardUnknown()

func (*NetworkPolicySpec) XXX_Marshal added in v1.2.1

func (m *NetworkPolicySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetworkPolicySpec) XXX_Merge added in v1.2.1

func (m *NetworkPolicySpec) XXX_Merge(src proto.Message)

func (*NetworkPolicySpec) XXX_Size added in v1.2.1

func (m *NetworkPolicySpec) XXX_Size() int

func (*NetworkPolicySpec) XXX_Unmarshal added in v1.2.1

func (m *NetworkPolicySpec) XXX_Unmarshal(b []byte) error

type PodSecurityPolicy

type PodSecurityPolicy struct {
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// spec defines the policy enforced.
	// +optional
	Spec                 *PodSecurityPolicySpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container. Deprecated: use PodSecurityPolicy from policy API Group instead.

func (*PodSecurityPolicy) Descriptor

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

func (*PodSecurityPolicy) GetMetadata

func (m *PodSecurityPolicy) GetMetadata() *v1.ObjectMeta

func (*PodSecurityPolicy) GetSpec

func (*PodSecurityPolicy) Marshal

func (m *PodSecurityPolicy) Marshal() (dAtA []byte, err error)

func (*PodSecurityPolicy) MarshalTo

func (m *PodSecurityPolicy) MarshalTo(dAtA []byte) (int, error)

func (*PodSecurityPolicy) MarshalToSizedBuffer added in v1.2.1

func (m *PodSecurityPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodSecurityPolicy) ProtoMessage

func (*PodSecurityPolicy) ProtoMessage()

func (*PodSecurityPolicy) Reset

func (m *PodSecurityPolicy) Reset()

func (*PodSecurityPolicy) Size

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

func (*PodSecurityPolicy) String

func (m *PodSecurityPolicy) String() string

func (*PodSecurityPolicy) Unmarshal

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

func (*PodSecurityPolicy) XXX_DiscardUnknown added in v1.2.1

func (m *PodSecurityPolicy) XXX_DiscardUnknown()

func (*PodSecurityPolicy) XXX_Marshal added in v1.2.1

func (m *PodSecurityPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodSecurityPolicy) XXX_Merge added in v1.2.1

func (m *PodSecurityPolicy) XXX_Merge(src proto.Message)

func (*PodSecurityPolicy) XXX_Size added in v1.2.1

func (m *PodSecurityPolicy) XXX_Size() int

func (*PodSecurityPolicy) XXX_Unmarshal added in v1.2.1

func (m *PodSecurityPolicy) XXX_Unmarshal(b []byte) error

type PodSecurityPolicyList

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

PodSecurityPolicyList is a list of PodSecurityPolicy objects. Deprecated: use PodSecurityPolicyList from policy API Group instead.

func (*PodSecurityPolicyList) Descriptor

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

func (*PodSecurityPolicyList) GetItems

func (m *PodSecurityPolicyList) GetItems() []*PodSecurityPolicy

func (*PodSecurityPolicyList) GetMetadata

func (m *PodSecurityPolicyList) GetMetadata() *v1.ListMeta

func (*PodSecurityPolicyList) Marshal

func (m *PodSecurityPolicyList) Marshal() (dAtA []byte, err error)

func (*PodSecurityPolicyList) MarshalTo

func (m *PodSecurityPolicyList) MarshalTo(dAtA []byte) (int, error)

func (*PodSecurityPolicyList) MarshalToSizedBuffer added in v1.2.1

func (m *PodSecurityPolicyList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodSecurityPolicyList) ProtoMessage

func (*PodSecurityPolicyList) ProtoMessage()

func (*PodSecurityPolicyList) Reset

func (m *PodSecurityPolicyList) Reset()

func (*PodSecurityPolicyList) Size

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

func (*PodSecurityPolicyList) String

func (m *PodSecurityPolicyList) String() string

func (*PodSecurityPolicyList) Unmarshal

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

func (*PodSecurityPolicyList) XXX_DiscardUnknown added in v1.2.1

func (m *PodSecurityPolicyList) XXX_DiscardUnknown()

func (*PodSecurityPolicyList) XXX_Marshal added in v1.2.1

func (m *PodSecurityPolicyList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodSecurityPolicyList) XXX_Merge added in v1.2.1

func (m *PodSecurityPolicyList) XXX_Merge(src proto.Message)

func (*PodSecurityPolicyList) XXX_Size added in v1.2.1

func (m *PodSecurityPolicyList) XXX_Size() int

func (*PodSecurityPolicyList) XXX_Unmarshal added in v1.2.1

func (m *PodSecurityPolicyList) XXX_Unmarshal(b []byte) error

type PodSecurityPolicySpec

type PodSecurityPolicySpec struct {
	// privileged determines if a pod can request to be run as privileged.
	// +optional
	Privileged *bool `protobuf:"varint,1,opt,name=privileged" json:"privileged,omitempty"`
	// defaultAddCapabilities is the default set of capabilities that will be added to the container
	// unless the pod spec specifically drops the capability.  You may not list a capability in both
	// defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly
	// allowed, and need not be included in the allowedCapabilities list.
	// +optional
	DefaultAddCapabilities []string `protobuf:"bytes,2,rep,name=defaultAddCapabilities" json:"defaultAddCapabilities,omitempty"`
	// requiredDropCapabilities are the capabilities that will be dropped from the container.  These
	// are required to be dropped and cannot be added.
	// +optional
	RequiredDropCapabilities []string `protobuf:"bytes,3,rep,name=requiredDropCapabilities" json:"requiredDropCapabilities,omitempty"`
	// allowedCapabilities is a list of capabilities that can be requested to add to the container.
	// Capabilities in this field may be added at the pod author's discretion.
	// You must not list a capability in both allowedCapabilities and requiredDropCapabilities.
	// +optional
	AllowedCapabilities []string `protobuf:"bytes,4,rep,name=allowedCapabilities" json:"allowedCapabilities,omitempty"`
	// volumes is an allowlist of volume plugins. Empty indicates that
	// no volumes may be used. To allow all volumes you may use '*'.
	// +optional
	Volumes []string `protobuf:"bytes,5,rep,name=volumes" json:"volumes,omitempty"`
	// hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.
	// +optional
	HostNetwork *bool `protobuf:"varint,6,opt,name=hostNetwork" json:"hostNetwork,omitempty"`
	// hostPorts determines which host port ranges are allowed to be exposed.
	// +optional
	HostPorts []*HostPortRange `protobuf:"bytes,7,rep,name=hostPorts" json:"hostPorts,omitempty"`
	// hostPID determines if the policy allows the use of HostPID in the pod spec.
	// +optional
	HostPID *bool `protobuf:"varint,8,opt,name=hostPID" json:"hostPID,omitempty"`
	// hostIPC determines if the policy allows the use of HostIPC in the pod spec.
	// +optional
	HostIPC *bool `protobuf:"varint,9,opt,name=hostIPC" json:"hostIPC,omitempty"`
	// seLinux is the strategy that will dictate the allowable labels that may be set.
	SeLinux *SELinuxStrategyOptions `protobuf:"bytes,10,opt,name=seLinux" json:"seLinux,omitempty"`
	// runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set.
	RunAsUser *RunAsUserStrategyOptions `protobuf:"bytes,11,opt,name=runAsUser" json:"runAsUser,omitempty"`
	// RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set.
	// If this field is omitted, the pod's RunAsGroup can take any value. This field requires the
	// RunAsGroup feature gate to be enabled.
	// +optional
	RunAsGroup *RunAsGroupStrategyOptions `protobuf:"bytes,22,opt,name=runAsGroup" json:"runAsGroup,omitempty"`
	// supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.
	SupplementalGroups *SupplementalGroupsStrategyOptions `protobuf:"bytes,12,opt,name=supplementalGroups" json:"supplementalGroups,omitempty"`
	// fsGroup is the strategy that will dictate what fs group is used by the SecurityContext.
	FsGroup *FSGroupStrategyOptions `protobuf:"bytes,13,opt,name=fsGroup" json:"fsGroup,omitempty"`
	// readOnlyRootFilesystem when set to true will force containers to run with a read only root file
	// system.  If the container specifically requests to run with a non-read only root file system
	// the PSP should deny the pod.
	// If set to false the container may run with a read only root file system if it wishes but it
	// will not be forced to.
	// +optional
	ReadOnlyRootFilesystem *bool `protobuf:"varint,14,opt,name=readOnlyRootFilesystem" json:"readOnlyRootFilesystem,omitempty"`
	// defaultAllowPrivilegeEscalation controls the default setting for whether a
	// process can gain more privileges than its parent process.
	// +optional
	DefaultAllowPrivilegeEscalation *bool `protobuf:"varint,15,opt,name=defaultAllowPrivilegeEscalation" json:"defaultAllowPrivilegeEscalation,omitempty"`
	// allowPrivilegeEscalation determines if a pod can request to allow
	// privilege escalation. If unspecified, defaults to true.
	// +optional
	AllowPrivilegeEscalation *bool `protobuf:"varint,16,opt,name=allowPrivilegeEscalation" json:"allowPrivilegeEscalation,omitempty"`
	// allowedHostPaths is an allowlist of host paths. Empty indicates
	// that all host paths may be used.
	// +optional
	AllowedHostPaths []*AllowedHostPath `protobuf:"bytes,17,rep,name=allowedHostPaths" json:"allowedHostPaths,omitempty"`
	// allowedFlexVolumes is an allowlist of Flexvolumes.  Empty or nil indicates that all
	// Flexvolumes may be used.  This parameter is effective only when the usage of the Flexvolumes
	// is allowed in the "volumes" field.
	// +optional
	AllowedFlexVolumes []*AllowedFlexVolume `protobuf:"bytes,18,rep,name=allowedFlexVolumes" json:"allowedFlexVolumes,omitempty"`
	// AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec.
	// An empty value indicates that any CSI driver can be used for inline ephemeral volumes.
	// +optional
	AllowedCSIDrivers []*AllowedCSIDriver `protobuf:"bytes,23,rep,name=allowedCSIDrivers" json:"allowedCSIDrivers,omitempty"`
	// allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none.
	// Each entry is either a plain sysctl name or ends in "*" in which case it is considered
	// as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed.
	// Kubelet has to allowlist all unsafe sysctls explicitly to avoid rejection.
	//
	// Examples:
	// e.g. "foo/*" allows "foo/bar", "foo/baz", etc.
	// e.g. "foo.*" allows "foo.bar", "foo.baz", etc.
	// +optional
	AllowedUnsafeSysctls []string `protobuf:"bytes,19,rep,name=allowedUnsafeSysctls" json:"allowedUnsafeSysctls,omitempty"`
	// forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none.
	// Each entry is either a plain sysctl name or ends in "*" in which case it is considered
	// as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.
	//
	// Examples:
	// e.g. "foo/*" forbids "foo/bar", "foo/baz", etc.
	// e.g. "foo.*" forbids "foo.bar", "foo.baz", etc.
	// +optional
	ForbiddenSysctls []string `protobuf:"bytes,20,rep,name=forbiddenSysctls" json:"forbiddenSysctls,omitempty"`
	// AllowedProcMountTypes is an allowlist of allowed ProcMountTypes.
	// Empty or nil indicates that only the DefaultProcMountType may be used.
	// This requires the ProcMountType feature flag to be enabled.
	// +optional
	AllowedProcMountTypes []string `protobuf:"bytes,21,rep,name=allowedProcMountTypes" json:"allowedProcMountTypes,omitempty"`
	// runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod.
	// If this field is omitted, the pod's runtimeClassName field is unrestricted.
	// Enforcement of this field depends on the RuntimeClass feature gate being enabled.
	// +optional
	RuntimeClass         *RuntimeClassStrategyOptions `protobuf:"bytes,24,opt,name=runtimeClass" json:"runtimeClass,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

PodSecurityPolicySpec defines the policy enforced. Deprecated: use PodSecurityPolicySpec from policy API Group instead.

func (*PodSecurityPolicySpec) Descriptor

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

func (*PodSecurityPolicySpec) GetAllowPrivilegeEscalation added in v1.0.0

func (m *PodSecurityPolicySpec) GetAllowPrivilegeEscalation() bool

func (*PodSecurityPolicySpec) GetAllowedCSIDrivers added in v1.2.2

func (m *PodSecurityPolicySpec) GetAllowedCSIDrivers() []*AllowedCSIDriver

func (*PodSecurityPolicySpec) GetAllowedCapabilities

func (m *PodSecurityPolicySpec) GetAllowedCapabilities() []string

func (*PodSecurityPolicySpec) GetAllowedFlexVolumes added in v1.0.0

func (m *PodSecurityPolicySpec) GetAllowedFlexVolumes() []*AllowedFlexVolume

func (*PodSecurityPolicySpec) GetAllowedHostPaths added in v1.0.0

func (m *PodSecurityPolicySpec) GetAllowedHostPaths() []*AllowedHostPath

func (*PodSecurityPolicySpec) GetAllowedProcMountTypes added in v1.2.1

func (m *PodSecurityPolicySpec) GetAllowedProcMountTypes() []string

func (*PodSecurityPolicySpec) GetAllowedUnsafeSysctls added in v1.2.1

func (m *PodSecurityPolicySpec) GetAllowedUnsafeSysctls() []string

func (*PodSecurityPolicySpec) GetDefaultAddCapabilities

func (m *PodSecurityPolicySpec) GetDefaultAddCapabilities() []string

func (*PodSecurityPolicySpec) GetDefaultAllowPrivilegeEscalation added in v1.0.0

func (m *PodSecurityPolicySpec) GetDefaultAllowPrivilegeEscalation() bool

func (*PodSecurityPolicySpec) GetForbiddenSysctls added in v1.2.1

func (m *PodSecurityPolicySpec) GetForbiddenSysctls() []string

func (*PodSecurityPolicySpec) GetFsGroup

func (*PodSecurityPolicySpec) GetHostIPC

func (m *PodSecurityPolicySpec) GetHostIPC() bool

func (*PodSecurityPolicySpec) GetHostNetwork

func (m *PodSecurityPolicySpec) GetHostNetwork() bool

func (*PodSecurityPolicySpec) GetHostPID

func (m *PodSecurityPolicySpec) GetHostPID() bool

func (*PodSecurityPolicySpec) GetHostPorts

func (m *PodSecurityPolicySpec) GetHostPorts() []*HostPortRange

func (*PodSecurityPolicySpec) GetPrivileged

func (m *PodSecurityPolicySpec) GetPrivileged() bool

func (*PodSecurityPolicySpec) GetReadOnlyRootFilesystem

func (m *PodSecurityPolicySpec) GetReadOnlyRootFilesystem() bool

func (*PodSecurityPolicySpec) GetRequiredDropCapabilities

func (m *PodSecurityPolicySpec) GetRequiredDropCapabilities() []string

func (*PodSecurityPolicySpec) GetRunAsGroup added in v1.2.1

func (*PodSecurityPolicySpec) GetRunAsUser

func (*PodSecurityPolicySpec) GetRuntimeClass added in v1.2.2

func (m *PodSecurityPolicySpec) GetRuntimeClass() *RuntimeClassStrategyOptions

func (*PodSecurityPolicySpec) GetSeLinux

func (*PodSecurityPolicySpec) GetSupplementalGroups

func (m *PodSecurityPolicySpec) GetSupplementalGroups() *SupplementalGroupsStrategyOptions

func (*PodSecurityPolicySpec) GetVolumes

func (m *PodSecurityPolicySpec) GetVolumes() []string

func (*PodSecurityPolicySpec) Marshal

func (m *PodSecurityPolicySpec) Marshal() (dAtA []byte, err error)

func (*PodSecurityPolicySpec) MarshalTo

func (m *PodSecurityPolicySpec) MarshalTo(dAtA []byte) (int, error)

func (*PodSecurityPolicySpec) MarshalToSizedBuffer added in v1.2.1

func (m *PodSecurityPolicySpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodSecurityPolicySpec) ProtoMessage

func (*PodSecurityPolicySpec) ProtoMessage()

func (*PodSecurityPolicySpec) Reset

func (m *PodSecurityPolicySpec) Reset()

func (*PodSecurityPolicySpec) Size

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

func (*PodSecurityPolicySpec) String

func (m *PodSecurityPolicySpec) String() string

func (*PodSecurityPolicySpec) Unmarshal

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

func (*PodSecurityPolicySpec) XXX_DiscardUnknown added in v1.2.1

func (m *PodSecurityPolicySpec) XXX_DiscardUnknown()

func (*PodSecurityPolicySpec) XXX_Marshal added in v1.2.1

func (m *PodSecurityPolicySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodSecurityPolicySpec) XXX_Merge added in v1.2.1

func (m *PodSecurityPolicySpec) XXX_Merge(src proto.Message)

func (*PodSecurityPolicySpec) XXX_Size added in v1.2.1

func (m *PodSecurityPolicySpec) XXX_Size() int

func (*PodSecurityPolicySpec) XXX_Unmarshal added in v1.2.1

func (m *PodSecurityPolicySpec) XXX_Unmarshal(b []byte) error

type ReplicaSet

type ReplicaSet struct {
	// If the Labels of a ReplicaSet are empty, they are defaulted to
	// be the same as the Pod(s) that the ReplicaSet manages.
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// Spec defines the specification of the desired behavior of the ReplicaSet.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	// +optional
	Spec *ReplicaSetSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"`
	// Status is the most recently observed status of the ReplicaSet.
	// This data may be out of date by some window of time.
	// Populated by the system.
	// Read-only.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	// +optional
	Status               *ReplicaSetStatus `protobuf:"bytes,3,opt,name=status" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

DEPRECATED - This group version of ReplicaSet is deprecated by apps/v1beta2/ReplicaSet. See the release notes for more information. ReplicaSet ensures that a specified number of pod replicas are running at any given time.

func (*ReplicaSet) Descriptor

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

func (*ReplicaSet) GetMetadata

func (m *ReplicaSet) GetMetadata() *v1.ObjectMeta

func (*ReplicaSet) GetSpec

func (m *ReplicaSet) GetSpec() *ReplicaSetSpec

func (*ReplicaSet) GetStatus

func (m *ReplicaSet) GetStatus() *ReplicaSetStatus

func (*ReplicaSet) Marshal

func (m *ReplicaSet) Marshal() (dAtA []byte, err error)

func (*ReplicaSet) MarshalTo

func (m *ReplicaSet) MarshalTo(dAtA []byte) (int, error)

func (*ReplicaSet) MarshalToSizedBuffer added in v1.2.1

func (m *ReplicaSet) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ReplicaSet) ProtoMessage

func (*ReplicaSet) ProtoMessage()

func (*ReplicaSet) Reset

func (m *ReplicaSet) Reset()

func (*ReplicaSet) Size

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

func (*ReplicaSet) String

func (m *ReplicaSet) String() string

func (*ReplicaSet) Unmarshal

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

func (*ReplicaSet) XXX_DiscardUnknown added in v1.2.1

func (m *ReplicaSet) XXX_DiscardUnknown()

func (*ReplicaSet) XXX_Marshal added in v1.2.1

func (m *ReplicaSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReplicaSet) XXX_Merge added in v1.2.1

func (m *ReplicaSet) XXX_Merge(src proto.Message)

func (*ReplicaSet) XXX_Size added in v1.2.1

func (m *ReplicaSet) XXX_Size() int

func (*ReplicaSet) XXX_Unmarshal added in v1.2.1

func (m *ReplicaSet) XXX_Unmarshal(b []byte) error

type ReplicaSetCondition

type ReplicaSetCondition struct {
	// Type of replica set condition.
	Type *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
	// Status of the condition, one of True, False, Unknown.
	Status *string `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"`
	// The last time the condition transitioned from one status to another.
	// +optional
	LastTransitionTime *v1.Time `protobuf:"bytes,3,opt,name=lastTransitionTime" json:"lastTransitionTime,omitempty"`
	// The reason for the condition's last transition.
	// +optional
	Reason *string `protobuf:"bytes,4,opt,name=reason" json:"reason,omitempty"`
	// A human readable message indicating details about the transition.
	// +optional
	Message              *string  `protobuf:"bytes,5,opt,name=message" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

ReplicaSetCondition describes the state of a replica set at a certain point.

func (*ReplicaSetCondition) Descriptor

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

func (*ReplicaSetCondition) GetLastTransitionTime

func (m *ReplicaSetCondition) GetLastTransitionTime() *v1.Time

func (*ReplicaSetCondition) GetMessage

func (m *ReplicaSetCondition) GetMessage() string

func (*ReplicaSetCondition) GetReason

func (m *ReplicaSetCondition) GetReason() string

func (*ReplicaSetCondition) GetStatus

func (m *ReplicaSetCondition) GetStatus() string

func (*ReplicaSetCondition) GetType

func (m *ReplicaSetCondition) GetType() string

func (*ReplicaSetCondition) Marshal

func (m *ReplicaSetCondition) Marshal() (dAtA []byte, err error)

func (*ReplicaSetCondition) MarshalTo

func (m *ReplicaSetCondition) MarshalTo(dAtA []byte) (int, error)

func (*ReplicaSetCondition) MarshalToSizedBuffer added in v1.2.1

func (m *ReplicaSetCondition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ReplicaSetCondition) ProtoMessage

func (*ReplicaSetCondition) ProtoMessage()

func (*ReplicaSetCondition) Reset

func (m *ReplicaSetCondition) Reset()

func (*ReplicaSetCondition) Size

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

func (*ReplicaSetCondition) String

func (m *ReplicaSetCondition) String() string

func (*ReplicaSetCondition) Unmarshal

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

func (*ReplicaSetCondition) XXX_DiscardUnknown added in v1.2.1

func (m *ReplicaSetCondition) XXX_DiscardUnknown()

func (*ReplicaSetCondition) XXX_Marshal added in v1.2.1

func (m *ReplicaSetCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReplicaSetCondition) XXX_Merge added in v1.2.1

func (m *ReplicaSetCondition) XXX_Merge(src proto.Message)

func (*ReplicaSetCondition) XXX_Size added in v1.2.1

func (m *ReplicaSetCondition) XXX_Size() int

func (*ReplicaSetCondition) XXX_Unmarshal added in v1.2.1

func (m *ReplicaSetCondition) XXX_Unmarshal(b []byte) error

type ReplicaSetList

type ReplicaSetList struct {
	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// List of ReplicaSets.
	// More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller
	Items                []*ReplicaSet `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

ReplicaSetList is a collection of ReplicaSets.

func (*ReplicaSetList) Descriptor

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

func (*ReplicaSetList) GetItems

func (m *ReplicaSetList) GetItems() []*ReplicaSet

func (*ReplicaSetList) GetMetadata

func (m *ReplicaSetList) GetMetadata() *v1.ListMeta

func (*ReplicaSetList) Marshal

func (m *ReplicaSetList) Marshal() (dAtA []byte, err error)

func (*ReplicaSetList) MarshalTo

func (m *ReplicaSetList) MarshalTo(dAtA []byte) (int, error)

func (*ReplicaSetList) MarshalToSizedBuffer added in v1.2.1

func (m *ReplicaSetList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ReplicaSetList) ProtoMessage

func (*ReplicaSetList) ProtoMessage()

func (*ReplicaSetList) Reset

func (m *ReplicaSetList) Reset()

func (*ReplicaSetList) Size

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

func (*ReplicaSetList) String

func (m *ReplicaSetList) String() string

func (*ReplicaSetList) Unmarshal

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

func (*ReplicaSetList) XXX_DiscardUnknown added in v1.2.1

func (m *ReplicaSetList) XXX_DiscardUnknown()

func (*ReplicaSetList) XXX_Marshal added in v1.2.1

func (m *ReplicaSetList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReplicaSetList) XXX_Merge added in v1.2.1

func (m *ReplicaSetList) XXX_Merge(src proto.Message)

func (*ReplicaSetList) XXX_Size added in v1.2.1

func (m *ReplicaSetList) XXX_Size() int

func (*ReplicaSetList) XXX_Unmarshal added in v1.2.1

func (m *ReplicaSetList) XXX_Unmarshal(b []byte) error

type ReplicaSetSpec

type ReplicaSetSpec struct {
	// Replicas is the number of desired replicas.
	// This is a pointer to distinguish between explicit zero and unspecified.
	// Defaults to 1.
	// More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller
	// +optional
	Replicas *int32 `protobuf:"varint,1,opt,name=replicas" json:"replicas,omitempty"`
	// Minimum number of seconds for which a newly created pod should be ready
	// without any of its container crashing, for it to be considered available.
	// Defaults to 0 (pod will be considered available as soon as it is ready)
	// +optional
	MinReadySeconds *int32 `protobuf:"varint,4,opt,name=minReadySeconds" json:"minReadySeconds,omitempty"`
	// Selector is a label query over pods that should match the replica count.
	// If the selector is empty, it is defaulted to the labels present on the pod template.
	// Label keys and values that must match in order to be controlled by this replica set.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
	// +optional
	Selector *v1.LabelSelector `protobuf:"bytes,2,opt,name=selector" json:"selector,omitempty"`
	// Template is the object that describes the pod that will be created if
	// insufficient replicas are detected.
	// More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template
	// +optional
	Template             *v11.PodTemplateSpec `protobuf:"bytes,3,opt,name=template" json:"template,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

ReplicaSetSpec is the specification of a ReplicaSet.

func (*ReplicaSetSpec) Descriptor

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

func (*ReplicaSetSpec) GetMinReadySeconds

func (m *ReplicaSetSpec) GetMinReadySeconds() int32

func (*ReplicaSetSpec) GetReplicas

func (m *ReplicaSetSpec) GetReplicas() int32

func (*ReplicaSetSpec) GetSelector

func (m *ReplicaSetSpec) GetSelector() *v1.LabelSelector

func (*ReplicaSetSpec) GetTemplate

func (m *ReplicaSetSpec) GetTemplate() *v11.PodTemplateSpec

func (*ReplicaSetSpec) Marshal

func (m *ReplicaSetSpec) Marshal() (dAtA []byte, err error)

func (*ReplicaSetSpec) MarshalTo

func (m *ReplicaSetSpec) MarshalTo(dAtA []byte) (int, error)

func (*ReplicaSetSpec) MarshalToSizedBuffer added in v1.2.1

func (m *ReplicaSetSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ReplicaSetSpec) ProtoMessage

func (*ReplicaSetSpec) ProtoMessage()

func (*ReplicaSetSpec) Reset

func (m *ReplicaSetSpec) Reset()

func (*ReplicaSetSpec) Size

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

func (*ReplicaSetSpec) String

func (m *ReplicaSetSpec) String() string

func (*ReplicaSetSpec) Unmarshal

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

func (*ReplicaSetSpec) XXX_DiscardUnknown added in v1.2.1

func (m *ReplicaSetSpec) XXX_DiscardUnknown()

func (*ReplicaSetSpec) XXX_Marshal added in v1.2.1

func (m *ReplicaSetSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReplicaSetSpec) XXX_Merge added in v1.2.1

func (m *ReplicaSetSpec) XXX_Merge(src proto.Message)

func (*ReplicaSetSpec) XXX_Size added in v1.2.1

func (m *ReplicaSetSpec) XXX_Size() int

func (*ReplicaSetSpec) XXX_Unmarshal added in v1.2.1

func (m *ReplicaSetSpec) XXX_Unmarshal(b []byte) error

type ReplicaSetStatus

type ReplicaSetStatus struct {
	// Replicas is the most recently oberved number of replicas.
	// More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller
	Replicas *int32 `protobuf:"varint,1,opt,name=replicas" json:"replicas,omitempty"`
	// The number of pods that have labels matching the labels of the pod template of the replicaset.
	// +optional
	FullyLabeledReplicas *int32 `protobuf:"varint,2,opt,name=fullyLabeledReplicas" json:"fullyLabeledReplicas,omitempty"`
	// The number of ready replicas for this replica set.
	// +optional
	ReadyReplicas *int32 `protobuf:"varint,4,opt,name=readyReplicas" json:"readyReplicas,omitempty"`
	// The number of available replicas (ready for at least minReadySeconds) for this replica set.
	// +optional
	AvailableReplicas *int32 `protobuf:"varint,5,opt,name=availableReplicas" json:"availableReplicas,omitempty"`
	// ObservedGeneration reflects the generation of the most recently observed ReplicaSet.
	// +optional
	ObservedGeneration *int64 `protobuf:"varint,3,opt,name=observedGeneration" json:"observedGeneration,omitempty"`
	// Represents the latest available observations of a replica set's current state.
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions           []*ReplicaSetCondition `protobuf:"bytes,6,rep,name=conditions" json:"conditions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

ReplicaSetStatus represents the current status of a ReplicaSet.

func (*ReplicaSetStatus) Descriptor

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

func (*ReplicaSetStatus) GetAvailableReplicas

func (m *ReplicaSetStatus) GetAvailableReplicas() int32

func (*ReplicaSetStatus) GetConditions

func (m *ReplicaSetStatus) GetConditions() []*ReplicaSetCondition

func (*ReplicaSetStatus) GetFullyLabeledReplicas

func (m *ReplicaSetStatus) GetFullyLabeledReplicas() int32

func (*ReplicaSetStatus) GetObservedGeneration

func (m *ReplicaSetStatus) GetObservedGeneration() int64

func (*ReplicaSetStatus) GetReadyReplicas

func (m *ReplicaSetStatus) GetReadyReplicas() int32

func (*ReplicaSetStatus) GetReplicas

func (m *ReplicaSetStatus) GetReplicas() int32

func (*ReplicaSetStatus) Marshal

func (m *ReplicaSetStatus) Marshal() (dAtA []byte, err error)

func (*ReplicaSetStatus) MarshalTo

func (m *ReplicaSetStatus) MarshalTo(dAtA []byte) (int, error)

func (*ReplicaSetStatus) MarshalToSizedBuffer added in v1.2.1

func (m *ReplicaSetStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ReplicaSetStatus) ProtoMessage

func (*ReplicaSetStatus) ProtoMessage()

func (*ReplicaSetStatus) Reset

func (m *ReplicaSetStatus) Reset()

func (*ReplicaSetStatus) Size

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

func (*ReplicaSetStatus) String

func (m *ReplicaSetStatus) String() string

func (*ReplicaSetStatus) Unmarshal

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

func (*ReplicaSetStatus) XXX_DiscardUnknown added in v1.2.1

func (m *ReplicaSetStatus) XXX_DiscardUnknown()

func (*ReplicaSetStatus) XXX_Marshal added in v1.2.1

func (m *ReplicaSetStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReplicaSetStatus) XXX_Merge added in v1.2.1

func (m *ReplicaSetStatus) XXX_Merge(src proto.Message)

func (*ReplicaSetStatus) XXX_Size added in v1.2.1

func (m *ReplicaSetStatus) XXX_Size() int

func (*ReplicaSetStatus) XXX_Unmarshal added in v1.2.1

func (m *ReplicaSetStatus) XXX_Unmarshal(b []byte) error

type RollbackConfig

type RollbackConfig struct {
	// The revision to rollback to. If set to 0, rollback to the last revision.
	// +optional
	Revision             *int64   `protobuf:"varint,1,opt,name=revision" json:"revision,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

DEPRECATED.

func (*RollbackConfig) Descriptor

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

func (*RollbackConfig) GetRevision

func (m *RollbackConfig) GetRevision() int64

func (*RollbackConfig) Marshal

func (m *RollbackConfig) Marshal() (dAtA []byte, err error)

func (*RollbackConfig) MarshalTo

func (m *RollbackConfig) MarshalTo(dAtA []byte) (int, error)

func (*RollbackConfig) MarshalToSizedBuffer added in v1.2.1

func (m *RollbackConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RollbackConfig) ProtoMessage

func (*RollbackConfig) ProtoMessage()

func (*RollbackConfig) Reset

func (m *RollbackConfig) Reset()

func (*RollbackConfig) Size

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

func (*RollbackConfig) String

func (m *RollbackConfig) String() string

func (*RollbackConfig) Unmarshal

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

func (*RollbackConfig) XXX_DiscardUnknown added in v1.2.1

func (m *RollbackConfig) XXX_DiscardUnknown()

func (*RollbackConfig) XXX_Marshal added in v1.2.1

func (m *RollbackConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RollbackConfig) XXX_Merge added in v1.2.1

func (m *RollbackConfig) XXX_Merge(src proto.Message)

func (*RollbackConfig) XXX_Size added in v1.2.1

func (m *RollbackConfig) XXX_Size() int

func (*RollbackConfig) XXX_Unmarshal added in v1.2.1

func (m *RollbackConfig) XXX_Unmarshal(b []byte) error

type RollingUpdateDaemonSet added in v0.3.0

type RollingUpdateDaemonSet struct {
	// The maximum number of DaemonSet pods that can be unavailable during the
	// update. Value can be an absolute number (ex: 5) or a percentage of total
	// number of DaemonSet pods at the start of the update (ex: 10%). Absolute
	// number is calculated from percentage by rounding up.
	// This cannot be 0.
	// Default value is 1.
	// Example: when this is set to 30%, at most 30% of the total number of nodes
	// that should be running the daemon pod (i.e. status.desiredNumberScheduled)
	// can have their pods stopped for an update at any given
	// time. The update starts by stopping at most 30% of those DaemonSet pods
	// and then brings up new DaemonSet pods in their place. Once the new pods
	// are available, it then proceeds onto other DaemonSet pods, thus ensuring
	// that at least 70% of original number of DaemonSet pods are available at
	// all times during the update.
	// +optional
	MaxUnavailable       *intstr.IntOrString `protobuf:"bytes,1,opt,name=maxUnavailable" json:"maxUnavailable,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

Spec to control the desired behavior of daemon set rolling update.

func (*RollingUpdateDaemonSet) Descriptor added in v0.3.0

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

func (*RollingUpdateDaemonSet) GetMaxUnavailable added in v0.3.0

func (m *RollingUpdateDaemonSet) GetMaxUnavailable() *intstr.IntOrString

func (*RollingUpdateDaemonSet) Marshal added in v0.3.0

func (m *RollingUpdateDaemonSet) Marshal() (dAtA []byte, err error)

func (*RollingUpdateDaemonSet) MarshalTo added in v0.3.0

func (m *RollingUpdateDaemonSet) MarshalTo(dAtA []byte) (int, error)

func (*RollingUpdateDaemonSet) MarshalToSizedBuffer added in v1.2.1

func (m *RollingUpdateDaemonSet) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RollingUpdateDaemonSet) ProtoMessage added in v0.3.0

func (*RollingUpdateDaemonSet) ProtoMessage()

func (*RollingUpdateDaemonSet) Reset added in v0.3.0

func (m *RollingUpdateDaemonSet) Reset()

func (*RollingUpdateDaemonSet) Size added in v0.3.0

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

func (*RollingUpdateDaemonSet) String added in v0.3.0

func (m *RollingUpdateDaemonSet) String() string

func (*RollingUpdateDaemonSet) Unmarshal added in v0.3.0

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

func (*RollingUpdateDaemonSet) XXX_DiscardUnknown added in v1.2.1

func (m *RollingUpdateDaemonSet) XXX_DiscardUnknown()

func (*RollingUpdateDaemonSet) XXX_Marshal added in v1.2.1

func (m *RollingUpdateDaemonSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RollingUpdateDaemonSet) XXX_Merge added in v1.2.1

func (m *RollingUpdateDaemonSet) XXX_Merge(src proto.Message)

func (*RollingUpdateDaemonSet) XXX_Size added in v1.2.1

func (m *RollingUpdateDaemonSet) XXX_Size() int

func (*RollingUpdateDaemonSet) XXX_Unmarshal added in v1.2.1

func (m *RollingUpdateDaemonSet) XXX_Unmarshal(b []byte) error

type RollingUpdateDeployment

type RollingUpdateDeployment struct {
	// The maximum number of pods that can be unavailable during the update.
	// Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%).
	// Absolute number is calculated from percentage by rounding down.
	// This can not be 0 if MaxSurge is 0.
	// By default, a fixed value of 1 is used.
	// Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods
	// immediately when the rolling update starts. Once new pods are ready, old RC
	// can be scaled down further, followed by scaling up the new RC, ensuring
	// that the total number of pods available at all times during the update is at
	// least 70% of desired pods.
	// +optional
	MaxUnavailable *intstr.IntOrString `protobuf:"bytes,1,opt,name=maxUnavailable" json:"maxUnavailable,omitempty"`
	// The maximum number of pods that can be scheduled above the desired number of
	// pods.
	// Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%).
	// This can not be 0 if MaxUnavailable is 0.
	// Absolute number is calculated from percentage by rounding up.
	// By default, a value of 1 is used.
	// Example: when this is set to 30%, the new RC can be scaled up immediately when
	// the rolling update starts, such that the total number of old and new pods do not exceed
	// 130% of desired pods. Once old pods have been killed,
	// new RC can be scaled up further, ensuring that total number of pods running
	// at any time during the update is at most 130% of desired pods.
	// +optional
	MaxSurge             *intstr.IntOrString `protobuf:"bytes,2,opt,name=maxSurge" json:"maxSurge,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

Spec to control the desired behavior of rolling update.

func (*RollingUpdateDeployment) Descriptor

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

func (*RollingUpdateDeployment) GetMaxSurge

func (m *RollingUpdateDeployment) GetMaxSurge() *intstr.IntOrString

func (*RollingUpdateDeployment) GetMaxUnavailable

func (m *RollingUpdateDeployment) GetMaxUnavailable() *intstr.IntOrString

func (*RollingUpdateDeployment) Marshal

func (m *RollingUpdateDeployment) Marshal() (dAtA []byte, err error)

func (*RollingUpdateDeployment) MarshalTo

func (m *RollingUpdateDeployment) MarshalTo(dAtA []byte) (int, error)

func (*RollingUpdateDeployment) MarshalToSizedBuffer added in v1.2.1

func (m *RollingUpdateDeployment) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RollingUpdateDeployment) ProtoMessage

func (*RollingUpdateDeployment) ProtoMessage()

func (*RollingUpdateDeployment) Reset

func (m *RollingUpdateDeployment) Reset()

func (*RollingUpdateDeployment) Size

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

func (*RollingUpdateDeployment) String

func (m *RollingUpdateDeployment) String() string

func (*RollingUpdateDeployment) Unmarshal

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

func (*RollingUpdateDeployment) XXX_DiscardUnknown added in v1.2.1

func (m *RollingUpdateDeployment) XXX_DiscardUnknown()

func (*RollingUpdateDeployment) XXX_Marshal added in v1.2.1

func (m *RollingUpdateDeployment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RollingUpdateDeployment) XXX_Merge added in v1.2.1

func (m *RollingUpdateDeployment) XXX_Merge(src proto.Message)

func (*RollingUpdateDeployment) XXX_Size added in v1.2.1

func (m *RollingUpdateDeployment) XXX_Size() int

func (*RollingUpdateDeployment) XXX_Unmarshal added in v1.2.1

func (m *RollingUpdateDeployment) XXX_Unmarshal(b []byte) error

type RunAsGroupStrategyOptions added in v1.2.1

type RunAsGroupStrategyOptions struct {
	// rule is the strategy that will dictate the allowable RunAsGroup values that may be set.
	Rule *string `protobuf:"bytes,1,opt,name=rule" json:"rule,omitempty"`
	// ranges are the allowed ranges of gids that may be used. If you would like to force a single gid
	// then supply a single range with the same start and end. Required for MustRunAs.
	// +optional
	Ranges               []*IDRange `protobuf:"bytes,2,rep,name=ranges" json:"ranges,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

RunAsGroupStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use RunAsGroupStrategyOptions from policy API Group instead.

func (*RunAsGroupStrategyOptions) Descriptor added in v1.2.1

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

func (*RunAsGroupStrategyOptions) GetRanges added in v1.2.1

func (m *RunAsGroupStrategyOptions) GetRanges() []*IDRange

func (*RunAsGroupStrategyOptions) GetRule added in v1.2.1

func (m *RunAsGroupStrategyOptions) GetRule() string

func (*RunAsGroupStrategyOptions) Marshal added in v1.2.1

func (m *RunAsGroupStrategyOptions) Marshal() (dAtA []byte, err error)

func (*RunAsGroupStrategyOptions) MarshalTo added in v1.2.1

func (m *RunAsGroupStrategyOptions) MarshalTo(dAtA []byte) (int, error)

func (*RunAsGroupStrategyOptions) MarshalToSizedBuffer added in v1.2.1

func (m *RunAsGroupStrategyOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RunAsGroupStrategyOptions) ProtoMessage added in v1.2.1

func (*RunAsGroupStrategyOptions) ProtoMessage()

func (*RunAsGroupStrategyOptions) Reset added in v1.2.1

func (m *RunAsGroupStrategyOptions) Reset()

func (*RunAsGroupStrategyOptions) Size added in v1.2.1

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

func (*RunAsGroupStrategyOptions) String added in v1.2.1

func (m *RunAsGroupStrategyOptions) String() string

func (*RunAsGroupStrategyOptions) Unmarshal added in v1.2.1

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

func (*RunAsGroupStrategyOptions) XXX_DiscardUnknown added in v1.2.1

func (m *RunAsGroupStrategyOptions) XXX_DiscardUnknown()

func (*RunAsGroupStrategyOptions) XXX_Marshal added in v1.2.1

func (m *RunAsGroupStrategyOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RunAsGroupStrategyOptions) XXX_Merge added in v1.2.1

func (m *RunAsGroupStrategyOptions) XXX_Merge(src proto.Message)

func (*RunAsGroupStrategyOptions) XXX_Size added in v1.2.1

func (m *RunAsGroupStrategyOptions) XXX_Size() int

func (*RunAsGroupStrategyOptions) XXX_Unmarshal added in v1.2.1

func (m *RunAsGroupStrategyOptions) XXX_Unmarshal(b []byte) error

type RunAsUserStrategyOptions

type RunAsUserStrategyOptions struct {
	// rule is the strategy that will dictate the allowable RunAsUser values that may be set.
	Rule *string `protobuf:"bytes,1,opt,name=rule" json:"rule,omitempty"`
	// ranges are the allowed ranges of uids that may be used. If you would like to force a single uid
	// then supply a single range with the same start and end. Required for MustRunAs.
	// +optional
	Ranges               []*IDRange `protobuf:"bytes,2,rep,name=ranges" json:"ranges,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use RunAsUserStrategyOptions from policy API Group instead.

func (*RunAsUserStrategyOptions) Descriptor

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

func (*RunAsUserStrategyOptions) GetRanges

func (m *RunAsUserStrategyOptions) GetRanges() []*IDRange

func (*RunAsUserStrategyOptions) GetRule

func (m *RunAsUserStrategyOptions) GetRule() string

func (*RunAsUserStrategyOptions) Marshal

func (m *RunAsUserStrategyOptions) Marshal() (dAtA []byte, err error)

func (*RunAsUserStrategyOptions) MarshalTo

func (m *RunAsUserStrategyOptions) MarshalTo(dAtA []byte) (int, error)

func (*RunAsUserStrategyOptions) MarshalToSizedBuffer added in v1.2.1

func (m *RunAsUserStrategyOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RunAsUserStrategyOptions) ProtoMessage

func (*RunAsUserStrategyOptions) ProtoMessage()

func (*RunAsUserStrategyOptions) Reset

func (m *RunAsUserStrategyOptions) Reset()

func (*RunAsUserStrategyOptions) Size

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

func (*RunAsUserStrategyOptions) String

func (m *RunAsUserStrategyOptions) String() string

func (*RunAsUserStrategyOptions) Unmarshal

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

func (*RunAsUserStrategyOptions) XXX_DiscardUnknown added in v1.2.1

func (m *RunAsUserStrategyOptions) XXX_DiscardUnknown()

func (*RunAsUserStrategyOptions) XXX_Marshal added in v1.2.1

func (m *RunAsUserStrategyOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RunAsUserStrategyOptions) XXX_Merge added in v1.2.1

func (m *RunAsUserStrategyOptions) XXX_Merge(src proto.Message)

func (*RunAsUserStrategyOptions) XXX_Size added in v1.2.1

func (m *RunAsUserStrategyOptions) XXX_Size() int

func (*RunAsUserStrategyOptions) XXX_Unmarshal added in v1.2.1

func (m *RunAsUserStrategyOptions) XXX_Unmarshal(b []byte) error

type RuntimeClassStrategyOptions added in v1.2.2

type RuntimeClassStrategyOptions struct {
	// allowedRuntimeClassNames is an allowlist of RuntimeClass names that may be specified on a pod.
	// A value of "*" means that any RuntimeClass name is allowed, and must be the only item in the
	// list. An empty list requires the RuntimeClassName field to be unset.
	AllowedRuntimeClassNames []string `protobuf:"bytes,1,rep,name=allowedRuntimeClassNames" json:"allowedRuntimeClassNames,omitempty"`
	// defaultRuntimeClassName is the default RuntimeClassName to set on the pod.
	// The default MUST be allowed by the allowedRuntimeClassNames list.
	// A value of nil does not mutate the Pod.
	// +optional
	DefaultRuntimeClassName *string  `protobuf:"bytes,2,opt,name=defaultRuntimeClassName" json:"defaultRuntimeClassName,omitempty"`
	XXX_NoUnkeyedLiteral    struct{} `json:"-"`
	XXX_unrecognized        []byte   `json:"-"`
	XXX_sizecache           int32    `json:"-"`
}

RuntimeClassStrategyOptions define the strategy that will dictate the allowable RuntimeClasses for a pod.

func (*RuntimeClassStrategyOptions) Descriptor added in v1.2.2

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

func (*RuntimeClassStrategyOptions) GetAllowedRuntimeClassNames added in v1.2.2

func (m *RuntimeClassStrategyOptions) GetAllowedRuntimeClassNames() []string

func (*RuntimeClassStrategyOptions) GetDefaultRuntimeClassName added in v1.2.2

func (m *RuntimeClassStrategyOptions) GetDefaultRuntimeClassName() string

func (*RuntimeClassStrategyOptions) Marshal added in v1.2.2

func (m *RuntimeClassStrategyOptions) Marshal() (dAtA []byte, err error)

func (*RuntimeClassStrategyOptions) MarshalTo added in v1.2.2

func (m *RuntimeClassStrategyOptions) MarshalTo(dAtA []byte) (int, error)

func (*RuntimeClassStrategyOptions) MarshalToSizedBuffer added in v1.2.2

func (m *RuntimeClassStrategyOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RuntimeClassStrategyOptions) ProtoMessage added in v1.2.2

func (*RuntimeClassStrategyOptions) ProtoMessage()

func (*RuntimeClassStrategyOptions) Reset added in v1.2.2

func (m *RuntimeClassStrategyOptions) Reset()

func (*RuntimeClassStrategyOptions) Size added in v1.2.2

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

func (*RuntimeClassStrategyOptions) String added in v1.2.2

func (m *RuntimeClassStrategyOptions) String() string

func (*RuntimeClassStrategyOptions) Unmarshal added in v1.2.2

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

func (*RuntimeClassStrategyOptions) XXX_DiscardUnknown added in v1.2.2

func (m *RuntimeClassStrategyOptions) XXX_DiscardUnknown()

func (*RuntimeClassStrategyOptions) XXX_Marshal added in v1.2.2

func (m *RuntimeClassStrategyOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RuntimeClassStrategyOptions) XXX_Merge added in v1.2.2

func (m *RuntimeClassStrategyOptions) XXX_Merge(src proto.Message)

func (*RuntimeClassStrategyOptions) XXX_Size added in v1.2.2

func (m *RuntimeClassStrategyOptions) XXX_Size() int

func (*RuntimeClassStrategyOptions) XXX_Unmarshal added in v1.2.2

func (m *RuntimeClassStrategyOptions) XXX_Unmarshal(b []byte) error

type SELinuxStrategyOptions

type SELinuxStrategyOptions struct {
	// rule is the strategy that will dictate the allowable labels that may be set.
	Rule *string `protobuf:"bytes,1,opt,name=rule" json:"rule,omitempty"`
	// seLinuxOptions required to run as; required for MustRunAs
	// More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
	// +optional
	SeLinuxOptions       *v11.SELinuxOptions `protobuf:"bytes,2,opt,name=seLinuxOptions" json:"seLinuxOptions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

SELinuxStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use SELinuxStrategyOptions from policy API Group instead.

func (*SELinuxStrategyOptions) Descriptor

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

func (*SELinuxStrategyOptions) GetRule

func (m *SELinuxStrategyOptions) GetRule() string

func (*SELinuxStrategyOptions) GetSeLinuxOptions

func (m *SELinuxStrategyOptions) GetSeLinuxOptions() *v11.SELinuxOptions

func (*SELinuxStrategyOptions) Marshal

func (m *SELinuxStrategyOptions) Marshal() (dAtA []byte, err error)

func (*SELinuxStrategyOptions) MarshalTo

func (m *SELinuxStrategyOptions) MarshalTo(dAtA []byte) (int, error)

func (*SELinuxStrategyOptions) MarshalToSizedBuffer added in v1.2.1

func (m *SELinuxStrategyOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SELinuxStrategyOptions) ProtoMessage

func (*SELinuxStrategyOptions) ProtoMessage()

func (*SELinuxStrategyOptions) Reset

func (m *SELinuxStrategyOptions) Reset()

func (*SELinuxStrategyOptions) Size

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

func (*SELinuxStrategyOptions) String

func (m *SELinuxStrategyOptions) String() string

func (*SELinuxStrategyOptions) Unmarshal

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

func (*SELinuxStrategyOptions) XXX_DiscardUnknown added in v1.2.1

func (m *SELinuxStrategyOptions) XXX_DiscardUnknown()

func (*SELinuxStrategyOptions) XXX_Marshal added in v1.2.1

func (m *SELinuxStrategyOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SELinuxStrategyOptions) XXX_Merge added in v1.2.1

func (m *SELinuxStrategyOptions) XXX_Merge(src proto.Message)

func (*SELinuxStrategyOptions) XXX_Size added in v1.2.1

func (m *SELinuxStrategyOptions) XXX_Size() int

func (*SELinuxStrategyOptions) XXX_Unmarshal added in v1.2.1

func (m *SELinuxStrategyOptions) XXX_Unmarshal(b []byte) error

type Scale

type Scale struct {
	// Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
	// +optional
	Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
	// +optional
	Spec *ScaleSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"`
	// current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only.
	// +optional
	Status               *ScaleStatus `protobuf:"bytes,3,opt,name=status" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

represents a scaling request for a resource.

func (*Scale) Descriptor

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

func (*Scale) GetMetadata

func (m *Scale) GetMetadata() *v1.ObjectMeta

func (*Scale) GetSpec

func (m *Scale) GetSpec() *ScaleSpec

func (*Scale) GetStatus

func (m *Scale) GetStatus() *ScaleStatus

func (*Scale) Marshal

func (m *Scale) Marshal() (dAtA []byte, err error)

func (*Scale) MarshalTo

func (m *Scale) MarshalTo(dAtA []byte) (int, error)

func (*Scale) MarshalToSizedBuffer added in v1.2.1

func (m *Scale) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Scale) ProtoMessage

func (*Scale) ProtoMessage()

func (*Scale) Reset

func (m *Scale) Reset()

func (*Scale) Size

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

func (*Scale) String

func (m *Scale) String() string

func (*Scale) Unmarshal

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

func (*Scale) XXX_DiscardUnknown added in v1.2.1

func (m *Scale) XXX_DiscardUnknown()

func (*Scale) XXX_Marshal added in v1.2.1

func (m *Scale) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Scale) XXX_Merge added in v1.2.1

func (m *Scale) XXX_Merge(src proto.Message)

func (*Scale) XXX_Size added in v1.2.1

func (m *Scale) XXX_Size() int

func (*Scale) XXX_Unmarshal added in v1.2.1

func (m *Scale) XXX_Unmarshal(b []byte) error

type ScaleSpec

type ScaleSpec struct {
	// desired number of instances for the scaled object.
	// +optional
	Replicas             *int32   `protobuf:"varint,1,opt,name=replicas" json:"replicas,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

describes the attributes of a scale subresource

func (*ScaleSpec) Descriptor

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

func (*ScaleSpec) GetReplicas

func (m *ScaleSpec) GetReplicas() int32

func (*ScaleSpec) Marshal

func (m *ScaleSpec) Marshal() (dAtA []byte, err error)

func (*ScaleSpec) MarshalTo

func (m *ScaleSpec) MarshalTo(dAtA []byte) (int, error)

func (*ScaleSpec) MarshalToSizedBuffer added in v1.2.1

func (m *ScaleSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ScaleSpec) ProtoMessage

func (*ScaleSpec) ProtoMessage()

func (*ScaleSpec) Reset

func (m *ScaleSpec) Reset()

func (*ScaleSpec) Size

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

func (*ScaleSpec) String

func (m *ScaleSpec) String() string

func (*ScaleSpec) Unmarshal

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

func (*ScaleSpec) XXX_DiscardUnknown added in v1.2.1

func (m *ScaleSpec) XXX_DiscardUnknown()

func (*ScaleSpec) XXX_Marshal added in v1.2.1

func (m *ScaleSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ScaleSpec) XXX_Merge added in v1.2.1

func (m *ScaleSpec) XXX_Merge(src proto.Message)

func (*ScaleSpec) XXX_Size added in v1.2.1

func (m *ScaleSpec) XXX_Size() int

func (*ScaleSpec) XXX_Unmarshal added in v1.2.1

func (m *ScaleSpec) XXX_Unmarshal(b []byte) error

type ScaleStatus

type ScaleStatus struct {
	// actual number of observed instances of the scaled object.
	Replicas *int32 `protobuf:"varint,1,opt,name=replicas" json:"replicas,omitempty"`
	// label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors
	// +optional
	Selector map[string]string `` /* 136-byte string literal not displayed */
	// label selector for pods that should match the replicas count. This is a serializated
	// version of both map-based and more expressive set-based selectors. This is done to
	// avoid introspection in the clients. The string will be in the same format as the
	// query-param syntax. If the target type only supports map-based selectors, both this
	// field and map-based selector field are populated.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
	// +optional
	TargetSelector       *string  `protobuf:"bytes,3,opt,name=targetSelector" json:"targetSelector,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

represents the current status of a scale subresource.

func (*ScaleStatus) Descriptor

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

func (*ScaleStatus) GetReplicas

func (m *ScaleStatus) GetReplicas() int32

func (*ScaleStatus) GetSelector

func (m *ScaleStatus) GetSelector() map[string]string

func (*ScaleStatus) GetTargetSelector

func (m *ScaleStatus) GetTargetSelector() string

func (*ScaleStatus) Marshal

func (m *ScaleStatus) Marshal() (dAtA []byte, err error)

func (*ScaleStatus) MarshalTo

func (m *ScaleStatus) MarshalTo(dAtA []byte) (int, error)

func (*ScaleStatus) MarshalToSizedBuffer added in v1.2.1

func (m *ScaleStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ScaleStatus) ProtoMessage

func (*ScaleStatus) ProtoMessage()

func (*ScaleStatus) Reset

func (m *ScaleStatus) Reset()

func (*ScaleStatus) Size

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

func (*ScaleStatus) String

func (m *ScaleStatus) String() string

func (*ScaleStatus) Unmarshal

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

func (*ScaleStatus) XXX_DiscardUnknown added in v1.2.1

func (m *ScaleStatus) XXX_DiscardUnknown()

func (*ScaleStatus) XXX_Marshal added in v1.2.1

func (m *ScaleStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ScaleStatus) XXX_Merge added in v1.2.1

func (m *ScaleStatus) XXX_Merge(src proto.Message)

func (*ScaleStatus) XXX_Size added in v1.2.1

func (m *ScaleStatus) XXX_Size() int

func (*ScaleStatus) XXX_Unmarshal added in v1.2.1

func (m *ScaleStatus) XXX_Unmarshal(b []byte) error

type SupplementalGroupsStrategyOptions

type SupplementalGroupsStrategyOptions struct {
	// rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.
	// +optional
	Rule *string `protobuf:"bytes,1,opt,name=rule" json:"rule,omitempty"`
	// ranges are the allowed ranges of supplemental groups.  If you would like to force a single
	// supplemental group then supply a single range with the same start and end. Required for MustRunAs.
	// +optional
	Ranges               []*IDRange `protobuf:"bytes,2,rep,name=ranges" json:"ranges,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy. Deprecated: use SupplementalGroupsStrategyOptions from policy API Group instead.

func (*SupplementalGroupsStrategyOptions) Descriptor

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

func (*SupplementalGroupsStrategyOptions) GetRanges

func (m *SupplementalGroupsStrategyOptions) GetRanges() []*IDRange

func (*SupplementalGroupsStrategyOptions) GetRule

func (*SupplementalGroupsStrategyOptions) Marshal

func (m *SupplementalGroupsStrategyOptions) Marshal() (dAtA []byte, err error)

func (*SupplementalGroupsStrategyOptions) MarshalTo

func (m *SupplementalGroupsStrategyOptions) MarshalTo(dAtA []byte) (int, error)

func (*SupplementalGroupsStrategyOptions) MarshalToSizedBuffer added in v1.2.1

func (m *SupplementalGroupsStrategyOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SupplementalGroupsStrategyOptions) ProtoMessage

func (*SupplementalGroupsStrategyOptions) ProtoMessage()

func (*SupplementalGroupsStrategyOptions) Reset

func (*SupplementalGroupsStrategyOptions) Size

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

func (*SupplementalGroupsStrategyOptions) String

func (*SupplementalGroupsStrategyOptions) Unmarshal

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

func (*SupplementalGroupsStrategyOptions) XXX_DiscardUnknown added in v1.2.1

func (m *SupplementalGroupsStrategyOptions) XXX_DiscardUnknown()

func (*SupplementalGroupsStrategyOptions) XXX_Marshal added in v1.2.1

func (m *SupplementalGroupsStrategyOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SupplementalGroupsStrategyOptions) XXX_Merge added in v1.2.1

func (*SupplementalGroupsStrategyOptions) XXX_Size added in v1.2.1

func (m *SupplementalGroupsStrategyOptions) XXX_Size() int

func (*SupplementalGroupsStrategyOptions) XXX_Unmarshal added in v1.2.1

func (m *SupplementalGroupsStrategyOptions) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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