api: k8s.io/api/extensions/v1beta1 Index | Files

package v1beta1

import "k8s.io/api/extensions/v1beta1"

Index

Package Files

doc.go generated.pb.go register.go types.go types_swagger_doc_generated.go zz_generated.deepcopy.go

Constants

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
)
const AllowAllRuntimeClassNames = "*"

AllowAllRuntimeClassNames can be used as a value for the RuntimeClassStrategyOptions.AllowedRuntimeClassNames field and means that any RuntimeClassName is allowed.

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"
)
const GroupName = "extensions"

GroupName is the group name use in this package

Variables

var (
    ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
    ErrIntOverflowGenerated   = fmt.Errorf("proto: integer overflow")
)
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
)
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1beta1"}

SchemeGroupVersion is group version used to register these objects

func Resource Uses

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

type AllowedCSIDriver Uses

type AllowedCSIDriver struct {
    // Name is the registered name of the CSI driver
    Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
}

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

func (*AllowedCSIDriver) DeepCopy Uses

func (in *AllowedCSIDriver) DeepCopy() *AllowedCSIDriver

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

func (*AllowedCSIDriver) DeepCopyInto Uses

func (in *AllowedCSIDriver) DeepCopyInto(out *AllowedCSIDriver)

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

func (*AllowedCSIDriver) Descriptor Uses

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

func (*AllowedCSIDriver) Marshal Uses

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

func (*AllowedCSIDriver) MarshalTo Uses

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

func (*AllowedCSIDriver) MarshalToSizedBuffer Uses

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

func (*AllowedCSIDriver) ProtoMessage Uses

func (*AllowedCSIDriver) ProtoMessage()

func (*AllowedCSIDriver) Reset Uses

func (m *AllowedCSIDriver) Reset()

func (*AllowedCSIDriver) Size Uses

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

func (*AllowedCSIDriver) String Uses

func (this *AllowedCSIDriver) String() string

func (AllowedCSIDriver) SwaggerDoc Uses

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

func (*AllowedCSIDriver) Unmarshal Uses

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

func (*AllowedCSIDriver) XXX_DiscardUnknown Uses

func (m *AllowedCSIDriver) XXX_DiscardUnknown()

func (*AllowedCSIDriver) XXX_Marshal Uses

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

func (*AllowedCSIDriver) XXX_Merge Uses

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

func (*AllowedCSIDriver) XXX_Size Uses

func (m *AllowedCSIDriver) XXX_Size() int

func (*AllowedCSIDriver) XXX_Unmarshal Uses

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

type AllowedFlexVolume Uses

type AllowedFlexVolume struct {
    // driver is the name of the Flexvolume driver.
    Driver string `json:"driver" protobuf:"bytes,1,opt,name=driver"`
}

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

func (*AllowedFlexVolume) DeepCopy Uses

func (in *AllowedFlexVolume) DeepCopy() *AllowedFlexVolume

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

func (*AllowedFlexVolume) DeepCopyInto Uses

func (in *AllowedFlexVolume) DeepCopyInto(out *AllowedFlexVolume)

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

func (*AllowedFlexVolume) Descriptor Uses

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

func (*AllowedFlexVolume) Marshal Uses

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

func (*AllowedFlexVolume) MarshalTo Uses

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

func (*AllowedFlexVolume) MarshalToSizedBuffer Uses

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

func (*AllowedFlexVolume) ProtoMessage Uses

func (*AllowedFlexVolume) ProtoMessage()

func (*AllowedFlexVolume) Reset Uses

func (m *AllowedFlexVolume) Reset()

func (*AllowedFlexVolume) Size Uses

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

func (*AllowedFlexVolume) String Uses

func (this *AllowedFlexVolume) String() string

func (AllowedFlexVolume) SwaggerDoc Uses

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

func (*AllowedFlexVolume) Unmarshal Uses

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

func (*AllowedFlexVolume) XXX_DiscardUnknown Uses

func (m *AllowedFlexVolume) XXX_DiscardUnknown()

func (*AllowedFlexVolume) XXX_Marshal Uses

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

func (*AllowedFlexVolume) XXX_Merge Uses

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

func (*AllowedFlexVolume) XXX_Size Uses

func (m *AllowedFlexVolume) XXX_Size() int

func (*AllowedFlexVolume) XXX_Unmarshal Uses

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

type AllowedHostPath Uses

type AllowedHostPath struct {
    // pathPrefix is the path prefix that the host volume must match.
    // It does not support `*`.
    // Trailing slashes are trimmed when validating the path prefix with a host path.
    //
    // Examples:
    // `/foo` would allow `/foo`, `/foo/` and `/foo/bar`
    // `/foo` would not allow `/food` or `/etc/foo`
    PathPrefix string `json:"pathPrefix,omitempty" protobuf:"bytes,1,rep,name=pathPrefix"`

    // when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.
    // +optional
    ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,2,opt,name=readOnly"`
}

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

func (*AllowedHostPath) DeepCopy Uses

func (in *AllowedHostPath) DeepCopy() *AllowedHostPath

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

func (*AllowedHostPath) DeepCopyInto Uses

func (in *AllowedHostPath) DeepCopyInto(out *AllowedHostPath)

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

func (*AllowedHostPath) Descriptor Uses

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

func (*AllowedHostPath) Marshal Uses

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

func (*AllowedHostPath) MarshalTo Uses

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

func (*AllowedHostPath) MarshalToSizedBuffer Uses

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

func (*AllowedHostPath) ProtoMessage Uses

func (*AllowedHostPath) ProtoMessage()

func (*AllowedHostPath) Reset Uses

func (m *AllowedHostPath) Reset()

func (*AllowedHostPath) Size Uses

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

func (*AllowedHostPath) String Uses

func (this *AllowedHostPath) String() string

func (AllowedHostPath) SwaggerDoc Uses

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

func (*AllowedHostPath) Unmarshal Uses

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

func (*AllowedHostPath) XXX_DiscardUnknown Uses

func (m *AllowedHostPath) XXX_DiscardUnknown()

func (*AllowedHostPath) XXX_Marshal Uses

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

func (*AllowedHostPath) XXX_Merge Uses

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

func (*AllowedHostPath) XXX_Size Uses

func (m *AllowedHostPath) XXX_Size() int

func (*AllowedHostPath) XXX_Unmarshal Uses

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

type DaemonSet Uses

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

func (in *DaemonSet) DeepCopy() *DaemonSet

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

func (*DaemonSet) DeepCopyInto Uses

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 Uses

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

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

func (*DaemonSet) Descriptor Uses

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

func (*DaemonSet) Marshal Uses

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

func (*DaemonSet) MarshalTo Uses

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

func (*DaemonSet) MarshalToSizedBuffer Uses

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

func (*DaemonSet) ProtoMessage Uses

func (*DaemonSet) ProtoMessage()

func (*DaemonSet) Reset Uses

func (m *DaemonSet) Reset()

func (*DaemonSet) Size Uses

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

func (*DaemonSet) String Uses

func (this *DaemonSet) String() string

func (DaemonSet) SwaggerDoc Uses

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

func (*DaemonSet) Unmarshal Uses

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

func (*DaemonSet) XXX_DiscardUnknown Uses

func (m *DaemonSet) XXX_DiscardUnknown()

func (*DaemonSet) XXX_Marshal Uses

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

func (*DaemonSet) XXX_Merge Uses

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

func (*DaemonSet) XXX_Size Uses

func (m *DaemonSet) XXX_Size() int

func (*DaemonSet) XXX_Unmarshal Uses

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

type DaemonSetCondition Uses

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 Uses

func (in *DaemonSetCondition) DeepCopy() *DaemonSetCondition

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

func (*DaemonSetCondition) DeepCopyInto Uses

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 Uses

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

func (*DaemonSetCondition) Marshal Uses

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

func (*DaemonSetCondition) MarshalTo Uses

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

func (*DaemonSetCondition) MarshalToSizedBuffer Uses

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

func (*DaemonSetCondition) ProtoMessage Uses

func (*DaemonSetCondition) ProtoMessage()

func (*DaemonSetCondition) Reset Uses

func (m *DaemonSetCondition) Reset()

func (*DaemonSetCondition) Size Uses

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

func (*DaemonSetCondition) String Uses

func (this *DaemonSetCondition) String() string

func (DaemonSetCondition) SwaggerDoc Uses

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

func (*DaemonSetCondition) Unmarshal Uses

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

func (*DaemonSetCondition) XXX_DiscardUnknown Uses

func (m *DaemonSetCondition) XXX_DiscardUnknown()

func (*DaemonSetCondition) XXX_Marshal Uses

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

func (*DaemonSetCondition) XXX_Merge Uses

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

func (*DaemonSetCondition) XXX_Size Uses

func (m *DaemonSetCondition) XXX_Size() int

func (*DaemonSetCondition) XXX_Unmarshal Uses

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

type DaemonSetConditionType Uses

type DaemonSetConditionType string

type DaemonSetList Uses

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

func (in *DaemonSetList) DeepCopy() *DaemonSetList

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

func (*DaemonSetList) DeepCopyInto Uses

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 Uses

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

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

func (*DaemonSetList) Descriptor Uses

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

func (*DaemonSetList) Marshal Uses

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

func (*DaemonSetList) MarshalTo Uses

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

func (*DaemonSetList) MarshalToSizedBuffer Uses

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

func (*DaemonSetList) ProtoMessage Uses

func (*DaemonSetList) ProtoMessage()

func (*DaemonSetList) Reset Uses

func (m *DaemonSetList) Reset()

func (*DaemonSetList) Size Uses

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

func (*DaemonSetList) String Uses

func (this *DaemonSetList) String() string

func (DaemonSetList) SwaggerDoc Uses

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

func (*DaemonSetList) Unmarshal Uses

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

func (*DaemonSetList) XXX_DiscardUnknown Uses

func (m *DaemonSetList) XXX_DiscardUnknown()

func (*DaemonSetList) XXX_Marshal Uses

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

func (*DaemonSetList) XXX_Merge Uses

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

func (*DaemonSetList) XXX_Size Uses

func (m *DaemonSetList) XXX_Size() int

func (*DaemonSetList) XXX_Unmarshal Uses

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

type DaemonSetSpec Uses

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 Uses

func (in *DaemonSetSpec) DeepCopy() *DaemonSetSpec

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

func (*DaemonSetSpec) DeepCopyInto Uses

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 Uses

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

func (*DaemonSetSpec) Marshal Uses

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

func (*DaemonSetSpec) MarshalTo Uses

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

func (*DaemonSetSpec) MarshalToSizedBuffer Uses

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

func (*DaemonSetSpec) ProtoMessage Uses

func (*DaemonSetSpec) ProtoMessage()

func (*DaemonSetSpec) Reset Uses

func (m *DaemonSetSpec) Reset()

func (*DaemonSetSpec) Size Uses

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

func (*DaemonSetSpec) String Uses

func (this *DaemonSetSpec) String() string

func (DaemonSetSpec) SwaggerDoc Uses

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

func (*DaemonSetSpec) Unmarshal Uses

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

func (*DaemonSetSpec) XXX_DiscardUnknown Uses

func (m *DaemonSetSpec) XXX_DiscardUnknown()

func (*DaemonSetSpec) XXX_Marshal Uses

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

func (*DaemonSetSpec) XXX_Merge Uses

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

func (*DaemonSetSpec) XXX_Size Uses

func (m *DaemonSetSpec) XXX_Size() int

func (*DaemonSetSpec) XXX_Unmarshal Uses

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

type DaemonSetStatus Uses

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
    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 Uses

func (in *DaemonSetStatus) DeepCopy() *DaemonSetStatus

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

func (*DaemonSetStatus) DeepCopyInto Uses

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 Uses

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

func (*DaemonSetStatus) Marshal Uses

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

func (*DaemonSetStatus) MarshalTo Uses

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

func (*DaemonSetStatus) MarshalToSizedBuffer Uses

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

func (*DaemonSetStatus) ProtoMessage Uses

func (*DaemonSetStatus) ProtoMessage()

func (*DaemonSetStatus) Reset Uses

func (m *DaemonSetStatus) Reset()

func (*DaemonSetStatus) Size Uses

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

func (*DaemonSetStatus) String Uses

func (this *DaemonSetStatus) String() string

func (DaemonSetStatus) SwaggerDoc Uses

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

func (*DaemonSetStatus) Unmarshal Uses

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

func (*DaemonSetStatus) XXX_DiscardUnknown Uses

func (m *DaemonSetStatus) XXX_DiscardUnknown()

func (*DaemonSetStatus) XXX_Marshal Uses

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

func (*DaemonSetStatus) XXX_Merge Uses

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

func (*DaemonSetStatus) XXX_Size Uses

func (m *DaemonSetStatus) XXX_Size() int

func (*DaemonSetStatus) XXX_Unmarshal Uses

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

type DaemonSetUpdateStrategy Uses

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"`
}

func (*DaemonSetUpdateStrategy) DeepCopy Uses

func (in *DaemonSetUpdateStrategy) DeepCopy() *DaemonSetUpdateStrategy

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

func (*DaemonSetUpdateStrategy) DeepCopyInto Uses

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 Uses

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

func (*DaemonSetUpdateStrategy) Marshal Uses

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

func (*DaemonSetUpdateStrategy) MarshalTo Uses

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

func (*DaemonSetUpdateStrategy) MarshalToSizedBuffer Uses

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

func (*DaemonSetUpdateStrategy) ProtoMessage Uses

func (*DaemonSetUpdateStrategy) ProtoMessage()

func (*DaemonSetUpdateStrategy) Reset Uses

func (m *DaemonSetUpdateStrategy) Reset()

func (*DaemonSetUpdateStrategy) Size Uses

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

func (*DaemonSetUpdateStrategy) String Uses

func (this *DaemonSetUpdateStrategy) String() string

func (DaemonSetUpdateStrategy) SwaggerDoc Uses

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

func (*DaemonSetUpdateStrategy) Unmarshal Uses

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

func (*DaemonSetUpdateStrategy) XXX_DiscardUnknown Uses

func (m *DaemonSetUpdateStrategy) XXX_DiscardUnknown()

func (*DaemonSetUpdateStrategy) XXX_Marshal Uses

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

func (*DaemonSetUpdateStrategy) XXX_Merge Uses

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

func (*DaemonSetUpdateStrategy) XXX_Size Uses

func (m *DaemonSetUpdateStrategy) XXX_Size() int

func (*DaemonSetUpdateStrategy) XXX_Unmarshal Uses

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

type DaemonSetUpdateStrategyType Uses

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 Uses

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

func (in *Deployment) DeepCopy() *Deployment

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

func (*Deployment) DeepCopyInto Uses

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 Uses

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

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

func (*Deployment) Descriptor Uses

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

func (*Deployment) Marshal Uses

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

func (*Deployment) MarshalTo Uses

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

func (*Deployment) MarshalToSizedBuffer Uses

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

func (*Deployment) ProtoMessage Uses

func (*Deployment) ProtoMessage()

func (*Deployment) Reset Uses

func (m *Deployment) Reset()

func (*Deployment) Size Uses

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

func (*Deployment) String Uses

func (this *Deployment) String() string

func (Deployment) SwaggerDoc Uses

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

func (*Deployment) Unmarshal Uses

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

func (*Deployment) XXX_DiscardUnknown Uses

func (m *Deployment) XXX_DiscardUnknown()

func (*Deployment) XXX_Marshal Uses

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

func (*Deployment) XXX_Merge Uses

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

func (*Deployment) XXX_Size Uses

func (m *Deployment) XXX_Size() int

func (*Deployment) XXX_Unmarshal Uses

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

type DeploymentCondition Uses

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 Uses

func (in *DeploymentCondition) DeepCopy() *DeploymentCondition

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

func (*DeploymentCondition) DeepCopyInto Uses

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 Uses

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

func (*DeploymentCondition) Marshal Uses

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

func (*DeploymentCondition) MarshalTo Uses

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

func (*DeploymentCondition) MarshalToSizedBuffer Uses

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

func (*DeploymentCondition) ProtoMessage Uses

func (*DeploymentCondition) ProtoMessage()

func (*DeploymentCondition) Reset Uses

func (m *DeploymentCondition) Reset()

func (*DeploymentCondition) Size Uses

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

func (*DeploymentCondition) String Uses

func (this *DeploymentCondition) String() string

func (DeploymentCondition) SwaggerDoc Uses

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

func (*DeploymentCondition) Unmarshal Uses

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

func (*DeploymentCondition) XXX_DiscardUnknown Uses

func (m *DeploymentCondition) XXX_DiscardUnknown()

func (*DeploymentCondition) XXX_Marshal Uses

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

func (*DeploymentCondition) XXX_Merge Uses

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

func (*DeploymentCondition) XXX_Size Uses

func (m *DeploymentCondition) XXX_Size() int

func (*DeploymentCondition) XXX_Unmarshal Uses

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

type DeploymentConditionType Uses

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 Uses

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

func (in *DeploymentList) DeepCopy() *DeploymentList

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

func (*DeploymentList) DeepCopyInto Uses

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 Uses

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

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

func (*DeploymentList) Descriptor Uses

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

func (*DeploymentList) Marshal Uses

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

func (*DeploymentList) MarshalTo Uses

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

func (*DeploymentList) MarshalToSizedBuffer Uses

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

func (*DeploymentList) ProtoMessage Uses

func (*DeploymentList) ProtoMessage()

func (*DeploymentList) Reset Uses

func (m *DeploymentList) Reset()

func (*DeploymentList) Size Uses

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

func (*DeploymentList) String Uses

func (this *DeploymentList) String() string

func (DeploymentList) SwaggerDoc Uses

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

func (*DeploymentList) Unmarshal Uses

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

func (*DeploymentList) XXX_DiscardUnknown Uses

func (m *DeploymentList) XXX_DiscardUnknown()

func (*DeploymentList) XXX_Marshal Uses

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

func (*DeploymentList) XXX_Merge Uses

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

func (*DeploymentList) XXX_Size Uses

func (m *DeploymentList) XXX_Size() int

func (*DeploymentList) XXX_Unmarshal Uses

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

type DeploymentRollback Uses

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

func (in *DeploymentRollback) DeepCopy() *DeploymentRollback

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

func (*DeploymentRollback) DeepCopyInto Uses

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 Uses

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

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

func (*DeploymentRollback) Descriptor Uses

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

func (*DeploymentRollback) Marshal Uses

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

func (*DeploymentRollback) MarshalTo Uses

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

func (*DeploymentRollback) MarshalToSizedBuffer Uses

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

func (*DeploymentRollback) ProtoMessage Uses

func (*DeploymentRollback) ProtoMessage()

func (*DeploymentRollback) Reset Uses

func (m *DeploymentRollback) Reset()

func (*DeploymentRollback) Size Uses

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

func (*DeploymentRollback) String Uses

func (this *DeploymentRollback) String() string

func (DeploymentRollback) SwaggerDoc Uses

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

func (*DeploymentRollback) Unmarshal Uses

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

func (*DeploymentRollback) XXX_DiscardUnknown Uses

func (m *DeploymentRollback) XXX_DiscardUnknown()

func (*DeploymentRollback) XXX_Marshal Uses

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

func (*DeploymentRollback) XXX_Merge Uses

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

func (*DeploymentRollback) XXX_Size Uses

func (m *DeploymentRollback) XXX_Size() int

func (*DeploymentRollback) XXX_Unmarshal Uses

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

type DeploymentSpec Uses

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 RelicaSets".
    // +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 Uses

func (in *DeploymentSpec) DeepCopy() *DeploymentSpec

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

func (*DeploymentSpec) DeepCopyInto Uses

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 Uses

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

func (*DeploymentSpec) Marshal Uses

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

func (*DeploymentSpec) MarshalTo Uses

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

func (*DeploymentSpec) MarshalToSizedBuffer Uses

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

func (*DeploymentSpec) ProtoMessage Uses

func (*DeploymentSpec) ProtoMessage()

func (*DeploymentSpec) Reset Uses

func (m *DeploymentSpec) Reset()

func (*DeploymentSpec) Size Uses

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

func (*DeploymentSpec) String Uses

func (this *DeploymentSpec) String() string

func (DeploymentSpec) SwaggerDoc Uses

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

func (*DeploymentSpec) Unmarshal Uses

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

func (*DeploymentSpec) XXX_DiscardUnknown Uses

func (m *DeploymentSpec) XXX_DiscardUnknown()

func (*DeploymentSpec) XXX_Marshal Uses

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

func (*DeploymentSpec) XXX_Merge Uses

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

func (*DeploymentSpec) XXX_Size Uses

func (m *DeploymentSpec) XXX_Size() int

func (*DeploymentSpec) XXX_Unmarshal Uses

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

type DeploymentStatus Uses

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
    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 Uses

func (in *DeploymentStatus) DeepCopy() *DeploymentStatus

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

func (*DeploymentStatus) DeepCopyInto Uses

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 Uses

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

func (*DeploymentStatus) Marshal Uses

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

func (*DeploymentStatus) MarshalTo Uses

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

func (*DeploymentStatus) MarshalToSizedBuffer Uses

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

func (*DeploymentStatus) ProtoMessage Uses

func (*DeploymentStatus) ProtoMessage()

func (*DeploymentStatus) Reset Uses

func (m *DeploymentStatus) Reset()

func (*DeploymentStatus) Size Uses

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

func (*DeploymentStatus) String Uses

func (this *DeploymentStatus) String() string

func (DeploymentStatus) SwaggerDoc Uses

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

func (*DeploymentStatus) Unmarshal Uses

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

func (*DeploymentStatus) XXX_DiscardUnknown Uses

func (m *DeploymentStatus) XXX_DiscardUnknown()

func (*DeploymentStatus) XXX_Marshal Uses

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

func (*DeploymentStatus) XXX_Merge Uses

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

func (*DeploymentStatus) XXX_Size Uses

func (m *DeploymentStatus) XXX_Size() int

func (*DeploymentStatus) XXX_Unmarshal Uses

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

type DeploymentStrategy Uses

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 Uses

func (in *DeploymentStrategy) DeepCopy() *DeploymentStrategy

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

func (*DeploymentStrategy) DeepCopyInto Uses

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 Uses

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

func (*DeploymentStrategy) Marshal Uses

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

func (*DeploymentStrategy) MarshalTo Uses

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

func (*DeploymentStrategy) MarshalToSizedBuffer Uses

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

func (*DeploymentStrategy) ProtoMessage Uses

func (*DeploymentStrategy) ProtoMessage()

func (*DeploymentStrategy) Reset Uses

func (m *DeploymentStrategy) Reset()

func (*DeploymentStrategy) Size Uses

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

func (*DeploymentStrategy) String Uses

func (this *DeploymentStrategy) String() string

func (DeploymentStrategy) SwaggerDoc Uses

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

func (*DeploymentStrategy) Unmarshal Uses

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

func (*DeploymentStrategy) XXX_DiscardUnknown Uses

func (m *DeploymentStrategy) XXX_DiscardUnknown()

func (*DeploymentStrategy) XXX_Marshal Uses

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

func (*DeploymentStrategy) XXX_Merge Uses

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

func (*DeploymentStrategy) XXX_Size Uses

func (m *DeploymentStrategy) XXX_Size() int

func (*DeploymentStrategy) XXX_Unmarshal Uses

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

type DeploymentStrategyType Uses

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 FSGroupStrategyOptions Uses

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

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

func (*FSGroupStrategyOptions) DeepCopy Uses

func (in *FSGroupStrategyOptions) DeepCopy() *FSGroupStrategyOptions

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

func (*FSGroupStrategyOptions) DeepCopyInto Uses

func (in *FSGroupStrategyOptions) DeepCopyInto(out *FSGroupStrategyOptions)

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

func (*FSGroupStrategyOptions) Descriptor Uses

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

func (*FSGroupStrategyOptions) Marshal Uses

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

func (*FSGroupStrategyOptions) MarshalTo Uses

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

func (*FSGroupStrategyOptions) MarshalToSizedBuffer Uses

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

func (*FSGroupStrategyOptions) ProtoMessage Uses

func (*FSGroupStrategyOptions) ProtoMessage()

func (*FSGroupStrategyOptions) Reset Uses

func (m *FSGroupStrategyOptions) Reset()

func (*FSGroupStrategyOptions) Size Uses

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

func (*FSGroupStrategyOptions) String Uses

func (this *FSGroupStrategyOptions) String() string

func (FSGroupStrategyOptions) SwaggerDoc Uses

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

func (*FSGroupStrategyOptions) Unmarshal Uses

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

func (*FSGroupStrategyOptions) XXX_DiscardUnknown Uses

func (m *FSGroupStrategyOptions) XXX_DiscardUnknown()

func (*FSGroupStrategyOptions) XXX_Marshal Uses

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

func (*FSGroupStrategyOptions) XXX_Merge Uses

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

func (*FSGroupStrategyOptions) XXX_Size Uses

func (m *FSGroupStrategyOptions) XXX_Size() int

func (*FSGroupStrategyOptions) XXX_Unmarshal Uses

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

type FSGroupStrategyType Uses

type FSGroupStrategyType string

FSGroupStrategyType denotes strategy types for generating FSGroup values for a SecurityContext Deprecated: use FSGroupStrategyType from policy API Group instead.

const (
    // FSGroupStrategyMustRunAs meant that container must have FSGroup of X applied.
    // Deprecated: use FSGroupStrategyMustRunAs from policy API Group instead.
    FSGroupStrategyMustRunAs FSGroupStrategyType = "MustRunAs"
    // FSGroupStrategyRunAsAny means that container may make requests for any FSGroup labels.
    // Deprecated: use FSGroupStrategyRunAsAny from policy API Group instead.
    FSGroupStrategyRunAsAny FSGroupStrategyType = "RunAsAny"
)

type FSType Uses

type FSType string

FSType gives strong typing to different file systems that are used by volumes. Deprecated: use FSType from policy API Group instead.

var (
    AzureFile             FSType = "azureFile"
    Flocker               FSType = "flocker"
    FlexVolume            FSType = "flexVolume"
    HostPath              FSType = "hostPath"
    EmptyDir              FSType = "emptyDir"
    GCEPersistentDisk     FSType = "gcePersistentDisk"
    AWSElasticBlockStore  FSType = "awsElasticBlockStore"
    GitRepo               FSType = "gitRepo"
    Secret                FSType = "secret"
    NFS                   FSType = "nfs"
    ISCSI                 FSType = "iscsi"
    Glusterfs             FSType = "glusterfs"
    PersistentVolumeClaim FSType = "persistentVolumeClaim"
    RBD                   FSType = "rbd"
    Cinder                FSType = "cinder"
    CephFS                FSType = "cephFS"
    DownwardAPI           FSType = "downwardAPI"
    FC                    FSType = "fc"
    ConfigMap             FSType = "configMap"
    Quobyte               FSType = "quobyte"
    AzureDisk             FSType = "azureDisk"
    CSI                   FSType = "csi"
    All                   FSType = "*"
)

type HTTPIngressPath Uses

type HTTPIngressPath struct {
    // Path is an extended POSIX regex as defined by IEEE Std 1003.1,
    // (i.e this follows the egrep/unix syntax, not the perl syntax)
    // 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 '/'. If unspecified, the path defaults to a catch all sending
    // traffic to the backend.
    // +optional
    Path string `json:"path,omitempty" protobuf:"bytes,1,opt,name=path"`

    // 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 regex with a backend. Incoming urls matching the path are forwarded to the backend.

func (*HTTPIngressPath) DeepCopy Uses

func (in *HTTPIngressPath) DeepCopy() *HTTPIngressPath

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

func (*HTTPIngressPath) DeepCopyInto Uses

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 Uses

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

func (*HTTPIngressPath) Marshal Uses

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

func (*HTTPIngressPath) MarshalTo Uses

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

func (*HTTPIngressPath) MarshalToSizedBuffer Uses

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

func (*HTTPIngressPath) ProtoMessage Uses

func (*HTTPIngressPath) ProtoMessage()

func (*HTTPIngressPath) Reset Uses

func (m *HTTPIngressPath) Reset()

func (*HTTPIngressPath) Size Uses

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

func (*HTTPIngressPath) String Uses

func (this *HTTPIngressPath) String() string

func (HTTPIngressPath) SwaggerDoc Uses

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

func (*HTTPIngressPath) Unmarshal Uses

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

func (*HTTPIngressPath) XXX_DiscardUnknown Uses

func (m *HTTPIngressPath) XXX_DiscardUnknown()

func (*HTTPIngressPath) XXX_Marshal Uses

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

func (*HTTPIngressPath) XXX_Merge Uses

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

func (*HTTPIngressPath) XXX_Size Uses

func (m *HTTPIngressPath) XXX_Size() int

func (*HTTPIngressPath) XXX_Unmarshal Uses

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

type HTTPIngressRuleValue Uses

type HTTPIngressRuleValue struct {
    // A collection of paths that map requests to backends.
    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 Uses

func (in *HTTPIngressRuleValue) DeepCopy() *HTTPIngressRuleValue

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

func (*HTTPIngressRuleValue) DeepCopyInto Uses

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 Uses

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

func (*HTTPIngressRuleValue) Marshal Uses

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

func (*HTTPIngressRuleValue) MarshalTo Uses

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

func (*HTTPIngressRuleValue) MarshalToSizedBuffer Uses

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

func (*HTTPIngressRuleValue) ProtoMessage Uses

func (*HTTPIngressRuleValue) ProtoMessage()

func (*HTTPIngressRuleValue) Reset Uses

func (m *HTTPIngressRuleValue) Reset()

func (*HTTPIngressRuleValue) Size Uses

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

func (*HTTPIngressRuleValue) String Uses

func (this *HTTPIngressRuleValue) String() string

func (HTTPIngressRuleValue) SwaggerDoc Uses

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

func (*HTTPIngressRuleValue) Unmarshal Uses

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

func (*HTTPIngressRuleValue) XXX_DiscardUnknown Uses

func (m *HTTPIngressRuleValue) XXX_DiscardUnknown()

func (*HTTPIngressRuleValue) XXX_Marshal Uses

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

func (*HTTPIngressRuleValue) XXX_Merge Uses

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

func (*HTTPIngressRuleValue) XXX_Size Uses

func (m *HTTPIngressRuleValue) XXX_Size() int

func (*HTTPIngressRuleValue) XXX_Unmarshal Uses

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

type HostPortRange Uses

type HostPortRange struct {
    // min is the start of the range, inclusive.
    Min int32 `json:"min" protobuf:"varint,1,opt,name=min"`
    // max is the end of the range, inclusive.
    Max int32 `json:"max" protobuf:"varint,2,opt,name=max"`
}

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

func (*HostPortRange) DeepCopy Uses

func (in *HostPortRange) DeepCopy() *HostPortRange

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

func (*HostPortRange) DeepCopyInto Uses

func (in *HostPortRange) DeepCopyInto(out *HostPortRange)

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

func (*HostPortRange) Descriptor Uses

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

func (*HostPortRange) Marshal Uses

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

func (*HostPortRange) MarshalTo Uses

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

func (*HostPortRange) MarshalToSizedBuffer Uses

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

func (*HostPortRange) ProtoMessage Uses

func (*HostPortRange) ProtoMessage()

func (*HostPortRange) Reset Uses

func (m *HostPortRange) Reset()

func (*HostPortRange) Size Uses

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

func (*HostPortRange) String Uses

func (this *HostPortRange) String() string

func (HostPortRange) SwaggerDoc Uses

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

func (*HostPortRange) Unmarshal Uses

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

func (*HostPortRange) XXX_DiscardUnknown Uses

func (m *HostPortRange) XXX_DiscardUnknown()

func (*HostPortRange) XXX_Marshal Uses

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

func (*HostPortRange) XXX_Merge Uses

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

func (*HostPortRange) XXX_Size Uses

func (m *HostPortRange) XXX_Size() int

func (*HostPortRange) XXX_Unmarshal Uses

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

type IDRange Uses

type IDRange struct {
    // min is the start of the range, inclusive.
    Min int64 `json:"min" protobuf:"varint,1,opt,name=min"`
    // max is the end of the range, inclusive.
    Max int64 `json:"max" protobuf:"varint,2,opt,name=max"`
}

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

func (*IDRange) DeepCopy Uses

func (in *IDRange) DeepCopy() *IDRange

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

func (*IDRange) DeepCopyInto Uses

func (in *IDRange) DeepCopyInto(out *IDRange)

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

func (*IDRange) Descriptor Uses

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

func (*IDRange) Marshal Uses

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

func (*IDRange) MarshalTo Uses

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

func (*IDRange) MarshalToSizedBuffer Uses

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

func (*IDRange) ProtoMessage Uses

func (*IDRange) ProtoMessage()

func (*IDRange) Reset Uses

func (m *IDRange) Reset()

func (*IDRange) Size Uses

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

func (*IDRange) String Uses

func (this *IDRange) String() string

func (IDRange) SwaggerDoc Uses

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

func (*IDRange) Unmarshal Uses

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

func (*IDRange) XXX_DiscardUnknown Uses

func (m *IDRange) XXX_DiscardUnknown()

func (*IDRange) XXX_Marshal Uses

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

func (*IDRange) XXX_Merge Uses

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

func (*IDRange) XXX_Size Uses

func (m *IDRange) XXX_Size() int

func (*IDRange) XXX_Unmarshal Uses

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

type IPBlock Uses

type IPBlock struct {
    // CIDR is a string representing the IP Block
    // Valid examples are "192.168.1.1/24"
    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.1/24"
    // Except values will be rejected if they are outside the CIDR range
    // +optional
    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.1/24") 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 Uses

func (in *IPBlock) DeepCopy() *IPBlock

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

func (*IPBlock) DeepCopyInto Uses

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 Uses

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

func (*IPBlock) Marshal Uses

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

func (*IPBlock) MarshalTo Uses

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

func (*IPBlock) MarshalToSizedBuffer Uses

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

func (*IPBlock) ProtoMessage Uses

func (*IPBlock) ProtoMessage()

func (*IPBlock) Reset Uses

func (m *IPBlock) Reset()

func (*IPBlock) Size Uses

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

func (*IPBlock) String Uses

func (this *IPBlock) String() string

func (IPBlock) SwaggerDoc Uses

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

func (*IPBlock) Unmarshal Uses

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

func (*IPBlock) XXX_DiscardUnknown Uses

func (m *IPBlock) XXX_DiscardUnknown()

func (*IPBlock) XXX_Marshal Uses

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

func (*IPBlock) XXX_Merge Uses

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

func (*IPBlock) XXX_Size Uses

func (m *IPBlock) XXX_Size() int

func (*IPBlock) XXX_Unmarshal Uses

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

type Ingress Uses

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

func (in *Ingress) DeepCopy() *Ingress

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

func (*Ingress) DeepCopyInto Uses

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 Uses

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

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

func (*Ingress) Descriptor Uses

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

func (*Ingress) Marshal Uses

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

func (*Ingress) MarshalTo Uses

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

func (*Ingress) MarshalToSizedBuffer Uses

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

func (*Ingress) ProtoMessage Uses

func (*Ingress) ProtoMessage()

func (*Ingress) Reset Uses

func (m *Ingress) Reset()

func (*Ingress) Size Uses

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

func (*Ingress) String Uses

func (this *Ingress) String() string

func (Ingress) SwaggerDoc Uses

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

func (*Ingress) Unmarshal Uses

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

func (*Ingress) XXX_DiscardUnknown Uses

func (m *Ingress) XXX_DiscardUnknown()

func (*Ingress) XXX_Marshal Uses

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

func (*Ingress) XXX_Merge Uses

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

func (*Ingress) XXX_Size Uses

func (m *Ingress) XXX_Size() int

func (*Ingress) XXX_Unmarshal Uses

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

type IngressBackend Uses

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

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

IngressBackend describes all endpoints for a given service and port.

func (*IngressBackend) DeepCopy Uses

func (in *IngressBackend) DeepCopy() *IngressBackend

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

func (*IngressBackend) DeepCopyInto Uses

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 Uses

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

func (*IngressBackend) Marshal Uses

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

func (*IngressBackend) MarshalTo Uses

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

func (*IngressBackend) MarshalToSizedBuffer Uses

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

func (*IngressBackend) ProtoMessage Uses

func (*IngressBackend) ProtoMessage()

func (*IngressBackend) Reset Uses

func (m *IngressBackend) Reset()

func (*IngressBackend) Size Uses

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

func (*IngressBackend) String Uses

func (this *IngressBackend) String() string

func (IngressBackend) SwaggerDoc Uses

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

func (*IngressBackend) Unmarshal Uses

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

func (*IngressBackend) XXX_DiscardUnknown Uses

func (m *IngressBackend) XXX_DiscardUnknown()

func (*IngressBackend) XXX_Marshal Uses

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

func (*IngressBackend) XXX_Merge Uses

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

func (*IngressBackend) XXX_Size Uses

func (m *IngressBackend) XXX_Size() int

func (*IngressBackend) XXX_Unmarshal Uses

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

type IngressList Uses

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

func (in *IngressList) DeepCopy() *IngressList

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

func (*IngressList) DeepCopyInto Uses

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 Uses

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

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

func (*IngressList) Descriptor Uses

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

func (*IngressList) Marshal Uses

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

func (*IngressList) MarshalTo Uses

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

func (*IngressList) MarshalToSizedBuffer Uses

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

func (*IngressList) ProtoMessage Uses

func (*IngressList) ProtoMessage()

func (*IngressList) Reset Uses

func (m *IngressList) Reset()

func (*IngressList) Size Uses

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

func (*IngressList) String Uses

func (this *IngressList) String() string

func (IngressList) SwaggerDoc Uses

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

func (*IngressList) Unmarshal Uses

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

func (*IngressList) XXX_DiscardUnknown Uses

func (m *IngressList) XXX_DiscardUnknown()

func (*IngressList) XXX_Marshal Uses

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

func (*IngressList) XXX_Merge Uses

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

func (*IngressList) XXX_Size Uses

func (m *IngressList) XXX_Size() int

func (*IngressList) XXX_Unmarshal Uses

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

type IngressRule Uses

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 the RFC:
    // 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.
    // +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 Uses

func (in *IngressRule) DeepCopy() *IngressRule

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

func (*IngressRule) DeepCopyInto Uses

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 Uses

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

func (*IngressRule) Marshal Uses

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

func (*IngressRule) MarshalTo Uses

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

func (*IngressRule) MarshalToSizedBuffer Uses

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

func (*IngressRule) ProtoMessage Uses

func (*IngressRule) ProtoMessage()

func (*IngressRule) Reset Uses

func (m *IngressRule) Reset()

func (*IngressRule) Size Uses

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

func (*IngressRule) String Uses

func (this *IngressRule) String() string

func (IngressRule) SwaggerDoc Uses

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

func (*IngressRule) Unmarshal Uses

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

func (*IngressRule) XXX_DiscardUnknown Uses

func (m *IngressRule) XXX_DiscardUnknown()

func (*IngressRule) XXX_Marshal Uses

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

func (*IngressRule) XXX_Merge Uses

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

func (*IngressRule) XXX_Size Uses

func (m *IngressRule) XXX_Size() int

func (*IngressRule) XXX_Unmarshal Uses

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

type IngressRuleValue Uses

type IngressRuleValue struct {

    // +optional
    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 Uses

func (in *IngressRuleValue) DeepCopy() *IngressRuleValue

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

func (*IngressRuleValue) DeepCopyInto Uses

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 Uses

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

func (*IngressRuleValue) Marshal Uses

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

func (*IngressRuleValue) MarshalTo Uses

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

func (*IngressRuleValue) MarshalToSizedBuffer Uses

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

func (*IngressRuleValue) ProtoMessage Uses

func (*IngressRuleValue) ProtoMessage()

func (*IngressRuleValue) Reset Uses

func (m *IngressRuleValue) Reset()

func (*IngressRuleValue) Size Uses

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

func (*IngressRuleValue) String Uses

func (this *IngressRuleValue) String() string

func (IngressRuleValue) SwaggerDoc Uses

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

func (*IngressRuleValue) Unmarshal Uses

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

func (*IngressRuleValue) XXX_DiscardUnknown Uses

func (m *IngressRuleValue) XXX_DiscardUnknown()

func (*IngressRuleValue) XXX_Marshal Uses

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

func (*IngressRuleValue) XXX_Merge Uses

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

func (*IngressRuleValue) XXX_Size Uses

func (m *IngressRuleValue) XXX_Size() int

func (*IngressRuleValue) XXX_Unmarshal Uses

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

type IngressSpec Uses

type IngressSpec struct {
    // 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
    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
    Rules []IngressRule `json:"rules,omitempty" protobuf:"bytes,3,rep,name=rules"`
}

IngressSpec describes the Ingress the user wishes to exist.

func (*IngressSpec) DeepCopy Uses

func (in *IngressSpec) DeepCopy() *IngressSpec

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

func (*IngressSpec) DeepCopyInto Uses

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 Uses

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

func (*IngressSpec) Marshal Uses

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

func (*IngressSpec) MarshalTo Uses

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

func (*IngressSpec) MarshalToSizedBuffer Uses

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

func (*IngressSpec) ProtoMessage Uses

func (*IngressSpec) ProtoMessage()

func (*IngressSpec) Reset Uses

func (m *IngressSpec) Reset()

func (*IngressSpec) Size Uses

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

func (*IngressSpec) String Uses

func (this *IngressSpec) String() string

func (IngressSpec) SwaggerDoc Uses

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

func (*IngressSpec) Unmarshal Uses

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

func (*IngressSpec) XXX_DiscardUnknown Uses

func (m *IngressSpec) XXX_DiscardUnknown()

func (*IngressSpec) XXX_Marshal Uses

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

func (*IngressSpec) XXX_Merge Uses

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

func (*IngressSpec) XXX_Size Uses

func (m *IngressSpec) XXX_Size() int

func (*IngressSpec) XXX_Unmarshal Uses

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

type IngressStatus Uses

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

IngressStatus describe the current state of the Ingress.

func (*IngressStatus) DeepCopy Uses

func (in *IngressStatus) DeepCopy() *IngressStatus

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

func (*IngressStatus) DeepCopyInto Uses

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 Uses

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

func (*IngressStatus) Marshal Uses

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

func (*IngressStatus) MarshalTo Uses

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

func (*IngressStatus) MarshalToSizedBuffer Uses

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

func (*IngressStatus) ProtoMessage Uses

func (*IngressStatus) ProtoMessage()

func (*IngressStatus) Reset Uses

func (m *IngressStatus) Reset()

func (*IngressStatus) Size Uses

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

func (*IngressStatus) String Uses

func (this *IngressStatus) String() string

func (IngressStatus) SwaggerDoc Uses

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

func (*IngressStatus) Unmarshal Uses

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

func (*IngressStatus) XXX_DiscardUnknown Uses

func (m *IngressStatus) XXX_DiscardUnknown()

func (*IngressStatus) XXX_Marshal Uses

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

func (*IngressStatus) XXX_Merge Uses

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

func (*IngressStatus) XXX_Size Uses

func (m *IngressStatus) XXX_Size() int

func (*IngressStatus) XXX_Unmarshal Uses

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

type IngressTLS Uses

type IngressTLS struct {
    // Hosts are a list of hosts included in the TLS certificate. The values in
    // this list must match the name/s used in the tlsSecret. Defaults to the
    // wildcard host setting for the loadbalancer controller fulfilling this
    // Ingress, if left unspecified.
    // +optional
    Hosts []string `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 Uses

func (in *IngressTLS) DeepCopy() *IngressTLS

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

func (*IngressTLS) DeepCopyInto Uses

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 Uses

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

func (*IngressTLS) Marshal Uses

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

func (*IngressTLS) MarshalTo Uses

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

func (*IngressTLS) MarshalToSizedBuffer Uses

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

func (*IngressTLS) ProtoMessage Uses

func (*IngressTLS) ProtoMessage()

func (*IngressTLS) Reset Uses

func (m *IngressTLS) Reset()

func (*IngressTLS) Size Uses

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

func (*IngressTLS) String Uses

func (this *IngressTLS) String() string

func (IngressTLS) SwaggerDoc Uses

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

func (*IngressTLS) Unmarshal Uses

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

func (*IngressTLS) XXX_DiscardUnknown Uses

func (m *IngressTLS) XXX_DiscardUnknown()

func (*IngressTLS) XXX_Marshal Uses

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

func (*IngressTLS) XXX_Merge Uses

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

func (*IngressTLS) XXX_Size Uses

func (m *IngressTLS) XXX_Size() int

func (*IngressTLS) XXX_Unmarshal Uses

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

type NetworkPolicy Uses

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

func (in *NetworkPolicy) DeepCopy() *NetworkPolicy

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

func (*NetworkPolicy) DeepCopyInto Uses

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 Uses

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

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

func (*NetworkPolicy) Descriptor Uses

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

func (*NetworkPolicy) Marshal Uses

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

func (*NetworkPolicy) MarshalTo Uses

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

func (*NetworkPolicy) MarshalToSizedBuffer Uses

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

func (*NetworkPolicy) ProtoMessage Uses

func (*NetworkPolicy) ProtoMessage()

func (*NetworkPolicy) Reset Uses

func (m *NetworkPolicy) Reset()

func (*NetworkPolicy) Size Uses

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

func (*NetworkPolicy) String Uses

func (this *NetworkPolicy) String() string

func (NetworkPolicy) SwaggerDoc Uses

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

func (*NetworkPolicy) Unmarshal Uses

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

func (*NetworkPolicy) XXX_DiscardUnknown Uses

func (m *NetworkPolicy) XXX_DiscardUnknown()

func (*NetworkPolicy) XXX_Marshal Uses

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

func (*NetworkPolicy) XXX_Merge Uses

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

func (*NetworkPolicy) XXX_Size Uses

func (m *NetworkPolicy) XXX_Size() int

func (*NetworkPolicy) XXX_Unmarshal Uses

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

type NetworkPolicyEgressRule Uses

type NetworkPolicyEgressRule struct {
    // List of destination ports for outgoing traffic.
    // Each item in this list is combined using a logical OR. If this field is
    // empty or missing, this rule matches all ports (traffic not restricted by port).
    // If this field is present and contains at least one item, then this rule allows
    // traffic only if the traffic matches at least one port in the list.
    // +optional
    Ports []NetworkPolicyPort `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
    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 Uses

func (in *NetworkPolicyEgressRule) DeepCopy() *NetworkPolicyEgressRule

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

func (*NetworkPolicyEgressRule) DeepCopyInto Uses

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 Uses

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

func (*NetworkPolicyEgressRule) Marshal Uses

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

func (*NetworkPolicyEgressRule) MarshalTo Uses

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

func (*NetworkPolicyEgressRule) MarshalToSizedBuffer Uses

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

func (*NetworkPolicyEgressRule) ProtoMessage Uses

func (*NetworkPolicyEgressRule) ProtoMessage()

func (*NetworkPolicyEgressRule) Reset Uses

func (m *NetworkPolicyEgressRule) Reset()

func (*NetworkPolicyEgressRule) Size Uses

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

func (*NetworkPolicyEgressRule) String Uses

func (this *NetworkPolicyEgressRule) String() string

func (NetworkPolicyEgressRule) SwaggerDoc Uses

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

func (*NetworkPolicyEgressRule) Unmarshal Uses

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

func (*NetworkPolicyEgressRule) XXX_DiscardUnknown Uses

func (m *NetworkPolicyEgressRule) XXX_DiscardUnknown()

func (*NetworkPolicyEgressRule) XXX_Marshal Uses

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

func (*NetworkPolicyEgressRule) XXX_Merge Uses

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

func (*NetworkPolicyEgressRule) XXX_Size Uses

func (m *NetworkPolicyEgressRule) XXX_Size() int

func (*NetworkPolicyEgressRule) XXX_Unmarshal Uses

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

type NetworkPolicyIngressRule Uses

type NetworkPolicyIngressRule struct {
    // List of ports which should be made accessible on the pods selected for this rule.
    // Each item in this list is combined using a logical OR.
    // If this field is empty or missing, this rule matches all ports (traffic not restricted by port).
    // If this field is present and contains at least one item, then this rule allows traffic
    // only if the traffic matches at least one port in the list.
    // +optional
    Ports []NetworkPolicyPort `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
    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 Uses

func (in *NetworkPolicyIngressRule) DeepCopy() *NetworkPolicyIngressRule

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

func (*NetworkPolicyIngressRule) DeepCopyInto Uses

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 Uses

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

func (*NetworkPolicyIngressRule) Marshal Uses

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

func (*NetworkPolicyIngressRule) MarshalTo Uses

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

func (*NetworkPolicyIngressRule) MarshalToSizedBuffer Uses

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

func (*NetworkPolicyIngressRule) ProtoMessage Uses

func (*NetworkPolicyIngressRule) ProtoMessage()

func (*NetworkPolicyIngressRule) Reset Uses

func (m *NetworkPolicyIngressRule) Reset()

func (*NetworkPolicyIngressRule) Size Uses

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

func (*NetworkPolicyIngressRule) String Uses

func (this *NetworkPolicyIngressRule) String() string

func (NetworkPolicyIngressRule) SwaggerDoc Uses

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

func (*NetworkPolicyIngressRule) Unmarshal Uses

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

func (*NetworkPolicyIngressRule) XXX_DiscardUnknown Uses

func (m *NetworkPolicyIngressRule) XXX_DiscardUnknown()

func (*NetworkPolicyIngressRule) XXX_Marshal Uses

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

func (*NetworkPolicyIngressRule) XXX_Merge Uses

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

func (*NetworkPolicyIngressRule) XXX_Size Uses

func (m *NetworkPolicyIngressRule) XXX_Size() int

func (*NetworkPolicyIngressRule) XXX_Unmarshal Uses

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

type NetworkPolicyList Uses

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

func (in *NetworkPolicyList) DeepCopy() *NetworkPolicyList

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

func (*NetworkPolicyList) DeepCopyInto Uses

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 Uses

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

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

func (*NetworkPolicyList) Descriptor Uses

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

func (*NetworkPolicyList) Marshal Uses

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

func (*NetworkPolicyList) MarshalTo Uses

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

func (*NetworkPolicyList) MarshalToSizedBuffer Uses

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

func (*NetworkPolicyList) ProtoMessage Uses

func (*NetworkPolicyList) ProtoMessage()

func (*NetworkPolicyList) Reset Uses

func (m *NetworkPolicyList) Reset()

func (*NetworkPolicyList) Size Uses

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

func (*NetworkPolicyList) String Uses

func (this *NetworkPolicyList) String() string

func (NetworkPolicyList) SwaggerDoc Uses

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

func (*NetworkPolicyList) Unmarshal Uses

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

func (*NetworkPolicyList) XXX_DiscardUnknown Uses

func (m *NetworkPolicyList) XXX_DiscardUnknown()

func (*NetworkPolicyList) XXX_Marshal Uses

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

func (*NetworkPolicyList) XXX_Merge Uses

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

func (*NetworkPolicyList) XXX_Size Uses

func (m *NetworkPolicyList) XXX_Size() int

func (*NetworkPolicyList) XXX_Unmarshal Uses

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

type NetworkPolicyPeer Uses

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 Uses

func (in *NetworkPolicyPeer) DeepCopy() *NetworkPolicyPeer

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

func (*NetworkPolicyPeer) DeepCopyInto Uses

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 Uses

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

func (*NetworkPolicyPeer) Marshal Uses

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

func (*NetworkPolicyPeer) MarshalTo Uses

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

func (*NetworkPolicyPeer) MarshalToSizedBuffer Uses

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

func (*NetworkPolicyPeer) ProtoMessage Uses

func (*NetworkPolicyPeer) ProtoMessage()

func (*NetworkPolicyPeer) Reset Uses

func (m *NetworkPolicyPeer) Reset()

func (*NetworkPolicyPeer) Size Uses

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

func (*NetworkPolicyPeer) String Uses

func (this *NetworkPolicyPeer) String() string

func (NetworkPolicyPeer) SwaggerDoc Uses

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

func (*NetworkPolicyPeer) Unmarshal Uses

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

func (*NetworkPolicyPeer) XXX_DiscardUnknown Uses

func (m *NetworkPolicyPeer) XXX_DiscardUnknown()

func (*NetworkPolicyPeer) XXX_Marshal Uses

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

func (*NetworkPolicyPeer) XXX_Merge Uses

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

func (*NetworkPolicyPeer) XXX_Size Uses

func (m *NetworkPolicyPeer) XXX_Size() int

func (*NetworkPolicyPeer) XXX_Unmarshal Uses

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

type NetworkPolicyPort Uses

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"`

    // If specified, the port on the given protocol.  This can
    // either be a numerical or named port on a pod.  If this field is not provided,
    // this matches all port names and numbers.
    // If present, only traffic on the specified protocol AND port
    // will be matched.
    // +optional
    Port *intstr.IntOrString `json:"port,omitempty" protobuf:"bytes,2,opt,name=port"`
}

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

func (*NetworkPolicyPort) DeepCopy Uses

func (in *NetworkPolicyPort) DeepCopy() *NetworkPolicyPort

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

func (*NetworkPolicyPort) DeepCopyInto Uses

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 Uses

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

func (*NetworkPolicyPort) Marshal Uses

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

func (*NetworkPolicyPort) MarshalTo Uses

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

func (*NetworkPolicyPort) MarshalToSizedBuffer Uses

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

func (*NetworkPolicyPort) ProtoMessage Uses

func (*NetworkPolicyPort) ProtoMessage()

func (*NetworkPolicyPort) Reset Uses

func (m *NetworkPolicyPort) Reset()

func (*NetworkPolicyPort) Size Uses

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

func (*NetworkPolicyPort) String Uses

func (this *NetworkPolicyPort) String() string

func (NetworkPolicyPort) SwaggerDoc Uses

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

func (*NetworkPolicyPort) Unmarshal Uses

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

func (*NetworkPolicyPort) XXX_DiscardUnknown Uses

func (m *NetworkPolicyPort) XXX_DiscardUnknown()

func (*NetworkPolicyPort) XXX_Marshal Uses

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

func (*NetworkPolicyPort) XXX_Merge Uses

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

func (*NetworkPolicyPort) XXX_Size Uses

func (m *NetworkPolicyPort) XXX_Size() int

func (*NetworkPolicyPort) XXX_Unmarshal Uses

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

type NetworkPolicySpec Uses

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
    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
    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
    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 Uses

func (in *NetworkPolicySpec) DeepCopy() *NetworkPolicySpec

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

func (*NetworkPolicySpec) DeepCopyInto Uses

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 Uses

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

func (*NetworkPolicySpec) Marshal Uses

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

func (*NetworkPolicySpec) MarshalTo Uses

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

func (*NetworkPolicySpec) MarshalToSizedBuffer Uses

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

func (*NetworkPolicySpec) ProtoMessage Uses

func (*NetworkPolicySpec) ProtoMessage()

func (*NetworkPolicySpec) Reset Uses

func (m *NetworkPolicySpec) Reset()

func (*NetworkPolicySpec) Size Uses

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

func (*NetworkPolicySpec) String Uses

func (this *NetworkPolicySpec) String() string

func (NetworkPolicySpec) SwaggerDoc Uses

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

func (*NetworkPolicySpec) Unmarshal Uses

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

func (*NetworkPolicySpec) XXX_DiscardUnknown Uses

func (m *NetworkPolicySpec) XXX_DiscardUnknown()

func (*NetworkPolicySpec) XXX_Marshal Uses

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

func (*NetworkPolicySpec) XXX_Merge Uses

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

func (*NetworkPolicySpec) XXX_Size Uses

func (m *NetworkPolicySpec) XXX_Size() int

func (*NetworkPolicySpec) XXX_Unmarshal Uses

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

type PodSecurityPolicy Uses

type PodSecurityPolicy 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 defines the policy enforced.
    // +optional
    Spec PodSecurityPolicySpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
}

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

func (*PodSecurityPolicy) DeepCopy Uses

func (in *PodSecurityPolicy) DeepCopy() *PodSecurityPolicy

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

func (*PodSecurityPolicy) DeepCopyInto Uses

func (in *PodSecurityPolicy) DeepCopyInto(out *PodSecurityPolicy)

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

func (*PodSecurityPolicy) DeepCopyObject Uses

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

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

func (*PodSecurityPolicy) Descriptor Uses

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

func (*PodSecurityPolicy) Marshal Uses

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

func (*PodSecurityPolicy) MarshalTo Uses

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

func (*PodSecurityPolicy) MarshalToSizedBuffer Uses

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

func (*PodSecurityPolicy) ProtoMessage Uses

func (*PodSecurityPolicy) ProtoMessage()

func (*PodSecurityPolicy) Reset Uses

func (m *PodSecurityPolicy) Reset()

func (*PodSecurityPolicy) Size Uses

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

func (*PodSecurityPolicy) String Uses

func (this *PodSecurityPolicy) String() string

func (PodSecurityPolicy) SwaggerDoc Uses

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

func (*PodSecurityPolicy) Unmarshal Uses

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

func (*PodSecurityPolicy) XXX_DiscardUnknown Uses

func (m *PodSecurityPolicy) XXX_DiscardUnknown()

func (*PodSecurityPolicy) XXX_Marshal Uses

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

func (*PodSecurityPolicy) XXX_Merge Uses

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

func (*PodSecurityPolicy) XXX_Size Uses

func (m *PodSecurityPolicy) XXX_Size() int

func (*PodSecurityPolicy) XXX_Unmarshal Uses

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

type PodSecurityPolicyList Uses

type PodSecurityPolicyList 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 []PodSecurityPolicy `json:"items" protobuf:"bytes,2,rep,name=items"`
}

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

func (*PodSecurityPolicyList) DeepCopy Uses

func (in *PodSecurityPolicyList) DeepCopy() *PodSecurityPolicyList

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

func (*PodSecurityPolicyList) DeepCopyInto Uses

func (in *PodSecurityPolicyList) DeepCopyInto(out *PodSecurityPolicyList)

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

func (*PodSecurityPolicyList) DeepCopyObject Uses

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

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

func (*PodSecurityPolicyList) Descriptor Uses

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

func (*PodSecurityPolicyList) Marshal Uses

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

func (*PodSecurityPolicyList) MarshalTo Uses

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

func (*PodSecurityPolicyList) MarshalToSizedBuffer Uses

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

func (*PodSecurityPolicyList) ProtoMessage Uses

func (*PodSecurityPolicyList) ProtoMessage()

func (*PodSecurityPolicyList) Reset Uses

func (m *PodSecurityPolicyList) Reset()

func (*PodSecurityPolicyList) Size Uses

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

func (*PodSecurityPolicyList) String Uses

func (this *PodSecurityPolicyList) String() string

func (PodSecurityPolicyList) SwaggerDoc Uses

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

func (*PodSecurityPolicyList) Unmarshal Uses

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

func (*PodSecurityPolicyList) XXX_DiscardUnknown Uses

func (m *PodSecurityPolicyList) XXX_DiscardUnknown()

func (*PodSecurityPolicyList) XXX_Marshal Uses

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

func (*PodSecurityPolicyList) XXX_Merge Uses

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

func (*PodSecurityPolicyList) XXX_Size Uses

func (m *PodSecurityPolicyList) XXX_Size() int

func (*PodSecurityPolicyList) XXX_Unmarshal Uses

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

type PodSecurityPolicySpec Uses

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

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

func (*PodSecurityPolicySpec) DeepCopy Uses

func (in *PodSecurityPolicySpec) DeepCopy() *PodSecurityPolicySpec

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

func (*PodSecurityPolicySpec) DeepCopyInto Uses

func (in *PodSecurityPolicySpec) DeepCopyInto(out *PodSecurityPolicySpec)

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

func (*PodSecurityPolicySpec) Descriptor Uses

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

func (*PodSecurityPolicySpec) Marshal Uses

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

func (*PodSecurityPolicySpec) MarshalTo Uses

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

func (*PodSecurityPolicySpec) MarshalToSizedBuffer Uses

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

func (*PodSecurityPolicySpec) ProtoMessage Uses

func (*PodSecurityPolicySpec) ProtoMessage()

func (*PodSecurityPolicySpec) Reset Uses

func (m *PodSecurityPolicySpec) Reset()

func (*PodSecurityPolicySpec) Size Uses

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

func (*PodSecurityPolicySpec) String Uses

func (this *PodSecurityPolicySpec) String() string

func (PodSecurityPolicySpec) SwaggerDoc Uses

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

func (*PodSecurityPolicySpec) Unmarshal Uses

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

func (*PodSecurityPolicySpec) XXX_DiscardUnknown Uses

func (m *PodSecurityPolicySpec) XXX_DiscardUnknown()

func (*PodSecurityPolicySpec) XXX_Marshal Uses

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

func (*PodSecurityPolicySpec) XXX_Merge Uses

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

func (*PodSecurityPolicySpec) XXX_Size Uses

func (m *PodSecurityPolicySpec) XXX_Size() int

func (*PodSecurityPolicySpec) XXX_Unmarshal Uses

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

type PolicyType Uses

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 Uses

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

func (in *ReplicaSet) DeepCopy() *ReplicaSet

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

func (*ReplicaSet) DeepCopyInto Uses

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 Uses

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

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

func (*ReplicaSet) Descriptor Uses

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

func (*ReplicaSet) Marshal Uses

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

func (*ReplicaSet) MarshalTo Uses

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

func (*ReplicaSet) MarshalToSizedBuffer Uses

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

func (*ReplicaSet) ProtoMessage Uses

func (*ReplicaSet) ProtoMessage()

func (*ReplicaSet) Reset Uses

func (m *ReplicaSet) Reset()

func (*ReplicaSet) Size Uses

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

func (*ReplicaSet) String Uses

func (this *ReplicaSet) String() string

func (ReplicaSet) SwaggerDoc Uses

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

func (*ReplicaSet) Unmarshal Uses

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

func (*ReplicaSet) XXX_DiscardUnknown Uses

func (m *ReplicaSet) XXX_DiscardUnknown()

func (*ReplicaSet) XXX_Marshal Uses

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

func (*ReplicaSet) XXX_Merge Uses

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

func (*ReplicaSet) XXX_Size Uses

func (m *ReplicaSet) XXX_Size() int

func (*ReplicaSet) XXX_Unmarshal Uses

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

type ReplicaSetCondition Uses

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 Uses

func (in *ReplicaSetCondition) DeepCopy() *ReplicaSetCondition

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

func (*ReplicaSetCondition) DeepCopyInto Uses

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 Uses

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

func (*ReplicaSetCondition) Marshal Uses

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

func (*ReplicaSetCondition) MarshalTo Uses

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

func (*ReplicaSetCondition) MarshalToSizedBuffer Uses

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

func (*ReplicaSetCondition) ProtoMessage Uses

func (*ReplicaSetCondition) ProtoMessage()

func (*ReplicaSetCondition) Reset Uses

func (m *ReplicaSetCondition) Reset()

func (*ReplicaSetCondition) Size Uses

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

func (*ReplicaSetCondition) String Uses

func (this *ReplicaSetCondition) String() string

func (ReplicaSetCondition) SwaggerDoc Uses

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

func (*ReplicaSetCondition) Unmarshal Uses

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

func (*ReplicaSetCondition) XXX_DiscardUnknown Uses

func (m *ReplicaSetCondition) XXX_DiscardUnknown()

func (*ReplicaSetCondition) XXX_Marshal Uses

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

func (*ReplicaSetCondition) XXX_Merge Uses

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

func (*ReplicaSetCondition) XXX_Size Uses

func (m *ReplicaSetCondition) XXX_Size() int

func (*ReplicaSetCondition) XXX_Unmarshal Uses

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

type ReplicaSetConditionType Uses

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 Uses

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

func (in *ReplicaSetList) DeepCopy() *ReplicaSetList

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

func (*ReplicaSetList) DeepCopyInto Uses

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 Uses

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

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

func (*ReplicaSetList) Descriptor Uses

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

func (*ReplicaSetList) Marshal Uses

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

func (*ReplicaSetList) MarshalTo Uses

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

func (*ReplicaSetList) MarshalToSizedBuffer Uses

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

func (*ReplicaSetList) ProtoMessage Uses

func (*ReplicaSetList) ProtoMessage()

func (*ReplicaSetList) Reset Uses

func (m *ReplicaSetList) Reset()

func (*ReplicaSetList) Size Uses

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

func (*ReplicaSetList) String Uses

func (this *ReplicaSetList) String() string

func (ReplicaSetList) SwaggerDoc Uses

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

func (*ReplicaSetList) Unmarshal Uses

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

func (*ReplicaSetList) XXX_DiscardUnknown Uses

func (m *ReplicaSetList) XXX_DiscardUnknown()

func (*ReplicaSetList) XXX_Marshal Uses

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

func (*ReplicaSetList) XXX_Merge Uses

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

func (*ReplicaSetList) XXX_Size Uses

func (m *ReplicaSetList) XXX_Size() int

func (*ReplicaSetList) XXX_Unmarshal Uses

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

type ReplicaSetSpec Uses

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 Uses

func (in *ReplicaSetSpec) DeepCopy() *ReplicaSetSpec

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

func (*ReplicaSetSpec) DeepCopyInto Uses

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 Uses

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

func (*ReplicaSetSpec) Marshal Uses

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

func (*ReplicaSetSpec) MarshalTo Uses

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

func (*ReplicaSetSpec) MarshalToSizedBuffer Uses

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

func (*ReplicaSetSpec) ProtoMessage Uses

func (*ReplicaSetSpec) ProtoMessage()

func (*ReplicaSetSpec) Reset Uses

func (m *ReplicaSetSpec) Reset()

func (*ReplicaSetSpec) Size Uses

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

func (*ReplicaSetSpec) String Uses

func (this *ReplicaSetSpec) String() string

func (ReplicaSetSpec) SwaggerDoc Uses

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

func (*ReplicaSetSpec) Unmarshal Uses

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

func (*ReplicaSetSpec) XXX_DiscardUnknown Uses

func (m *ReplicaSetSpec) XXX_DiscardUnknown()

func (*ReplicaSetSpec) XXX_Marshal Uses

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

func (*ReplicaSetSpec) XXX_Merge Uses

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

func (*ReplicaSetSpec) XXX_Size Uses

func (m *ReplicaSetSpec) XXX_Size() int

func (*ReplicaSetSpec) XXX_Unmarshal Uses

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

type ReplicaSetStatus Uses

type ReplicaSetStatus struct {
    // Replicas is the most recently oberved number of replicas.
    // More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller
    Replicas int32 `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
    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 Uses

func (in *ReplicaSetStatus) DeepCopy() *ReplicaSetStatus

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

func (*ReplicaSetStatus) DeepCopyInto Uses

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 Uses

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

func (*ReplicaSetStatus) Marshal Uses

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

func (*ReplicaSetStatus) MarshalTo Uses

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

func (*ReplicaSetStatus) MarshalToSizedBuffer Uses

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

func (*ReplicaSetStatus) ProtoMessage Uses

func (*ReplicaSetStatus) ProtoMessage()

func (*ReplicaSetStatus) Reset Uses

func (m *ReplicaSetStatus) Reset()

func (*ReplicaSetStatus) Size Uses

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

func (*ReplicaSetStatus) String Uses

func (this *ReplicaSetStatus) String() string

func (ReplicaSetStatus) SwaggerDoc Uses

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

func (*ReplicaSetStatus) Unmarshal Uses

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

func (*ReplicaSetStatus) XXX_DiscardUnknown Uses

func (m *ReplicaSetStatus) XXX_DiscardUnknown()

func (*ReplicaSetStatus) XXX_Marshal Uses

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

func (*ReplicaSetStatus) XXX_Merge Uses

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

func (*ReplicaSetStatus) XXX_Size Uses

func (m *ReplicaSetStatus) XXX_Size() int

func (*ReplicaSetStatus) XXX_Unmarshal Uses

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

type ReplicationControllerDummy Uses

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

Dummy definition

func (*ReplicationControllerDummy) DeepCopy Uses

func (in *ReplicationControllerDummy) DeepCopy() *ReplicationControllerDummy

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

func (*ReplicationControllerDummy) DeepCopyInto Uses

func (in *ReplicationControllerDummy) DeepCopyInto(out *ReplicationControllerDummy)

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

func (*ReplicationControllerDummy) DeepCopyObject Uses

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

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

func (*ReplicationControllerDummy) Descriptor Uses

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

func (*ReplicationControllerDummy) Marshal Uses

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

func (*ReplicationControllerDummy) MarshalTo Uses

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

func (*ReplicationControllerDummy) MarshalToSizedBuffer Uses

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

func (*ReplicationControllerDummy) ProtoMessage Uses

func (*ReplicationControllerDummy) ProtoMessage()

func (*ReplicationControllerDummy) Reset Uses

func (m *ReplicationControllerDummy) Reset()

func (*ReplicationControllerDummy) Size Uses

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

func (*ReplicationControllerDummy) String Uses

func (this *ReplicationControllerDummy) String() string

func (ReplicationControllerDummy) SwaggerDoc Uses

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

func (*ReplicationControllerDummy) Unmarshal Uses

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

func (*ReplicationControllerDummy) XXX_DiscardUnknown Uses

func (m *ReplicationControllerDummy) XXX_DiscardUnknown()

func (*ReplicationControllerDummy) XXX_Marshal Uses

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

func (*ReplicationControllerDummy) XXX_Merge Uses

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

func (*ReplicationControllerDummy) XXX_Size Uses

func (m *ReplicationControllerDummy) XXX_Size() int

func (*ReplicationControllerDummy) XXX_Unmarshal Uses

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

type RollbackConfig Uses

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 Uses

func (in *RollbackConfig) DeepCopy() *RollbackConfig

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

func (*RollbackConfig) DeepCopyInto Uses

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 Uses

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

func (*RollbackConfig) Marshal Uses

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

func (*RollbackConfig) MarshalTo Uses

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

func (*RollbackConfig) MarshalToSizedBuffer Uses

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

func (*RollbackConfig) ProtoMessage Uses

func (*RollbackConfig) ProtoMessage()

func (*RollbackConfig) Reset Uses

func (m *RollbackConfig) Reset()

func (*RollbackConfig) Size Uses

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

func (*RollbackConfig) String Uses

func (this *RollbackConfig) String() string

func (RollbackConfig) SwaggerDoc Uses

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

func (*RollbackConfig) Unmarshal Uses

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

func (*RollbackConfig) XXX_DiscardUnknown Uses

func (m *RollbackConfig) XXX_DiscardUnknown()

func (*RollbackConfig) XXX_Marshal Uses

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

func (*RollbackConfig) XXX_Merge Uses

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

func (*RollbackConfig) XXX_Size Uses

func (m *RollbackConfig) XXX_Size() int

func (*RollbackConfig) XXX_Unmarshal Uses

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

type RollingUpdateDaemonSet Uses

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

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

func (*RollingUpdateDaemonSet) DeepCopy Uses

func (in *RollingUpdateDaemonSet) DeepCopy() *RollingUpdateDaemonSet

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

func (*RollingUpdateDaemonSet) DeepCopyInto Uses

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 Uses

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

func (*RollingUpdateDaemonSet) Marshal Uses

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

func (*RollingUpdateDaemonSet) MarshalTo Uses

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

func (*RollingUpdateDaemonSet) MarshalToSizedBuffer Uses

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

func (*RollingUpdateDaemonSet) ProtoMessage Uses

func (*RollingUpdateDaemonSet) ProtoMessage()

func (*RollingUpdateDaemonSet) Reset Uses

func (m *RollingUpdateDaemonSet) Reset()

func (*RollingUpdateDaemonSet) Size Uses

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

func (*RollingUpdateDaemonSet) String Uses

func (this *RollingUpdateDaemonSet) String() string

func (RollingUpdateDaemonSet) SwaggerDoc Uses

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

func (*RollingUpdateDaemonSet) Unmarshal Uses

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

func (*RollingUpdateDaemonSet) XXX_DiscardUnknown Uses

func (m *RollingUpdateDaemonSet) XXX_DiscardUnknown()

func (*RollingUpdateDaemonSet) XXX_Marshal Uses

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

func (*RollingUpdateDaemonSet) XXX_Merge Uses

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

func (*RollingUpdateDaemonSet) XXX_Size Uses

func (m *RollingUpdateDaemonSet) XXX_Size() int

func (*RollingUpdateDaemonSet) XXX_Unmarshal Uses

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

type RollingUpdateDeployment Uses

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 Uses

func (in *RollingUpdateDeployment) DeepCopy() *RollingUpdateDeployment

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

func (*RollingUpdateDeployment) DeepCopyInto Uses

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 Uses

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

func (*RollingUpdateDeployment) Marshal Uses

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

func (*RollingUpdateDeployment) MarshalTo Uses

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

func (*RollingUpdateDeployment) MarshalToSizedBuffer Uses

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

func (*RollingUpdateDeployment) ProtoMessage Uses

func (*RollingUpdateDeployment) ProtoMessage()

func (*RollingUpdateDeployment) Reset Uses

func (m *RollingUpdateDeployment) Reset()

func (*RollingUpdateDeployment) Size Uses

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

func (*RollingUpdateDeployment) String Uses

func (this *RollingUpdateDeployment) String() string

func (RollingUpdateDeployment) SwaggerDoc Uses

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

func (*RollingUpdateDeployment) Unmarshal Uses

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

func (*RollingUpdateDeployment) XXX_DiscardUnknown Uses

func (m *RollingUpdateDeployment) XXX_DiscardUnknown()

func (*RollingUpdateDeployment) XXX_Marshal Uses

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

func (*RollingUpdateDeployment) XXX_Merge Uses

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

func (*RollingUpdateDeployment) XXX_Size Uses

func (m *RollingUpdateDeployment) XXX_Size() int

func (*RollingUpdateDeployment) XXX_Unmarshal Uses

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

type RunAsGroupStrategy Uses

type RunAsGroupStrategy string

RunAsGroupStrategy denotes strategy types for generating RunAsGroup values for a Security Context. Deprecated: use RunAsGroupStrategy from policy API Group instead.

const (
    // RunAsGroupStrategyMayRunAs means that container does not need to run with a particular gid.
    // However, when RunAsGroup are specified, they have to fall in the defined range.
    RunAsGroupStrategyMayRunAs RunAsGroupStrategy = "MayRunAs"
    // RunAsGroupStrategyMustRunAs means that container must run as a particular gid.
    // Deprecated: use RunAsGroupStrategyMustRunAs from policy API Group instead.
    RunAsGroupStrategyMustRunAs RunAsGroupStrategy = "MustRunAs"
    // RunAsGroupStrategyRunAsAny means that container may make requests for any gid.
    // Deprecated: use RunAsGroupStrategyRunAsAny from policy API Group instead.
    RunAsGroupStrategyRunAsAny RunAsGroupStrategy = "RunAsAny"
)

type RunAsGroupStrategyOptions Uses

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

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

func (*RunAsGroupStrategyOptions) DeepCopy Uses

func (in *RunAsGroupStrategyOptions) DeepCopy() *RunAsGroupStrategyOptions

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

func (*RunAsGroupStrategyOptions) DeepCopyInto Uses

func (in *RunAsGroupStrategyOptions) DeepCopyInto(out *RunAsGroupStrategyOptions)

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

func (*RunAsGroupStrategyOptions) Descriptor Uses

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

func (*RunAsGroupStrategyOptions) Marshal Uses

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

func (*RunAsGroupStrategyOptions) MarshalTo Uses

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

func (*RunAsGroupStrategyOptions) MarshalToSizedBuffer Uses

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

func (*RunAsGroupStrategyOptions) ProtoMessage Uses

func (*RunAsGroupStrategyOptions) ProtoMessage()

func (*RunAsGroupStrategyOptions) Reset Uses

func (m *RunAsGroupStrategyOptions) Reset()

func (*RunAsGroupStrategyOptions) Size Uses

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

func (*RunAsGroupStrategyOptions) String Uses

func (this *RunAsGroupStrategyOptions) String() string

func (RunAsGroupStrategyOptions) SwaggerDoc Uses

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

func (*RunAsGroupStrategyOptions) Unmarshal Uses

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

func (*RunAsGroupStrategyOptions) XXX_DiscardUnknown Uses

func (m *RunAsGroupStrategyOptions) XXX_DiscardUnknown()

func (*RunAsGroupStrategyOptions) XXX_Marshal Uses

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

func (*RunAsGroupStrategyOptions) XXX_Merge Uses

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

func (*RunAsGroupStrategyOptions) XXX_Size Uses

func (m *RunAsGroupStrategyOptions) XXX_Size() int

func (*RunAsGroupStrategyOptions) XXX_Unmarshal Uses

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

type RunAsUserStrategy Uses

type RunAsUserStrategy string

RunAsUserStrategy denotes strategy types for generating RunAsUser values for a Security Context. Deprecated: use RunAsUserStrategy from policy API Group instead.

const (
    // RunAsUserStrategyMustRunAs means that container must run as a particular uid.
    // Deprecated: use RunAsUserStrategyMustRunAs from policy API Group instead.
    RunAsUserStrategyMustRunAs RunAsUserStrategy = "MustRunAs"
    // RunAsUserStrategyMustRunAsNonRoot means that container must run as a non-root uid.
    // Deprecated: use RunAsUserStrategyMustRunAsNonRoot from policy API Group instead.
    RunAsUserStrategyMustRunAsNonRoot RunAsUserStrategy = "MustRunAsNonRoot"
    // RunAsUserStrategyRunAsAny means that container may make requests for any uid.
    // Deprecated: use RunAsUserStrategyRunAsAny from policy API Group instead.
    RunAsUserStrategyRunAsAny RunAsUserStrategy = "RunAsAny"
)

type RunAsUserStrategyOptions Uses

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

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

func (*RunAsUserStrategyOptions) DeepCopy Uses

func (in *RunAsUserStrategyOptions) DeepCopy() *RunAsUserStrategyOptions

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

func (*RunAsUserStrategyOptions) DeepCopyInto Uses

func (in *RunAsUserStrategyOptions) DeepCopyInto(out *RunAsUserStrategyOptions)

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

func (*RunAsUserStrategyOptions) Descriptor Uses

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

func (*RunAsUserStrategyOptions) Marshal Uses

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

func (*RunAsUserStrategyOptions) MarshalTo Uses

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

func (*RunAsUserStrategyOptions) MarshalToSizedBuffer Uses

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

func (*RunAsUserStrategyOptions) ProtoMessage Uses

func (*RunAsUserStrategyOptions) ProtoMessage()

func (*RunAsUserStrategyOptions) Reset Uses

func (m *RunAsUserStrategyOptions) Reset()

func (*RunAsUserStrategyOptions) Size Uses

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

func (*RunAsUserStrategyOptions) String Uses

func (this *RunAsUserStrategyOptions) String() string

func (RunAsUserStrategyOptions) SwaggerDoc Uses

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

func (*RunAsUserStrategyOptions) Unmarshal Uses

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

func (*RunAsUserStrategyOptions) XXX_DiscardUnknown Uses

func (m *RunAsUserStrategyOptions) XXX_DiscardUnknown()

func (*RunAsUserStrategyOptions) XXX_Marshal Uses

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

func (*RunAsUserStrategyOptions) XXX_Merge Uses

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

func (*RunAsUserStrategyOptions) XXX_Size Uses

func (m *RunAsUserStrategyOptions) XXX_Size() int

func (*RunAsUserStrategyOptions) XXX_Unmarshal Uses

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

type RuntimeClassStrategyOptions Uses

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

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

func (*RuntimeClassStrategyOptions) DeepCopy Uses

func (in *RuntimeClassStrategyOptions) DeepCopy() *RuntimeClassStrategyOptions

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

func (*RuntimeClassStrategyOptions) DeepCopyInto Uses

func (in *RuntimeClassStrategyOptions) DeepCopyInto(out *RuntimeClassStrategyOptions)

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

func (*RuntimeClassStrategyOptions) Descriptor Uses

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

func (*RuntimeClassStrategyOptions) Marshal Uses

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

func (*RuntimeClassStrategyOptions) MarshalTo Uses

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

func (*RuntimeClassStrategyOptions) MarshalToSizedBuffer Uses

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

func (*RuntimeClassStrategyOptions) ProtoMessage Uses

func (*RuntimeClassStrategyOptions) ProtoMessage()

func (*RuntimeClassStrategyOptions) Reset Uses

func (m *RuntimeClassStrategyOptions) Reset()

func (*RuntimeClassStrategyOptions) Size Uses

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

func (*RuntimeClassStrategyOptions) String Uses

func (this *RuntimeClassStrategyOptions) String() string

func (RuntimeClassStrategyOptions) SwaggerDoc Uses

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

func (*RuntimeClassStrategyOptions) Unmarshal Uses

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

func (*RuntimeClassStrategyOptions) XXX_DiscardUnknown Uses

func (m *RuntimeClassStrategyOptions) XXX_DiscardUnknown()

func (*RuntimeClassStrategyOptions) XXX_Marshal Uses

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

func (*RuntimeClassStrategyOptions) XXX_Merge Uses

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

func (*RuntimeClassStrategyOptions) XXX_Size Uses

func (m *RuntimeClassStrategyOptions) XXX_Size() int

func (*RuntimeClassStrategyOptions) XXX_Unmarshal Uses

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

type SELinuxStrategy Uses

type SELinuxStrategy string

SELinuxStrategy denotes strategy types for generating SELinux options for a Security Context. Deprecated: use SELinuxStrategy from policy API Group instead.

const (
    // SELinuxStrategyMustRunAs means that container must have SELinux labels of X applied.
    // Deprecated: use SELinuxStrategyMustRunAs from policy API Group instead.
    SELinuxStrategyMustRunAs SELinuxStrategy = "MustRunAs"
    // SELinuxStrategyRunAsAny means that container may make requests for any SELinux context labels.
    // Deprecated: use SELinuxStrategyRunAsAny from policy API Group instead.
    SELinuxStrategyRunAsAny SELinuxStrategy = "RunAsAny"
)

type SELinuxStrategyOptions Uses

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

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

func (*SELinuxStrategyOptions) DeepCopy Uses

func (in *SELinuxStrategyOptions) DeepCopy() *SELinuxStrategyOptions

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

func (*SELinuxStrategyOptions) DeepCopyInto Uses

func (in *SELinuxStrategyOptions) DeepCopyInto(out *SELinuxStrategyOptions)

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

func (*SELinuxStrategyOptions) Descriptor Uses

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

func (*SELinuxStrategyOptions) Marshal Uses

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

func (*SELinuxStrategyOptions) MarshalTo Uses

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

func (*SELinuxStrategyOptions) MarshalToSizedBuffer Uses

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

func (*SELinuxStrategyOptions) ProtoMessage Uses

func (*SELinuxStrategyOptions) ProtoMessage()

func (*SELinuxStrategyOptions) Reset Uses

func (m *SELinuxStrategyOptions) Reset()

func (*SELinuxStrategyOptions) Size Uses

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

func (*SELinuxStrategyOptions) String Uses

func (this *SELinuxStrategyOptions) String() string

func (SELinuxStrategyOptions) SwaggerDoc Uses

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

func (*SELinuxStrategyOptions) Unmarshal Uses

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

func (*SELinuxStrategyOptions) XXX_DiscardUnknown Uses

func (m *SELinuxStrategyOptions) XXX_DiscardUnknown()

func (*SELinuxStrategyOptions) XXX_Marshal Uses

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

func (*SELinuxStrategyOptions) XXX_Merge Uses

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

func (*SELinuxStrategyOptions) XXX_Size Uses

func (m *SELinuxStrategyOptions) XXX_Size() int

func (*SELinuxStrategyOptions) XXX_Unmarshal Uses

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

type Scale Uses

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.