k8s_io_api_apps_v1beta1

package
v0.0.0-...-940152b Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

This section is empty.

Types

type ControllerRevision

type ControllerRevision struct {
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
	// +optional
	Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// Data is the serialized representation of the state.
	Data *runtime.RawExtension `protobuf:"bytes,2,opt,name=data" json:"data,omitempty"`
	// Revision indicates the revision of the state represented by Data.
	Revision int64 `protobuf:"varint,3,opt,name=revision" json:"revision"`
}

DEPRECATED - This group version of ControllerRevision is deprecated by apps/v1beta2/ControllerRevision. See the release notes for more information. ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.

func (*ControllerRevision) Descriptor

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

func (*ControllerRevision) Equal

func (this *ControllerRevision) Equal(that interface{}) bool

func (*ControllerRevision) GetData

func (m *ControllerRevision) GetData() *runtime.RawExtension

func (*ControllerRevision) GetMetadata

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

func (*ControllerRevision) GetRevision

func (m *ControllerRevision) GetRevision() int64

func (*ControllerRevision) GoString

func (this *ControllerRevision) GoString() string

func (*ControllerRevision) Marshal

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

func (*ControllerRevision) MarshalTo

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

func (*ControllerRevision) MarshalToSizedBuffer

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

func (*ControllerRevision) ProtoMessage

func (*ControllerRevision) ProtoMessage()

func (*ControllerRevision) Reset

func (m *ControllerRevision) Reset()

func (*ControllerRevision) Size

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

func (*ControllerRevision) String

func (this *ControllerRevision) String() string

func (*ControllerRevision) Unmarshal

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

func (*ControllerRevision) XXX_DiscardUnknown

func (m *ControllerRevision) XXX_DiscardUnknown()

func (*ControllerRevision) XXX_Marshal

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

func (*ControllerRevision) XXX_Merge

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

func (*ControllerRevision) XXX_Size

func (m *ControllerRevision) XXX_Size() int

func (*ControllerRevision) XXX_Unmarshal

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

type ControllerRevisionList

type ControllerRevisionList struct {
	// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
	// +optional
	Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// Items is the list of ControllerRevisions
	Items []*ControllerRevision `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
}

ControllerRevisionList is a resource containing a list of ControllerRevision objects.

func (*ControllerRevisionList) Descriptor

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

func (*ControllerRevisionList) Equal

func (this *ControllerRevisionList) Equal(that interface{}) bool

func (*ControllerRevisionList) GetItems

func (m *ControllerRevisionList) GetItems() []*ControllerRevision

func (*ControllerRevisionList) GetMetadata

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

func (*ControllerRevisionList) GoString

func (this *ControllerRevisionList) GoString() string

func (*ControllerRevisionList) Marshal

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

func (*ControllerRevisionList) MarshalTo

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

func (*ControllerRevisionList) MarshalToSizedBuffer

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

func (*ControllerRevisionList) ProtoMessage

func (*ControllerRevisionList) ProtoMessage()

func (*ControllerRevisionList) Reset

func (m *ControllerRevisionList) Reset()

func (*ControllerRevisionList) Size

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

func (*ControllerRevisionList) String

func (this *ControllerRevisionList) String() string

func (*ControllerRevisionList) Unmarshal

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

func (*ControllerRevisionList) XXX_DiscardUnknown

func (m *ControllerRevisionList) XXX_DiscardUnknown()

func (*ControllerRevisionList) XXX_Marshal

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

func (*ControllerRevisionList) XXX_Merge

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

func (*ControllerRevisionList) XXX_Size

func (m *ControllerRevisionList) XXX_Size() int

func (*ControllerRevisionList) XXX_Unmarshal

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

type Deployment

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

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

func (*Deployment) Descriptor

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

func (*Deployment) Equal

func (this *Deployment) Equal(that interface{}) bool

func (*Deployment) GetMetadata

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

func (*Deployment) GetSpec

func (m *Deployment) GetSpec() *DeploymentSpec

func (*Deployment) GetStatus

func (m *Deployment) GetStatus() *DeploymentStatus

func (*Deployment) GoString

func (this *Deployment) GoString() string

func (*Deployment) Marshal

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

func (*Deployment) MarshalTo

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

func (*Deployment) MarshalToSizedBuffer

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

func (*Deployment) ProtoMessage

func (*Deployment) ProtoMessage()

func (*Deployment) Reset

func (m *Deployment) Reset()

func (*Deployment) Size

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

func (*Deployment) String

func (this *Deployment) String() string

func (*Deployment) Unmarshal

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

func (*Deployment) XXX_DiscardUnknown

func (m *Deployment) XXX_DiscardUnknown()

func (*Deployment) XXX_Marshal

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

func (*Deployment) XXX_Merge

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

func (*Deployment) XXX_Size

func (m *Deployment) XXX_Size() int

func (*Deployment) XXX_Unmarshal

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

type DeploymentCondition

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

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

func (*DeploymentCondition) Descriptor

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

func (*DeploymentCondition) Equal

func (this *DeploymentCondition) Equal(that interface{}) bool

func (*DeploymentCondition) GetLastTransitionTime

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

func (*DeploymentCondition) GetLastUpdateTime

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

func (*DeploymentCondition) GetMessage

func (m *DeploymentCondition) GetMessage() string

func (*DeploymentCondition) GetReason

func (m *DeploymentCondition) GetReason() string

func (*DeploymentCondition) GetStatus

func (m *DeploymentCondition) GetStatus() string

func (*DeploymentCondition) GetType

func (m *DeploymentCondition) GetType() string

func (*DeploymentCondition) GoString

func (this *DeploymentCondition) GoString() string

func (*DeploymentCondition) Marshal

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

func (*DeploymentCondition) MarshalTo

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

func (*DeploymentCondition) MarshalToSizedBuffer

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

func (*DeploymentCondition) ProtoMessage

func (*DeploymentCondition) ProtoMessage()

func (*DeploymentCondition) Reset

func (m *DeploymentCondition) Reset()

func (*DeploymentCondition) Size

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

func (*DeploymentCondition) String

func (this *DeploymentCondition) String() string

func (*DeploymentCondition) Unmarshal

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

func (*DeploymentCondition) XXX_DiscardUnknown

func (m *DeploymentCondition) XXX_DiscardUnknown()

func (*DeploymentCondition) XXX_Marshal

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

func (*DeploymentCondition) XXX_Merge

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

func (*DeploymentCondition) XXX_Size

func (m *DeploymentCondition) XXX_Size() int

func (*DeploymentCondition) XXX_Unmarshal

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

type DeploymentList

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

DeploymentList is a list of Deployments.

func (*DeploymentList) Descriptor

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

func (*DeploymentList) Equal

func (this *DeploymentList) Equal(that interface{}) bool

func (*DeploymentList) GetItems

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

func (*DeploymentList) GetMetadata

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

func (*DeploymentList) GoString

func (this *DeploymentList) GoString() string

func (*DeploymentList) Marshal

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

func (*DeploymentList) MarshalTo

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

func (*DeploymentList) MarshalToSizedBuffer

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

func (*DeploymentList) ProtoMessage

func (*DeploymentList) ProtoMessage()

func (*DeploymentList) Reset

func (m *DeploymentList) Reset()

func (*DeploymentList) Size

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

func (*DeploymentList) String

func (this *DeploymentList) String() string

func (*DeploymentList) Unmarshal

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

func (*DeploymentList) XXX_DiscardUnknown

func (m *DeploymentList) XXX_DiscardUnknown()

func (*DeploymentList) XXX_Marshal

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

func (*DeploymentList) XXX_Merge

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

func (*DeploymentList) XXX_Size

func (m *DeploymentList) XXX_Size() int

func (*DeploymentList) XXX_Unmarshal

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

type DeploymentRollback

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

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

func (*DeploymentRollback) Descriptor

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

func (*DeploymentRollback) Equal

func (this *DeploymentRollback) Equal(that interface{}) bool

func (*DeploymentRollback) GetName

func (m *DeploymentRollback) GetName() string

func (*DeploymentRollback) GetRollbackTo

func (m *DeploymentRollback) GetRollbackTo() *RollbackConfig

func (*DeploymentRollback) GetUpdatedAnnotations

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

func (*DeploymentRollback) GoString

func (this *DeploymentRollback) GoString() string

func (*DeploymentRollback) Marshal

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

func (*DeploymentRollback) MarshalTo

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

func (*DeploymentRollback) MarshalToSizedBuffer

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

func (*DeploymentRollback) ProtoMessage

func (*DeploymentRollback) ProtoMessage()

func (*DeploymentRollback) Reset

func (m *DeploymentRollback) Reset()

func (*DeploymentRollback) Size

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

func (*DeploymentRollback) String

func (this *DeploymentRollback) String() string

func (*DeploymentRollback) Unmarshal

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

func (*DeploymentRollback) XXX_DiscardUnknown

func (m *DeploymentRollback) XXX_DiscardUnknown()

func (*DeploymentRollback) XXX_Marshal

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

func (*DeploymentRollback) XXX_Merge

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

func (*DeploymentRollback) XXX_Size

func (m *DeploymentRollback) XXX_Size() int

func (*DeploymentRollback) XXX_Unmarshal

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

type DeploymentSpec

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

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

func (*DeploymentSpec) Descriptor

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

func (*DeploymentSpec) Equal

func (this *DeploymentSpec) Equal(that interface{}) bool

func (*DeploymentSpec) GetMinReadySeconds

func (m *DeploymentSpec) GetMinReadySeconds() int32

func (*DeploymentSpec) GetPaused

func (m *DeploymentSpec) GetPaused() bool

func (*DeploymentSpec) GetProgressDeadlineSeconds

func (m *DeploymentSpec) GetProgressDeadlineSeconds() int32

func (*DeploymentSpec) GetReplicas

func (m *DeploymentSpec) GetReplicas() int32

func (*DeploymentSpec) GetRevisionHistoryLimit

func (m *DeploymentSpec) GetRevisionHistoryLimit() int32

func (*DeploymentSpec) GetRollbackTo

func (m *DeploymentSpec) GetRollbackTo() *RollbackConfig

func (*DeploymentSpec) GetSelector

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

func (*DeploymentSpec) GetStrategy

func (m *DeploymentSpec) GetStrategy() *DeploymentStrategy

func (*DeploymentSpec) GetTemplate

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

func (*DeploymentSpec) GoString

func (this *DeploymentSpec) GoString() string

func (*DeploymentSpec) Marshal

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

func (*DeploymentSpec) MarshalTo

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

func (*DeploymentSpec) MarshalToSizedBuffer

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

func (*DeploymentSpec) ProtoMessage

func (*DeploymentSpec) ProtoMessage()

func (*DeploymentSpec) Reset

func (m *DeploymentSpec) Reset()

func (*DeploymentSpec) Size

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

func (*DeploymentSpec) String

func (this *DeploymentSpec) String() string

func (*DeploymentSpec) Unmarshal

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

func (*DeploymentSpec) XXX_DiscardUnknown

func (m *DeploymentSpec) XXX_DiscardUnknown()

func (*DeploymentSpec) XXX_Marshal

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

func (*DeploymentSpec) XXX_Merge

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

func (*DeploymentSpec) XXX_Size

func (m *DeploymentSpec) XXX_Size() int

func (*DeploymentSpec) XXX_Unmarshal

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

type DeploymentStatus

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

DeploymentStatus is the most recently observed status of the Deployment.

func (*DeploymentStatus) Descriptor

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

func (*DeploymentStatus) Equal

func (this *DeploymentStatus) Equal(that interface{}) bool

func (*DeploymentStatus) GetAvailableReplicas

func (m *DeploymentStatus) GetAvailableReplicas() int32

func (*DeploymentStatus) GetCollisionCount

func (m *DeploymentStatus) GetCollisionCount() int32

func (*DeploymentStatus) GetConditions

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

func (*DeploymentStatus) GetObservedGeneration

func (m *DeploymentStatus) GetObservedGeneration() int64

func (*DeploymentStatus) GetReadyReplicas

func (m *DeploymentStatus) GetReadyReplicas() int32

func (*DeploymentStatus) GetReplicas

func (m *DeploymentStatus) GetReplicas() int32

func (*DeploymentStatus) GetUnavailableReplicas

func (m *DeploymentStatus) GetUnavailableReplicas() int32

func (*DeploymentStatus) GetUpdatedReplicas

func (m *DeploymentStatus) GetUpdatedReplicas() int32

func (*DeploymentStatus) GoString

func (this *DeploymentStatus) GoString() string

func (*DeploymentStatus) Marshal

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

func (*DeploymentStatus) MarshalTo

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

func (*DeploymentStatus) MarshalToSizedBuffer

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

func (*DeploymentStatus) ProtoMessage

func (*DeploymentStatus) ProtoMessage()

func (*DeploymentStatus) Reset

func (m *DeploymentStatus) Reset()

func (*DeploymentStatus) Size

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

func (*DeploymentStatus) String

func (this *DeploymentStatus) String() string

func (*DeploymentStatus) Unmarshal

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

func (*DeploymentStatus) XXX_DiscardUnknown

func (m *DeploymentStatus) XXX_DiscardUnknown()

func (*DeploymentStatus) XXX_Marshal

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

func (*DeploymentStatus) XXX_Merge

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

func (*DeploymentStatus) XXX_Size

func (m *DeploymentStatus) XXX_Size() int

func (*DeploymentStatus) XXX_Unmarshal

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

type DeploymentStrategy

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

DeploymentStrategy describes how to replace existing pods with new ones.

func (*DeploymentStrategy) Descriptor

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

func (*DeploymentStrategy) Equal

func (this *DeploymentStrategy) Equal(that interface{}) bool

func (*DeploymentStrategy) GetRollingUpdate

func (m *DeploymentStrategy) GetRollingUpdate() *RollingUpdateDeployment

func (*DeploymentStrategy) GetType

func (m *DeploymentStrategy) GetType() string

func (*DeploymentStrategy) GoString

func (this *DeploymentStrategy) GoString() string

func (*DeploymentStrategy) Marshal

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

func (*DeploymentStrategy) MarshalTo

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

func (*DeploymentStrategy) MarshalToSizedBuffer

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

func (*DeploymentStrategy) ProtoMessage

func (*DeploymentStrategy) ProtoMessage()

func (*DeploymentStrategy) Reset

func (m *DeploymentStrategy) Reset()

func (*DeploymentStrategy) Size

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

func (*DeploymentStrategy) String

func (this *DeploymentStrategy) String() string

func (*DeploymentStrategy) Unmarshal

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

func (*DeploymentStrategy) XXX_DiscardUnknown

func (m *DeploymentStrategy) XXX_DiscardUnknown()

func (*DeploymentStrategy) XXX_Marshal

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

func (*DeploymentStrategy) XXX_Merge

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

func (*DeploymentStrategy) XXX_Size

func (m *DeploymentStrategy) XXX_Size() int

func (*DeploymentStrategy) XXX_Unmarshal

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

type RollbackConfig

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

DEPRECATED.

func (*RollbackConfig) Descriptor

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

func (*RollbackConfig) Equal

func (this *RollbackConfig) Equal(that interface{}) bool

func (*RollbackConfig) GetRevision

func (m *RollbackConfig) GetRevision() int64

func (*RollbackConfig) GoString

func (this *RollbackConfig) GoString() string

func (*RollbackConfig) Marshal

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

func (*RollbackConfig) MarshalTo

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

func (*RollbackConfig) MarshalToSizedBuffer

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

func (*RollbackConfig) ProtoMessage

func (*RollbackConfig) ProtoMessage()

func (*RollbackConfig) Reset

func (m *RollbackConfig) Reset()

func (*RollbackConfig) Size

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

func (*RollbackConfig) String

func (this *RollbackConfig) String() string

func (*RollbackConfig) Unmarshal

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

func (*RollbackConfig) XXX_DiscardUnknown

func (m *RollbackConfig) XXX_DiscardUnknown()

func (*RollbackConfig) XXX_Marshal

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

func (*RollbackConfig) XXX_Merge

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

func (*RollbackConfig) XXX_Size

func (m *RollbackConfig) XXX_Size() int

func (*RollbackConfig) XXX_Unmarshal

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

type RollingUpdateDeployment

type RollingUpdateDeployment struct {
	// The maximum number of pods that can be unavailable during the update.
	// Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%).
	// Absolute number is calculated from percentage by rounding down.
	// This can not be 0 if MaxSurge is 0.
	// Defaults to 25%.
	// Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods
	// immediately when the rolling update starts. Once new pods are ready, old ReplicaSet
	// can be scaled down further, followed by scaling up the new ReplicaSet, ensuring
	// that the total number of pods available at all times during the update is at
	// least 70% of desired pods.
	// +optional
	MaxUnavailable *intstr.IntOrString `protobuf:"bytes,1,opt,name=maxUnavailable" json:"maxUnavailable,omitempty"`
	// The maximum number of pods that can be scheduled above the desired number of
	// pods.
	// Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%).
	// This can not be 0 if MaxUnavailable is 0.
	// Absolute number is calculated from percentage by rounding up.
	// Defaults to 25%.
	// Example: when this is set to 30%, the new ReplicaSet 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 ReplicaSet can be scaled up further, ensuring that total number of pods running
	// at any time during the update is at most 130% of desired pods.
	// +optional
	MaxSurge *intstr.IntOrString `protobuf:"bytes,2,opt,name=maxSurge" json:"maxSurge,omitempty"`
}

Spec to control the desired behavior of rolling update.

func (*RollingUpdateDeployment) Descriptor

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

func (*RollingUpdateDeployment) Equal

func (this *RollingUpdateDeployment) Equal(that interface{}) bool

func (*RollingUpdateDeployment) GetMaxSurge

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

func (*RollingUpdateDeployment) GetMaxUnavailable

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

func (*RollingUpdateDeployment) GoString

func (this *RollingUpdateDeployment) GoString() string

func (*RollingUpdateDeployment) Marshal

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

func (*RollingUpdateDeployment) MarshalTo

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

func (*RollingUpdateDeployment) MarshalToSizedBuffer

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

func (*RollingUpdateDeployment) ProtoMessage

func (*RollingUpdateDeployment) ProtoMessage()

func (*RollingUpdateDeployment) Reset

func (m *RollingUpdateDeployment) Reset()

func (*RollingUpdateDeployment) Size

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

func (*RollingUpdateDeployment) String

func (this *RollingUpdateDeployment) String() string

func (*RollingUpdateDeployment) Unmarshal

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

func (*RollingUpdateDeployment) XXX_DiscardUnknown

func (m *RollingUpdateDeployment) XXX_DiscardUnknown()

func (*RollingUpdateDeployment) XXX_Marshal

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

func (*RollingUpdateDeployment) XXX_Merge

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

func (*RollingUpdateDeployment) XXX_Size

func (m *RollingUpdateDeployment) XXX_Size() int

func (*RollingUpdateDeployment) XXX_Unmarshal

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

type RollingUpdateStatefulSetStrategy

type RollingUpdateStatefulSetStrategy struct {
	// Partition indicates the ordinal at which the StatefulSet should be
	// partitioned.
	Partition int32 `protobuf:"varint,1,opt,name=partition" json:"partition"`
}

RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.

func (*RollingUpdateStatefulSetStrategy) Descriptor

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

func (*RollingUpdateStatefulSetStrategy) Equal

func (this *RollingUpdateStatefulSetStrategy) Equal(that interface{}) bool

func (*RollingUpdateStatefulSetStrategy) GetPartition

func (m *RollingUpdateStatefulSetStrategy) GetPartition() int32

func (*RollingUpdateStatefulSetStrategy) GoString

func (this *RollingUpdateStatefulSetStrategy) GoString() string

func (*RollingUpdateStatefulSetStrategy) Marshal

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

func (*RollingUpdateStatefulSetStrategy) MarshalTo

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

func (*RollingUpdateStatefulSetStrategy) MarshalToSizedBuffer

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

func (*RollingUpdateStatefulSetStrategy) ProtoMessage

func (*RollingUpdateStatefulSetStrategy) ProtoMessage()

func (*RollingUpdateStatefulSetStrategy) Reset

func (*RollingUpdateStatefulSetStrategy) Size

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

func (*RollingUpdateStatefulSetStrategy) String

func (*RollingUpdateStatefulSetStrategy) Unmarshal

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

func (*RollingUpdateStatefulSetStrategy) XXX_DiscardUnknown

func (m *RollingUpdateStatefulSetStrategy) XXX_DiscardUnknown()

func (*RollingUpdateStatefulSetStrategy) XXX_Marshal

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

func (*RollingUpdateStatefulSetStrategy) XXX_Merge

func (*RollingUpdateStatefulSetStrategy) XXX_Size

func (m *RollingUpdateStatefulSetStrategy) XXX_Size() int

func (*RollingUpdateStatefulSetStrategy) XXX_Unmarshal

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

type Scale

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

Scale represents a scaling request for a resource.

func (*Scale) Descriptor

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

func (*Scale) Equal

func (this *Scale) Equal(that interface{}) bool

func (*Scale) GetMetadata

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

func (*Scale) GetSpec

func (m *Scale) GetSpec() *ScaleSpec

func (*Scale) GetStatus

func (m *Scale) GetStatus() *ScaleStatus

func (*Scale) GoString

func (this *Scale) GoString() string

func (*Scale) Marshal

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

func (*Scale) MarshalTo

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

func (*Scale) MarshalToSizedBuffer

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

func (*Scale) ProtoMessage

func (*Scale) ProtoMessage()

func (*Scale) Reset

func (m *Scale) Reset()

func (*Scale) Size

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

func (*Scale) String

func (this *Scale) String() string

func (*Scale) Unmarshal

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

func (*Scale) XXX_DiscardUnknown

func (m *Scale) XXX_DiscardUnknown()

func (*Scale) XXX_Marshal

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

func (*Scale) XXX_Merge

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

func (*Scale) XXX_Size

func (m *Scale) XXX_Size() int

func (*Scale) XXX_Unmarshal

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

type ScaleSpec

type ScaleSpec struct {
	// desired number of instances for the scaled object.
	// +optional
	Replicas int32 `protobuf:"varint,1,opt,name=replicas" json:"replicas"`
}

ScaleSpec describes the attributes of a scale subresource

func (*ScaleSpec) Descriptor

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

func (*ScaleSpec) Equal

func (this *ScaleSpec) Equal(that interface{}) bool

func (*ScaleSpec) GetReplicas

func (m *ScaleSpec) GetReplicas() int32

func (*ScaleSpec) GoString

func (this *ScaleSpec) GoString() string

func (*ScaleSpec) Marshal

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

func (*ScaleSpec) MarshalTo

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

func (*ScaleSpec) MarshalToSizedBuffer

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

func (*ScaleSpec) ProtoMessage

func (*ScaleSpec) ProtoMessage()

func (*ScaleSpec) Reset

func (m *ScaleSpec) Reset()

func (*ScaleSpec) Size

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

func (*ScaleSpec) String

func (this *ScaleSpec) String() string

func (*ScaleSpec) Unmarshal

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

func (*ScaleSpec) XXX_DiscardUnknown

func (m *ScaleSpec) XXX_DiscardUnknown()

func (*ScaleSpec) XXX_Marshal

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

func (*ScaleSpec) XXX_Merge

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

func (*ScaleSpec) XXX_Size

func (m *ScaleSpec) XXX_Size() int

func (*ScaleSpec) XXX_Unmarshal

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

type ScaleStatus

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

ScaleStatus represents the current status of a scale subresource.

func (*ScaleStatus) Descriptor

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

func (*ScaleStatus) Equal

func (this *ScaleStatus) Equal(that interface{}) bool

func (*ScaleStatus) GetReplicas

func (m *ScaleStatus) GetReplicas() int32

func (*ScaleStatus) GetSelector

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

func (*ScaleStatus) GetTargetSelector

func (m *ScaleStatus) GetTargetSelector() string

func (*ScaleStatus) GoString

func (this *ScaleStatus) GoString() string

func (*ScaleStatus) Marshal

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

func (*ScaleStatus) MarshalTo

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

func (*ScaleStatus) MarshalToSizedBuffer

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

func (*ScaleStatus) ProtoMessage

func (*ScaleStatus) ProtoMessage()

func (*ScaleStatus) Reset

func (m *ScaleStatus) Reset()

func (*ScaleStatus) Size

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

func (*ScaleStatus) String

func (this *ScaleStatus) String() string

func (*ScaleStatus) Unmarshal

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

func (*ScaleStatus) XXX_DiscardUnknown

func (m *ScaleStatus) XXX_DiscardUnknown()

func (*ScaleStatus) XXX_Marshal

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

func (*ScaleStatus) XXX_Merge

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

func (*ScaleStatus) XXX_Size

func (m *ScaleStatus) XXX_Size() int

func (*ScaleStatus) XXX_Unmarshal

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

type StatefulSet

type StatefulSet struct {
	// +optional
	Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// Spec defines the desired identities of pods in this set.
	// +optional
	Spec *StatefulSetSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"`
	// Status is the current status of Pods in this StatefulSet. This data
	// may be out of date by some window of time.
	// +optional
	Status *StatefulSetStatus `protobuf:"bytes,3,opt,name=status" json:"status,omitempty"`
}

DEPRECATED - This group version of StatefulSet is deprecated by apps/v1beta2/StatefulSet. See the release notes for more information. StatefulSet represents a set of pods with consistent identities. Identities are defined as:

  • Network: A single stable DNS and hostname.
  • Storage: As many VolumeClaims as requested.

The StatefulSet guarantees that a given network identity will always map to the same storage identity.

func (*StatefulSet) Descriptor

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

func (*StatefulSet) Equal

func (this *StatefulSet) Equal(that interface{}) bool

func (*StatefulSet) GetMetadata

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

func (*StatefulSet) GetSpec

func (m *StatefulSet) GetSpec() *StatefulSetSpec

func (*StatefulSet) GetStatus

func (m *StatefulSet) GetStatus() *StatefulSetStatus

func (*StatefulSet) GoString

func (this *StatefulSet) GoString() string

func (*StatefulSet) Marshal

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

func (*StatefulSet) MarshalTo

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

func (*StatefulSet) MarshalToSizedBuffer

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

func (*StatefulSet) ProtoMessage

func (*StatefulSet) ProtoMessage()

func (*StatefulSet) Reset

func (m *StatefulSet) Reset()

func (*StatefulSet) Size

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

func (*StatefulSet) String

func (this *StatefulSet) String() string

func (*StatefulSet) Unmarshal

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

func (*StatefulSet) XXX_DiscardUnknown

func (m *StatefulSet) XXX_DiscardUnknown()

func (*StatefulSet) XXX_Marshal

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

func (*StatefulSet) XXX_Merge

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

func (*StatefulSet) XXX_Size

func (m *StatefulSet) XXX_Size() int

func (*StatefulSet) XXX_Unmarshal

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

type StatefulSetCondition

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

StatefulSetCondition describes the state of a statefulset at a certain point.

func (*StatefulSetCondition) Descriptor

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

func (*StatefulSetCondition) Equal

func (this *StatefulSetCondition) Equal(that interface{}) bool

func (*StatefulSetCondition) GetLastTransitionTime

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

func (*StatefulSetCondition) GetMessage

func (m *StatefulSetCondition) GetMessage() string

func (*StatefulSetCondition) GetReason

func (m *StatefulSetCondition) GetReason() string

func (*StatefulSetCondition) GetStatus

func (m *StatefulSetCondition) GetStatus() string

func (*StatefulSetCondition) GetType

func (m *StatefulSetCondition) GetType() string

func (*StatefulSetCondition) GoString

func (this *StatefulSetCondition) GoString() string

func (*StatefulSetCondition) Marshal

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

func (*StatefulSetCondition) MarshalTo

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

func (*StatefulSetCondition) MarshalToSizedBuffer

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

func (*StatefulSetCondition) ProtoMessage

func (*StatefulSetCondition) ProtoMessage()

func (*StatefulSetCondition) Reset

func (m *StatefulSetCondition) Reset()

func (*StatefulSetCondition) Size

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

func (*StatefulSetCondition) String

func (this *StatefulSetCondition) String() string

func (*StatefulSetCondition) Unmarshal

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

func (*StatefulSetCondition) XXX_DiscardUnknown

func (m *StatefulSetCondition) XXX_DiscardUnknown()

func (*StatefulSetCondition) XXX_Marshal

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

func (*StatefulSetCondition) XXX_Merge

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

func (*StatefulSetCondition) XXX_Size

func (m *StatefulSetCondition) XXX_Size() int

func (*StatefulSetCondition) XXX_Unmarshal

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

type StatefulSetList

type StatefulSetList struct {
	// +optional
	Metadata *v1.ListMeta   `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	Items    []*StatefulSet `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
}

StatefulSetList is a collection of StatefulSets.

func (*StatefulSetList) Descriptor

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

func (*StatefulSetList) Equal

func (this *StatefulSetList) Equal(that interface{}) bool

func (*StatefulSetList) GetItems

func (m *StatefulSetList) GetItems() []*StatefulSet

func (*StatefulSetList) GetMetadata

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

func (*StatefulSetList) GoString

func (this *StatefulSetList) GoString() string

func (*StatefulSetList) Marshal

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

func (*StatefulSetList) MarshalTo

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

func (*StatefulSetList) MarshalToSizedBuffer

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

func (*StatefulSetList) ProtoMessage

func (*StatefulSetList) ProtoMessage()

func (*StatefulSetList) Reset

func (m *StatefulSetList) Reset()

func (*StatefulSetList) Size

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

func (*StatefulSetList) String

func (this *StatefulSetList) String() string

func (*StatefulSetList) Unmarshal

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

func (*StatefulSetList) XXX_DiscardUnknown

func (m *StatefulSetList) XXX_DiscardUnknown()

func (*StatefulSetList) XXX_Marshal

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

func (*StatefulSetList) XXX_Merge

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

func (*StatefulSetList) XXX_Size

func (m *StatefulSetList) XXX_Size() int

func (*StatefulSetList) XXX_Unmarshal

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

type StatefulSetSpec

type StatefulSetSpec struct {
	// replicas is the desired number of replicas of the given Template.
	// These are replicas in the sense that they are instantiations of the
	// same Template, but individual replicas also have a consistent identity.
	// If unspecified, defaults to 1.
	// TODO: Consider a rename of this field.
	// +optional
	Replicas int32 `protobuf:"varint,1,opt,name=replicas" json:"replicas"`
	// selector is a label query over pods that should match the replica count.
	// If empty, defaulted to labels on the pod template.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
	// +optional
	Selector *v1.LabelSelector `protobuf:"bytes,2,opt,name=selector" json:"selector,omitempty"`
	// template is the object that describes the pod that will be created if
	// insufficient replicas are detected. Each pod stamped out by the StatefulSet
	// will fulfill this Template, but have a unique identity from the rest
	// of the StatefulSet.
	Template *v11.PodTemplateSpec `protobuf:"bytes,3,opt,name=template" json:"template,omitempty"`
	// volumeClaimTemplates is a list of claims that pods are allowed to reference.
	// The StatefulSet controller is responsible for mapping network identities to
	// claims in a way that maintains the identity of a pod. Every claim in
	// this list must have at least one matching (by name) volumeMount in one
	// container in the template. A claim in this list takes precedence over
	// any volumes in the template, with the same name.
	// TODO: Define the behavior if a claim already exists with the same name.
	// +optional
	VolumeClaimTemplates []*v11.PersistentVolumeClaim `protobuf:"bytes,4,rep,name=volumeClaimTemplates" json:"volumeClaimTemplates,omitempty"`
	// serviceName is the name of the service that governs this StatefulSet.
	// This service must exist before the StatefulSet, and is responsible for
	// the network identity of the set. Pods get DNS/hostnames that follow the
	// pattern: pod-specific-string.serviceName.default.svc.cluster.local
	// where "pod-specific-string" is managed by the StatefulSet controller.
	ServiceName string `protobuf:"bytes,5,opt,name=serviceName" json:"serviceName"`
	// podManagementPolicy controls how pods are created during initial scale up,
	// when replacing pods on nodes, or when scaling down. The default policy is
	// `OrderedReady`, where pods are created in increasing order (pod-0, then
	// pod-1, etc) and the controller will wait until each pod is ready before
	// continuing. When scaling down, the pods are removed in the opposite order.
	// The alternative policy is `Parallel` which will create pods in parallel
	// to match the desired scale without waiting, and on scale down will delete
	// all pods at once.
	// +optional
	PodManagementPolicy string `protobuf:"bytes,6,opt,name=podManagementPolicy" json:"podManagementPolicy"`
	// updateStrategy indicates the StatefulSetUpdateStrategy that will be
	// employed to update Pods in the StatefulSet when a revision is made to
	// Template.
	UpdateStrategy *StatefulSetUpdateStrategy `protobuf:"bytes,7,opt,name=updateStrategy" json:"updateStrategy,omitempty"`
	// revisionHistoryLimit is the maximum number of revisions that will
	// be maintained in the StatefulSet's revision history. The revision history
	// consists of all revisions not represented by a currently applied
	// StatefulSetSpec version. The default value is 10.
	RevisionHistoryLimit int32 `protobuf:"varint,8,opt,name=revisionHistoryLimit" json:"revisionHistoryLimit"`
}

A StatefulSetSpec is the specification of a StatefulSet.

func (*StatefulSetSpec) Descriptor

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

func (*StatefulSetSpec) Equal

func (this *StatefulSetSpec) Equal(that interface{}) bool

func (*StatefulSetSpec) GetPodManagementPolicy

func (m *StatefulSetSpec) GetPodManagementPolicy() string

func (*StatefulSetSpec) GetReplicas

func (m *StatefulSetSpec) GetReplicas() int32

func (*StatefulSetSpec) GetRevisionHistoryLimit

func (m *StatefulSetSpec) GetRevisionHistoryLimit() int32

func (*StatefulSetSpec) GetSelector

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

func (*StatefulSetSpec) GetServiceName

func (m *StatefulSetSpec) GetServiceName() string

func (*StatefulSetSpec) GetTemplate

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

func (*StatefulSetSpec) GetUpdateStrategy

func (m *StatefulSetSpec) GetUpdateStrategy() *StatefulSetUpdateStrategy

func (*StatefulSetSpec) GetVolumeClaimTemplates

func (m *StatefulSetSpec) GetVolumeClaimTemplates() []*v11.PersistentVolumeClaim

func (*StatefulSetSpec) GoString

func (this *StatefulSetSpec) GoString() string

func (*StatefulSetSpec) Marshal

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

func (*StatefulSetSpec) MarshalTo

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

func (*StatefulSetSpec) MarshalToSizedBuffer

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

func (*StatefulSetSpec) ProtoMessage

func (*StatefulSetSpec) ProtoMessage()

func (*StatefulSetSpec) Reset

func (m *StatefulSetSpec) Reset()

func (*StatefulSetSpec) Size

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

func (*StatefulSetSpec) String

func (this *StatefulSetSpec) String() string

func (*StatefulSetSpec) Unmarshal

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

func (*StatefulSetSpec) XXX_DiscardUnknown

func (m *StatefulSetSpec) XXX_DiscardUnknown()

func (*StatefulSetSpec) XXX_Marshal

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

func (*StatefulSetSpec) XXX_Merge

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

func (*StatefulSetSpec) XXX_Size

func (m *StatefulSetSpec) XXX_Size() int

func (*StatefulSetSpec) XXX_Unmarshal

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

type StatefulSetStatus

type StatefulSetStatus struct {
	// observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the
	// StatefulSet's generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `protobuf:"varint,1,opt,name=observedGeneration" json:"observedGeneration"`
	// replicas is the number of Pods created by the StatefulSet controller.
	Replicas int32 `protobuf:"varint,2,opt,name=replicas" json:"replicas"`
	// readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.
	ReadyReplicas int32 `protobuf:"varint,3,opt,name=readyReplicas" json:"readyReplicas"`
	// currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version
	// indicated by currentRevision.
	CurrentReplicas int32 `protobuf:"varint,4,opt,name=currentReplicas" json:"currentReplicas"`
	// updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version
	// indicated by updateRevision.
	UpdatedReplicas int32 `protobuf:"varint,5,opt,name=updatedReplicas" json:"updatedReplicas"`
	// currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the
	// sequence [0,currentReplicas).
	CurrentRevision string `protobuf:"bytes,6,opt,name=currentRevision" json:"currentRevision"`
	// updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence
	// [replicas-updatedReplicas,replicas)
	UpdateRevision string `protobuf:"bytes,7,opt,name=updateRevision" json:"updateRevision"`
	// collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller
	// uses this field as a collision avoidance mechanism when it needs to create the name for the
	// newest ControllerRevision.
	// +optional
	CollisionCount int32 `protobuf:"varint,9,opt,name=collisionCount" json:"collisionCount"`
	// Represents the latest available observations of a statefulset's current state.
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions []*StatefulSetCondition `protobuf:"bytes,10,rep,name=conditions" json:"conditions,omitempty"`
}

StatefulSetStatus represents the current state of a StatefulSet.

func (*StatefulSetStatus) Descriptor

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

func (*StatefulSetStatus) Equal

func (this *StatefulSetStatus) Equal(that interface{}) bool

func (*StatefulSetStatus) GetCollisionCount

func (m *StatefulSetStatus) GetCollisionCount() int32

func (*StatefulSetStatus) GetConditions

func (m *StatefulSetStatus) GetConditions() []*StatefulSetCondition

func (*StatefulSetStatus) GetCurrentReplicas

func (m *StatefulSetStatus) GetCurrentReplicas() int32

func (*StatefulSetStatus) GetCurrentRevision

func (m *StatefulSetStatus) GetCurrentRevision() string

func (*StatefulSetStatus) GetObservedGeneration

func (m *StatefulSetStatus) GetObservedGeneration() int64

func (*StatefulSetStatus) GetReadyReplicas

func (m *StatefulSetStatus) GetReadyReplicas() int32

func (*StatefulSetStatus) GetReplicas

func (m *StatefulSetStatus) GetReplicas() int32

func (*StatefulSetStatus) GetUpdateRevision

func (m *StatefulSetStatus) GetUpdateRevision() string

func (*StatefulSetStatus) GetUpdatedReplicas

func (m *StatefulSetStatus) GetUpdatedReplicas() int32

func (*StatefulSetStatus) GoString

func (this *StatefulSetStatus) GoString() string

func (*StatefulSetStatus) Marshal

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

func (*StatefulSetStatus) MarshalTo

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

func (*StatefulSetStatus) MarshalToSizedBuffer

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

func (*StatefulSetStatus) ProtoMessage

func (*StatefulSetStatus) ProtoMessage()

func (*StatefulSetStatus) Reset

func (m *StatefulSetStatus) Reset()

func (*StatefulSetStatus) Size

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

func (*StatefulSetStatus) String

func (this *StatefulSetStatus) String() string

func (*StatefulSetStatus) Unmarshal

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

func (*StatefulSetStatus) XXX_DiscardUnknown

func (m *StatefulSetStatus) XXX_DiscardUnknown()

func (*StatefulSetStatus) XXX_Marshal

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

func (*StatefulSetStatus) XXX_Merge

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

func (*StatefulSetStatus) XXX_Size

func (m *StatefulSetStatus) XXX_Size() int

func (*StatefulSetStatus) XXX_Unmarshal

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

type StatefulSetUpdateStrategy

type StatefulSetUpdateStrategy struct {
	// Type indicates the type of the StatefulSetUpdateStrategy.
	Type string `protobuf:"bytes,1,opt,name=type" json:"type"`
	// RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.
	RollingUpdate *RollingUpdateStatefulSetStrategy `protobuf:"bytes,2,opt,name=rollingUpdate" json:"rollingUpdate,omitempty"`
}

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

func (*StatefulSetUpdateStrategy) Descriptor

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

func (*StatefulSetUpdateStrategy) Equal

func (this *StatefulSetUpdateStrategy) Equal(that interface{}) bool

func (*StatefulSetUpdateStrategy) GetRollingUpdate

func (*StatefulSetUpdateStrategy) GetType

func (m *StatefulSetUpdateStrategy) GetType() string

func (*StatefulSetUpdateStrategy) GoString

func (this *StatefulSetUpdateStrategy) GoString() string

func (*StatefulSetUpdateStrategy) Marshal

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

func (*StatefulSetUpdateStrategy) MarshalTo

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

func (*StatefulSetUpdateStrategy) MarshalToSizedBuffer

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

func (*StatefulSetUpdateStrategy) ProtoMessage

func (*StatefulSetUpdateStrategy) ProtoMessage()

func (*StatefulSetUpdateStrategy) Reset

func (m *StatefulSetUpdateStrategy) Reset()

func (*StatefulSetUpdateStrategy) Size

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

func (*StatefulSetUpdateStrategy) String

func (this *StatefulSetUpdateStrategy) String() string

func (*StatefulSetUpdateStrategy) Unmarshal

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

func (*StatefulSetUpdateStrategy) XXX_DiscardUnknown

func (m *StatefulSetUpdateStrategy) XXX_DiscardUnknown()

func (*StatefulSetUpdateStrategy) XXX_Marshal

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

func (*StatefulSetUpdateStrategy) XXX_Merge

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

func (*StatefulSetUpdateStrategy) XXX_Size

func (m *StatefulSetUpdateStrategy) XXX_Size() int

func (*StatefulSetUpdateStrategy) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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