v1beta1

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_k8s_io_api_extensions_v1beta1_generated_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AllowedCSIDriver added in v1.2.4

type AllowedCSIDriver struct {

	// Name is the registered name of the CSI driver
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// contains filtered or unexported fields
}

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

func (*AllowedCSIDriver) Descriptor deprecated added in v1.2.4

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

Deprecated: Use AllowedCSIDriver.ProtoReflect.Descriptor instead.

func (*AllowedCSIDriver) GetName added in v1.2.4

func (x *AllowedCSIDriver) GetName() string

func (*AllowedCSIDriver) ProtoMessage added in v1.2.4

func (*AllowedCSIDriver) ProtoMessage()

func (*AllowedCSIDriver) ProtoReflect added in v1.2.4

func (x *AllowedCSIDriver) ProtoReflect() protoreflect.Message

func (*AllowedCSIDriver) Reset added in v1.2.4

func (x *AllowedCSIDriver) Reset()

func (*AllowedCSIDriver) String added in v1.2.4

func (x *AllowedCSIDriver) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*AllowedFlexVolume) Descriptor deprecated added in v1.0.0

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

Deprecated: Use AllowedFlexVolume.ProtoReflect.Descriptor instead.

func (*AllowedFlexVolume) GetDriver added in v1.0.0

func (x *AllowedFlexVolume) GetDriver() string

func (*AllowedFlexVolume) ProtoMessage added in v1.0.0

func (*AllowedFlexVolume) ProtoMessage()

func (*AllowedFlexVolume) ProtoReflect added in v1.2.4

func (x *AllowedFlexVolume) ProtoReflect() protoreflect.Message

func (*AllowedFlexVolume) Reset added in v1.0.0

func (x *AllowedFlexVolume) Reset()

func (*AllowedFlexVolume) String added in v1.0.0

func (x *AllowedFlexVolume) String() string

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"`
	// contains filtered or unexported fields
}

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 deprecated added in v1.0.0

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

Deprecated: Use AllowedHostPath.ProtoReflect.Descriptor instead.

func (*AllowedHostPath) GetPathPrefix added in v1.0.0

func (x *AllowedHostPath) GetPathPrefix() string

func (*AllowedHostPath) GetReadOnly added in v1.2.4

func (x *AllowedHostPath) GetReadOnly() bool

func (*AllowedHostPath) ProtoMessage added in v1.0.0

func (*AllowedHostPath) ProtoMessage()

func (*AllowedHostPath) ProtoReflect added in v1.2.4

func (x *AllowedHostPath) ProtoReflect() protoreflect.Message

func (*AllowedHostPath) Reset added in v1.0.0

func (x *AllowedHostPath) Reset()

func (*AllowedHostPath) String added in v1.0.0

func (x *AllowedHostPath) String() string

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"`
	// contains filtered or unexported fields
}

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 deprecated

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

Deprecated: Use DaemonSet.ProtoReflect.Descriptor instead.

func (*DaemonSet) GetMetadata

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

func (*DaemonSet) GetSpec

func (x *DaemonSet) GetSpec() *DaemonSetSpec

func (*DaemonSet) GetStatus

func (x *DaemonSet) GetStatus() *DaemonSetStatus

func (*DaemonSet) ProtoMessage

func (*DaemonSet) ProtoMessage()

func (*DaemonSet) ProtoReflect added in v1.2.4

func (x *DaemonSet) ProtoReflect() protoreflect.Message

func (*DaemonSet) Reset

func (x *DaemonSet) Reset()

func (*DaemonSet) String

func (x *DaemonSet) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*DaemonSetCondition) Descriptor deprecated added in v1.0.0

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

Deprecated: Use DaemonSetCondition.ProtoReflect.Descriptor instead.

func (*DaemonSetCondition) GetLastTransitionTime added in v1.0.0

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

func (*DaemonSetCondition) GetMessage added in v1.0.0

func (x *DaemonSetCondition) GetMessage() string

func (*DaemonSetCondition) GetReason added in v1.0.0

func (x *DaemonSetCondition) GetReason() string

func (*DaemonSetCondition) GetStatus added in v1.0.0

func (x *DaemonSetCondition) GetStatus() string

func (*DaemonSetCondition) GetType added in v1.0.0

func (x *DaemonSetCondition) GetType() string

func (*DaemonSetCondition) ProtoMessage added in v1.0.0

func (*DaemonSetCondition) ProtoMessage()

func (*DaemonSetCondition) ProtoReflect added in v1.2.4

func (x *DaemonSetCondition) ProtoReflect() protoreflect.Message

func (*DaemonSetCondition) Reset added in v1.0.0

func (x *DaemonSetCondition) Reset()

func (*DaemonSetCondition) String added in v1.0.0

func (x *DaemonSetCondition) String() string

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"`
	// contains filtered or unexported fields
}

DaemonSetList is a collection of daemon sets.

func (*DaemonSetList) Descriptor deprecated

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

Deprecated: Use DaemonSetList.ProtoReflect.Descriptor instead.

func (*DaemonSetList) GetItems

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

func (*DaemonSetList) GetMetadata

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

func (*DaemonSetList) ProtoMessage

func (*DaemonSetList) ProtoMessage()

func (*DaemonSetList) ProtoReflect added in v1.2.4

func (x *DaemonSetList) ProtoReflect() protoreflect.Message

func (*DaemonSetList) Reset

func (x *DaemonSetList) Reset()

func (*DaemonSetList) String

func (x *DaemonSetList) String() string

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"`
	// contains filtered or unexported fields
}

DaemonSetSpec is the specification of a daemon set.

func (*DaemonSetSpec) Descriptor deprecated

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

Deprecated: Use DaemonSetSpec.ProtoReflect.Descriptor instead.

func (*DaemonSetSpec) GetMinReadySeconds added in v0.3.0

func (x *DaemonSetSpec) GetMinReadySeconds() int32

func (*DaemonSetSpec) GetRevisionHistoryLimit added in v1.0.0

func (x *DaemonSetSpec) GetRevisionHistoryLimit() int32

func (*DaemonSetSpec) GetSelector

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

func (*DaemonSetSpec) GetTemplate

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

func (*DaemonSetSpec) GetTemplateGeneration added in v0.3.0

func (x *DaemonSetSpec) GetTemplateGeneration() int64

func (*DaemonSetSpec) GetUpdateStrategy added in v0.3.0

func (x *DaemonSetSpec) GetUpdateStrategy() *DaemonSetUpdateStrategy

func (*DaemonSetSpec) ProtoMessage

func (*DaemonSetSpec) ProtoMessage()

func (*DaemonSetSpec) ProtoReflect added in v1.2.4

func (x *DaemonSetSpec) ProtoReflect() protoreflect.Message

func (*DaemonSetSpec) Reset

func (x *DaemonSetSpec) Reset()

func (*DaemonSetSpec) String

func (x *DaemonSetSpec) String() string

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"`
	// contains filtered or unexported fields
}

DaemonSetStatus represents the current status of a daemon set.

func (*DaemonSetStatus) Descriptor deprecated

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

Deprecated: Use DaemonSetStatus.ProtoReflect.Descriptor instead.

func (*DaemonSetStatus) GetCollisionCount added in v1.0.0

func (x *DaemonSetStatus) GetCollisionCount() int32

func (*DaemonSetStatus) GetConditions added in v1.0.0

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

func (*DaemonSetStatus) GetCurrentNumberScheduled

func (x *DaemonSetStatus) GetCurrentNumberScheduled() int32

func (*DaemonSetStatus) GetDesiredNumberScheduled

func (x *DaemonSetStatus) GetDesiredNumberScheduled() int32

func (*DaemonSetStatus) GetNumberAvailable added in v0.3.0

func (x *DaemonSetStatus) GetNumberAvailable() int32

func (*DaemonSetStatus) GetNumberMisscheduled

func (x *DaemonSetStatus) GetNumberMisscheduled() int32

func (*DaemonSetStatus) GetNumberReady

func (x *DaemonSetStatus) GetNumberReady() int32

func (*DaemonSetStatus) GetNumberUnavailable added in v0.3.0

func (x *DaemonSetStatus) GetNumberUnavailable() int32

func (*DaemonSetStatus) GetObservedGeneration added in v0.3.0

func (x *DaemonSetStatus) GetObservedGeneration() int64

func (*DaemonSetStatus) GetUpdatedNumberScheduled added in v0.3.0

func (x *DaemonSetStatus) GetUpdatedNumberScheduled() int32

func (*DaemonSetStatus) ProtoMessage

func (*DaemonSetStatus) ProtoMessage()

func (*DaemonSetStatus) ProtoReflect added in v1.2.4

func (x *DaemonSetStatus) ProtoReflect() protoreflect.Message

func (*DaemonSetStatus) Reset

func (x *DaemonSetStatus) Reset()

func (*DaemonSetStatus) String

func (x *DaemonSetStatus) String() string

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"`
	// contains filtered or unexported fields
}

func (*DaemonSetUpdateStrategy) Descriptor deprecated added in v0.3.0

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

Deprecated: Use DaemonSetUpdateStrategy.ProtoReflect.Descriptor instead.

func (*DaemonSetUpdateStrategy) GetRollingUpdate added in v0.3.0

func (x *DaemonSetUpdateStrategy) GetRollingUpdate() *RollingUpdateDaemonSet

func (*DaemonSetUpdateStrategy) GetType added in v0.3.0

func (x *DaemonSetUpdateStrategy) GetType() string

func (*DaemonSetUpdateStrategy) ProtoMessage added in v0.3.0

func (*DaemonSetUpdateStrategy) ProtoMessage()

func (*DaemonSetUpdateStrategy) ProtoReflect added in v1.2.4

func (x *DaemonSetUpdateStrategy) ProtoReflect() protoreflect.Message

func (*DaemonSetUpdateStrategy) Reset added in v0.3.0

func (x *DaemonSetUpdateStrategy) Reset()

func (*DaemonSetUpdateStrategy) String added in v0.3.0

func (x *DaemonSetUpdateStrategy) String() string

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"`
	// contains filtered or unexported fields
}

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 deprecated

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

Deprecated: Use Deployment.ProtoReflect.Descriptor instead.

func (*Deployment) GetMetadata

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

func (*Deployment) GetSpec

func (x *Deployment) GetSpec() *DeploymentSpec

func (*Deployment) GetStatus

func (x *Deployment) GetStatus() *DeploymentStatus

func (*Deployment) ProtoMessage

func (*Deployment) ProtoMessage()

func (*Deployment) ProtoReflect added in v1.2.4

func (x *Deployment) ProtoReflect() protoreflect.Message

func (*Deployment) Reset

func (x *Deployment) Reset()

func (*Deployment) String

func (x *Deployment) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*DeploymentCondition) Descriptor deprecated

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

Deprecated: Use DeploymentCondition.ProtoReflect.Descriptor instead.

func (*DeploymentCondition) GetLastTransitionTime

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

func (*DeploymentCondition) GetLastUpdateTime

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

func (*DeploymentCondition) GetMessage

func (x *DeploymentCondition) GetMessage() string

func (*DeploymentCondition) GetReason

func (x *DeploymentCondition) GetReason() string

func (*DeploymentCondition) GetStatus

func (x *DeploymentCondition) GetStatus() string

func (*DeploymentCondition) GetType

func (x *DeploymentCondition) GetType() string

func (*DeploymentCondition) ProtoMessage

func (*DeploymentCondition) ProtoMessage()

func (*DeploymentCondition) ProtoReflect added in v1.2.4

func (x *DeploymentCondition) ProtoReflect() protoreflect.Message

func (*DeploymentCondition) Reset

func (x *DeploymentCondition) Reset()

func (*DeploymentCondition) String

func (x *DeploymentCondition) String() string

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"`
	// contains filtered or unexported fields
}

DeploymentList is a list of Deployments.

func (*DeploymentList) Descriptor deprecated

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

Deprecated: Use DeploymentList.ProtoReflect.Descriptor instead.

func (*DeploymentList) GetItems

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

func (*DeploymentList) GetMetadata

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

func (*DeploymentList) ProtoMessage

func (*DeploymentList) ProtoMessage()

func (*DeploymentList) ProtoReflect added in v1.2.4

func (x *DeploymentList) ProtoReflect() protoreflect.Message

func (*DeploymentList) Reset

func (x *DeploymentList) Reset()

func (*DeploymentList) String

func (x *DeploymentList) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*DeploymentRollback) Descriptor deprecated

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

Deprecated: Use DeploymentRollback.ProtoReflect.Descriptor instead.

func (*DeploymentRollback) GetName

func (x *DeploymentRollback) GetName() string

func (*DeploymentRollback) GetRollbackTo

func (x *DeploymentRollback) GetRollbackTo() *RollbackConfig

func (*DeploymentRollback) GetUpdatedAnnotations

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

func (*DeploymentRollback) ProtoMessage

func (*DeploymentRollback) ProtoMessage()

func (*DeploymentRollback) ProtoReflect added in v1.2.4

func (x *DeploymentRollback) ProtoReflect() protoreflect.Message

func (*DeploymentRollback) Reset

func (x *DeploymentRollback) Reset()

func (*DeploymentRollback) String

func (x *DeploymentRollback) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*DeploymentSpec) Descriptor deprecated

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

Deprecated: Use DeploymentSpec.ProtoReflect.Descriptor instead.

func (*DeploymentSpec) GetMinReadySeconds

func (x *DeploymentSpec) GetMinReadySeconds() int32

func (*DeploymentSpec) GetPaused

func (x *DeploymentSpec) GetPaused() bool

func (*DeploymentSpec) GetProgressDeadlineSeconds

func (x *DeploymentSpec) GetProgressDeadlineSeconds() int32

func (*DeploymentSpec) GetReplicas

func (x *DeploymentSpec) GetReplicas() int32

func (*DeploymentSpec) GetRevisionHistoryLimit

func (x *DeploymentSpec) GetRevisionHistoryLimit() int32

func (*DeploymentSpec) GetRollbackTo

func (x *DeploymentSpec) GetRollbackTo() *RollbackConfig

func (*DeploymentSpec) GetSelector

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

func (*DeploymentSpec) GetStrategy

func (x *DeploymentSpec) GetStrategy() *DeploymentStrategy

func (*DeploymentSpec) GetTemplate

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

func (*DeploymentSpec) ProtoMessage

func (*DeploymentSpec) ProtoMessage()

func (*DeploymentSpec) ProtoReflect added in v1.2.4

func (x *DeploymentSpec) ProtoReflect() protoreflect.Message

func (*DeploymentSpec) Reset

func (x *DeploymentSpec) Reset()

func (*DeploymentSpec) String

func (x *DeploymentSpec) String() string

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"`
	// contains filtered or unexported fields
}

DeploymentStatus is the most recently observed status of the Deployment.

func (*DeploymentStatus) Descriptor deprecated

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

Deprecated: Use DeploymentStatus.ProtoReflect.Descriptor instead.

func (*DeploymentStatus) GetAvailableReplicas

func (x *DeploymentStatus) GetAvailableReplicas() int32

func (*DeploymentStatus) GetCollisionCount added in v1.0.0

func (x *DeploymentStatus) GetCollisionCount() int32

func (*DeploymentStatus) GetConditions

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

func (*DeploymentStatus) GetObservedGeneration

func (x *DeploymentStatus) GetObservedGeneration() int64

func (*DeploymentStatus) GetReadyReplicas added in v0.3.0

func (x *DeploymentStatus) GetReadyReplicas() int32

func (*DeploymentStatus) GetReplicas

func (x *DeploymentStatus) GetReplicas() int32

func (*DeploymentStatus) GetUnavailableReplicas

func (x *DeploymentStatus) GetUnavailableReplicas() int32

func (*DeploymentStatus) GetUpdatedReplicas

func (x *DeploymentStatus) GetUpdatedReplicas() int32

func (*DeploymentStatus) ProtoMessage

func (*DeploymentStatus) ProtoMessage()

func (*DeploymentStatus) ProtoReflect added in v1.2.4

func (x *DeploymentStatus) ProtoReflect() protoreflect.Message

func (*DeploymentStatus) Reset

func (x *DeploymentStatus) Reset()

func (*DeploymentStatus) String

func (x *DeploymentStatus) String() string

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"`
	// contains filtered or unexported fields
}

DeploymentStrategy describes how to replace existing pods with new ones.

func (*DeploymentStrategy) Descriptor deprecated

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

Deprecated: Use DeploymentStrategy.ProtoReflect.Descriptor instead.

func (*DeploymentStrategy) GetRollingUpdate

func (x *DeploymentStrategy) GetRollingUpdate() *RollingUpdateDeployment

func (*DeploymentStrategy) GetType

func (x *DeploymentStrategy) GetType() string

func (*DeploymentStrategy) ProtoMessage

func (*DeploymentStrategy) ProtoMessage()

func (*DeploymentStrategy) ProtoReflect added in v1.2.4

func (x *DeploymentStrategy) ProtoReflect() protoreflect.Message

func (*DeploymentStrategy) Reset

func (x *DeploymentStrategy) Reset()

func (*DeploymentStrategy) String

func (x *DeploymentStrategy) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*FSGroupStrategyOptions) Descriptor deprecated

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

Deprecated: Use FSGroupStrategyOptions.ProtoReflect.Descriptor instead.

func (*FSGroupStrategyOptions) GetRanges

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

func (*FSGroupStrategyOptions) GetRule

func (x *FSGroupStrategyOptions) GetRule() string

func (*FSGroupStrategyOptions) ProtoMessage

func (*FSGroupStrategyOptions) ProtoMessage()

func (*FSGroupStrategyOptions) ProtoReflect added in v1.2.4

func (x *FSGroupStrategyOptions) ProtoReflect() protoreflect.Message

func (*FSGroupStrategyOptions) Reset

func (x *FSGroupStrategyOptions) Reset()

func (*FSGroupStrategyOptions) String

func (x *FSGroupStrategyOptions) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*HTTPIngressPath) Descriptor deprecated

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

Deprecated: Use HTTPIngressPath.ProtoReflect.Descriptor instead.

func (*HTTPIngressPath) GetBackend

func (x *HTTPIngressPath) GetBackend() *IngressBackend

func (*HTTPIngressPath) GetPath

func (x *HTTPIngressPath) GetPath() string

func (*HTTPIngressPath) GetPathType added in v1.2.4

func (x *HTTPIngressPath) GetPathType() string

func (*HTTPIngressPath) ProtoMessage

func (*HTTPIngressPath) ProtoMessage()

func (*HTTPIngressPath) ProtoReflect added in v1.2.4

func (x *HTTPIngressPath) ProtoReflect() protoreflect.Message

func (*HTTPIngressPath) Reset

func (x *HTTPIngressPath) Reset()

func (*HTTPIngressPath) String

func (x *HTTPIngressPath) String() string

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"`
	// contains filtered or unexported fields
}

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 deprecated

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

Deprecated: Use HTTPIngressRuleValue.ProtoReflect.Descriptor instead.

func (*HTTPIngressRuleValue) GetPaths

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

func (*HTTPIngressRuleValue) ProtoMessage

func (*HTTPIngressRuleValue) ProtoMessage()

func (*HTTPIngressRuleValue) ProtoReflect added in v1.2.4

func (x *HTTPIngressRuleValue) ProtoReflect() protoreflect.Message

func (*HTTPIngressRuleValue) Reset

func (x *HTTPIngressRuleValue) Reset()

func (*HTTPIngressRuleValue) String

func (x *HTTPIngressRuleValue) String() string

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"`
	// contains filtered or unexported fields
}

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 deprecated

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

Deprecated: Use HostPortRange.ProtoReflect.Descriptor instead.

func (*HostPortRange) GetMax

func (x *HostPortRange) GetMax() int32

func (*HostPortRange) GetMin

func (x *HostPortRange) GetMin() int32

func (*HostPortRange) ProtoMessage

func (*HostPortRange) ProtoMessage()

func (*HostPortRange) ProtoReflect added in v1.2.4

func (x *HostPortRange) ProtoReflect() protoreflect.Message

func (*HostPortRange) Reset

func (x *HostPortRange) Reset()

func (*HostPortRange) String

func (x *HostPortRange) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*IDRange) Descriptor deprecated

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

Deprecated: Use IDRange.ProtoReflect.Descriptor instead.

func (*IDRange) GetMax

func (x *IDRange) GetMax() int64

func (*IDRange) GetMin

func (x *IDRange) GetMin() int64

func (*IDRange) ProtoMessage

func (*IDRange) ProtoMessage()

func (*IDRange) ProtoReflect added in v1.2.4

func (x *IDRange) ProtoReflect() protoreflect.Message

func (*IDRange) Reset

func (x *IDRange) Reset()

func (*IDRange) String

func (x *IDRange) String() string

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"`
	// contains filtered or unexported fields
}

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 deprecated added in v1.0.0

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

Deprecated: Use IPBlock.ProtoReflect.Descriptor instead.

func (*IPBlock) GetCidr added in v1.0.0

func (x *IPBlock) GetCidr() string

func (*IPBlock) GetExcept added in v1.0.0

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

func (*IPBlock) ProtoMessage added in v1.0.0

func (*IPBlock) ProtoMessage()

func (*IPBlock) ProtoReflect added in v1.2.4

func (x *IPBlock) ProtoReflect() protoreflect.Message

func (*IPBlock) Reset added in v1.0.0

func (x *IPBlock) Reset()

func (*IPBlock) String added in v1.0.0

func (x *IPBlock) String() string

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"`
	// contains filtered or unexported fields
}

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 deprecated

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

Deprecated: Use Ingress.ProtoReflect.Descriptor instead.

func (*Ingress) GetMetadata

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

func (*Ingress) GetSpec

func (x *Ingress) GetSpec() *IngressSpec

func (*Ingress) GetStatus

func (x *Ingress) GetStatus() *IngressStatus

func (*Ingress) ProtoMessage

func (*Ingress) ProtoMessage()

func (*Ingress) ProtoReflect added in v1.2.4

func (x *Ingress) ProtoReflect() protoreflect.Message

func (*Ingress) Reset

func (x *Ingress) Reset()

func (*Ingress) String

func (x *Ingress) String() string

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"`
	// contains filtered or unexported fields
}

IngressBackend describes all endpoints for a given service and port.

func (*IngressBackend) Descriptor deprecated

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

Deprecated: Use IngressBackend.ProtoReflect.Descriptor instead.

func (*IngressBackend) GetResource added in v1.2.4

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

func (*IngressBackend) GetServiceName

func (x *IngressBackend) GetServiceName() string

func (*IngressBackend) GetServicePort

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

func (*IngressBackend) ProtoMessage

func (*IngressBackend) ProtoMessage()

func (*IngressBackend) ProtoReflect added in v1.2.4

func (x *IngressBackend) ProtoReflect() protoreflect.Message

func (*IngressBackend) Reset

func (x *IngressBackend) Reset()

func (*IngressBackend) String

func (x *IngressBackend) String() string

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"`
	// contains filtered or unexported fields
}

IngressList is a collection of Ingress.

func (*IngressList) Descriptor deprecated

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

Deprecated: Use IngressList.ProtoReflect.Descriptor instead.

func (*IngressList) GetItems

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

func (*IngressList) GetMetadata

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

func (*IngressList) ProtoMessage

func (*IngressList) ProtoMessage()

func (*IngressList) ProtoReflect added in v1.2.4

func (x *IngressList) ProtoReflect() protoreflect.Message

func (*IngressList) Reset

func (x *IngressList) Reset()

func (*IngressList) String

func (x *IngressList) String() string

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"`
	// contains filtered or unexported fields
}

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 deprecated

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

Deprecated: Use IngressRule.ProtoReflect.Descriptor instead.

func (*IngressRule) GetHost

func (x *IngressRule) GetHost() string

func (*IngressRule) GetIngressRuleValue

func (x *IngressRule) GetIngressRuleValue() *IngressRuleValue

func (*IngressRule) ProtoMessage

func (*IngressRule) ProtoMessage()

func (*IngressRule) ProtoReflect added in v1.2.4

func (x *IngressRule) ProtoReflect() protoreflect.Message

func (*IngressRule) Reset

func (x *IngressRule) Reset()

func (*IngressRule) String

func (x *IngressRule) String() string

type IngressRuleValue

type IngressRuleValue struct {

	// +optional
	Http *HTTPIngressRuleValue `protobuf:"bytes,1,opt,name=http" json:"http,omitempty"`
	// contains filtered or unexported fields
}

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 deprecated

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

Deprecated: Use IngressRuleValue.ProtoReflect.Descriptor instead.

func (*IngressRuleValue) GetHttp

func (x *IngressRuleValue) GetHttp() *HTTPIngressRuleValue

func (*IngressRuleValue) ProtoMessage

func (*IngressRuleValue) ProtoMessage()

func (*IngressRuleValue) ProtoReflect added in v1.2.4

func (x *IngressRuleValue) ProtoReflect() protoreflect.Message

func (*IngressRuleValue) Reset

func (x *IngressRuleValue) Reset()

func (*IngressRuleValue) String

func (x *IngressRuleValue) String() string

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"`
	// contains filtered or unexported fields
}

IngressSpec describes the Ingress the user wishes to exist.

func (*IngressSpec) Descriptor deprecated

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

Deprecated: Use IngressSpec.ProtoReflect.Descriptor instead.

func (*IngressSpec) GetBackend

func (x *IngressSpec) GetBackend() *IngressBackend

func (*IngressSpec) GetIngressClassName added in v1.2.4

func (x *IngressSpec) GetIngressClassName() string

func (*IngressSpec) GetRules

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

func (*IngressSpec) GetTls

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

func (*IngressSpec) ProtoMessage

func (*IngressSpec) ProtoMessage()

func (*IngressSpec) ProtoReflect added in v1.2.4

func (x *IngressSpec) ProtoReflect() protoreflect.Message

func (*IngressSpec) Reset

func (x *IngressSpec) Reset()

func (*IngressSpec) String

func (x *IngressSpec) String() string

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"`
	// contains filtered or unexported fields
}

IngressStatus describe the current state of the Ingress.

func (*IngressStatus) Descriptor deprecated

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

Deprecated: Use IngressStatus.ProtoReflect.Descriptor instead.

func (*IngressStatus) GetLoadBalancer

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

func (*IngressStatus) ProtoMessage

func (*IngressStatus) ProtoMessage()

func (*IngressStatus) ProtoReflect added in v1.2.4

func (x *IngressStatus) ProtoReflect() protoreflect.Message

func (*IngressStatus) Reset

func (x *IngressStatus) Reset()

func (*IngressStatus) String

func (x *IngressStatus) String() string

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"`
	// contains filtered or unexported fields
}

IngressTLS describes the transport layer security associated with an Ingress.

func (*IngressTLS) Descriptor deprecated

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

Deprecated: Use IngressTLS.ProtoReflect.Descriptor instead.

func (*IngressTLS) GetHosts

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

func (*IngressTLS) GetSecretName

func (x *IngressTLS) GetSecretName() string

func (*IngressTLS) ProtoMessage

func (*IngressTLS) ProtoMessage()

func (*IngressTLS) ProtoReflect added in v1.2.4

func (x *IngressTLS) ProtoReflect() protoreflect.Message

func (*IngressTLS) Reset

func (x *IngressTLS) Reset()

func (*IngressTLS) String

func (x *IngressTLS) String() string

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"`
	// contains filtered or unexported fields
}

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 deprecated

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

Deprecated: Use NetworkPolicy.ProtoReflect.Descriptor instead.

func (*NetworkPolicy) GetMetadata

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

func (*NetworkPolicy) GetSpec

func (x *NetworkPolicy) GetSpec() *NetworkPolicySpec

func (*NetworkPolicy) ProtoMessage

func (*NetworkPolicy) ProtoMessage()

func (*NetworkPolicy) ProtoReflect added in v1.2.4

func (x *NetworkPolicy) ProtoReflect() protoreflect.Message

func (*NetworkPolicy) Reset

func (x *NetworkPolicy) Reset()

func (*NetworkPolicy) String

func (x *NetworkPolicy) String() string

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"`
	// contains filtered or unexported fields
}

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 deprecated added in v1.0.0

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

Deprecated: Use NetworkPolicyEgressRule.ProtoReflect.Descriptor instead.

func (*NetworkPolicyEgressRule) GetPorts added in v1.0.0

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

func (*NetworkPolicyEgressRule) GetTo added in v1.0.0

func (*NetworkPolicyEgressRule) ProtoMessage added in v1.0.0

func (*NetworkPolicyEgressRule) ProtoMessage()

func (*NetworkPolicyEgressRule) ProtoReflect added in v1.2.4

func (x *NetworkPolicyEgressRule) ProtoReflect() protoreflect.Message

func (*NetworkPolicyEgressRule) Reset added in v1.0.0

func (x *NetworkPolicyEgressRule) Reset()

func (*NetworkPolicyEgressRule) String added in v1.0.0

func (x *NetworkPolicyEgressRule) String() string

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"`
	// contains filtered or unexported fields
}

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 deprecated

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

Deprecated: Use NetworkPolicyIngressRule.ProtoReflect.Descriptor instead.

func (*NetworkPolicyIngressRule) GetFrom

func (*NetworkPolicyIngressRule) GetPorts

func (*NetworkPolicyIngressRule) ProtoMessage

func (*NetworkPolicyIngressRule) ProtoMessage()

func (*NetworkPolicyIngressRule) ProtoReflect added in v1.2.4

func (x *NetworkPolicyIngressRule) ProtoReflect() protoreflect.Message

func (*NetworkPolicyIngressRule) Reset

func (x *NetworkPolicyIngressRule) Reset()

func (*NetworkPolicyIngressRule) String

func (x *NetworkPolicyIngressRule) String() string

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"`
	// contains filtered or unexported fields
}

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 deprecated

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

Deprecated: Use NetworkPolicyList.ProtoReflect.Descriptor instead.

func (*NetworkPolicyList) GetItems

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

func (*NetworkPolicyList) GetMetadata

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

func (*NetworkPolicyList) ProtoMessage

func (*NetworkPolicyList) ProtoMessage()

func (*NetworkPolicyList) ProtoReflect added in v1.2.4

func (x *NetworkPolicyList) ProtoReflect() protoreflect.Message

func (*NetworkPolicyList) Reset

func (x *NetworkPolicyList) Reset()

func (*NetworkPolicyList) String

func (x *NetworkPolicyList) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*NetworkPolicyPeer) Descriptor deprecated

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

Deprecated: Use NetworkPolicyPeer.ProtoReflect.Descriptor instead.

func (*NetworkPolicyPeer) GetIpBlock added in v1.0.0

func (x *NetworkPolicyPeer) GetIpBlock() *IPBlock

func (*NetworkPolicyPeer) GetNamespaceSelector

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

func (*NetworkPolicyPeer) GetPodSelector

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

func (*NetworkPolicyPeer) ProtoMessage

func (*NetworkPolicyPeer) ProtoMessage()

func (*NetworkPolicyPeer) ProtoReflect added in v1.2.4

func (x *NetworkPolicyPeer) ProtoReflect() protoreflect.Message

func (*NetworkPolicyPeer) Reset

func (x *NetworkPolicyPeer) Reset()

func (*NetworkPolicyPeer) String

func (x *NetworkPolicyPeer) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*NetworkPolicyPort) Descriptor deprecated

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

Deprecated: Use NetworkPolicyPort.ProtoReflect.Descriptor instead.

func (*NetworkPolicyPort) GetPort

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

func (*NetworkPolicyPort) GetProtocol

func (x *NetworkPolicyPort) GetProtocol() string

func (*NetworkPolicyPort) ProtoMessage

func (*NetworkPolicyPort) ProtoMessage()

func (*NetworkPolicyPort) ProtoReflect added in v1.2.4

func (x *NetworkPolicyPort) ProtoReflect() protoreflect.Message

func (*NetworkPolicyPort) Reset

func (x *NetworkPolicyPort) Reset()

func (*NetworkPolicyPort) String

func (x *NetworkPolicyPort) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*NetworkPolicySpec) Descriptor deprecated

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

Deprecated: Use NetworkPolicySpec.ProtoReflect.Descriptor instead.

func (*NetworkPolicySpec) GetEgress added in v1.0.0

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

func (*NetworkPolicySpec) GetIngress

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

func (*NetworkPolicySpec) GetPodSelector

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

func (*NetworkPolicySpec) GetPolicyTypes added in v1.0.0

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

func (*NetworkPolicySpec) ProtoMessage

func (*NetworkPolicySpec) ProtoMessage()

func (*NetworkPolicySpec) ProtoReflect added in v1.2.4

func (x *NetworkPolicySpec) ProtoReflect() protoreflect.Message

func (*NetworkPolicySpec) Reset

func (x *NetworkPolicySpec) Reset()

func (*NetworkPolicySpec) String

func (x *NetworkPolicySpec) String() string

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"`
	// contains filtered or unexported fields
}

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 deprecated

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

Deprecated: Use PodSecurityPolicy.ProtoReflect.Descriptor instead.

func (*PodSecurityPolicy) GetMetadata

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

func (*PodSecurityPolicy) GetSpec

func (*PodSecurityPolicy) ProtoMessage

func (*PodSecurityPolicy) ProtoMessage()

func (*PodSecurityPolicy) ProtoReflect added in v1.2.4

func (x *PodSecurityPolicy) ProtoReflect() protoreflect.Message

func (*PodSecurityPolicy) Reset

func (x *PodSecurityPolicy) Reset()

func (*PodSecurityPolicy) String

func (x *PodSecurityPolicy) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*PodSecurityPolicyList) Descriptor deprecated

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

Deprecated: Use PodSecurityPolicyList.ProtoReflect.Descriptor instead.

func (*PodSecurityPolicyList) GetItems

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

func (*PodSecurityPolicyList) GetMetadata

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

func (*PodSecurityPolicyList) ProtoMessage

func (*PodSecurityPolicyList) ProtoMessage()

func (*PodSecurityPolicyList) ProtoReflect added in v1.2.4

func (x *PodSecurityPolicyList) ProtoReflect() protoreflect.Message

func (*PodSecurityPolicyList) Reset

func (x *PodSecurityPolicyList) Reset()

func (*PodSecurityPolicyList) String

func (x *PodSecurityPolicyList) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*PodSecurityPolicySpec) Descriptor deprecated

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

Deprecated: Use PodSecurityPolicySpec.ProtoReflect.Descriptor instead.

func (*PodSecurityPolicySpec) GetAllowPrivilegeEscalation added in v1.0.0

func (x *PodSecurityPolicySpec) GetAllowPrivilegeEscalation() bool

func (*PodSecurityPolicySpec) GetAllowedCSIDrivers added in v1.2.4

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

func (*PodSecurityPolicySpec) GetAllowedCapabilities

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

func (*PodSecurityPolicySpec) GetAllowedFlexVolumes added in v1.0.0

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

func (*PodSecurityPolicySpec) GetAllowedHostPaths added in v1.0.0

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

func (*PodSecurityPolicySpec) GetAllowedProcMountTypes added in v1.2.4

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

func (*PodSecurityPolicySpec) GetAllowedUnsafeSysctls added in v1.2.4

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

func (*PodSecurityPolicySpec) GetDefaultAddCapabilities

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

func (*PodSecurityPolicySpec) GetDefaultAllowPrivilegeEscalation added in v1.0.0

func (x *PodSecurityPolicySpec) GetDefaultAllowPrivilegeEscalation() bool

func (*PodSecurityPolicySpec) GetForbiddenSysctls added in v1.2.4

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

func (*PodSecurityPolicySpec) GetFsGroup

func (*PodSecurityPolicySpec) GetHostIPC

func (x *PodSecurityPolicySpec) GetHostIPC() bool

func (*PodSecurityPolicySpec) GetHostNetwork

func (x *PodSecurityPolicySpec) GetHostNetwork() bool

func (*PodSecurityPolicySpec) GetHostPID

func (x *PodSecurityPolicySpec) GetHostPID() bool

func (*PodSecurityPolicySpec) GetHostPorts

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

func (*PodSecurityPolicySpec) GetPrivileged

func (x *PodSecurityPolicySpec) GetPrivileged() bool

func (*PodSecurityPolicySpec) GetReadOnlyRootFilesystem

func (x *PodSecurityPolicySpec) GetReadOnlyRootFilesystem() bool

func (*PodSecurityPolicySpec) GetRequiredDropCapabilities

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

func (*PodSecurityPolicySpec) GetRunAsGroup added in v1.2.4

func (*PodSecurityPolicySpec) GetRunAsUser

func (*PodSecurityPolicySpec) GetRuntimeClass added in v1.2.4

func (x *PodSecurityPolicySpec) GetRuntimeClass() *RuntimeClassStrategyOptions

func (*PodSecurityPolicySpec) GetSeLinux

func (*PodSecurityPolicySpec) GetSupplementalGroups

func (x *PodSecurityPolicySpec) GetSupplementalGroups() *SupplementalGroupsStrategyOptions

func (*PodSecurityPolicySpec) GetVolumes

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

func (*PodSecurityPolicySpec) ProtoMessage

func (*PodSecurityPolicySpec) ProtoMessage()

func (*PodSecurityPolicySpec) ProtoReflect added in v1.2.4

func (x *PodSecurityPolicySpec) ProtoReflect() protoreflect.Message

func (*PodSecurityPolicySpec) Reset

func (x *PodSecurityPolicySpec) Reset()

func (*PodSecurityPolicySpec) String

func (x *PodSecurityPolicySpec) String() string

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"`
	// contains filtered or unexported fields
}

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 deprecated

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

Deprecated: Use ReplicaSet.ProtoReflect.Descriptor instead.

func (*ReplicaSet) GetMetadata

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

func (*ReplicaSet) GetSpec

func (x *ReplicaSet) GetSpec() *ReplicaSetSpec

func (*ReplicaSet) GetStatus

func (x *ReplicaSet) GetStatus() *ReplicaSetStatus

func (*ReplicaSet) ProtoMessage

func (*ReplicaSet) ProtoMessage()

func (*ReplicaSet) ProtoReflect added in v1.2.4

func (x *ReplicaSet) ProtoReflect() protoreflect.Message

func (*ReplicaSet) Reset

func (x *ReplicaSet) Reset()

func (*ReplicaSet) String

func (x *ReplicaSet) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*ReplicaSetCondition) Descriptor deprecated

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

Deprecated: Use ReplicaSetCondition.ProtoReflect.Descriptor instead.

func (*ReplicaSetCondition) GetLastTransitionTime

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

func (*ReplicaSetCondition) GetMessage

func (x *ReplicaSetCondition) GetMessage() string

func (*ReplicaSetCondition) GetReason

func (x *ReplicaSetCondition) GetReason() string

func (*ReplicaSetCondition) GetStatus

func (x *ReplicaSetCondition) GetStatus() string

func (*ReplicaSetCondition) GetType

func (x *ReplicaSetCondition) GetType() string

func (*ReplicaSetCondition) ProtoMessage

func (*ReplicaSetCondition) ProtoMessage()

func (*ReplicaSetCondition) ProtoReflect added in v1.2.4

func (x *ReplicaSetCondition) ProtoReflect() protoreflect.Message

func (*ReplicaSetCondition) Reset

func (x *ReplicaSetCondition) Reset()

func (*ReplicaSetCondition) String

func (x *ReplicaSetCondition) String() string

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"`
	// contains filtered or unexported fields
}

ReplicaSetList is a collection of ReplicaSets.

func (*ReplicaSetList) Descriptor deprecated

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

Deprecated: Use ReplicaSetList.ProtoReflect.Descriptor instead.

func (*ReplicaSetList) GetItems

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

func (*ReplicaSetList) GetMetadata

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

func (*ReplicaSetList) ProtoMessage

func (*ReplicaSetList) ProtoMessage()

func (*ReplicaSetList) ProtoReflect added in v1.2.4

func (x *ReplicaSetList) ProtoReflect() protoreflect.Message

func (*ReplicaSetList) Reset

func (x *ReplicaSetList) Reset()

func (*ReplicaSetList) String

func (x *ReplicaSetList) String() string

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"`
	// contains filtered or unexported fields
}

ReplicaSetSpec is the specification of a ReplicaSet.

func (*ReplicaSetSpec) Descriptor deprecated

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

Deprecated: Use ReplicaSetSpec.ProtoReflect.Descriptor instead.

func (*ReplicaSetSpec) GetMinReadySeconds

func (x *ReplicaSetSpec) GetMinReadySeconds() int32

func (*ReplicaSetSpec) GetReplicas

func (x *ReplicaSetSpec) GetReplicas() int32

func (*ReplicaSetSpec) GetSelector

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

func (*ReplicaSetSpec) GetTemplate

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

func (*ReplicaSetSpec) ProtoMessage

func (*ReplicaSetSpec) ProtoMessage()

func (*ReplicaSetSpec) ProtoReflect added in v1.2.4

func (x *ReplicaSetSpec) ProtoReflect() protoreflect.Message

func (*ReplicaSetSpec) Reset

func (x *ReplicaSetSpec) Reset()

func (*ReplicaSetSpec) String

func (x *ReplicaSetSpec) String() string

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"`
	// contains filtered or unexported fields
}

ReplicaSetStatus represents the current status of a ReplicaSet.

func (*ReplicaSetStatus) Descriptor deprecated

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

Deprecated: Use ReplicaSetStatus.ProtoReflect.Descriptor instead.

func (*ReplicaSetStatus) GetAvailableReplicas

func (x *ReplicaSetStatus) GetAvailableReplicas() int32

func (*ReplicaSetStatus) GetConditions

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

func (*ReplicaSetStatus) GetFullyLabeledReplicas

func (x *ReplicaSetStatus) GetFullyLabeledReplicas() int32

func (*ReplicaSetStatus) GetObservedGeneration

func (x *ReplicaSetStatus) GetObservedGeneration() int64

func (*ReplicaSetStatus) GetReadyReplicas

func (x *ReplicaSetStatus) GetReadyReplicas() int32

func (*ReplicaSetStatus) GetReplicas

func (x *ReplicaSetStatus) GetReplicas() int32

func (*ReplicaSetStatus) ProtoMessage

func (*ReplicaSetStatus) ProtoMessage()

func (*ReplicaSetStatus) ProtoReflect added in v1.2.4

func (x *ReplicaSetStatus) ProtoReflect() protoreflect.Message

func (*ReplicaSetStatus) Reset

func (x *ReplicaSetStatus) Reset()

func (*ReplicaSetStatus) String

func (x *ReplicaSetStatus) String() string

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"`
	// contains filtered or unexported fields
}

DEPRECATED.

func (*RollbackConfig) Descriptor deprecated

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

Deprecated: Use RollbackConfig.ProtoReflect.Descriptor instead.

func (*RollbackConfig) GetRevision

func (x *RollbackConfig) GetRevision() int64

func (*RollbackConfig) ProtoMessage

func (*RollbackConfig) ProtoMessage()

func (*RollbackConfig) ProtoReflect added in v1.2.4

func (x *RollbackConfig) ProtoReflect() protoreflect.Message

func (*RollbackConfig) Reset

func (x *RollbackConfig) Reset()

func (*RollbackConfig) String

func (x *RollbackConfig) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*RollingUpdateDaemonSet) Descriptor deprecated added in v0.3.0

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

Deprecated: Use RollingUpdateDaemonSet.ProtoReflect.Descriptor instead.

func (*RollingUpdateDaemonSet) GetMaxUnavailable added in v0.3.0

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

func (*RollingUpdateDaemonSet) ProtoMessage added in v0.3.0

func (*RollingUpdateDaemonSet) ProtoMessage()

func (*RollingUpdateDaemonSet) ProtoReflect added in v1.2.4

func (x *RollingUpdateDaemonSet) ProtoReflect() protoreflect.Message

func (*RollingUpdateDaemonSet) Reset added in v0.3.0

func (x *RollingUpdateDaemonSet) Reset()

func (*RollingUpdateDaemonSet) String added in v0.3.0

func (x *RollingUpdateDaemonSet) String() string

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"`
	// contains filtered or unexported fields
}

Spec to control the desired behavior of rolling update.

func (*RollingUpdateDeployment) Descriptor deprecated

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

Deprecated: Use RollingUpdateDeployment.ProtoReflect.Descriptor instead.

func (*RollingUpdateDeployment) GetMaxSurge

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

func (*RollingUpdateDeployment) GetMaxUnavailable

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

func (*RollingUpdateDeployment) ProtoMessage

func (*RollingUpdateDeployment) ProtoMessage()

func (*RollingUpdateDeployment) ProtoReflect added in v1.2.4

func (x *RollingUpdateDeployment) ProtoReflect() protoreflect.Message

func (*RollingUpdateDeployment) Reset

func (x *RollingUpdateDeployment) Reset()

func (*RollingUpdateDeployment) String

func (x *RollingUpdateDeployment) String() string

type RunAsGroupStrategyOptions added in v1.2.4

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"`
	// contains filtered or unexported fields
}

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

func (*RunAsGroupStrategyOptions) Descriptor deprecated added in v1.2.4

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

Deprecated: Use RunAsGroupStrategyOptions.ProtoReflect.Descriptor instead.

func (*RunAsGroupStrategyOptions) GetRanges added in v1.2.4

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

func (*RunAsGroupStrategyOptions) GetRule added in v1.2.4

func (x *RunAsGroupStrategyOptions) GetRule() string

func (*RunAsGroupStrategyOptions) ProtoMessage added in v1.2.4

func (*RunAsGroupStrategyOptions) ProtoMessage()

func (*RunAsGroupStrategyOptions) ProtoReflect added in v1.2.4

func (*RunAsGroupStrategyOptions) Reset added in v1.2.4

func (x *RunAsGroupStrategyOptions) Reset()

func (*RunAsGroupStrategyOptions) String added in v1.2.4

func (x *RunAsGroupStrategyOptions) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*RunAsUserStrategyOptions) Descriptor deprecated

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

Deprecated: Use RunAsUserStrategyOptions.ProtoReflect.Descriptor instead.

func (*RunAsUserStrategyOptions) GetRanges

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

func (*RunAsUserStrategyOptions) GetRule

func (x *RunAsUserStrategyOptions) GetRule() string

func (*RunAsUserStrategyOptions) ProtoMessage

func (*RunAsUserStrategyOptions) ProtoMessage()

func (*RunAsUserStrategyOptions) ProtoReflect added in v1.2.4

func (x *RunAsUserStrategyOptions) ProtoReflect() protoreflect.Message

func (*RunAsUserStrategyOptions) Reset

func (x *RunAsUserStrategyOptions) Reset()

func (*RunAsUserStrategyOptions) String

func (x *RunAsUserStrategyOptions) String() string

type RuntimeClassStrategyOptions added in v1.2.4

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"`
	// contains filtered or unexported fields
}

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

func (*RuntimeClassStrategyOptions) Descriptor deprecated added in v1.2.4

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

Deprecated: Use RuntimeClassStrategyOptions.ProtoReflect.Descriptor instead.

func (*RuntimeClassStrategyOptions) GetAllowedRuntimeClassNames added in v1.2.4

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

func (*RuntimeClassStrategyOptions) GetDefaultRuntimeClassName added in v1.2.4

func (x *RuntimeClassStrategyOptions) GetDefaultRuntimeClassName() string

func (*RuntimeClassStrategyOptions) ProtoMessage added in v1.2.4

func (*RuntimeClassStrategyOptions) ProtoMessage()

func (*RuntimeClassStrategyOptions) ProtoReflect added in v1.2.4

func (*RuntimeClassStrategyOptions) Reset added in v1.2.4

func (x *RuntimeClassStrategyOptions) Reset()

func (*RuntimeClassStrategyOptions) String added in v1.2.4

func (x *RuntimeClassStrategyOptions) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*SELinuxStrategyOptions) Descriptor deprecated

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

Deprecated: Use SELinuxStrategyOptions.ProtoReflect.Descriptor instead.

func (*SELinuxStrategyOptions) GetRule

func (x *SELinuxStrategyOptions) GetRule() string

func (*SELinuxStrategyOptions) GetSeLinuxOptions

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

func (*SELinuxStrategyOptions) ProtoMessage

func (*SELinuxStrategyOptions) ProtoMessage()

func (*SELinuxStrategyOptions) ProtoReflect added in v1.2.4

func (x *SELinuxStrategyOptions) ProtoReflect() protoreflect.Message

func (*SELinuxStrategyOptions) Reset

func (x *SELinuxStrategyOptions) Reset()

func (*SELinuxStrategyOptions) String

func (x *SELinuxStrategyOptions) String() string

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"`
	// contains filtered or unexported fields
}

represents a scaling request for a resource.

func (*Scale) Descriptor deprecated

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

Deprecated: Use Scale.ProtoReflect.Descriptor instead.

func (*Scale) GetMetadata

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

func (*Scale) GetSpec

func (x *Scale) GetSpec() *ScaleSpec

func (*Scale) GetStatus

func (x *Scale) GetStatus() *ScaleStatus

func (*Scale) ProtoMessage

func (*Scale) ProtoMessage()

func (*Scale) ProtoReflect added in v1.2.4

func (x *Scale) ProtoReflect() protoreflect.Message

func (*Scale) Reset

func (x *Scale) Reset()

func (*Scale) String

func (x *Scale) String() string

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"`
	// contains filtered or unexported fields
}

describes the attributes of a scale subresource

func (*ScaleSpec) Descriptor deprecated

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

Deprecated: Use ScaleSpec.ProtoReflect.Descriptor instead.

func (*ScaleSpec) GetReplicas

func (x *ScaleSpec) GetReplicas() int32

func (*ScaleSpec) ProtoMessage

func (*ScaleSpec) ProtoMessage()

func (*ScaleSpec) ProtoReflect added in v1.2.4

func (x *ScaleSpec) ProtoReflect() protoreflect.Message

func (*ScaleSpec) Reset

func (x *ScaleSpec) Reset()

func (*ScaleSpec) String

func (x *ScaleSpec) String() string

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"`
	// contains filtered or unexported fields
}

represents the current status of a scale subresource.

func (*ScaleStatus) Descriptor deprecated

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

Deprecated: Use ScaleStatus.ProtoReflect.Descriptor instead.

func (*ScaleStatus) GetReplicas

func (x *ScaleStatus) GetReplicas() int32

func (*ScaleStatus) GetSelector

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

func (*ScaleStatus) GetTargetSelector

func (x *ScaleStatus) GetTargetSelector() string

func (*ScaleStatus) ProtoMessage

func (*ScaleStatus) ProtoMessage()

func (*ScaleStatus) ProtoReflect added in v1.2.4

func (x *ScaleStatus) ProtoReflect() protoreflect.Message

func (*ScaleStatus) Reset

func (x *ScaleStatus) Reset()

func (*ScaleStatus) String

func (x *ScaleStatus) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*SupplementalGroupsStrategyOptions) Descriptor deprecated

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

Deprecated: Use SupplementalGroupsStrategyOptions.ProtoReflect.Descriptor instead.

func (*SupplementalGroupsStrategyOptions) GetRanges

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

func (*SupplementalGroupsStrategyOptions) GetRule

func (*SupplementalGroupsStrategyOptions) ProtoMessage

func (*SupplementalGroupsStrategyOptions) ProtoMessage()

func (*SupplementalGroupsStrategyOptions) ProtoReflect added in v1.2.4

func (*SupplementalGroupsStrategyOptions) Reset

func (*SupplementalGroupsStrategyOptions) String

Jump to

Keyboard shortcuts

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