v1beta1

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 14 Imported by: 4,886

Documentation

Index

Constants

View Source
const (
	// DEPRECATED: DefaultDaemonSetUniqueLabelKey is used instead.
	// DaemonSetTemplateGenerationKey is the key of the labels that is added
	// to daemon set pods to distinguish between old and new pod templates
	// during DaemonSet template update.
	DaemonSetTemplateGenerationKey string = "pod-template-generation"

	// DefaultDaemonSetUniqueLabelKey is the default label key that is added
	// to existing DaemonSet pods to distinguish between old and new
	// DaemonSet pods during DaemonSet template updates.
	DefaultDaemonSetUniqueLabelKey = appsv1beta1.ControllerRevisionHashLabelKey
)
View Source
const (
	// PathTypeExact matches the URL path exactly and with case sensitivity.
	PathTypeExact = PathType("Exact")

	// PathTypePrefix matches based on a URL path prefix split by '/'. Matching
	// is case sensitive and done on a path element by element basis. A path
	// element refers to 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). If multiple matching paths exist in an Ingress spec, the
	// longest matching path is given priority.
	// Examples:
	// - /foo/bar does not match requests to /foo/barbaz
	// - /foo/bar matches request to /foo/bar and /foo/bar/baz
	// - /foo and /foo/ both match requests to /foo and /foo/. If both paths are
	//   present in an Ingress spec, the longest matching path (/foo/) is given
	//   priority.
	PathTypePrefix = PathType("Prefix")

	// PathTypeImplementationSpecific matching is up to the IngressClass.
	// Implementations can treat this as a separate PathType or treat it
	// identically to Prefix or Exact path types.
	PathTypeImplementationSpecific = PathType("ImplementationSpecific")
)
View Source
const (
	// DefaultDeploymentUniqueLabelKey is the default key of the selector that is added
	// to existing RCs (and label key that is added to its pods) to prevent the existing RCs
	// to select new pods (and old pods being select by new RC).
	DefaultDeploymentUniqueLabelKey string = "pod-template-hash"
)
View Source
const GroupName = "extensions"

GroupName is the group name use in this package

Variables

View Source
var (
	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1beta1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type DaemonSet

type DaemonSet struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// 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 `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`

	// 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 `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

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) APILifecycleDeprecated added in v0.19.0

func (in *DaemonSet) APILifecycleDeprecated() (major, minor int)

APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.

func (*DaemonSet) APILifecycleIntroduced added in v0.19.0

func (in *DaemonSet) APILifecycleIntroduced() (major, minor int)

APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.

func (*DaemonSet) APILifecycleRemoved added in v0.19.0

func (in *DaemonSet) APILifecycleRemoved() (major, minor int)

APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.

func (*DaemonSet) APILifecycleReplacement added in v0.19.0

func (in *DaemonSet) APILifecycleReplacement() schema.GroupVersionKind

APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type. It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.

func (*DaemonSet) DeepCopy

func (in *DaemonSet) DeepCopy() *DaemonSet

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

func (*DaemonSet) DeepCopyInto

func (in *DaemonSet) DeepCopyInto(out *DaemonSet)

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

func (*DaemonSet) DeepCopyObject

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

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

func (*DaemonSet) Descriptor

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

func (*DaemonSet) Marshal

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

func (*DaemonSet) MarshalTo

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

func (*DaemonSet) MarshalToSizedBuffer added in v0.16.4

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

func (*DaemonSet) ProtoMessage

func (*DaemonSet) ProtoMessage()

func (*DaemonSet) Reset

func (m *DaemonSet) Reset()

func (*DaemonSet) Size

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

func (*DaemonSet) String

func (this *DaemonSet) String() string

func (DaemonSet) SwaggerDoc

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

func (*DaemonSet) Unmarshal

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

func (*DaemonSet) XXX_DiscardUnknown added in v0.16.4

func (m *DaemonSet) XXX_DiscardUnknown()

func (*DaemonSet) XXX_Marshal added in v0.16.4

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

func (*DaemonSet) XXX_Merge added in v0.16.4

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

func (*DaemonSet) XXX_Size added in v0.16.4

func (m *DaemonSet) XXX_Size() int

func (*DaemonSet) XXX_Unmarshal added in v0.16.4

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

type DaemonSetCondition

type DaemonSetCondition struct {
	// Type of DaemonSet condition.
	Type DaemonSetConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=DaemonSetConditionType"`
	// Status of the condition, one of True, False, Unknown.
	Status v1.ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=k8s.io/api/core/v1.ConditionStatus"`
	// Last time the condition transitioned from one status to another.
	// +optional
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,3,opt,name=lastTransitionTime"`
	// The reason for the condition's last transition.
	// +optional
	Reason string `json:"reason,omitempty" protobuf:"bytes,4,opt,name=reason"`
	// A human readable message indicating details about the transition.
	// +optional
	Message string `json:"message,omitempty" protobuf:"bytes,5,opt,name=message"`
}

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

func (*DaemonSetCondition) DeepCopy

func (in *DaemonSetCondition) DeepCopy() *DaemonSetCondition

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

func (*DaemonSetCondition) DeepCopyInto

func (in *DaemonSetCondition) DeepCopyInto(out *DaemonSetCondition)

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

func (*DaemonSetCondition) Descriptor

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

func (*DaemonSetCondition) Marshal

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

func (*DaemonSetCondition) MarshalTo

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

func (*DaemonSetCondition) MarshalToSizedBuffer added in v0.16.4

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

func (*DaemonSetCondition) ProtoMessage

func (*DaemonSetCondition) ProtoMessage()

func (*DaemonSetCondition) Reset

func (m *DaemonSetCondition) Reset()

func (*DaemonSetCondition) Size

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

func (*DaemonSetCondition) String

func (this *DaemonSetCondition) String() string

func (DaemonSetCondition) SwaggerDoc

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

func (*DaemonSetCondition) Unmarshal

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

func (*DaemonSetCondition) XXX_DiscardUnknown added in v0.16.4

func (m *DaemonSetCondition) XXX_DiscardUnknown()

func (*DaemonSetCondition) XXX_Marshal added in v0.16.4

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

func (*DaemonSetCondition) XXX_Merge added in v0.16.4

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

func (*DaemonSetCondition) XXX_Size added in v0.16.4

func (m *DaemonSetCondition) XXX_Size() int

func (*DaemonSetCondition) XXX_Unmarshal added in v0.16.4

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

type DaemonSetConditionType

type DaemonSetConditionType string

type DaemonSetList

type DaemonSetList struct {
	metav1.TypeMeta `json:",inline"`
	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// A list of daemon sets.
	Items []DaemonSet `json:"items" protobuf:"bytes,2,rep,name=items"`
}

DaemonSetList is a collection of daemon sets.

func (*DaemonSetList) APILifecycleDeprecated added in v0.19.0

func (in *DaemonSetList) APILifecycleDeprecated() (major, minor int)

APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.

func (*DaemonSetList) APILifecycleIntroduced added in v0.19.0

func (in *DaemonSetList) APILifecycleIntroduced() (major, minor int)

APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.

func (*DaemonSetList) APILifecycleRemoved added in v0.19.0

func (in *DaemonSetList) APILifecycleRemoved() (major, minor int)

APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.

func (*DaemonSetList) APILifecycleReplacement added in v0.19.0

func (in *DaemonSetList) APILifecycleReplacement() schema.GroupVersionKind

APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type. It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.

func (*DaemonSetList) DeepCopy

func (in *DaemonSetList) DeepCopy() *DaemonSetList

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

func (*DaemonSetList) DeepCopyInto

func (in *DaemonSetList) DeepCopyInto(out *DaemonSetList)

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

func (*DaemonSetList) DeepCopyObject

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

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

func (*DaemonSetList) Descriptor

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

func (*DaemonSetList) Marshal

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

func (*DaemonSetList) MarshalTo

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

func (*DaemonSetList) MarshalToSizedBuffer added in v0.16.4

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

func (*DaemonSetList) ProtoMessage

func (*DaemonSetList) ProtoMessage()

func (*DaemonSetList) Reset

func (m *DaemonSetList) Reset()

func (*DaemonSetList) Size

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

func (*DaemonSetList) String

func (this *DaemonSetList) String() string

func (DaemonSetList) SwaggerDoc

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

func (*DaemonSetList) Unmarshal

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

func (*DaemonSetList) XXX_DiscardUnknown added in v0.16.4

func (m *DaemonSetList) XXX_DiscardUnknown()

func (*DaemonSetList) XXX_Marshal added in v0.16.4

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

func (*DaemonSetList) XXX_Merge added in v0.16.4

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

func (*DaemonSetList) XXX_Size added in v0.16.4

func (m *DaemonSetList) XXX_Size() int

func (*DaemonSetList) XXX_Unmarshal added in v0.16.4

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

type DaemonSetSpec

type DaemonSetSpec struct {
	// A label query over pods that are managed by the daemon set.
	// Must match in order to be controlled.
	// If empty, defaulted to labels on Pod template.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
	// +optional
	Selector *metav1.LabelSelector `json:"selector,omitempty" protobuf:"bytes,1,opt,name=selector"`

	// 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 v1.PodTemplateSpec `json:"template" protobuf:"bytes,2,opt,name=template"`

	// An update strategy to replace existing DaemonSet pods with new pods.
	// +optional
	UpdateStrategy DaemonSetUpdateStrategy `json:"updateStrategy,omitempty" protobuf:"bytes,3,opt,name=updateStrategy"`

	// 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 `json:"minReadySeconds,omitempty" protobuf:"varint,4,opt,name=minReadySeconds"`

	// 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 `json:"templateGeneration,omitempty" protobuf:"varint,5,opt,name=templateGeneration"`

	// 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 `json:"revisionHistoryLimit,omitempty" protobuf:"varint,6,opt,name=revisionHistoryLimit"`
}

DaemonSetSpec is the specification of a daemon set.

func (*DaemonSetSpec) DeepCopy

func (in *DaemonSetSpec) DeepCopy() *DaemonSetSpec

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

func (*DaemonSetSpec) DeepCopyInto

func (in *DaemonSetSpec) DeepCopyInto(out *DaemonSetSpec)

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

func (*DaemonSetSpec) Descriptor

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

func (*DaemonSetSpec) Marshal

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

func (*DaemonSetSpec) MarshalTo

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

func (*DaemonSetSpec) MarshalToSizedBuffer added in v0.16.4

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

func (*DaemonSetSpec) ProtoMessage

func (*DaemonSetSpec) ProtoMessage()

func (*DaemonSetSpec) Reset

func (m *DaemonSetSpec) Reset()

func (*DaemonSetSpec) Size

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

func (*DaemonSetSpec) String

func (this *DaemonSetSpec) String() string

func (DaemonSetSpec) SwaggerDoc

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

func (*DaemonSetSpec) Unmarshal

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

func (*DaemonSetSpec) XXX_DiscardUnknown added in v0.16.4

func (m *DaemonSetSpec) XXX_DiscardUnknown()

func (*DaemonSetSpec) XXX_Marshal added in v0.16.4

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

func (*DaemonSetSpec) XXX_Merge added in v0.16.4

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

func (*DaemonSetSpec) XXX_Size added in v0.16.4

func (m *DaemonSetSpec) XXX_Size() int

func (*DaemonSetSpec) XXX_Unmarshal added in v0.16.4

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

type DaemonSetStatus

type DaemonSetStatus struct {
	// The number of nodes that are running at least 1
	// daemon pod and are supposed to run the daemon pod.
	// More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
	CurrentNumberScheduled int32 `json:"currentNumberScheduled" protobuf:"varint,1,opt,name=currentNumberScheduled"`

	// 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 `json:"numberMisscheduled" protobuf:"varint,2,opt,name=numberMisscheduled"`

	// 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 `json:"desiredNumberScheduled" protobuf:"varint,3,opt,name=desiredNumberScheduled"`

	// 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 `json:"numberReady" protobuf:"varint,4,opt,name=numberReady"`

	// The most recent generation observed by the daemon set controller.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,5,opt,name=observedGeneration"`

	// The total number of nodes that are running updated daemon pod
	// +optional
	UpdatedNumberScheduled int32 `json:"updatedNumberScheduled,omitempty" protobuf:"varint,6,opt,name=updatedNumberScheduled"`

	// 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 `json:"numberAvailable,omitempty" protobuf:"varint,7,opt,name=numberAvailable"`

	// 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 `json:"numberUnavailable,omitempty" protobuf:"varint,8,opt,name=numberUnavailable"`

	// 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 `json:"collisionCount,omitempty" protobuf:"varint,9,opt,name=collisionCount"`

	// Represents the latest available observations of a DaemonSet's current state.
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=type
	Conditions []DaemonSetCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,10,rep,name=conditions"`
}

DaemonSetStatus represents the current status of a daemon set.

func (*DaemonSetStatus) DeepCopy

func (in *DaemonSetStatus) DeepCopy() *DaemonSetStatus

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

func (*DaemonSetStatus) DeepCopyInto

func (in *DaemonSetStatus) DeepCopyInto(out *DaemonSetStatus)

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

func (*DaemonSetStatus) Descriptor

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

func (*DaemonSetStatus) Marshal

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

func (*DaemonSetStatus) MarshalTo

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

func (*DaemonSetStatus) MarshalToSizedBuffer added in v0.16.4

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

func (*DaemonSetStatus) ProtoMessage

func (*DaemonSetStatus) ProtoMessage()

func (*DaemonSetStatus) Reset

func (m *DaemonSetStatus) Reset()

func (*DaemonSetStatus) Size

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

func (*DaemonSetStatus) String

func (this *DaemonSetStatus) String() string

func (DaemonSetStatus) SwaggerDoc

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

func (*DaemonSetStatus) Unmarshal

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

func (*DaemonSetStatus) XXX_DiscardUnknown added in v0.16.4

func (m *DaemonSetStatus) XXX_DiscardUnknown()

func (*DaemonSetStatus) XXX_Marshal added in v0.16.4

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

func (*DaemonSetStatus) XXX_Merge added in v0.16.4

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

func (*DaemonSetStatus) XXX_Size added in v0.16.4

func (m *DaemonSetStatus) XXX_Size() int

func (*DaemonSetStatus) XXX_Unmarshal added in v0.16.4

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

type DaemonSetUpdateStrategy

type DaemonSetUpdateStrategy struct {
	// Type of daemon set update. Can be "RollingUpdate" or "OnDelete".
	// Default is OnDelete.
	// +optional
	Type DaemonSetUpdateStrategyType `json:"type,omitempty" protobuf:"bytes,1,opt,name=type"`

	// 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 `json:"rollingUpdate,omitempty" protobuf:"bytes,2,opt,name=rollingUpdate"`
}

DaemonSetUpdateStrategy indicates the strategy that the DaemonSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy.

func (*DaemonSetUpdateStrategy) DeepCopy

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

func (*DaemonSetUpdateStrategy) DeepCopyInto

func (in *DaemonSetUpdateStrategy) DeepCopyInto(out *DaemonSetUpdateStrategy)

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

func (*DaemonSetUpdateStrategy) Descriptor

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

func (*DaemonSetUpdateStrategy) Marshal

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

func (*DaemonSetUpdateStrategy) MarshalTo

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

func (*DaemonSetUpdateStrategy) MarshalToSizedBuffer added in v0.16.4

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

func (*DaemonSetUpdateStrategy) ProtoMessage

func (*DaemonSetUpdateStrategy) ProtoMessage()

func (*DaemonSetUpdateStrategy) Reset

func (m *DaemonSetUpdateStrategy) Reset()

func (*DaemonSetUpdateStrategy) Size

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

func (*DaemonSetUpdateStrategy) String

func (this *DaemonSetUpdateStrategy) String() string

func (DaemonSetUpdateStrategy) SwaggerDoc

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

func (*DaemonSetUpdateStrategy) Unmarshal

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

func (*DaemonSetUpdateStrategy) XXX_DiscardUnknown added in v0.16.4

func (m *DaemonSetUpdateStrategy) XXX_DiscardUnknown()

func (*DaemonSetUpdateStrategy) XXX_Marshal added in v0.16.4

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

func (*DaemonSetUpdateStrategy) XXX_Merge added in v0.16.4

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

func (*DaemonSetUpdateStrategy) XXX_Size added in v0.16.4

func (m *DaemonSetUpdateStrategy) XXX_Size() int

func (*DaemonSetUpdateStrategy) XXX_Unmarshal added in v0.16.4

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

type DaemonSetUpdateStrategyType

type DaemonSetUpdateStrategyType string
const (
	// Replace the old daemons by new ones using rolling update i.e replace them on each node one after the other.
	RollingUpdateDaemonSetStrategyType DaemonSetUpdateStrategyType = "RollingUpdate"

	// Replace the old daemons only when it's killed
	OnDeleteDaemonSetStrategyType DaemonSetUpdateStrategyType = "OnDelete"
)

type Deployment

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

	// Specification of the desired behavior of the Deployment.
	// +optional
	Spec DeploymentSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`

	// Most recently observed status of the Deployment.
	// +optional
	Status DeploymentStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

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) APILifecycleDeprecated added in v0.19.0

func (in *Deployment) APILifecycleDeprecated() (major, minor int)

APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.

func (*Deployment) APILifecycleIntroduced added in v0.19.0

func (in *Deployment) APILifecycleIntroduced() (major, minor int)

APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.

func (*Deployment) APILifecycleRemoved added in v0.19.0

func (in *Deployment) APILifecycleRemoved() (major, minor int)

APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.

func (*Deployment) APILifecycleReplacement added in v0.19.0

func (in *Deployment) APILifecycleReplacement() schema.GroupVersionKind

APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type. It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.

func (*Deployment) DeepCopy

func (in *Deployment) DeepCopy() *Deployment

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

func (*Deployment) DeepCopyInto

func (in *Deployment) DeepCopyInto(out *Deployment)

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

func (*Deployment) DeepCopyObject

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

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

func (*Deployment) Descriptor

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

func (*Deployment) Marshal

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

func (*Deployment) MarshalTo

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

func (*Deployment) MarshalToSizedBuffer added in v0.16.4

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

func (*Deployment) ProtoMessage

func (*Deployment) ProtoMessage()

func (*Deployment) Reset

func (m *Deployment) Reset()

func (*Deployment) Size

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

func (*Deployment) String

func (this *Deployment) String() string

func (Deployment) SwaggerDoc

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

func (*Deployment) Unmarshal

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

func (*Deployment) XXX_DiscardUnknown added in v0.16.4

func (m *Deployment) XXX_DiscardUnknown()

func (*Deployment) XXX_Marshal added in v0.16.4

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

func (*Deployment) XXX_Merge added in v0.16.4

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

func (*Deployment) XXX_Size added in v0.16.4

func (m *Deployment) XXX_Size() int

func (*Deployment) XXX_Unmarshal added in v0.16.4

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

type DeploymentCondition

type DeploymentCondition struct {
	// Type of deployment condition.
	Type DeploymentConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=DeploymentConditionType"`
	// Status of the condition, one of True, False, Unknown.
	Status v1.ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=k8s.io/api/core/v1.ConditionStatus"`
	// The last time this condition was updated.
	LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty" protobuf:"bytes,6,opt,name=lastUpdateTime"`
	// Last time the condition transitioned from one status to another.
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,7,opt,name=lastTransitionTime"`
	// The reason for the condition's last transition.
	Reason string `json:"reason,omitempty" protobuf:"bytes,4,opt,name=reason"`
	// A human readable message indicating details about the transition.
	Message string `json:"message,omitempty" protobuf:"bytes,5,opt,name=message"`
}

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

func (*DeploymentCondition) DeepCopy

func (in *DeploymentCondition) DeepCopy() *DeploymentCondition

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

func (*DeploymentCondition) DeepCopyInto

func (in *DeploymentCondition) DeepCopyInto(out *DeploymentCondition)

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

func (*DeploymentCondition) Descriptor

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

func (*DeploymentCondition) Marshal

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

func (*DeploymentCondition) MarshalTo

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

func (*DeploymentCondition) MarshalToSizedBuffer added in v0.16.4

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

func (*DeploymentCondition) ProtoMessage

func (*DeploymentCondition) ProtoMessage()

func (*DeploymentCondition) Reset

func (m *DeploymentCondition) Reset()

func (*DeploymentCondition) Size

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

func (*DeploymentCondition) String

func (this *DeploymentCondition) String() string

func (DeploymentCondition) SwaggerDoc

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

func (*DeploymentCondition) Unmarshal

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

func (*DeploymentCondition) XXX_DiscardUnknown added in v0.16.4

func (m *DeploymentCondition) XXX_DiscardUnknown()

func (*DeploymentCondition) XXX_Marshal added in v0.16.4

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

func (*DeploymentCondition) XXX_Merge added in v0.16.4

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

func (*DeploymentCondition) XXX_Size added in v0.16.4

func (m *DeploymentCondition) XXX_Size() int

func (*DeploymentCondition) XXX_Unmarshal added in v0.16.4

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

type DeploymentConditionType

type DeploymentConditionType string
const (
	// Available means the deployment is available, ie. at least the minimum available
	// replicas required are up and running for at least minReadySeconds.
	DeploymentAvailable DeploymentConditionType = "Available"
	// Progressing means the deployment is progressing. Progress for a deployment is
	// considered when a new replica set is created or adopted, and when new pods scale
	// up or old pods scale down. Progress is not estimated for paused deployments or
	// when progressDeadlineSeconds is not specified.
	DeploymentProgressing DeploymentConditionType = "Progressing"
	// ReplicaFailure is added in a deployment when one of its pods fails to be created
	// or deleted.
	DeploymentReplicaFailure DeploymentConditionType = "ReplicaFailure"
)

These are valid conditions of a deployment.

type DeploymentList

type DeploymentList struct {
	metav1.TypeMeta `json:",inline"`
	// Standard list metadata.
	// +optional
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is the list of Deployments.
	Items []Deployment `json:"items" protobuf:"bytes,2,rep,name=items"`
}

DeploymentList is a list of Deployments.

func (*DeploymentList) APILifecycleDeprecated added in v0.19.0

func (in *DeploymentList) APILifecycleDeprecated() (major, minor int)

APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.

func (*DeploymentList) APILifecycleIntroduced added in v0.19.0

func (in *DeploymentList) APILifecycleIntroduced() (major, minor int)

APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.

func (*DeploymentList) APILifecycleRemoved added in v0.19.0

func (in *DeploymentList) APILifecycleRemoved() (major, minor int)

APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.

func (*DeploymentList) APILifecycleReplacement added in v0.19.0

func (in *DeploymentList) APILifecycleReplacement() schema.GroupVersionKind

APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type. It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.

func (*DeploymentList) DeepCopy

func (in *DeploymentList) DeepCopy() *DeploymentList

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

func (*DeploymentList) DeepCopyInto

func (in *DeploymentList) DeepCopyInto(out *DeploymentList)

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

func (*DeploymentList) DeepCopyObject

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

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

func (*DeploymentList) Descriptor

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

func (*DeploymentList) Marshal

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

func (*DeploymentList) MarshalTo

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

func (*DeploymentList) MarshalToSizedBuffer added in v0.16.4

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

func (*DeploymentList) ProtoMessage

func (*DeploymentList) ProtoMessage()

func (*DeploymentList) Reset

func (m *DeploymentList) Reset()

func (*DeploymentList) Size

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

func (*DeploymentList) String

func (this *DeploymentList) String() string

func (DeploymentList) SwaggerDoc

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

func (*DeploymentList) Unmarshal

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

func (*DeploymentList) XXX_DiscardUnknown added in v0.16.4

func (m *DeploymentList) XXX_DiscardUnknown()

func (*DeploymentList) XXX_Marshal added in v0.16.4

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

func (*DeploymentList) XXX_Merge added in v0.16.4

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

func (*DeploymentList) XXX_Size added in v0.16.4

func (m *DeploymentList) XXX_Size() int

func (*DeploymentList) XXX_Unmarshal added in v0.16.4

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

type DeploymentRollback

type DeploymentRollback struct {
	metav1.TypeMeta `json:",inline"`
	// Required: This must match the Name of a deployment.
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
	// The annotations to be updated to a deployment
	// +optional
	UpdatedAnnotations map[string]string `json:"updatedAnnotations,omitempty" protobuf:"bytes,2,rep,name=updatedAnnotations"`
	// The config of this deployment rollback.
	RollbackTo RollbackConfig `json:"rollbackTo" protobuf:"bytes,3,opt,name=rollbackTo"`
}

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

func (*DeploymentRollback) APILifecycleDeprecated added in v0.19.0

func (in *DeploymentRollback) APILifecycleDeprecated() (major, minor int)

APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.

func (*DeploymentRollback) APILifecycleIntroduced added in v0.19.0

func (in *DeploymentRollback) APILifecycleIntroduced() (major, minor int)

APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.

func (*DeploymentRollback) APILifecycleRemoved added in v0.19.0

func (in *DeploymentRollback) APILifecycleRemoved() (major, minor int)

APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.

func (*DeploymentRollback) DeepCopy

func (in *DeploymentRollback) DeepCopy() *DeploymentRollback

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

func (*DeploymentRollback) DeepCopyInto

func (in *DeploymentRollback) DeepCopyInto(out *DeploymentRollback)

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

func (*DeploymentRollback) DeepCopyObject

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

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

func (*DeploymentRollback) Descriptor

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

func (*DeploymentRollback) Marshal

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

func (*DeploymentRollback) MarshalTo

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

func (*DeploymentRollback) MarshalToSizedBuffer added in v0.16.4

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

func (*DeploymentRollback) ProtoMessage

func (*DeploymentRollback) ProtoMessage()

func (*DeploymentRollback) Reset

func (m *DeploymentRollback) Reset()

func (*DeploymentRollback) Size

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

func (*DeploymentRollback) String

func (this *DeploymentRollback) String() string

func (DeploymentRollback) SwaggerDoc

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

func (*DeploymentRollback) Unmarshal

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

func (*DeploymentRollback) XXX_DiscardUnknown added in v0.16.4

func (m *DeploymentRollback) XXX_DiscardUnknown()

func (*DeploymentRollback) XXX_Marshal added in v0.16.4

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

func (*DeploymentRollback) XXX_Merge added in v0.16.4

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

func (*DeploymentRollback) XXX_Size added in v0.16.4

func (m *DeploymentRollback) XXX_Size() int

func (*DeploymentRollback) XXX_Unmarshal added in v0.16.4

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

type DeploymentSpec

type DeploymentSpec struct {
	// Number of desired pods. This is a pointer to distinguish between explicit
	// zero and not specified. Defaults to 1.
	// +optional
	Replicas *int32 `json:"replicas,omitempty" protobuf:"varint,1,opt,name=replicas"`

	// Label selector for pods. Existing ReplicaSets whose pods are
	// selected by this will be the ones affected by this deployment.
	// +optional
	Selector *metav1.LabelSelector `json:"selector,omitempty" protobuf:"bytes,2,opt,name=selector"`

	// Template describes the pods that will be created.
	Template v1.PodTemplateSpec `json:"template" protobuf:"bytes,3,opt,name=template"`

	// The deployment strategy to use to replace existing pods with new ones.
	// +optional
	// +patchStrategy=retainKeys
	Strategy DeploymentStrategy `json:"strategy,omitempty" patchStrategy:"retainKeys" protobuf:"bytes,4,opt,name=strategy"`

	// 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 `json:"minReadySeconds,omitempty" protobuf:"varint,5,opt,name=minReadySeconds"`

	// 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 `json:"revisionHistoryLimit,omitempty" protobuf:"varint,6,opt,name=revisionHistoryLimit"`

	// Indicates that the deployment is paused and will not be processed by the
	// deployment controller.
	// +optional
	Paused bool `json:"paused,omitempty" protobuf:"varint,7,opt,name=paused"`

	// DEPRECATED.
	// The config this deployment is rolling back to. Will be cleared after rollback is done.
	// +optional
	RollbackTo *RollbackConfig `json:"rollbackTo,omitempty" protobuf:"bytes,8,opt,name=rollbackTo"`

	// 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 `json:"progressDeadlineSeconds,omitempty" protobuf:"varint,9,opt,name=progressDeadlineSeconds"`
}

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

func (*DeploymentSpec) DeepCopy

func (in *DeploymentSpec) DeepCopy() *DeploymentSpec

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

func (*DeploymentSpec) DeepCopyInto

func (in *DeploymentSpec) DeepCopyInto(out *DeploymentSpec)

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

func (*DeploymentSpec) Descriptor

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

func (*DeploymentSpec) Marshal

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

func (*DeploymentSpec) MarshalTo

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

func (*DeploymentSpec) MarshalToSizedBuffer added in v0.16.4

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

func (*DeploymentSpec) ProtoMessage

func (*DeploymentSpec) ProtoMessage()

func (*DeploymentSpec) Reset

func (m *DeploymentSpec) Reset()

func (*DeploymentSpec) Size

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

func (*DeploymentSpec) String

func (this *DeploymentSpec) String() string

func (DeploymentSpec) SwaggerDoc

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

func (*DeploymentSpec) Unmarshal

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

func (*DeploymentSpec) XXX_DiscardUnknown added in v0.16.4

func (m *DeploymentSpec) XXX_DiscardUnknown()

func (*DeploymentSpec) XXX_Marshal added in v0.16.4

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

func (*DeploymentSpec) XXX_Merge added in v0.16.4

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

func (*DeploymentSpec) XXX_Size added in v0.16.4

func (m *DeploymentSpec) XXX_Size() int

func (*DeploymentSpec) XXX_Unmarshal added in v0.16.4

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

type DeploymentStatus

type DeploymentStatus struct {
	// The generation observed by the deployment controller.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,1,opt,name=observedGeneration"`

	// Total number of non-terminated pods targeted by this deployment (their labels match the selector).
	// +optional
	Replicas int32 `json:"replicas,omitempty" protobuf:"varint,2,opt,name=replicas"`

	// Total number of non-terminated pods targeted by this deployment that have the desired template spec.
	// +optional
	UpdatedReplicas int32 `json:"updatedReplicas,omitempty" protobuf:"varint,3,opt,name=updatedReplicas"`

	// Total number of ready pods targeted by this deployment.
	// +optional
	ReadyReplicas int32 `json:"readyReplicas,omitempty" protobuf:"varint,7,opt,name=readyReplicas"`

	// Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
	// +optional
	AvailableReplicas int32 `json:"availableReplicas,omitempty" protobuf:"varint,4,opt,name=availableReplicas"`

	// 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 `json:"unavailableReplicas,omitempty" protobuf:"varint,5,opt,name=unavailableReplicas"`

	// Represents the latest available observations of a deployment's current state.
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=type
	Conditions []DeploymentCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,6,rep,name=conditions"`

	// 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 `json:"collisionCount,omitempty" protobuf:"varint,8,opt,name=collisionCount"`
}

DeploymentStatus is the most recently observed status of the Deployment.

func (*DeploymentStatus) DeepCopy

func (in *DeploymentStatus) DeepCopy() *DeploymentStatus

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

func (*DeploymentStatus) DeepCopyInto

func (in *DeploymentStatus) DeepCopyInto(out *DeploymentStatus)

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

func (*DeploymentStatus) Descriptor

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

func (*DeploymentStatus) Marshal

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

func (*DeploymentStatus) MarshalTo

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

func (*DeploymentStatus) MarshalToSizedBuffer added in v0.16.4

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

func (*DeploymentStatus) ProtoMessage

func (*DeploymentStatus) ProtoMessage()

func (*DeploymentStatus) Reset

func (m *DeploymentStatus) Reset()

func (*DeploymentStatus) Size

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

func (*DeploymentStatus) String

func (this *DeploymentStatus) String() string

func (DeploymentStatus) SwaggerDoc

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

func (*DeploymentStatus) Unmarshal

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

func (*DeploymentStatus) XXX_DiscardUnknown added in v0.16.4

func (m *DeploymentStatus) XXX_DiscardUnknown()

func (*DeploymentStatus) XXX_Marshal added in v0.16.4

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

func (*DeploymentStatus) XXX_Merge added in v0.16.4

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

func (*DeploymentStatus) XXX_Size added in v0.16.4

func (m *DeploymentStatus) XXX_Size() int

func (*DeploymentStatus) XXX_Unmarshal added in v0.16.4

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

type DeploymentStrategy

type DeploymentStrategy struct {
	// Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
	// +optional
	Type DeploymentStrategyType `json:"type,omitempty" protobuf:"bytes,1,opt,name=type,casttype=DeploymentStrategyType"`

	// 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 `json:"rollingUpdate,omitempty" protobuf:"bytes,2,opt,name=rollingUpdate"`
}

DeploymentStrategy describes how to replace existing pods with new ones.

func (*DeploymentStrategy) DeepCopy

func (in *DeploymentStrategy) DeepCopy() *DeploymentStrategy

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

func (*DeploymentStrategy) DeepCopyInto

func (in *DeploymentStrategy) DeepCopyInto(out *DeploymentStrategy)

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

func (*DeploymentStrategy) Descriptor

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

func (*DeploymentStrategy) Marshal

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

func (*DeploymentStrategy) MarshalTo

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

func (*DeploymentStrategy) MarshalToSizedBuffer added in v0.16.4

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

func (*DeploymentStrategy) ProtoMessage

func (*DeploymentStrategy) ProtoMessage()

func (*DeploymentStrategy) Reset

func (m *DeploymentStrategy) Reset()

func (*DeploymentStrategy) Size

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

func (*DeploymentStrategy) String

func (this *DeploymentStrategy) String() string

func (DeploymentStrategy) SwaggerDoc

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

func (*DeploymentStrategy) Unmarshal

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

func (*DeploymentStrategy) XXX_DiscardUnknown added in v0.16.4

func (m *DeploymentStrategy) XXX_DiscardUnknown()

func (*DeploymentStrategy) XXX_Marshal added in v0.16.4

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

func (*DeploymentStrategy) XXX_Merge added in v0.16.4

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

func (*DeploymentStrategy) XXX_Size added in v0.16.4

func (m *DeploymentStrategy) XXX_Size() int

func (*DeploymentStrategy) XXX_Unmarshal added in v0.16.4

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

type DeploymentStrategyType

type DeploymentStrategyType string
const (
	// Kill all existing pods before creating new ones.
	RecreateDeploymentStrategyType DeploymentStrategyType = "Recreate"

	// Replace the old RCs by new one using rolling update i.e gradually scale down the old RCs and scale up the new one.
	RollingUpdateDeploymentStrategyType DeploymentStrategyType = "RollingUpdate"
)

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 `json:"path,omitempty" protobuf:"bytes,1,opt,name=path"`

	// 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 *PathType `json:"pathType,omitempty" protobuf:"bytes,3,opt,name=pathType"`

	// Backend defines the referenced service endpoint to which the traffic
	// will be forwarded to.
	Backend IngressBackend `json:"backend" protobuf:"bytes,2,opt,name=backend"`
}

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

func (*HTTPIngressPath) DeepCopy

func (in *HTTPIngressPath) DeepCopy() *HTTPIngressPath

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

func (*HTTPIngressPath) DeepCopyInto

func (in *HTTPIngressPath) DeepCopyInto(out *HTTPIngressPath)

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

func (*HTTPIngressPath) Descriptor

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

func (*HTTPIngressPath) Marshal

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

func (*HTTPIngressPath) MarshalTo

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

func (*HTTPIngressPath) MarshalToSizedBuffer added in v0.16.4

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

func (*HTTPIngressPath) ProtoMessage

func (*HTTPIngressPath) ProtoMessage()

func (*HTTPIngressPath) Reset

func (m *HTTPIngressPath) Reset()

func (*HTTPIngressPath) Size

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

func (*HTTPIngressPath) String

func (this *HTTPIngressPath) String() string

func (HTTPIngressPath) SwaggerDoc

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

func (*HTTPIngressPath) Unmarshal

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

func (*HTTPIngressPath) XXX_DiscardUnknown added in v0.16.4

func (m *HTTPIngressPath) XXX_DiscardUnknown()

func (*HTTPIngressPath) XXX_Marshal added in v0.16.4

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

func (*HTTPIngressPath) XXX_Merge added in v0.16.4

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

func (*HTTPIngressPath) XXX_Size added in v0.16.4

func (m *HTTPIngressPath) XXX_Size() int

func (*HTTPIngressPath) XXX_Unmarshal added in v0.16.4

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

type HTTPIngressRuleValue

type HTTPIngressRuleValue struct {
	// A collection of paths that map requests to backends.
	// +listType=atomic
	Paths []HTTPIngressPath `json:"paths" protobuf:"bytes,1,rep,name=paths"`
}

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) DeepCopy

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

func (*HTTPIngressRuleValue) DeepCopyInto

func (in *HTTPIngressRuleValue) DeepCopyInto(out *HTTPIngressRuleValue)

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

func (*HTTPIngressRuleValue) Descriptor

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

func (*HTTPIngressRuleValue) Marshal

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

func (*HTTPIngressRuleValue) MarshalTo

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

func (*HTTPIngressRuleValue) MarshalToSizedBuffer added in v0.16.4

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

func (*HTTPIngressRuleValue) ProtoMessage

func (*HTTPIngressRuleValue) ProtoMessage()

func (*HTTPIngressRuleValue) Reset

func (m *HTTPIngressRuleValue) Reset()

func (*HTTPIngressRuleValue) Size

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

func (*HTTPIngressRuleValue) String

func (this *HTTPIngressRuleValue) String() string

func (HTTPIngressRuleValue) SwaggerDoc

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

func (*HTTPIngressRuleValue) Unmarshal

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

func (*HTTPIngressRuleValue) XXX_DiscardUnknown added in v0.16.4

func (m *HTTPIngressRuleValue) XXX_DiscardUnknown()

func (*HTTPIngressRuleValue) XXX_Marshal added in v0.16.4

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

func (*HTTPIngressRuleValue) XXX_Merge added in v0.16.4

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

func (*HTTPIngressRuleValue) XXX_Size added in v0.16.4

func (m *HTTPIngressRuleValue) XXX_Size() int

func (*HTTPIngressRuleValue) XXX_Unmarshal added in v0.16.4

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

type IPBlock

type IPBlock struct {
	// CIDR is a string representing the IP Block
	// Valid examples are "192.168.1.0/24" or "2001:db8::/64"
	CIDR string `json:"cidr" protobuf:"bytes,1,name=cidr"`
	// Except is a slice of CIDRs that should not be included within an IP Block
	// Valid examples are "192.168.1.0/24" or "2001:db8::/64"
	// Except values will be rejected if they are outside the CIDR range
	// +optional
	// +listType=atomic
	Except []string `json:"except,omitempty" protobuf:"bytes,2,rep,name=except"`
}

DEPRECATED 1.9 - This group version of IPBlock is deprecated by networking/v1/IPBlock. IPBlock describes a particular CIDR (Ex. "192.168.1.0/24","2001:db8::/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) DeepCopy

func (in *IPBlock) DeepCopy() *IPBlock

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

func (*IPBlock) DeepCopyInto

func (in *IPBlock) DeepCopyInto(out *IPBlock)

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

func (*IPBlock) Descriptor

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

func (*IPBlock) Marshal

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

func (*IPBlock) MarshalTo

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

func (*IPBlock) MarshalToSizedBuffer added in v0.16.4

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

func (*IPBlock) ProtoMessage

func (*IPBlock) ProtoMessage()

func (*IPBlock) Reset

func (m *IPBlock) Reset()

func (*IPBlock) Size

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

func (*IPBlock) String

func (this *IPBlock) String() string

func (IPBlock) SwaggerDoc

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

func (*IPBlock) Unmarshal

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

func (*IPBlock) XXX_DiscardUnknown added in v0.16.4

func (m *IPBlock) XXX_DiscardUnknown()

func (*IPBlock) XXX_Marshal added in v0.16.4

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

func (*IPBlock) XXX_Merge added in v0.16.4

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

func (*IPBlock) XXX_Size added in v0.16.4

func (m *IPBlock) XXX_Size() int

func (*IPBlock) XXX_Unmarshal added in v0.16.4

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

type Ingress

type Ingress struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// 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 `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`

	// 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 `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

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) APILifecycleDeprecated added in v0.19.0

func (in *Ingress) APILifecycleDeprecated() (major, minor int)

APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.

func (*Ingress) APILifecycleIntroduced added in v0.19.0

func (in *Ingress) APILifecycleIntroduced() (major, minor int)

APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.

func (*Ingress) APILifecycleRemoved added in v0.19.0

func (in *Ingress) APILifecycleRemoved() (major, minor int)

APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.

func (*Ingress) APILifecycleReplacement added in v0.19.0

func (in *Ingress) APILifecycleReplacement() schema.GroupVersionKind

APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type. It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.

func (*Ingress) DeepCopy

func (in *Ingress) DeepCopy() *Ingress

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

func (*Ingress) DeepCopyInto

func (in *Ingress) DeepCopyInto(out *Ingress)

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

func (*Ingress) DeepCopyObject

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

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

func (*Ingress) Descriptor

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

func (*Ingress) Marshal

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

func (*Ingress) MarshalTo

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

func (*Ingress) MarshalToSizedBuffer added in v0.16.4

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

func (*Ingress) ProtoMessage

func (*Ingress) ProtoMessage()

func (*Ingress) Reset

func (m *Ingress) Reset()

func (*Ingress) Size

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

func (*Ingress) String

func (this *Ingress) String() string

func (Ingress) SwaggerDoc

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

func (*Ingress) Unmarshal

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

func (*Ingress) XXX_DiscardUnknown added in v0.16.4

func (m *Ingress) XXX_DiscardUnknown()

func (*Ingress) XXX_Marshal added in v0.16.4

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

func (*Ingress) XXX_Merge added in v0.16.4

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

func (*Ingress) XXX_Size added in v0.16.4

func (m *Ingress) XXX_Size() int

func (*Ingress) XXX_Unmarshal added in v0.16.4

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

type IngressBackend

type IngressBackend struct {
	// Specifies the name of the referenced service.
	// +optional
	ServiceName string `json:"serviceName,omitempty" protobuf:"bytes,1,opt,name=serviceName"`

	// Specifies the port of the referenced service.
	// +optional
	ServicePort intstr.IntOrString `json:"servicePort,omitempty" protobuf:"bytes,2,opt,name=servicePort"`

	// 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 *v1.TypedLocalObjectReference `json:"resource,omitempty" protobuf:"bytes,3,opt,name=resource"`
}

IngressBackend describes all endpoints for a given service and port.

func (*IngressBackend) DeepCopy

func (in *IngressBackend) DeepCopy() *IngressBackend

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

func (*IngressBackend) DeepCopyInto

func (in *IngressBackend) DeepCopyInto(out *IngressBackend)

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

func (*IngressBackend) Descriptor

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

func (*IngressBackend) Marshal

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

func (*IngressBackend) MarshalTo

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

func (*IngressBackend) MarshalToSizedBuffer added in v0.16.4

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

func (*IngressBackend) ProtoMessage

func (*IngressBackend) ProtoMessage()

func (*IngressBackend) Reset

func (m *IngressBackend) Reset()

func (*IngressBackend) Size

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

func (*IngressBackend) String

func (this *IngressBackend) String() string

func (IngressBackend) SwaggerDoc

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

func (*IngressBackend) Unmarshal

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

func (*IngressBackend) XXX_DiscardUnknown added in v0.16.4

func (m *IngressBackend) XXX_DiscardUnknown()

func (*IngressBackend) XXX_Marshal added in v0.16.4

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

func (*IngressBackend) XXX_Merge added in v0.16.4

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

func (*IngressBackend) XXX_Size added in v0.16.4

func (m *IngressBackend) XXX_Size() int

func (*IngressBackend) XXX_Unmarshal added in v0.16.4

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

type IngressList

type IngressList struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is the list of Ingress.
	Items []Ingress `json:"items" protobuf:"bytes,2,rep,name=items"`
}

IngressList is a collection of Ingress.

func (*IngressList) APILifecycleDeprecated added in v0.19.0

func (in *IngressList) APILifecycleDeprecated() (major, minor int)

APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.

func (*IngressList) APILifecycleIntroduced added in v0.19.0

func (in *IngressList) APILifecycleIntroduced() (major, minor int)

APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.

func (*IngressList) APILifecycleRemoved added in v0.19.0

func (in *IngressList) APILifecycleRemoved() (major, minor int)

APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.

func (*IngressList) APILifecycleReplacement added in v0.19.0

func (in *IngressList) APILifecycleReplacement() schema.GroupVersionKind

APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type. It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.

func (*IngressList) DeepCopy

func (in *IngressList) DeepCopy() *IngressList

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

func (*IngressList) DeepCopyInto

func (in *IngressList) DeepCopyInto(out *IngressList)

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

func (*IngressList) DeepCopyObject

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

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

func (*IngressList) Descriptor

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

func (*IngressList) Marshal

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

func (*IngressList) MarshalTo

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

func (*IngressList) MarshalToSizedBuffer added in v0.16.4

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

func (*IngressList) ProtoMessage

func (*IngressList) ProtoMessage()

func (*IngressList) Reset

func (m *IngressList) Reset()

func (*IngressList) Size

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

func (*IngressList) String

func (this *IngressList) String() string

func (IngressList) SwaggerDoc

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

func (*IngressList) Unmarshal

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

func (*IngressList) XXX_DiscardUnknown added in v0.16.4

func (m *IngressList) XXX_DiscardUnknown()

func (*IngressList) XXX_Marshal added in v0.16.4

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

func (*IngressList) XXX_Merge added in v0.16.4

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

func (*IngressList) XXX_Size added in v0.16.4

func (m *IngressList) XXX_Size() int

func (*IngressList) XXX_Unmarshal added in v0.16.4

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

type IngressLoadBalancerIngress added in v0.26.0

type IngressLoadBalancerIngress struct {
	// IP is set for load-balancer ingress points that are IP based.
	// +optional
	IP string `json:"ip,omitempty" protobuf:"bytes,1,opt,name=ip"`

	// Hostname is set for load-balancer ingress points that are DNS based.
	// +optional
	Hostname string `json:"hostname,omitempty" protobuf:"bytes,2,opt,name=hostname"`

	// Ports provides information about the ports exposed by this LoadBalancer.
	// +listType=atomic
	// +optional
	Ports []IngressPortStatus `json:"ports,omitempty" protobuf:"bytes,4,rep,name=ports"`
}

IngressLoadBalancerIngress represents the status of a load-balancer ingress point.

func (*IngressLoadBalancerIngress) DeepCopy added in v0.26.0

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

func (*IngressLoadBalancerIngress) DeepCopyInto added in v0.26.0

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

func (*IngressLoadBalancerIngress) Descriptor added in v0.26.0

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

func (*IngressLoadBalancerIngress) Marshal added in v0.26.0

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

func (*IngressLoadBalancerIngress) MarshalTo added in v0.26.0

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

func (*IngressLoadBalancerIngress) MarshalToSizedBuffer added in v0.26.0

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

func (*IngressLoadBalancerIngress) ProtoMessage added in v0.26.0

func (*IngressLoadBalancerIngress) ProtoMessage()

func (*IngressLoadBalancerIngress) Reset added in v0.26.0

func (m *IngressLoadBalancerIngress) Reset()

func (*IngressLoadBalancerIngress) Size added in v0.26.0

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

func (*IngressLoadBalancerIngress) String added in v0.26.0

func (this *IngressLoadBalancerIngress) String() string

func (IngressLoadBalancerIngress) SwaggerDoc added in v0.26.0

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

func (*IngressLoadBalancerIngress) Unmarshal added in v0.26.0

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

func (*IngressLoadBalancerIngress) XXX_DiscardUnknown added in v0.26.0

func (m *IngressLoadBalancerIngress) XXX_DiscardUnknown()

func (*IngressLoadBalancerIngress) XXX_Marshal added in v0.26.0

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

func (*IngressLoadBalancerIngress) XXX_Merge added in v0.26.0

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

func (*IngressLoadBalancerIngress) XXX_Size added in v0.26.0

func (m *IngressLoadBalancerIngress) XXX_Size() int

func (*IngressLoadBalancerIngress) XXX_Unmarshal added in v0.26.0

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

type IngressLoadBalancerStatus added in v0.26.0

type IngressLoadBalancerStatus struct {
	// Ingress is a list containing ingress points for the load-balancer.
	// +optional
	// +listType=atomic
	Ingress []IngressLoadBalancerIngress `json:"ingress,omitempty" protobuf:"bytes,1,rep,name=ingress"`
}

LoadBalancerStatus represents the status of a load-balancer.

func (*IngressLoadBalancerStatus) DeepCopy added in v0.26.0

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

func (*IngressLoadBalancerStatus) DeepCopyInto added in v0.26.0

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

func (*IngressLoadBalancerStatus) Descriptor added in v0.26.0

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

func (*IngressLoadBalancerStatus) Marshal added in v0.26.0

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

func (*IngressLoadBalancerStatus) MarshalTo added in v0.26.0

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

func (*IngressLoadBalancerStatus) MarshalToSizedBuffer added in v0.26.0

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

func (*IngressLoadBalancerStatus) ProtoMessage added in v0.26.0

func (*IngressLoadBalancerStatus) ProtoMessage()

func (*IngressLoadBalancerStatus) Reset added in v0.26.0

func (m *IngressLoadBalancerStatus) Reset()

func (*IngressLoadBalancerStatus) Size added in v0.26.0

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

func (*IngressLoadBalancerStatus) String added in v0.26.0

func (this *IngressLoadBalancerStatus) String() string

func (IngressLoadBalancerStatus) SwaggerDoc added in v0.26.0

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

func (*IngressLoadBalancerStatus) Unmarshal added in v0.26.0

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

func (*IngressLoadBalancerStatus) XXX_DiscardUnknown added in v0.26.0

func (m *IngressLoadBalancerStatus) XXX_DiscardUnknown()

func (*IngressLoadBalancerStatus) XXX_Marshal added in v0.26.0

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

func (*IngressLoadBalancerStatus) XXX_Merge added in v0.26.0

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

func (*IngressLoadBalancerStatus) XXX_Size added in v0.26.0

func (m *IngressLoadBalancerStatus) XXX_Size() int

func (*IngressLoadBalancerStatus) XXX_Unmarshal added in v0.26.0

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

type IngressPortStatus added in v0.26.0

type IngressPortStatus struct {
	// Port is the port number of the ingress port.
	Port int32 `json:"port" protobuf:"varint,1,opt,name=port"`

	// Protocol is the protocol of the ingress port.
	// The supported values are: "TCP", "UDP", "SCTP"
	Protocol v1.Protocol `json:"protocol" protobuf:"bytes,2,opt,name=protocol,casttype=Protocol"`

	// Error is to record the problem with the service port
	// The format of the error shall comply with the following rules:
	// - built-in error values shall be specified in this file and those shall use
	//   CamelCase names
	// - cloud provider specific error values must have names that comply with the
	//   format foo.example.com/CamelCase.
	// ---
	// The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
	// +optional
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Pattern=`^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$`
	// +kubebuilder:validation:MaxLength=316
	Error *string `json:"error,omitempty" protobuf:"bytes,3,opt,name=error"`
}

IngressPortStatus represents the error condition of a service port

func (*IngressPortStatus) DeepCopy added in v0.26.0

func (in *IngressPortStatus) DeepCopy() *IngressPortStatus

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

func (*IngressPortStatus) DeepCopyInto added in v0.26.0

func (in *IngressPortStatus) DeepCopyInto(out *IngressPortStatus)

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

func (*IngressPortStatus) Descriptor added in v0.26.0

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

func (*IngressPortStatus) Marshal added in v0.26.0

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

func (*IngressPortStatus) MarshalTo added in v0.26.0

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

func (*IngressPortStatus) MarshalToSizedBuffer added in v0.26.0

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

func (*IngressPortStatus) ProtoMessage added in v0.26.0

func (*IngressPortStatus) ProtoMessage()

func (*IngressPortStatus) Reset added in v0.26.0

func (m *IngressPortStatus) Reset()

func (*IngressPortStatus) Size added in v0.26.0

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

func (*IngressPortStatus) String added in v0.26.0

func (this *IngressPortStatus) String() string

func (IngressPortStatus) SwaggerDoc added in v0.26.0

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

func (*IngressPortStatus) Unmarshal added in v0.26.0

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

func (*IngressPortStatus) XXX_DiscardUnknown added in v0.26.0

func (m *IngressPortStatus) XXX_DiscardUnknown()

func (*IngressPortStatus) XXX_Marshal added in v0.26.0

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

func (*IngressPortStatus) XXX_Merge added in v0.26.0

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

func (*IngressPortStatus) XXX_Size added in v0.26.0

func (m *IngressPortStatus) XXX_Size() int

func (*IngressPortStatus) XXX_Unmarshal added in v0.26.0

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

type IngressRule

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

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) DeepCopy

func (in *IngressRule) DeepCopy() *IngressRule

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

func (*IngressRule) DeepCopyInto

func (in *IngressRule) DeepCopyInto(out *IngressRule)

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

func (*IngressRule) Descriptor

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

func (*IngressRule) Marshal

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

func (*IngressRule) MarshalTo

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

func (*IngressRule) MarshalToSizedBuffer added in v0.16.4

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

func (*IngressRule) ProtoMessage

func (*IngressRule) ProtoMessage()

func (*IngressRule) Reset

func (m *IngressRule) Reset()

func (*IngressRule) Size

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

func (*IngressRule) String

func (this *IngressRule) String() string

func (IngressRule) SwaggerDoc

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

func (*IngressRule) Unmarshal

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

func (*IngressRule) XXX_DiscardUnknown added in v0.16.4

func (m *IngressRule) XXX_DiscardUnknown()

func (*IngressRule) XXX_Marshal added in v0.16.4

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

func (*IngressRule) XXX_Merge added in v0.16.4

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

func (*IngressRule) XXX_Size added in v0.16.4

func (m *IngressRule) XXX_Size() int

func (*IngressRule) XXX_Unmarshal added in v0.16.4

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

type IngressRuleValue

type IngressRuleValue struct {

	// http is a list of http selectors pointing to backends.
	// A 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 '/'.
	// A backend defines the referenced service endpoint to which the traffic
	// will be forwarded to.
	HTTP *HTTPIngressRuleValue `json:"http,omitempty" protobuf:"bytes,1,opt,name=http"`
}

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) DeepCopy

func (in *IngressRuleValue) DeepCopy() *IngressRuleValue

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

func (*IngressRuleValue) DeepCopyInto

func (in *IngressRuleValue) DeepCopyInto(out *IngressRuleValue)

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

func (*IngressRuleValue) Descriptor

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

func (*IngressRuleValue) Marshal

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

func (*IngressRuleValue) MarshalTo

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

func (*IngressRuleValue) MarshalToSizedBuffer added in v0.16.4

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

func (*IngressRuleValue) ProtoMessage

func (*IngressRuleValue) ProtoMessage()

func (*IngressRuleValue) Reset

func (m *IngressRuleValue) Reset()

func (*IngressRuleValue) Size

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

func (*IngressRuleValue) String

func (this *IngressRuleValue) String() string

func (IngressRuleValue) SwaggerDoc

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

func (*IngressRuleValue) Unmarshal

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

func (*IngressRuleValue) XXX_DiscardUnknown added in v0.16.4

func (m *IngressRuleValue) XXX_DiscardUnknown()

func (*IngressRuleValue) XXX_Marshal added in v0.16.4

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

func (*IngressRuleValue) XXX_Merge added in v0.16.4

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

func (*IngressRuleValue) XXX_Size added in v0.16.4

func (m *IngressRuleValue) XXX_Size() int

func (*IngressRuleValue) XXX_Unmarshal added in v0.16.4

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

type IngressSpec

type IngressSpec struct {
	// IngressClassName is the name of the IngressClass cluster resource. The
	// associated IngressClass defines which controller will implement the
	// resource. This replaces the deprecated `kubernetes.io/ingress.class`
	// annotation. For backwards compatibility, when that annotation is set, it
	// must be given precedence over this field. The controller may emit a
	// warning if the field and annotation have different values.
	// Implementations of this API should ignore Ingresses without a class
	// specified. An IngressClass resource may be marked as default, which can
	// be used to set a default value for this field. For more information,
	// refer to the IngressClass documentation.
	// +optional
	IngressClassName *string `json:"ingressClassName,omitempty" protobuf:"bytes,4,opt,name=ingressClassName"`

	// 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 `json:"backend,omitempty" protobuf:"bytes,1,opt,name=backend"`

	// 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
	// +listType=atomic
	TLS []IngressTLS `json:"tls,omitempty" protobuf:"bytes,2,rep,name=tls"`

	// 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
	// +listType=atomic
	Rules []IngressRule `json:"rules,omitempty" protobuf:"bytes,3,rep,name=rules"`
}

IngressSpec describes the Ingress the user wishes to exist.

func (*IngressSpec) DeepCopy

func (in *IngressSpec) DeepCopy() *IngressSpec

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

func (*IngressSpec) DeepCopyInto

func (in *IngressSpec) DeepCopyInto(out *IngressSpec)

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

func (*IngressSpec) Descriptor

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

func (*IngressSpec) Marshal

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

func (*IngressSpec) MarshalTo

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

func (*IngressSpec) MarshalToSizedBuffer added in v0.16.4

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

func (*IngressSpec) ProtoMessage

func (*IngressSpec) ProtoMessage()

func (*IngressSpec) Reset

func (m *IngressSpec) Reset()

func (*IngressSpec) Size

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

func (*IngressSpec) String

func (this *IngressSpec) String() string

func (IngressSpec) SwaggerDoc

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

func (*IngressSpec) Unmarshal

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

func (*IngressSpec) XXX_DiscardUnknown added in v0.16.4

func (m *IngressSpec) XXX_DiscardUnknown()

func (*IngressSpec) XXX_Marshal added in v0.16.4

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

func (*IngressSpec) XXX_Merge added in v0.16.4

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

func (*IngressSpec) XXX_Size added in v0.16.4

func (m *IngressSpec) XXX_Size() int

func (*IngressSpec) XXX_Unmarshal added in v0.16.4

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

type IngressStatus

type IngressStatus struct {
	// LoadBalancer contains the current status of the load-balancer.
	// +optional
	LoadBalancer IngressLoadBalancerStatus `json:"loadBalancer,omitempty" protobuf:"bytes,1,opt,name=loadBalancer"`
}

IngressStatus describe the current state of the Ingress.

func (*IngressStatus) DeepCopy

func (in *IngressStatus) DeepCopy() *IngressStatus

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

func (*IngressStatus) DeepCopyInto

func (in *IngressStatus) DeepCopyInto(out *IngressStatus)

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

func (*IngressStatus) Descriptor

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

func (*IngressStatus) Marshal

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

func (*IngressStatus) MarshalTo

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

func (*IngressStatus) MarshalToSizedBuffer added in v0.16.4

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

func (*IngressStatus) ProtoMessage

func (*IngressStatus) ProtoMessage()

func (*IngressStatus) Reset

func (m *IngressStatus) Reset()

func (*IngressStatus) Size

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

func (*IngressStatus) String

func (this *IngressStatus) String() string

func (IngressStatus) SwaggerDoc

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

func (*IngressStatus) Unmarshal

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

func (*IngressStatus) XXX_DiscardUnknown added in v0.16.4

func (m *IngressStatus) XXX_DiscardUnknown()

func (*IngressStatus) XXX_Marshal added in v0.16.4

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

func (*IngressStatus) XXX_Merge added in v0.16.4

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

func (*IngressStatus) XXX_Size added in v0.16.4

func (m *IngressStatus) XXX_Size() int

func (*IngressStatus) XXX_Unmarshal added in v0.16.4

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

type IngressTLS

type IngressTLS struct {
	// Hosts are a list of hosts included in the TLS certificate. The values in
	// this list must match the name/s used in the tlsSecret. Defaults to the
	// wildcard host setting for the loadbalancer controller fulfilling this
	// Ingress, if left unspecified.
	// +optional
	// +listType=atomic
	Hosts []string `json:"hosts,omitempty" protobuf:"bytes,1,rep,name=hosts"`
	// 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 `json:"secretName,omitempty" protobuf:"bytes,2,opt,name=secretName"`
}

IngressTLS describes the transport layer security associated with an Ingress.

func (*IngressTLS) DeepCopy

func (in *IngressTLS) DeepCopy() *IngressTLS

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

func (*IngressTLS) DeepCopyInto

func (in *IngressTLS) DeepCopyInto(out *IngressTLS)

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

func (*IngressTLS) Descriptor

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

func (*IngressTLS) Marshal

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

func (*IngressTLS) MarshalTo

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

func (*IngressTLS) MarshalToSizedBuffer added in v0.16.4

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

func (*IngressTLS) ProtoMessage

func (*IngressTLS) ProtoMessage()

func (*IngressTLS) Reset

func (m *IngressTLS) Reset()

func (*IngressTLS) Size

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

func (*IngressTLS) String

func (this *IngressTLS) String() string

func (IngressTLS) SwaggerDoc

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

func (*IngressTLS) Unmarshal

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

func (*IngressTLS) XXX_DiscardUnknown added in v0.16.4

func (m *IngressTLS) XXX_DiscardUnknown()

func (*IngressTLS) XXX_Marshal added in v0.16.4

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

func (*IngressTLS) XXX_Merge added in v0.16.4

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

func (*IngressTLS) XXX_Size added in v0.16.4

func (m *IngressTLS) XXX_Size() int

func (*IngressTLS) XXX_Unmarshal added in v0.16.4

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

type NetworkPolicy

type NetworkPolicy struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Specification of the desired behavior for this NetworkPolicy.
	// +optional
	Spec NetworkPolicySpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
}

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) APILifecycleDeprecated added in v0.19.0

func (in *NetworkPolicy) APILifecycleDeprecated() (major, minor int)

APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.

func (*NetworkPolicy) APILifecycleIntroduced added in v0.19.0

func (in *NetworkPolicy) APILifecycleIntroduced() (major, minor int)

APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.

func (*NetworkPolicy) APILifecycleRemoved added in v0.19.0

func (in *NetworkPolicy) APILifecycleRemoved() (major, minor int)

APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.

func (*NetworkPolicy) APILifecycleReplacement added in v0.19.0

func (in *NetworkPolicy) APILifecycleReplacement() schema.GroupVersionKind

APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type. It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.

func (*NetworkPolicy) DeepCopy

func (in *NetworkPolicy) DeepCopy() *NetworkPolicy

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

func (*NetworkPolicy) DeepCopyInto

func (in *NetworkPolicy) DeepCopyInto(out *NetworkPolicy)

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

func (*NetworkPolicy) DeepCopyObject

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

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

func (*NetworkPolicy) Descriptor

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

func (*NetworkPolicy) Marshal

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

func (*NetworkPolicy) MarshalTo

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

func (*NetworkPolicy) MarshalToSizedBuffer added in v0.16.4

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

func (*NetworkPolicy) ProtoMessage

func (*NetworkPolicy) ProtoMessage()

func (*NetworkPolicy) Reset

func (m *NetworkPolicy) Reset()

func (*NetworkPolicy) Size

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

func (*NetworkPolicy) String

func (this *NetworkPolicy) String() string

func (NetworkPolicy) SwaggerDoc

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

func (*NetworkPolicy) Unmarshal

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

func (*NetworkPolicy) XXX_DiscardUnknown added in v0.16.4

func (m *NetworkPolicy) XXX_DiscardUnknown()

func (*NetworkPolicy) XXX_Marshal added in v0.16.4

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

func (*NetworkPolicy) XXX_Merge added in v0.16.4

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

func (*NetworkPolicy) XXX_Size added in v0.16.4

func (m *NetworkPolicy) XXX_Size() int

func (*NetworkPolicy) XXX_Unmarshal added in v0.16.4

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

type NetworkPolicyEgressRule

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
	// +listType=atomic
	Ports []NetworkPolicyPort `json:"ports,omitempty" protobuf:"bytes,1,rep,name=ports"`

	// 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
	// +listType=atomic
	To []NetworkPolicyPeer `json:"to,omitempty" protobuf:"bytes,2,rep,name=to"`
}

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) DeepCopy

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

func (*NetworkPolicyEgressRule) DeepCopyInto

func (in *NetworkPolicyEgressRule) DeepCopyInto(out *NetworkPolicyEgressRule)

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

func (*NetworkPolicyEgressRule) Descriptor

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

func (*NetworkPolicyEgressRule) Marshal

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

func (*NetworkPolicyEgressRule) MarshalTo

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

func (*NetworkPolicyEgressRule) MarshalToSizedBuffer added in v0.16.4

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

func (*NetworkPolicyEgressRule) ProtoMessage

func (*NetworkPolicyEgressRule) ProtoMessage()

func (*NetworkPolicyEgressRule) Reset

func (m *NetworkPolicyEgressRule) Reset()

func (*NetworkPolicyEgressRule) Size

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

func (*NetworkPolicyEgressRule) String

func (this *NetworkPolicyEgressRule) String() string

func (NetworkPolicyEgressRule) SwaggerDoc

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

func (*NetworkPolicyEgressRule) Unmarshal

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

func (*NetworkPolicyEgressRule) XXX_DiscardUnknown added in v0.16.4

func (m *NetworkPolicyEgressRule) XXX_DiscardUnknown()

func (*NetworkPolicyEgressRule) XXX_Marshal added in v0.16.4

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

func (*NetworkPolicyEgressRule) XXX_Merge added in v0.16.4

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

func (*NetworkPolicyEgressRule) XXX_Size added in v0.16.4

func (m *NetworkPolicyEgressRule) XXX_Size() int

func (*NetworkPolicyEgressRule) XXX_Unmarshal added in v0.16.4

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

type NetworkPolicyIngressRule

type NetworkPolicyIngressRule struct {
	// List of ports which should be made accessible on the pods selected for this rule.
	// Each item in this list is combined using a logical OR.
	// If this field is empty or missing, this rule matches all ports (traffic not restricted by port).
	// If this field is present and contains at least one item, then this rule allows traffic
	// only if the traffic matches at least one port in the list.
	// +optional
	// +listType=atomic
	Ports []NetworkPolicyPort `json:"ports,omitempty" protobuf:"bytes,1,rep,name=ports"`

	// 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
	// +listType=atomic
	From []NetworkPolicyPeer `json:"from,omitempty" protobuf:"bytes,2,rep,name=from"`
}

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) DeepCopy

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

func (*NetworkPolicyIngressRule) DeepCopyInto

func (in *NetworkPolicyIngressRule) DeepCopyInto(out *NetworkPolicyIngressRule)

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

func (*NetworkPolicyIngressRule) Descriptor

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

func (*NetworkPolicyIngressRule) Marshal

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

func (*NetworkPolicyIngressRule) MarshalTo

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

func (*NetworkPolicyIngressRule) MarshalToSizedBuffer added in v0.16.4

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

func (*NetworkPolicyIngressRule) ProtoMessage

func (*NetworkPolicyIngressRule) ProtoMessage()

func (*NetworkPolicyIngressRule) Reset

func (m *NetworkPolicyIngressRule) Reset()

func (*NetworkPolicyIngressRule) Size

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

func (*NetworkPolicyIngressRule) String

func (this *NetworkPolicyIngressRule) String() string

func (NetworkPolicyIngressRule) SwaggerDoc

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

func (*NetworkPolicyIngressRule) Unmarshal

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

func (*NetworkPolicyIngressRule) XXX_DiscardUnknown added in v0.16.4

func (m *NetworkPolicyIngressRule) XXX_DiscardUnknown()

func (*NetworkPolicyIngressRule) XXX_Marshal added in v0.16.4

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

func (*NetworkPolicyIngressRule) XXX_Merge added in v0.16.4

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

func (*NetworkPolicyIngressRule) XXX_Size added in v0.16.4

func (m *NetworkPolicyIngressRule) XXX_Size() int

func (*NetworkPolicyIngressRule) XXX_Unmarshal added in v0.16.4

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

type NetworkPolicyList

type NetworkPolicyList struct {
	metav1.TypeMeta `json:",inline"`
	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

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

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) APILifecycleDeprecated added in v0.19.0

func (in *NetworkPolicyList) APILifecycleDeprecated() (major, minor int)

APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.

func (*NetworkPolicyList) APILifecycleIntroduced added in v0.19.0

func (in *NetworkPolicyList) APILifecycleIntroduced() (major, minor int)

APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.

func (*NetworkPolicyList) APILifecycleRemoved added in v0.19.0

func (in *NetworkPolicyList) APILifecycleRemoved() (major, minor int)

APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.

func (*NetworkPolicyList) APILifecycleReplacement added in v0.19.0

func (in *NetworkPolicyList) APILifecycleReplacement() schema.GroupVersionKind

APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type. It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.

func (*NetworkPolicyList) DeepCopy

func (in *NetworkPolicyList) DeepCopy() *NetworkPolicyList

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

func (*NetworkPolicyList) DeepCopyInto

func (in *NetworkPolicyList) DeepCopyInto(out *NetworkPolicyList)

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

func (*NetworkPolicyList) DeepCopyObject

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

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

func (*NetworkPolicyList) Descriptor

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

func (*NetworkPolicyList) Marshal

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

func (*NetworkPolicyList) MarshalTo

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

func (*NetworkPolicyList) MarshalToSizedBuffer added in v0.16.4

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

func (*NetworkPolicyList) ProtoMessage

func (*NetworkPolicyList) ProtoMessage()

func (*NetworkPolicyList) Reset

func (m *NetworkPolicyList) Reset()

func (*NetworkPolicyList) Size

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

func (*NetworkPolicyList) String

func (this *NetworkPolicyList) String() string

func (NetworkPolicyList) SwaggerDoc

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

func (*NetworkPolicyList) Unmarshal

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

func (*NetworkPolicyList) XXX_DiscardUnknown added in v0.16.4

func (m *NetworkPolicyList) XXX_DiscardUnknown()

func (*NetworkPolicyList) XXX_Marshal added in v0.16.4

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

func (*NetworkPolicyList) XXX_Merge added in v0.16.4

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

func (*NetworkPolicyList) XXX_Size added in v0.16.4

func (m *NetworkPolicyList) XXX_Size() int

func (*NetworkPolicyList) XXX_Unmarshal added in v0.16.4

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

type NetworkPolicyPeer

type NetworkPolicyPeer struct {
	// This is a label selector which selects Pods. This field follows standard label
	// selector semantics; if present but empty, it selects all pods.
	//
	// If NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects
	// the Pods matching PodSelector in the Namespaces selected by NamespaceSelector.
	// Otherwise it selects the Pods matching PodSelector in the policy's own Namespace.
	// +optional
	PodSelector *metav1.LabelSelector `json:"podSelector,omitempty" protobuf:"bytes,1,opt,name=podSelector"`

	// 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 *metav1.LabelSelector `json:"namespaceSelector,omitempty" protobuf:"bytes,2,opt,name=namespaceSelector"`

	// IPBlock defines policy on a particular IPBlock. If this field is set then
	// neither of the other fields can be.
	// +optional
	IPBlock *IPBlock `json:"ipBlock,omitempty" protobuf:"bytes,3,rep,name=ipBlock"`
}

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

func (*NetworkPolicyPeer) DeepCopy

func (in *NetworkPolicyPeer) DeepCopy() *NetworkPolicyPeer

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

func (*NetworkPolicyPeer) DeepCopyInto

func (in *NetworkPolicyPeer) DeepCopyInto(out *NetworkPolicyPeer)

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

func (*NetworkPolicyPeer) Descriptor

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

func (*NetworkPolicyPeer) Marshal

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

func (*NetworkPolicyPeer) MarshalTo

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

func (*NetworkPolicyPeer) MarshalToSizedBuffer added in v0.16.4

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

func (*NetworkPolicyPeer) ProtoMessage

func (*NetworkPolicyPeer) ProtoMessage()

func (*NetworkPolicyPeer) Reset

func (m *NetworkPolicyPeer) Reset()

func (*NetworkPolicyPeer) Size

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

func (*NetworkPolicyPeer) String

func (this *NetworkPolicyPeer) String() string

func (NetworkPolicyPeer) SwaggerDoc

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

func (*NetworkPolicyPeer) Unmarshal

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

func (*NetworkPolicyPeer) XXX_DiscardUnknown added in v0.16.4

func (m *NetworkPolicyPeer) XXX_DiscardUnknown()

func (*NetworkPolicyPeer) XXX_Marshal added in v0.16.4

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

func (*NetworkPolicyPeer) XXX_Merge added in v0.16.4

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

func (*NetworkPolicyPeer) XXX_Size added in v0.16.4

func (m *NetworkPolicyPeer) XXX_Size() int

func (*NetworkPolicyPeer) XXX_Unmarshal added in v0.16.4

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

type NetworkPolicyPort

type NetworkPolicyPort struct {
	// Optional.  The protocol (TCP, UDP, or SCTP) which traffic must match.
	// If not specified, this field defaults to TCP.
	// +optional
	Protocol *v1.Protocol `json:"protocol,omitempty" protobuf:"bytes,1,opt,name=protocol,casttype=k8s.io/api/core/v1.Protocol"`

	// 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 `json:"port,omitempty" protobuf:"bytes,2,opt,name=port"`

	// If set, indicates that the range of ports from port to endPort, inclusive,
	// should be allowed by the policy. This field cannot be defined if the port field
	// is not defined or if the port field is defined as a named (string) port.
	// The endPort must be equal or greater than port.
	// +optional
	EndPort *int32 `json:"endPort,omitempty" protobuf:"bytes,3,opt,name=endPort"`
}

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

func (*NetworkPolicyPort) DeepCopy

func (in *NetworkPolicyPort) DeepCopy() *NetworkPolicyPort

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

func (*NetworkPolicyPort) DeepCopyInto

func (in *NetworkPolicyPort) DeepCopyInto(out *NetworkPolicyPort)

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

func (*NetworkPolicyPort) Descriptor

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

func (*NetworkPolicyPort) Marshal

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

func (*NetworkPolicyPort) MarshalTo

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

func (*NetworkPolicyPort) MarshalToSizedBuffer added in v0.16.4

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

func (*NetworkPolicyPort) ProtoMessage

func (*NetworkPolicyPort) ProtoMessage()

func (*NetworkPolicyPort) Reset

func (m *NetworkPolicyPort) Reset()

func (*NetworkPolicyPort) Size

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

func (*NetworkPolicyPort) String

func (this *NetworkPolicyPort) String() string

func (NetworkPolicyPort) SwaggerDoc

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

func (*NetworkPolicyPort) Unmarshal

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

func (*NetworkPolicyPort) XXX_DiscardUnknown added in v0.16.4

func (m *NetworkPolicyPort) XXX_DiscardUnknown()

func (*NetworkPolicyPort) XXX_Marshal added in v0.16.4

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

func (*NetworkPolicyPort) XXX_Merge added in v0.16.4

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

func (*NetworkPolicyPort) XXX_Size added in v0.16.4

func (m *NetworkPolicyPort) XXX_Size() int

func (*NetworkPolicyPort) XXX_Unmarshal added in v0.16.4

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

type NetworkPolicySpec

type NetworkPolicySpec struct {
	// Selects the pods to which this NetworkPolicy object applies.  The array of ingress rules
	// is applied to any pods selected by this field. Multiple network policies can select the
	// same set of pods.  In this case, the ingress rules for each are combined additively.
	// This field is NOT optional and follows standard label selector semantics.
	// An empty podSelector matches all pods in this namespace.
	PodSelector metav1.LabelSelector `json:"podSelector" protobuf:"bytes,1,opt,name=podSelector"`

	// 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
	// +listType=atomic
	Ingress []NetworkPolicyIngressRule `json:"ingress,omitempty" protobuf:"bytes,2,rep,name=ingress"`

	// 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
	// +listType=atomic
	Egress []NetworkPolicyEgressRule `json:"egress,omitempty" protobuf:"bytes,3,rep,name=egress"`

	// 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
	// +listType=atomic
	PolicyTypes []PolicyType `json:"policyTypes,omitempty" protobuf:"bytes,4,rep,name=policyTypes,casttype=PolicyType"`
}

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

func (*NetworkPolicySpec) DeepCopy

func (in *NetworkPolicySpec) DeepCopy() *NetworkPolicySpec

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

func (*NetworkPolicySpec) DeepCopyInto

func (in *NetworkPolicySpec) DeepCopyInto(out *NetworkPolicySpec)

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

func (*NetworkPolicySpec) Descriptor

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

func (*NetworkPolicySpec) Marshal

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

func (*NetworkPolicySpec) MarshalTo

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

func (*NetworkPolicySpec) MarshalToSizedBuffer added in v0.16.4

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

func (*NetworkPolicySpec) ProtoMessage

func (*NetworkPolicySpec) ProtoMessage()

func (*NetworkPolicySpec) Reset

func (m *NetworkPolicySpec) Reset()

func (*NetworkPolicySpec) Size

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

func (*NetworkPolicySpec) String

func (this *NetworkPolicySpec) String() string

func (NetworkPolicySpec) SwaggerDoc

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

func (*NetworkPolicySpec) Unmarshal

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

func (*NetworkPolicySpec) XXX_DiscardUnknown added in v0.16.4

func (m *NetworkPolicySpec) XXX_DiscardUnknown()

func (*NetworkPolicySpec) XXX_Marshal added in v0.16.4

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

func (*NetworkPolicySpec) XXX_Merge added in v0.16.4

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

func (*NetworkPolicySpec) XXX_Size added in v0.16.4

func (m *NetworkPolicySpec) XXX_Size() int

func (*NetworkPolicySpec) XXX_Unmarshal added in v0.16.4

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

type PathType added in v0.18.0

type PathType string

PathType represents the type of path referred to by a HTTPIngressPath.

type PolicyType

type PolicyType string

DEPRECATED 1.9 - This group version of PolicyType is deprecated by networking/v1/PolicyType. Policy Type string describes the NetworkPolicy type This type is beta-level in 1.8

const (
	// PolicyTypeIngress is a NetworkPolicy that affects ingress traffic on selected pods
	PolicyTypeIngress PolicyType = "Ingress"
	// PolicyTypeEgress is a NetworkPolicy that affects egress traffic on selected pods
	PolicyTypeEgress PolicyType = "Egress"
)

type ReplicaSet

type ReplicaSet struct {
	metav1.TypeMeta `json:",inline"`

	// 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
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// 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 `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`

	// 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 `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

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) APILifecycleDeprecated added in v0.19.0

func (in *ReplicaSet) APILifecycleDeprecated() (major, minor int)

APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.

func (*ReplicaSet) APILifecycleIntroduced added in v0.19.0

func (in *ReplicaSet) APILifecycleIntroduced() (major, minor int)

APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.

func (*ReplicaSet) APILifecycleRemoved added in v0.19.0

func (in *ReplicaSet) APILifecycleRemoved() (major, minor int)

APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.

func (*ReplicaSet) APILifecycleReplacement added in v0.19.0

func (in *ReplicaSet) APILifecycleReplacement() schema.GroupVersionKind

APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type. It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.

func (*ReplicaSet) DeepCopy

func (in *ReplicaSet) DeepCopy() *ReplicaSet

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

func (*ReplicaSet) DeepCopyInto

func (in *ReplicaSet) DeepCopyInto(out *ReplicaSet)

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

func (*ReplicaSet) DeepCopyObject

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

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

func (*ReplicaSet) Descriptor

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

func (*ReplicaSet) Marshal

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

func (*ReplicaSet) MarshalTo

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

func (*ReplicaSet) MarshalToSizedBuffer added in v0.16.4

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

func (*ReplicaSet) ProtoMessage

func (*ReplicaSet) ProtoMessage()

func (*ReplicaSet) Reset

func (m *ReplicaSet) Reset()

func (*ReplicaSet) Size

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

func (*ReplicaSet) String

func (this *ReplicaSet) String() string

func (ReplicaSet) SwaggerDoc

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

func (*ReplicaSet) Unmarshal

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

func (*ReplicaSet) XXX_DiscardUnknown added in v0.16.4

func (m *ReplicaSet) XXX_DiscardUnknown()

func (*ReplicaSet) XXX_Marshal added in v0.16.4

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

func (*ReplicaSet) XXX_Merge added in v0.16.4

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

func (*ReplicaSet) XXX_Size added in v0.16.4

func (m *ReplicaSet) XXX_Size() int

func (*ReplicaSet) XXX_Unmarshal added in v0.16.4

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

type ReplicaSetCondition

type ReplicaSetCondition struct {
	// Type of replica set condition.
	Type ReplicaSetConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=ReplicaSetConditionType"`
	// Status of the condition, one of True, False, Unknown.
	Status v1.ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=k8s.io/api/core/v1.ConditionStatus"`
	// The last time the condition transitioned from one status to another.
	// +optional
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,3,opt,name=lastTransitionTime"`
	// The reason for the condition's last transition.
	// +optional
	Reason string `json:"reason,omitempty" protobuf:"bytes,4,opt,name=reason"`
	// A human readable message indicating details about the transition.
	// +optional
	Message string `json:"message,omitempty" protobuf:"bytes,5,opt,name=message"`
}

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

func (*ReplicaSetCondition) DeepCopy

func (in *ReplicaSetCondition) DeepCopy() *ReplicaSetCondition

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

func (*ReplicaSetCondition) DeepCopyInto

func (in *ReplicaSetCondition) DeepCopyInto(out *ReplicaSetCondition)

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

func (*ReplicaSetCondition) Descriptor

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

func (*ReplicaSetCondition) Marshal

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

func (*ReplicaSetCondition) MarshalTo

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

func (*ReplicaSetCondition) MarshalToSizedBuffer added in v0.16.4

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

func (*ReplicaSetCondition) ProtoMessage

func (*ReplicaSetCondition) ProtoMessage()

func (*ReplicaSetCondition) Reset

func (m *ReplicaSetCondition) Reset()

func (*ReplicaSetCondition) Size

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

func (*ReplicaSetCondition) String

func (this *ReplicaSetCondition) String() string

func (ReplicaSetCondition) SwaggerDoc

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

func (*ReplicaSetCondition) Unmarshal

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

func (*ReplicaSetCondition) XXX_DiscardUnknown added in v0.16.4

func (m *ReplicaSetCondition) XXX_DiscardUnknown()

func (*ReplicaSetCondition) XXX_Marshal added in v0.16.4

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

func (*ReplicaSetCondition) XXX_Merge added in v0.16.4

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

func (*ReplicaSetCondition) XXX_Size added in v0.16.4

func (m *ReplicaSetCondition) XXX_Size() int

func (*ReplicaSetCondition) XXX_Unmarshal added in v0.16.4

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

type ReplicaSetConditionType

type ReplicaSetConditionType string
const (
	// ReplicaSetReplicaFailure is added in a replica set when one of its pods fails to be created
	// due to insufficient quota, limit ranges, pod security policy, node selectors, etc. or deleted
	// due to kubelet being down or finalizers are failing.
	ReplicaSetReplicaFailure ReplicaSetConditionType = "ReplicaFailure"
)

These are valid conditions of a replica set.

type ReplicaSetList

type ReplicaSetList struct {
	metav1.TypeMeta `json:",inline"`
	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// List of ReplicaSets.
	// More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller
	Items []ReplicaSet `json:"items" protobuf:"bytes,2,rep,name=items"`
}

ReplicaSetList is a collection of ReplicaSets.

func (*ReplicaSetList) APILifecycleDeprecated added in v0.19.0

func (in *ReplicaSetList) APILifecycleDeprecated() (major, minor int)

APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.

func (*ReplicaSetList) APILifecycleIntroduced added in v0.19.0

func (in *ReplicaSetList) APILifecycleIntroduced() (major, minor int)

APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.

func (*ReplicaSetList) APILifecycleRemoved added in v0.19.0

func (in *ReplicaSetList) APILifecycleRemoved() (major, minor int)

APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.

func (*ReplicaSetList) APILifecycleReplacement added in v0.19.0

func (in *ReplicaSetList) APILifecycleReplacement() schema.GroupVersionKind

APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type. It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.

func (*ReplicaSetList) DeepCopy

func (in *ReplicaSetList) DeepCopy() *ReplicaSetList

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

func (*ReplicaSetList) DeepCopyInto

func (in *ReplicaSetList) DeepCopyInto(out *ReplicaSetList)

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

func (*ReplicaSetList) DeepCopyObject

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

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

func (*ReplicaSetList) Descriptor

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

func (*ReplicaSetList) Marshal

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

func (*ReplicaSetList) MarshalTo

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

func (*ReplicaSetList) MarshalToSizedBuffer added in v0.16.4

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

func (*ReplicaSetList) ProtoMessage

func (*ReplicaSetList) ProtoMessage()

func (*ReplicaSetList) Reset

func (m *ReplicaSetList) Reset()

func (*ReplicaSetList) Size

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

func (*ReplicaSetList) String

func (this *ReplicaSetList) String() string

func (ReplicaSetList) SwaggerDoc

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

func (*ReplicaSetList) Unmarshal

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

func (*ReplicaSetList) XXX_DiscardUnknown added in v0.16.4

func (m *ReplicaSetList) XXX_DiscardUnknown()

func (*ReplicaSetList) XXX_Marshal added in v0.16.4

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

func (*ReplicaSetList) XXX_Merge added in v0.16.4

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

func (*ReplicaSetList) XXX_Size added in v0.16.4

func (m *ReplicaSetList) XXX_Size() int

func (*ReplicaSetList) XXX_Unmarshal added in v0.16.4

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

type ReplicaSetSpec

type ReplicaSetSpec struct {
	// Replicas is the number of desired replicas.
	// This is a pointer to distinguish between explicit zero and unspecified.
	// Defaults to 1.
	// More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller
	// +optional
	Replicas *int32 `json:"replicas,omitempty" protobuf:"varint,1,opt,name=replicas"`

	// 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 `json:"minReadySeconds,omitempty" protobuf:"varint,4,opt,name=minReadySeconds"`

	// 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 *metav1.LabelSelector `json:"selector,omitempty" protobuf:"bytes,2,opt,name=selector"`

	// 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 v1.PodTemplateSpec `json:"template,omitempty" protobuf:"bytes,3,opt,name=template"`
}

ReplicaSetSpec is the specification of a ReplicaSet.

func (*ReplicaSetSpec) DeepCopy

func (in *ReplicaSetSpec) DeepCopy() *ReplicaSetSpec

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

func (*ReplicaSetSpec) DeepCopyInto

func (in *ReplicaSetSpec) DeepCopyInto(out *ReplicaSetSpec)

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

func (*ReplicaSetSpec) Descriptor

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

func (*ReplicaSetSpec) Marshal

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

func (*ReplicaSetSpec) MarshalTo

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

func (*ReplicaSetSpec) MarshalToSizedBuffer added in v0.16.4

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

func (*ReplicaSetSpec) ProtoMessage

func (*ReplicaSetSpec) ProtoMessage()

func (*ReplicaSetSpec) Reset

func (m *ReplicaSetSpec) Reset()

func (*ReplicaSetSpec) Size

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

func (*ReplicaSetSpec) String

func (this *ReplicaSetSpec) String() string

func (ReplicaSetSpec) SwaggerDoc

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

func (*ReplicaSetSpec) Unmarshal

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

func (*ReplicaSetSpec) XXX_DiscardUnknown added in v0.16.4

func (m *ReplicaSetSpec) XXX_DiscardUnknown()

func (*ReplicaSetSpec) XXX_Marshal added in v0.16.4

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

func (*ReplicaSetSpec) XXX_Merge added in v0.16.4

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

func (*ReplicaSetSpec) XXX_Size added in v0.16.4

func (m *ReplicaSetSpec) XXX_Size() int

func (*ReplicaSetSpec) XXX_Unmarshal added in v0.16.4

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

type ReplicaSetStatus

type ReplicaSetStatus struct {
	// Replicas is the most recently observed number of replicas.
	// More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller
	Replicas int32 `json:"replicas" protobuf:"varint,1,opt,name=replicas"`

	// The number of pods that have labels matching the labels of the pod template of the replicaset.
	// +optional
	FullyLabeledReplicas int32 `json:"fullyLabeledReplicas,omitempty" protobuf:"varint,2,opt,name=fullyLabeledReplicas"`

	// The number of ready replicas for this replica set.
	// +optional
	ReadyReplicas int32 `json:"readyReplicas,omitempty" protobuf:"varint,4,opt,name=readyReplicas"`

	// The number of available replicas (ready for at least minReadySeconds) for this replica set.
	// +optional
	AvailableReplicas int32 `json:"availableReplicas,omitempty" protobuf:"varint,5,opt,name=availableReplicas"`

	// ObservedGeneration reflects the generation of the most recently observed ReplicaSet.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,3,opt,name=observedGeneration"`

	// Represents the latest available observations of a replica set's current state.
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=type
	Conditions []ReplicaSetCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,6,rep,name=conditions"`
}

ReplicaSetStatus represents the current status of a ReplicaSet.

func (*ReplicaSetStatus) DeepCopy

func (in *ReplicaSetStatus) DeepCopy() *ReplicaSetStatus

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

func (*ReplicaSetStatus) DeepCopyInto

func (in *ReplicaSetStatus) DeepCopyInto(out *ReplicaSetStatus)

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

func (*ReplicaSetStatus) Descriptor

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

func (*ReplicaSetStatus) Marshal

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

func (*ReplicaSetStatus) MarshalTo

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

func (*ReplicaSetStatus) MarshalToSizedBuffer added in v0.16.4

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

func (*ReplicaSetStatus) ProtoMessage

func (*ReplicaSetStatus) ProtoMessage()

func (*ReplicaSetStatus) Reset

func (m *ReplicaSetStatus) Reset()

func (*ReplicaSetStatus) Size

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

func (*ReplicaSetStatus) String

func (this *ReplicaSetStatus) String() string

func (ReplicaSetStatus) SwaggerDoc

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

func (*ReplicaSetStatus) Unmarshal

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

func (*ReplicaSetStatus) XXX_DiscardUnknown added in v0.16.4

func (m *ReplicaSetStatus) XXX_DiscardUnknown()

func (*ReplicaSetStatus) XXX_Marshal added in v0.16.4

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

func (*ReplicaSetStatus) XXX_Merge added in v0.16.4

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

func (*ReplicaSetStatus) XXX_Size added in v0.16.4

func (m *ReplicaSetStatus) XXX_Size() int

func (*ReplicaSetStatus) XXX_Unmarshal added in v0.16.4

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

type RollbackConfig

type RollbackConfig struct {
	// The revision to rollback to. If set to 0, rollback to the last revision.
	// +optional
	Revision int64 `json:"revision,omitempty" protobuf:"varint,1,opt,name=revision"`
}

DEPRECATED.

func (*RollbackConfig) DeepCopy

func (in *RollbackConfig) DeepCopy() *RollbackConfig

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

func (*RollbackConfig) DeepCopyInto

func (in *RollbackConfig) DeepCopyInto(out *RollbackConfig)

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

func (*RollbackConfig) Descriptor

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

func (*RollbackConfig) Marshal

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

func (*RollbackConfig) MarshalTo

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

func (*RollbackConfig) MarshalToSizedBuffer added in v0.16.4

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

func (*RollbackConfig) ProtoMessage

func (*RollbackConfig) ProtoMessage()

func (*RollbackConfig) Reset

func (m *RollbackConfig) Reset()

func (*RollbackConfig) Size

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

func (*RollbackConfig) String

func (this *RollbackConfig) String() string

func (RollbackConfig) SwaggerDoc

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

func (*RollbackConfig) Unmarshal

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

func (*RollbackConfig) XXX_DiscardUnknown added in v0.16.4

func (m *RollbackConfig) XXX_DiscardUnknown()

func (*RollbackConfig) XXX_Marshal added in v0.16.4

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

func (*RollbackConfig) XXX_Merge added in v0.16.4

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

func (*RollbackConfig) XXX_Size added in v0.16.4

func (m *RollbackConfig) XXX_Size() int

func (*RollbackConfig) XXX_Unmarshal added in v0.16.4

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

type RollingUpdateDaemonSet

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 if MaxSurge is 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 `json:"maxUnavailable,omitempty" protobuf:"bytes,1,opt,name=maxUnavailable"`

	// The maximum number of nodes with an existing available DaemonSet pod that
	// can have an updated DaemonSet pod during during an update.
	// 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 to a minimum of 1.
	// Default value is 0.
	// 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 a new pod created before the old pod is marked as deleted.
	// The update starts by launching new pods on 30% of nodes. Once an updated
	// pod is available (Ready for at least minReadySeconds) the old DaemonSet pod
	// on that node is marked deleted. If the old pod becomes unavailable for any
	// reason (Ready transitions to false, is evicted, or is drained) an updated
	// pod is immediatedly created on that node without considering surge limits.
	// Allowing surge implies the possibility that the resources consumed by the
	// daemonset on any given node can double if the readiness check fails, and
	// so resource intensive daemonsets should take into account that they may
	// cause evictions during disruption.
	// This is an alpha field and requires enabling DaemonSetUpdateSurge feature gate.
	// +optional
	MaxSurge *intstr.IntOrString `json:"maxSurge,omitempty" protobuf:"bytes,2,opt,name=maxSurge"`
}

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

func (*RollingUpdateDaemonSet) DeepCopy

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

func (*RollingUpdateDaemonSet) DeepCopyInto

func (in *RollingUpdateDaemonSet) DeepCopyInto(out *RollingUpdateDaemonSet)

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

func (*RollingUpdateDaemonSet) Descriptor

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

func (*RollingUpdateDaemonSet) Marshal

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

func (*RollingUpdateDaemonSet) MarshalTo

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

func (*RollingUpdateDaemonSet) MarshalToSizedBuffer added in v0.16.4

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

func (*RollingUpdateDaemonSet) ProtoMessage

func (*RollingUpdateDaemonSet) ProtoMessage()

func (*RollingUpdateDaemonSet) Reset

func (m *RollingUpdateDaemonSet) Reset()

func (*RollingUpdateDaemonSet) Size

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

func (*RollingUpdateDaemonSet) String

func (this *RollingUpdateDaemonSet) String() string

func (RollingUpdateDaemonSet) SwaggerDoc

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

func (*RollingUpdateDaemonSet) Unmarshal

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

func (*RollingUpdateDaemonSet) XXX_DiscardUnknown added in v0.16.4

func (m *RollingUpdateDaemonSet) XXX_DiscardUnknown()

func (*RollingUpdateDaemonSet) XXX_Marshal added in v0.16.4

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

func (*RollingUpdateDaemonSet) XXX_Merge added in v0.16.4

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

func (*RollingUpdateDaemonSet) XXX_Size added in v0.16.4

func (m *RollingUpdateDaemonSet) XXX_Size() int

func (*RollingUpdateDaemonSet) XXX_Unmarshal added in v0.16.4

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

type RollingUpdateDeployment

type RollingUpdateDeployment struct {
	// The maximum number of pods that can be unavailable during the update.
	// Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%).
	// Absolute number is calculated from percentage by rounding down.
	// This can not be 0 if MaxSurge is 0.
	// By default, a fixed value of 1 is used.
	// Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods
	// immediately when the rolling update starts. Once new pods are ready, old RC
	// can be scaled down further, followed by scaling up the new RC, ensuring
	// that the total number of pods available at all times during the update is at
	// least 70% of desired pods.
	// +optional
	MaxUnavailable *intstr.IntOrString `json:"maxUnavailable,omitempty" protobuf:"bytes,1,opt,name=maxUnavailable"`

	// 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 `json:"maxSurge,omitempty" protobuf:"bytes,2,opt,name=maxSurge"`
}

Spec to control the desired behavior of rolling update.

func (*RollingUpdateDeployment) DeepCopy

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

func (*RollingUpdateDeployment) DeepCopyInto

func (in *RollingUpdateDeployment) DeepCopyInto(out *RollingUpdateDeployment)

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

func (*RollingUpdateDeployment) Descriptor

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

func (*RollingUpdateDeployment) Marshal

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

func (*RollingUpdateDeployment) MarshalTo

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

func (*RollingUpdateDeployment) MarshalToSizedBuffer added in v0.16.4

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

func (*RollingUpdateDeployment) ProtoMessage

func (*RollingUpdateDeployment) ProtoMessage()

func (*RollingUpdateDeployment) Reset

func (m *RollingUpdateDeployment) Reset()

func (*RollingUpdateDeployment) Size

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

func (*RollingUpdateDeployment) String

func (this *RollingUpdateDeployment) String() string

func (RollingUpdateDeployment) SwaggerDoc

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

func (*RollingUpdateDeployment) Unmarshal

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

func (*RollingUpdateDeployment) XXX_DiscardUnknown added in v0.16.4

func (m *RollingUpdateDeployment) XXX_DiscardUnknown()

func (*RollingUpdateDeployment) XXX_Marshal added in v0.16.4

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

func (*RollingUpdateDeployment) XXX_Merge added in v0.16.4

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

func (*RollingUpdateDeployment) XXX_Size added in v0.16.4

func (m *RollingUpdateDeployment) XXX_Size() int

func (*RollingUpdateDeployment) XXX_Unmarshal added in v0.16.4

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

type Scale

type Scale struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// 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 `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`

	// 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 `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

represents a scaling request for a resource.

func (*Scale) APILifecycleDeprecated added in v0.19.0

func (in *Scale) APILifecycleDeprecated() (major, minor int)

APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.

func (*Scale) APILifecycleIntroduced added in v0.19.0

func (in *Scale) APILifecycleIntroduced() (major, minor int)

APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.

func (*Scale) APILifecycleRemoved added in v0.19.0

func (in *Scale) APILifecycleRemoved() (major, minor int)

APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.

func (*Scale) DeepCopy

func (in *Scale) DeepCopy() *Scale

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

func (*Scale) DeepCopyInto

func (in *Scale) DeepCopyInto(out *Scale)

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

func (*Scale) DeepCopyObject

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

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

func (*Scale) Descriptor

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

func (*Scale) Marshal

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

func (*Scale) MarshalTo

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

func (*Scale) MarshalToSizedBuffer added in v0.16.4

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

func (*Scale) ProtoMessage

func (*Scale) ProtoMessage()

func (*Scale) Reset

func (m *Scale) Reset()

func (*Scale) Size

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

func (*Scale) String

func (this *Scale) String() string

func (Scale) SwaggerDoc

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

func (*Scale) Unmarshal

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

func (*Scale) XXX_DiscardUnknown added in v0.16.4

func (m *Scale) XXX_DiscardUnknown()

func (*Scale) XXX_Marshal added in v0.16.4

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

func (*Scale) XXX_Merge added in v0.16.4

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

func (*Scale) XXX_Size added in v0.16.4

func (m *Scale) XXX_Size() int

func (*Scale) XXX_Unmarshal added in v0.16.4

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

type ScaleSpec

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

describes the attributes of a scale subresource

func (*ScaleSpec) DeepCopy

func (in *ScaleSpec) DeepCopy() *ScaleSpec

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

func (*ScaleSpec) DeepCopyInto

func (in *ScaleSpec) DeepCopyInto(out *ScaleSpec)

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

func (*ScaleSpec) Descriptor

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

func (*ScaleSpec) Marshal

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

func (*ScaleSpec) MarshalTo

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

func (*ScaleSpec) MarshalToSizedBuffer added in v0.16.4

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

func (*ScaleSpec) ProtoMessage

func (*ScaleSpec) ProtoMessage()

func (*ScaleSpec) Reset

func (m *ScaleSpec) Reset()

func (*ScaleSpec) Size

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

func (*ScaleSpec) String

func (this *ScaleSpec) String() string

func (ScaleSpec) SwaggerDoc

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

func (*ScaleSpec) Unmarshal

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

func (*ScaleSpec) XXX_DiscardUnknown added in v0.16.4

func (m *ScaleSpec) XXX_DiscardUnknown()

func (*ScaleSpec) XXX_Marshal added in v0.16.4

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

func (*ScaleSpec) XXX_Merge added in v0.16.4

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

func (*ScaleSpec) XXX_Size added in v0.16.4

func (m *ScaleSpec) XXX_Size() int

func (*ScaleSpec) XXX_Unmarshal added in v0.16.4

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

type ScaleStatus

type ScaleStatus struct {
	// actual number of observed instances of the scaled object.
	Replicas int32 `json:"replicas" protobuf:"varint,1,opt,name=replicas"`

	// selector is a label query over pods that should match the replicas count. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
	// +optional
	// +mapType=atomic
	Selector map[string]string `json:"selector,omitempty" protobuf:"bytes,2,rep,name=selector"`

	// 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 `json:"targetSelector,omitempty" protobuf:"bytes,3,opt,name=targetSelector"`
}

represents the current status of a scale subresource.

func (*ScaleStatus) DeepCopy

func (in *ScaleStatus) DeepCopy() *ScaleStatus

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

func (*ScaleStatus) DeepCopyInto

func (in *ScaleStatus) DeepCopyInto(out *ScaleStatus)

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

func (*ScaleStatus) Descriptor

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

func (*ScaleStatus) Marshal

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

func (*ScaleStatus) MarshalTo

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

func (*ScaleStatus) MarshalToSizedBuffer added in v0.16.4

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

func (*ScaleStatus) ProtoMessage

func (*ScaleStatus) ProtoMessage()

func (*ScaleStatus) Reset

func (m *ScaleStatus) Reset()

func (*ScaleStatus) Size

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

func (*ScaleStatus) String

func (this *ScaleStatus) String() string

func (ScaleStatus) SwaggerDoc

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

func (*ScaleStatus) Unmarshal

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

func (*ScaleStatus) XXX_DiscardUnknown added in v0.16.4

func (m *ScaleStatus) XXX_DiscardUnknown()

func (*ScaleStatus) XXX_Marshal added in v0.16.4

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

func (*ScaleStatus) XXX_Merge added in v0.16.4

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

func (*ScaleStatus) XXX_Size added in v0.16.4

func (m *ScaleStatus) XXX_Size() int

func (*ScaleStatus) XXX_Unmarshal added in v0.16.4

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

Jump to

Keyboard shortcuts

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