v1

package
v0.0.5 Latest Latest
Warning

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

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

Documentation

Overview

+groupName=apps.openshift.io Package v1 is the v1 version of the API.

Index

Constants

View Source
const (
	// DeploymentStatusReasonAnnotation represents the reason for deployment being in a given state
	// Used for specifying the reason for cancellation or failure of a deployment
	// This is on replication controller set by deployer controller.
	DeploymentStatusReasonAnnotation = "openshift.io/deployment.status-reason"

	// DeploymentPodAnnotation is an annotation on a deployment (a ReplicationController). The
	// annotation value is the name of the deployer Pod which will act upon the ReplicationController
	// to implement the deployment behavior.
	// This is set on replication controller by deployer controller.
	DeploymentPodAnnotation = "openshift.io/deployer-pod.name"

	// DeploymentConfigAnnotation is an annotation name used to correlate a deployment with the
	// DeploymentConfig on which the deployment is based.
	// This is set on replication controller pod template by deployer controller.
	DeploymentConfigAnnotation = "openshift.io/deployment-config.name"

	// DeploymentCancelledAnnotation indicates that the deployment has been cancelled
	// The annotation value does not matter and its mere presence indicates cancellation.
	// This is set on replication controller by deployment config controller or oc rollout cancel command.
	DeploymentCancelledAnnotation = "openshift.io/deployment.cancelled"

	// DeploymentEncodedConfigAnnotation is an annotation name used to retrieve specific encoded
	// DeploymentConfig on which a given deployment is based.
	// This is set on replication controller by deployer controller.
	DeploymentEncodedConfigAnnotation = "openshift.io/encoded-deployment-config"

	// DeploymentVersionAnnotation is an annotation on a deployment (a ReplicationController). The
	// annotation value is the LatestVersion value of the DeploymentConfig which was the basis for
	// the deployment.
	// This is set on replication controller pod template by deployment config controller.
	DeploymentVersionAnnotation = "openshift.io/deployment-config.latest-version"

	// DeployerPodForDeploymentLabel is a label which groups pods related to a
	// deployment. The value is a deployment name. The deployer pod and hook pods
	// created by the internal strategies will have this label. Custom
	// strategies can apply this label to any pods they create, enabling
	// platform-provided cancellation and garbage collection support.
	// This is set on deployer pod by deployer controller.
	DeployerPodForDeploymentLabel = "openshift.io/deployer-pod-for.name"

	// DeploymentStatusAnnotation is an annotation name used to retrieve the DeploymentPhase of
	// a deployment.
	// This is set on replication controller by deployer controller.
	DeploymentStatusAnnotation = "openshift.io/deployment.phase"
)
View Source
const (
	// DeployerPodCreatedAtAnnotation is an annotation on a deployment that
	// records the time in RFC3339 format of when the deployer pod for this particular
	// deployment was created.
	// This is set by deployer controller, but not consumed by any command or internally.
	// DEPRECATED: will be removed soon
	DeployerPodCreatedAtAnnotation = "openshift.io/deployer-pod.created-at"

	// DeployerPodStartedAtAnnotation is an annotation on a deployment that
	// records the time in RFC3339 format of when the deployer pod for this particular
	// deployment was started.
	// This is set by deployer controller, but not consumed by any command or internally.
	// DEPRECATED: will be removed soon
	DeployerPodStartedAtAnnotation = "openshift.io/deployer-pod.started-at"

	// DeployerPodCompletedAtAnnotation is an annotation on deployment that records
	// the time in RFC3339 format of when the deployer pod finished.
	// This is set by deployer controller, but not consumed by any command or internally.
	// DEPRECATED: will be removed soon
	DeployerPodCompletedAtAnnotation = "openshift.io/deployer-pod.completed-at"

	// DesiredReplicasAnnotation represents the desired number of replicas for a
	// new deployment.
	// This is set by deployer controller, but not consumed by any command or internally.
	// DEPRECATED: will be removed soon
	DesiredReplicasAnnotation = "kubectl.kubernetes.io/desired-replicas"

	// DeploymentAnnotation is an annotation on a deployer Pod. The annotation value is the name
	// of the deployment (a ReplicationController) on which the deployer Pod acts.
	// This is set by deployer controller and consumed internally and in oc adm top command.
	// DEPRECATED: will be removed soon
	DeploymentAnnotation = "openshift.io/deployment.name"
)

Variables

View Source
var (
	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	GroupName    = "apps.openshift.io"
	GroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"}

	// Install is a function which adds this version to a scheme
	Install = schemeBuilder.AddToScheme

	// SchemeGroupVersion generated code relies on this name
	// Deprecated
	SchemeGroupVersion = GroupVersion
	// AddToScheme exists solely to keep the old generators creating valid code
	// DEPRECATED
	AddToScheme = schemeBuilder.AddToScheme
)
View Source
var (
	DeprecatedInstallWithoutGroup = legacySchemeBuilder.AddToScheme
)

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource generated code relies on this being here, but it logically belongs to the group DEPRECATED

Types

type CustomDeploymentStrategyParams

type CustomDeploymentStrategyParams struct {
	// Image specifies a container image which can carry out a deployment.
	Image string `json:"image,omitempty" protobuf:"bytes,1,opt,name=image"`
	// Environment holds the environment which will be given to the container for Image.
	Environment []corev1.EnvVar `json:"environment,omitempty" protobuf:"bytes,2,rep,name=environment"`
	// Command is optional and overrides CMD in the container Image.
	Command []string `json:"command,omitempty" protobuf:"bytes,3,rep,name=command"`
}

CustomDeploymentStrategyParams are the input to the Custom deployment strategy.

func (*CustomDeploymentStrategyParams) DeepCopy

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

func (*CustomDeploymentStrategyParams) DeepCopyInto

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

func (*CustomDeploymentStrategyParams) Descriptor

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

func (*CustomDeploymentStrategyParams) Marshal

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

func (*CustomDeploymentStrategyParams) MarshalTo

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

func (*CustomDeploymentStrategyParams) MarshalToSizedBuffer

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

func (*CustomDeploymentStrategyParams) ProtoMessage

func (*CustomDeploymentStrategyParams) ProtoMessage()

func (*CustomDeploymentStrategyParams) Reset

func (m *CustomDeploymentStrategyParams) Reset()

func (*CustomDeploymentStrategyParams) Size

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

func (*CustomDeploymentStrategyParams) String

func (this *CustomDeploymentStrategyParams) String() string

func (CustomDeploymentStrategyParams) SwaggerDoc

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

func (*CustomDeploymentStrategyParams) Unmarshal

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

func (*CustomDeploymentStrategyParams) XXX_DiscardUnknown

func (m *CustomDeploymentStrategyParams) XXX_DiscardUnknown()

func (*CustomDeploymentStrategyParams) XXX_Marshal

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

func (*CustomDeploymentStrategyParams) XXX_Merge

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

func (*CustomDeploymentStrategyParams) XXX_Size

func (m *CustomDeploymentStrategyParams) XXX_Size() int

func (*CustomDeploymentStrategyParams) XXX_Unmarshal

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

type DeploymentCause

type DeploymentCause struct {
	// Type of the trigger that resulted in the creation of a new deployment
	Type DeploymentTriggerType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=DeploymentTriggerType"`
	// ImageTrigger contains the image trigger details, if this trigger was fired based on an image change
	ImageTrigger *DeploymentCauseImageTrigger `json:"imageTrigger,omitempty" protobuf:"bytes,2,opt,name=imageTrigger"`
}

DeploymentCause captures information about a particular cause of a deployment.

func (*DeploymentCause) DeepCopy

func (in *DeploymentCause) DeepCopy() *DeploymentCause

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

func (*DeploymentCause) DeepCopyInto

func (in *DeploymentCause) DeepCopyInto(out *DeploymentCause)

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

func (*DeploymentCause) Descriptor

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

func (*DeploymentCause) Marshal

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

func (*DeploymentCause) MarshalTo

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

func (*DeploymentCause) MarshalToSizedBuffer

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

func (*DeploymentCause) ProtoMessage

func (*DeploymentCause) ProtoMessage()

func (*DeploymentCause) Reset

func (m *DeploymentCause) Reset()

func (*DeploymentCause) Size

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

func (*DeploymentCause) String

func (this *DeploymentCause) String() string

func (DeploymentCause) SwaggerDoc

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

func (*DeploymentCause) Unmarshal

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

func (*DeploymentCause) XXX_DiscardUnknown

func (m *DeploymentCause) XXX_DiscardUnknown()

func (*DeploymentCause) XXX_Marshal

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

func (*DeploymentCause) XXX_Merge

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

func (*DeploymentCause) XXX_Size

func (m *DeploymentCause) XXX_Size() int

func (*DeploymentCause) XXX_Unmarshal

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

type DeploymentCauseImageTrigger

type DeploymentCauseImageTrigger struct {
	// From is a reference to the changed object which triggered a deployment. The field may have
	// the kinds DockerImage, ImageStreamTag, or ImageStreamImage.
	From corev1.ObjectReference `json:"from" protobuf:"bytes,1,opt,name=from"`
}

DeploymentCauseImageTrigger represents details about the cause of a deployment originating from an image change trigger

func (*DeploymentCauseImageTrigger) DeepCopy

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

func (*DeploymentCauseImageTrigger) DeepCopyInto

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

func (*DeploymentCauseImageTrigger) Descriptor

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

func (*DeploymentCauseImageTrigger) Marshal

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

func (*DeploymentCauseImageTrigger) MarshalTo

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

func (*DeploymentCauseImageTrigger) MarshalToSizedBuffer

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

func (*DeploymentCauseImageTrigger) ProtoMessage

func (*DeploymentCauseImageTrigger) ProtoMessage()

func (*DeploymentCauseImageTrigger) Reset

func (m *DeploymentCauseImageTrigger) Reset()

func (*DeploymentCauseImageTrigger) Size

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

func (*DeploymentCauseImageTrigger) String

func (this *DeploymentCauseImageTrigger) String() string

func (DeploymentCauseImageTrigger) SwaggerDoc

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

func (*DeploymentCauseImageTrigger) Unmarshal

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

func (*DeploymentCauseImageTrigger) XXX_DiscardUnknown

func (m *DeploymentCauseImageTrigger) XXX_DiscardUnknown()

func (*DeploymentCauseImageTrigger) XXX_Marshal

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

func (*DeploymentCauseImageTrigger) XXX_Merge

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

func (*DeploymentCauseImageTrigger) XXX_Size

func (m *DeploymentCauseImageTrigger) XXX_Size() int

func (*DeploymentCauseImageTrigger) XXX_Unmarshal

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

type DeploymentCondition

type DeploymentCondition struct {
	// Type of deployment condition.
	Type DeploymentConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=DeploymentConditionType"`
	// Status of the condition, one of True, False, Unknown.
	Status corev1.ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=k8s.io/kubernetes/pkg/api/v1.ConditionStatus"`
	// The last time this condition was updated.
	LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty" protobuf:"bytes,6,opt,name=lastUpdateTime"`
	// The last time the condition transitioned from one status to another.
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,3,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 config at a certain point.

func (*DeploymentCondition) DeepCopy

func (in *DeploymentCondition) DeepCopy() *DeploymentCondition

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

func (*DeploymentCondition) DeepCopyInto

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

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

func (*DeploymentCondition) Descriptor

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

func (*DeploymentCondition) Marshal

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

func (*DeploymentCondition) MarshalTo

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

func (*DeploymentCondition) MarshalToSizedBuffer

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

func (*DeploymentCondition) ProtoMessage

func (*DeploymentCondition) ProtoMessage()

func (*DeploymentCondition) Reset

func (m *DeploymentCondition) Reset()

func (*DeploymentCondition) Size

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

func (*DeploymentCondition) String

func (this *DeploymentCondition) String() string

func (DeploymentCondition) SwaggerDoc

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

func (*DeploymentCondition) Unmarshal

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

func (*DeploymentCondition) XXX_DiscardUnknown

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 DeploymentConditionReason

type DeploymentConditionReason string
var (
	// ReplicationControllerUpdatedReason is added in a deployment config when one of its replication
	// controllers is updated as part of the rollout process.
	ReplicationControllerUpdatedReason DeploymentConditionReason = "ReplicationControllerUpdated"

	// ReplicationControllerCreateError is added in a deployment config when it cannot create a new replication
	// controller.
	ReplicationControllerCreateErrorReason DeploymentConditionReason = "ReplicationControllerCreateError"

	// ReplicationControllerCreatedReason is added in a deployment config when it creates a new replication
	// controller.
	NewReplicationControllerCreatedReason DeploymentConditionReason = "NewReplicationControllerCreated"

	// NewReplicationControllerAvailableReason is added in a deployment config when its newest replication controller is made
	// available ie. the number of new pods that have passed readiness checks and run for at least
	// minReadySeconds is at least the minimum available pods that need to run for the deployment config.
	NewReplicationControllerAvailableReason DeploymentConditionReason = "NewReplicationControllerAvailable"

	// ProgressDeadlineExceededReason is added in a deployment config when its newest replication controller fails to show
	// any progress within the given deadline (progressDeadlineSeconds).
	ProgressDeadlineExceededReason DeploymentConditionReason = "ProgressDeadlineExceeded"

	// DeploymentConfigPausedReason is added in a deployment config when it is paused. Lack of progress shouldn't be
	// estimated once a deployment config is paused.
	DeploymentConfigPausedReason DeploymentConditionReason = "DeploymentConfigPaused"

	// DeploymentConfigResumedReason is added in a deployment config when it is resumed. Useful for not failing accidentally
	// deployment configs that paused amidst a rollout.
	DeploymentConfigResumedReason DeploymentConditionReason = "DeploymentConfigResumed"

	// RolloutCancelledReason is added in a deployment config when its newest rollout was
	// interrupted by cancellation.
	RolloutCancelledReason DeploymentConditionReason = "RolloutCancelled"
)

type DeploymentConditionType

type DeploymentConditionType string
const (
	// DeploymentAvailable means the DeploymentConfig is available, ie. at least the minimum available
	// replicas required (dc.spec.replicas in case the DeploymentConfig is of Recreate type,
	// dc.spec.replicas - dc.spec.strategy.rollingParams.maxUnavailable in case it's Rolling) are up and
	// running for at least dc.spec.minReadySeconds.
	DeploymentAvailable DeploymentConditionType = "Available"
	// DeploymentProgressing is:
	// * True: the DeploymentConfig has been successfully deployed or is amidst getting deployed.
	//   The two different states can be determined by looking at the Reason of the Condition.
	//   For example, a complete DC will have {Status: True, Reason: NewReplicationControllerAvailable}
	//   and a DC in the middle of a rollout {Status: True, Reason: ReplicationControllerUpdated}.
	//   TODO: Represent a successfully deployed DC by using something else for Status like Unknown?
	// * False: the DeploymentConfig has failed to deploy its latest version.
	//
	// This condition is purely informational and depends on the dc.spec.strategy.*params.timeoutSeconds
	// field, which is responsible for the time in seconds to wait for a rollout before deciding that
	// no progress can be made, thus the rollout is aborted.
	//
	// Progress for a DeploymentConfig is considered when new pods scale up or old pods scale down.
	DeploymentProgressing DeploymentConditionType = "Progressing"
	// DeploymentReplicaFailure is added in a deployment config when one of its pods
	// fails to be created or deleted.
	DeploymentReplicaFailure DeploymentConditionType = "ReplicaFailure"
)

These are valid conditions of a DeploymentConfig.

type DeploymentConfig

type DeploymentConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Spec represents a desired deployment state and how to deploy to it.
	Spec DeploymentConfigSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"`

	// Status represents the current deployment state.
	// +optional
	Status DeploymentConfigStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

Deployment Configs define the template for a pod and manages deploying new images or configuration changes. A single deployment configuration is usually analogous to a single micro-service. Can support many different deployment patterns, including full restart, customizable rolling updates, and fully custom behaviors, as well as pre- and post- deployment hooks. Each individual deployment is represented as a replication controller.

A deployment is "triggered" when its configuration is changed or a tag in an Image Stream is changed. Triggers can be disabled to allow manual control over a deployment. The "strategy" determines how the deployment is carried out and may be changed at any time. The `latestVersion` field is updated when a new deployment is triggered by any means.

Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1

func (*DeploymentConfig) DeepCopy

func (in *DeploymentConfig) DeepCopy() *DeploymentConfig

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

func (*DeploymentConfig) DeepCopyInto

func (in *DeploymentConfig) DeepCopyInto(out *DeploymentConfig)

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

func (*DeploymentConfig) DeepCopyObject

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

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

func (*DeploymentConfig) Descriptor

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

func (*DeploymentConfig) Marshal

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

func (*DeploymentConfig) MarshalTo

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

func (*DeploymentConfig) MarshalToSizedBuffer

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

func (*DeploymentConfig) ProtoMessage

func (*DeploymentConfig) ProtoMessage()

func (*DeploymentConfig) Reset

func (m *DeploymentConfig) Reset()

func (*DeploymentConfig) Size

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

func (*DeploymentConfig) String

func (this *DeploymentConfig) String() string

func (DeploymentConfig) SwaggerDoc

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

func (*DeploymentConfig) Unmarshal

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

func (*DeploymentConfig) XXX_DiscardUnknown

func (m *DeploymentConfig) XXX_DiscardUnknown()

func (*DeploymentConfig) XXX_Marshal

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

func (*DeploymentConfig) XXX_Merge

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

func (*DeploymentConfig) XXX_Size

func (m *DeploymentConfig) XXX_Size() int

func (*DeploymentConfig) XXX_Unmarshal

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

type DeploymentConfigList

type DeploymentConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is a list of deployment configs
	Items []DeploymentConfig `json:"items" protobuf:"bytes,2,rep,name=items"`
}

DeploymentConfigList is a collection of deployment configs.

Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1

func (*DeploymentConfigList) DeepCopy

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

func (*DeploymentConfigList) DeepCopyInto

func (in *DeploymentConfigList) DeepCopyInto(out *DeploymentConfigList)

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

func (*DeploymentConfigList) DeepCopyObject

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

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

func (*DeploymentConfigList) Descriptor

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

func (*DeploymentConfigList) Marshal

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

func (*DeploymentConfigList) MarshalTo

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

func (*DeploymentConfigList) MarshalToSizedBuffer

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

func (*DeploymentConfigList) ProtoMessage

func (*DeploymentConfigList) ProtoMessage()

func (*DeploymentConfigList) Reset

func (m *DeploymentConfigList) Reset()

func (*DeploymentConfigList) Size

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

func (*DeploymentConfigList) String

func (this *DeploymentConfigList) String() string

func (DeploymentConfigList) SwaggerDoc

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

func (*DeploymentConfigList) Unmarshal

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

func (*DeploymentConfigList) XXX_DiscardUnknown

func (m *DeploymentConfigList) XXX_DiscardUnknown()

func (*DeploymentConfigList) XXX_Marshal

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

func (*DeploymentConfigList) XXX_Merge

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

func (*DeploymentConfigList) XXX_Size

func (m *DeploymentConfigList) XXX_Size() int

func (*DeploymentConfigList) XXX_Unmarshal

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

type DeploymentConfigRollback

type DeploymentConfigRollback struct {
	metav1.TypeMeta `json:",inline"`
	// Name of the deployment config that will be rolled back.
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
	// UpdatedAnnotations is a set of new annotations that will be added in the deployment config.
	UpdatedAnnotations map[string]string `json:"updatedAnnotations,omitempty" protobuf:"bytes,2,rep,name=updatedAnnotations"`
	// Spec defines the options to rollback generation.
	Spec DeploymentConfigRollbackSpec `json:"spec" protobuf:"bytes,3,opt,name=spec"`
}

DeploymentConfigRollback provides the input to rollback generation.

Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1

func (*DeploymentConfigRollback) DeepCopy

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

func (*DeploymentConfigRollback) DeepCopyInto

func (in *DeploymentConfigRollback) DeepCopyInto(out *DeploymentConfigRollback)

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

func (*DeploymentConfigRollback) DeepCopyObject

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

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

func (*DeploymentConfigRollback) Descriptor

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

func (*DeploymentConfigRollback) Marshal

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

func (*DeploymentConfigRollback) MarshalTo

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

func (*DeploymentConfigRollback) MarshalToSizedBuffer

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

func (*DeploymentConfigRollback) ProtoMessage

func (*DeploymentConfigRollback) ProtoMessage()

func (*DeploymentConfigRollback) Reset

func (m *DeploymentConfigRollback) Reset()

func (*DeploymentConfigRollback) Size

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

func (*DeploymentConfigRollback) String

func (this *DeploymentConfigRollback) String() string

func (DeploymentConfigRollback) SwaggerDoc

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

func (*DeploymentConfigRollback) Unmarshal

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

func (*DeploymentConfigRollback) XXX_DiscardUnknown

func (m *DeploymentConfigRollback) XXX_DiscardUnknown()

func (*DeploymentConfigRollback) XXX_Marshal

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

func (*DeploymentConfigRollback) XXX_Merge

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

func (*DeploymentConfigRollback) XXX_Size

func (m *DeploymentConfigRollback) XXX_Size() int

func (*DeploymentConfigRollback) XXX_Unmarshal

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

type DeploymentConfigRollbackSpec

type DeploymentConfigRollbackSpec struct {
	// From points to a ReplicationController which is a deployment.
	From corev1.ObjectReference `json:"from" protobuf:"bytes,1,opt,name=from"`
	// Revision to rollback to. If set to 0, rollback to the last revision.
	Revision int64 `json:"revision,omitempty" protobuf:"varint,2,opt,name=revision"`
	// IncludeTriggers specifies whether to include config Triggers.
	IncludeTriggers bool `json:"includeTriggers" protobuf:"varint,3,opt,name=includeTriggers"`
	// IncludeTemplate specifies whether to include the PodTemplateSpec.
	IncludeTemplate bool `json:"includeTemplate" protobuf:"varint,4,opt,name=includeTemplate"`
	// IncludeReplicationMeta specifies whether to include the replica count and selector.
	IncludeReplicationMeta bool `json:"includeReplicationMeta" protobuf:"varint,5,opt,name=includeReplicationMeta"`
	// IncludeStrategy specifies whether to include the deployment Strategy.
	IncludeStrategy bool `json:"includeStrategy" protobuf:"varint,6,opt,name=includeStrategy"`
}

DeploymentConfigRollbackSpec represents the options for rollback generation.

func (*DeploymentConfigRollbackSpec) DeepCopy

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

func (*DeploymentConfigRollbackSpec) DeepCopyInto

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

func (*DeploymentConfigRollbackSpec) Descriptor

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

func (*DeploymentConfigRollbackSpec) Marshal

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

func (*DeploymentConfigRollbackSpec) MarshalTo

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

func (*DeploymentConfigRollbackSpec) MarshalToSizedBuffer

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

func (*DeploymentConfigRollbackSpec) ProtoMessage

func (*DeploymentConfigRollbackSpec) ProtoMessage()

func (*DeploymentConfigRollbackSpec) Reset

func (m *DeploymentConfigRollbackSpec) Reset()

func (*DeploymentConfigRollbackSpec) Size

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

func (*DeploymentConfigRollbackSpec) String

func (this *DeploymentConfigRollbackSpec) String() string

func (DeploymentConfigRollbackSpec) SwaggerDoc

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

func (*DeploymentConfigRollbackSpec) Unmarshal

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

func (*DeploymentConfigRollbackSpec) XXX_DiscardUnknown

func (m *DeploymentConfigRollbackSpec) XXX_DiscardUnknown()

func (*DeploymentConfigRollbackSpec) XXX_Marshal

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

func (*DeploymentConfigRollbackSpec) XXX_Merge

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

func (*DeploymentConfigRollbackSpec) XXX_Size

func (m *DeploymentConfigRollbackSpec) XXX_Size() int

func (*DeploymentConfigRollbackSpec) XXX_Unmarshal

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

type DeploymentConfigSpec

type DeploymentConfigSpec struct {
	// Strategy describes how a deployment is executed.
	// +optional
	Strategy DeploymentStrategy `json:"strategy" protobuf:"bytes,1,opt,name=strategy"`

	// MinReadySeconds is the 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)
	MinReadySeconds int32 `json:"minReadySeconds,omitempty" protobuf:"varint,9,opt,name=minReadySeconds"`

	// Triggers determine how updates to a DeploymentConfig result in new deployments. If no triggers
	// are defined, a new deployment can only occur as a result of an explicit client update to the
	// DeploymentConfig with a new LatestVersion. If null, defaults to having a config change trigger.
	// +optional
	Triggers DeploymentTriggerPolicies `json:"triggers" protobuf:"bytes,2,rep,name=triggers"`

	// Replicas is the number of desired replicas.
	// +optional
	Replicas int32 `json:"replicas" protobuf:"varint,3,opt,name=replicas"`

	// RevisionHistoryLimit is the number of old ReplicationControllers to retain to allow for rollbacks.
	// This field is a pointer to allow for differentiation between an explicit zero and not specified.
	// Defaults to 10. (This only applies to DeploymentConfigs created via the new group API resource, not the legacy resource.)
	RevisionHistoryLimit *int32 `json:"revisionHistoryLimit,omitempty" protobuf:"varint,4,opt,name=revisionHistoryLimit"`

	// Test ensures that this deployment config will have zero replicas except while a deployment is running. This allows the
	// deployment config to be used as a continuous deployment test - triggering on images, running the deployment, and then succeeding
	// or failing. Post strategy hooks and After actions can be used to integrate successful deployment with an action.
	// +optional
	Test bool `json:"test" protobuf:"varint,5,opt,name=test"`

	// Paused indicates that the deployment config is paused resulting in no new deployments on template
	// changes or changes in the template caused by other triggers.
	Paused bool `json:"paused,omitempty" protobuf:"varint,6,opt,name=paused"`

	// Selector is a label query over pods that should match the Replicas count.
	Selector map[string]string `json:"selector,omitempty" protobuf:"bytes,7,rep,name=selector"`

	// Template is the object that describes the pod that will be created if
	// insufficient replicas are detected.
	Template *corev1.PodTemplateSpec `json:"template,omitempty" protobuf:"bytes,8,opt,name=template"`
}

DeploymentConfigSpec represents the desired state of the deployment.

func (*DeploymentConfigSpec) DeepCopy

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

func (*DeploymentConfigSpec) DeepCopyInto

func (in *DeploymentConfigSpec) DeepCopyInto(out *DeploymentConfigSpec)

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

func (*DeploymentConfigSpec) Descriptor

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

func (*DeploymentConfigSpec) Marshal

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

func (*DeploymentConfigSpec) MarshalTo

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

func (*DeploymentConfigSpec) MarshalToSizedBuffer

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

func (*DeploymentConfigSpec) ProtoMessage

func (*DeploymentConfigSpec) ProtoMessage()

func (*DeploymentConfigSpec) Reset

func (m *DeploymentConfigSpec) Reset()

func (*DeploymentConfigSpec) Size

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

func (*DeploymentConfigSpec) String

func (this *DeploymentConfigSpec) String() string

func (DeploymentConfigSpec) SwaggerDoc

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

func (*DeploymentConfigSpec) Unmarshal

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

func (*DeploymentConfigSpec) XXX_DiscardUnknown

func (m *DeploymentConfigSpec) XXX_DiscardUnknown()

func (*DeploymentConfigSpec) XXX_Marshal

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

func (*DeploymentConfigSpec) XXX_Merge

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

func (*DeploymentConfigSpec) XXX_Size

func (m *DeploymentConfigSpec) XXX_Size() int

func (*DeploymentConfigSpec) XXX_Unmarshal

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

type DeploymentConfigStatus

type DeploymentConfigStatus struct {
	// LatestVersion is used to determine whether the current deployment associated with a deployment
	// config is out of sync.
	LatestVersion int64 `json:"latestVersion" protobuf:"varint,1,opt,name=latestVersion"`
	// ObservedGeneration is the most recent generation observed by the deployment config controller.
	ObservedGeneration int64 `json:"observedGeneration" protobuf:"varint,2,opt,name=observedGeneration"`
	// Replicas is the total number of pods targeted by this deployment config.
	Replicas int32 `json:"replicas" protobuf:"varint,3,opt,name=replicas"`
	// UpdatedReplicas is the total number of non-terminated pods targeted by this deployment config
	// that have the desired template spec.
	UpdatedReplicas int32 `json:"updatedReplicas" protobuf:"varint,4,opt,name=updatedReplicas"`
	// AvailableReplicas is the total number of available pods targeted by this deployment config.
	AvailableReplicas int32 `json:"availableReplicas" protobuf:"varint,5,opt,name=availableReplicas"`
	// UnavailableReplicas is the total number of unavailable pods targeted by this deployment config.
	UnavailableReplicas int32 `json:"unavailableReplicas" protobuf:"varint,6,opt,name=unavailableReplicas"`
	// Details are the reasons for the update to this deployment config.
	// This could be based on a change made by the user or caused by an automatic trigger
	Details *DeploymentDetails `json:"details,omitempty" protobuf:"bytes,7,opt,name=details"`
	// Conditions represents the latest available observations of a deployment config's current state.
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions []DeploymentCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,8,rep,name=conditions"`
	// Total number of ready pods targeted by this deployment.
	ReadyReplicas int32 `json:"readyReplicas,omitempty" protobuf:"varint,9,opt,name=readyReplicas"`
}

DeploymentConfigStatus represents the current deployment state.

func (*DeploymentConfigStatus) DeepCopy

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

func (*DeploymentConfigStatus) DeepCopyInto

func (in *DeploymentConfigStatus) DeepCopyInto(out *DeploymentConfigStatus)

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

func (*DeploymentConfigStatus) Descriptor

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

func (*DeploymentConfigStatus) Marshal

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

func (*DeploymentConfigStatus) MarshalTo

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

func (*DeploymentConfigStatus) MarshalToSizedBuffer

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

func (*DeploymentConfigStatus) ProtoMessage

func (*DeploymentConfigStatus) ProtoMessage()

func (*DeploymentConfigStatus) Reset

func (m *DeploymentConfigStatus) Reset()

func (*DeploymentConfigStatus) Size

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

func (*DeploymentConfigStatus) String

func (this *DeploymentConfigStatus) String() string

func (DeploymentConfigStatus) SwaggerDoc

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

func (*DeploymentConfigStatus) Unmarshal

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

func (*DeploymentConfigStatus) XXX_DiscardUnknown

func (m *DeploymentConfigStatus) XXX_DiscardUnknown()

func (*DeploymentConfigStatus) XXX_Marshal

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

func (*DeploymentConfigStatus) XXX_Merge

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

func (*DeploymentConfigStatus) XXX_Size

func (m *DeploymentConfigStatus) XXX_Size() int

func (*DeploymentConfigStatus) XXX_Unmarshal

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

type DeploymentDetails

type DeploymentDetails struct {
	// Message is the user specified change message, if this deployment was triggered manually by the user
	Message string `json:"message,omitempty" protobuf:"bytes,1,opt,name=message"`
	// Causes are extended data associated with all the causes for creating a new deployment
	Causes []DeploymentCause `json:"causes" protobuf:"bytes,2,rep,name=causes"`
}

DeploymentDetails captures information about the causes of a deployment.

func (*DeploymentDetails) DeepCopy

func (in *DeploymentDetails) DeepCopy() *DeploymentDetails

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

func (*DeploymentDetails) DeepCopyInto

func (in *DeploymentDetails) DeepCopyInto(out *DeploymentDetails)

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

func (*DeploymentDetails) Descriptor

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

func (*DeploymentDetails) Marshal

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

func (*DeploymentDetails) MarshalTo

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

func (*DeploymentDetails) MarshalToSizedBuffer

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

func (*DeploymentDetails) ProtoMessage

func (*DeploymentDetails) ProtoMessage()

func (*DeploymentDetails) Reset

func (m *DeploymentDetails) Reset()

func (*DeploymentDetails) Size

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

func (*DeploymentDetails) String

func (this *DeploymentDetails) String() string

func (DeploymentDetails) SwaggerDoc

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

func (*DeploymentDetails) Unmarshal

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

func (*DeploymentDetails) XXX_DiscardUnknown

func (m *DeploymentDetails) XXX_DiscardUnknown()

func (*DeploymentDetails) XXX_Marshal

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

func (*DeploymentDetails) XXX_Merge

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

func (*DeploymentDetails) XXX_Size

func (m *DeploymentDetails) XXX_Size() int

func (*DeploymentDetails) XXX_Unmarshal

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

type DeploymentLog

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

DeploymentLog represents the logs for a deployment

Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1

func (*DeploymentLog) DeepCopy

func (in *DeploymentLog) DeepCopy() *DeploymentLog

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

func (*DeploymentLog) DeepCopyInto

func (in *DeploymentLog) DeepCopyInto(out *DeploymentLog)

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

func (*DeploymentLog) DeepCopyObject

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

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

func (*DeploymentLog) Descriptor

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

func (*DeploymentLog) Marshal

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

func (*DeploymentLog) MarshalTo

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

func (*DeploymentLog) MarshalToSizedBuffer

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

func (*DeploymentLog) ProtoMessage

func (*DeploymentLog) ProtoMessage()

func (*DeploymentLog) Reset

func (m *DeploymentLog) Reset()

func (*DeploymentLog) Size

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

func (*DeploymentLog) String

func (this *DeploymentLog) String() string

func (DeploymentLog) SwaggerDoc

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

func (*DeploymentLog) Unmarshal

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

func (*DeploymentLog) XXX_DiscardUnknown

func (m *DeploymentLog) XXX_DiscardUnknown()

func (*DeploymentLog) XXX_Marshal

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

func (*DeploymentLog) XXX_Merge

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

func (*DeploymentLog) XXX_Size

func (m *DeploymentLog) XXX_Size() int

func (*DeploymentLog) XXX_Unmarshal

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

type DeploymentLogOptions

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

	// The container for which to stream logs. Defaults to only container if there is one container in the pod.
	Container string `json:"container,omitempty" protobuf:"bytes,1,opt,name=container"`
	// Follow if true indicates that the build log should be streamed until
	// the build terminates.
	Follow bool `json:"follow,omitempty" protobuf:"varint,2,opt,name=follow"`
	// Return previous deployment logs. Defaults to false.
	Previous bool `json:"previous,omitempty" protobuf:"varint,3,opt,name=previous"`
	// A relative time in seconds before the current time from which to show logs. If this value
	// precedes the time a pod was started, only logs since the pod start will be returned.
	// If this value is in the future, no logs will be returned.
	// Only one of sinceSeconds or sinceTime may be specified.
	SinceSeconds *int64 `json:"sinceSeconds,omitempty" protobuf:"varint,4,opt,name=sinceSeconds"`
	// An RFC3339 timestamp from which to show logs. If this value
	// precedes the time a pod was started, only logs since the pod start will be returned.
	// If this value is in the future, no logs will be returned.
	// Only one of sinceSeconds or sinceTime may be specified.
	SinceTime *metav1.Time `json:"sinceTime,omitempty" protobuf:"bytes,5,opt,name=sinceTime"`
	// If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line
	// of log output. Defaults to false.
	Timestamps bool `json:"timestamps,omitempty" protobuf:"varint,6,opt,name=timestamps"`
	// If set, the number of lines from the end of the logs to show. If not specified,
	// logs are shown from the creation of the container or sinceSeconds or sinceTime
	TailLines *int64 `json:"tailLines,omitempty" protobuf:"varint,7,opt,name=tailLines"`
	// If set, the number of bytes to read from the server before terminating the
	// log output. This may not display a complete final line of logging, and may return
	// slightly more or slightly less than the specified limit.
	LimitBytes *int64 `json:"limitBytes,omitempty" protobuf:"varint,8,opt,name=limitBytes"`

	// NoWait if true causes the call to return immediately even if the deployment
	// is not available yet. Otherwise the server will wait until the deployment has started.
	// TODO: Fix the tag to 'noWait' in v2
	NoWait bool `json:"nowait,omitempty" protobuf:"varint,9,opt,name=nowait"`

	// Version of the deployment for which to view logs.
	Version *int64 `json:"version,omitempty" protobuf:"varint,10,opt,name=version"`
}

DeploymentLogOptions is the REST options for a deployment log

Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1

func (*DeploymentLogOptions) DeepCopy

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

func (*DeploymentLogOptions) DeepCopyInto

func (in *DeploymentLogOptions) DeepCopyInto(out *DeploymentLogOptions)

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

func (*DeploymentLogOptions) DeepCopyObject

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

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

func (*DeploymentLogOptions) Descriptor

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

func (*DeploymentLogOptions) Marshal

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

func (*DeploymentLogOptions) MarshalTo

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

func (*DeploymentLogOptions) MarshalToSizedBuffer

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

func (*DeploymentLogOptions) ProtoMessage

func (*DeploymentLogOptions) ProtoMessage()

func (*DeploymentLogOptions) Reset

func (m *DeploymentLogOptions) Reset()

func (*DeploymentLogOptions) Size

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

func (*DeploymentLogOptions) String

func (this *DeploymentLogOptions) String() string

func (DeploymentLogOptions) SwaggerDoc

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

func (*DeploymentLogOptions) Unmarshal

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

func (*DeploymentLogOptions) XXX_DiscardUnknown

func (m *DeploymentLogOptions) XXX_DiscardUnknown()

func (*DeploymentLogOptions) XXX_Marshal

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

func (*DeploymentLogOptions) XXX_Merge

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

func (*DeploymentLogOptions) XXX_Size

func (m *DeploymentLogOptions) XXX_Size() int

func (*DeploymentLogOptions) XXX_Unmarshal

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

type DeploymentRequest

type DeploymentRequest struct {
	metav1.TypeMeta `json:",inline"`
	// Name of the deployment config for requesting a new deployment.
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
	// Latest will update the deployment config with the latest state from all triggers.
	Latest bool `json:"latest" protobuf:"varint,2,opt,name=latest"`
	// Force will try to force a new deployment to run. If the deployment config is paused,
	// then setting this to true will return an Invalid error.
	Force bool `json:"force" protobuf:"varint,3,opt,name=force"`
	// ExcludeTriggers instructs the instantiator to avoid processing the specified triggers.
	// This field overrides the triggers from latest and allows clients to control specific
	// logic. This field is ignored if not specified.
	ExcludeTriggers []DeploymentTriggerType `json:"excludeTriggers,omitempty" protobuf:"bytes,4,rep,name=excludeTriggers,casttype=DeploymentTriggerType"`
}

DeploymentRequest is a request to a deployment config for a new deployment.

Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1

func (*DeploymentRequest) DeepCopy

func (in *DeploymentRequest) DeepCopy() *DeploymentRequest

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

func (*DeploymentRequest) DeepCopyInto

func (in *DeploymentRequest) DeepCopyInto(out *DeploymentRequest)

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

func (*DeploymentRequest) DeepCopyObject

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

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

func (*DeploymentRequest) Descriptor

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

func (*DeploymentRequest) Marshal

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

func (*DeploymentRequest) MarshalTo

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

func (*DeploymentRequest) MarshalToSizedBuffer

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

func (*DeploymentRequest) ProtoMessage

func (*DeploymentRequest) ProtoMessage()

func (*DeploymentRequest) Reset

func (m *DeploymentRequest) Reset()

func (*DeploymentRequest) Size

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

func (*DeploymentRequest) String

func (this *DeploymentRequest) String() string

func (DeploymentRequest) SwaggerDoc

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

func (*DeploymentRequest) Unmarshal

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

func (*DeploymentRequest) XXX_DiscardUnknown

func (m *DeploymentRequest) XXX_DiscardUnknown()

func (*DeploymentRequest) XXX_Marshal

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

func (*DeploymentRequest) XXX_Merge

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

func (*DeploymentRequest) XXX_Size

func (m *DeploymentRequest) XXX_Size() int

func (*DeploymentRequest) XXX_Unmarshal

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

type DeploymentStatus

type DeploymentStatus string

DeploymentStatus describes the possible states a deployment can be in.

var (

	// DeploymentStatusNew means the deployment has been accepted but not yet acted upon.
	DeploymentStatusNew DeploymentStatus = "New"

	// DeploymentStatusPending means the deployment been handed over to a deployment strategy,
	// but the strategy has not yet declared the deployment to be running.
	DeploymentStatusPending DeploymentStatus = "Pending"

	// DeploymentStatusRunning means the deployment strategy has reported the deployment as
	// being in-progress.
	DeploymentStatusRunning DeploymentStatus = "Running"

	// DeploymentStatusComplete means the deployment finished without an error.
	DeploymentStatusComplete DeploymentStatus = "Complete"

	// DeploymentStatusFailed means the deployment finished with an error.
	DeploymentStatusFailed DeploymentStatus = "Failed"
)

type DeploymentStrategy

type DeploymentStrategy struct {
	// Type is the name of a deployment strategy.
	// +optional
	Type DeploymentStrategyType `json:"type,omitempty" protobuf:"bytes,1,opt,name=type,casttype=DeploymentStrategyType"`

	// CustomParams are the input to the Custom deployment strategy, and may also
	// be specified for the Recreate and Rolling strategies to customize the execution
	// process that runs the deployment.
	CustomParams *CustomDeploymentStrategyParams `json:"customParams,omitempty" protobuf:"bytes,2,opt,name=customParams"`
	// RecreateParams are the input to the Recreate deployment strategy.
	RecreateParams *RecreateDeploymentStrategyParams `json:"recreateParams,omitempty" protobuf:"bytes,3,opt,name=recreateParams"`
	// RollingParams are the input to the Rolling deployment strategy.
	RollingParams *RollingDeploymentStrategyParams `json:"rollingParams,omitempty" protobuf:"bytes,4,opt,name=rollingParams"`

	// Resources contains resource requirements to execute the deployment and any hooks.
	Resources corev1.ResourceRequirements `json:"resources,omitempty" protobuf:"bytes,5,opt,name=resources"`
	// Labels is a set of key, value pairs added to custom deployer and lifecycle pre/post hook pods.
	Labels map[string]string `json:"labels,omitempty" protobuf:"bytes,6,rep,name=labels"`
	// Annotations is a set of key, value pairs added to custom deployer and lifecycle pre/post hook pods.
	Annotations map[string]string `json:"annotations,omitempty" protobuf:"bytes,7,rep,name=annotations"`

	// ActiveDeadlineSeconds is the duration in seconds that the deployer pods for this deployment
	// config may be active on a node before the system actively tries to terminate them.
	ActiveDeadlineSeconds *int64 `json:"activeDeadlineSeconds,omitempty" protobuf:"varint,8,opt,name=activeDeadlineSeconds"`
}

DeploymentStrategy describes how to perform a deployment.

func (*DeploymentStrategy) DeepCopy

func (in *DeploymentStrategy) DeepCopy() *DeploymentStrategy

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

func (*DeploymentStrategy) DeepCopyInto

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

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

func (*DeploymentStrategy) Descriptor

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

func (*DeploymentStrategy) Marshal

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

func (*DeploymentStrategy) MarshalTo

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

func (*DeploymentStrategy) MarshalToSizedBuffer

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

func (*DeploymentStrategy) ProtoMessage

func (*DeploymentStrategy) ProtoMessage()

func (*DeploymentStrategy) Reset

func (m *DeploymentStrategy) Reset()

func (*DeploymentStrategy) Size

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

func (*DeploymentStrategy) String

func (this *DeploymentStrategy) String() string

func (DeploymentStrategy) SwaggerDoc

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

func (*DeploymentStrategy) Unmarshal

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

func (*DeploymentStrategy) XXX_DiscardUnknown

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 DeploymentStrategyType

type DeploymentStrategyType string

DeploymentStrategyType refers to a specific DeploymentStrategy implementation.

const (
	// DeploymentStrategyTypeRecreate is a simple strategy suitable as a default.
	DeploymentStrategyTypeRecreate DeploymentStrategyType = "Recreate"
	// DeploymentStrategyTypeCustom is a user defined strategy.
	DeploymentStrategyTypeCustom DeploymentStrategyType = "Custom"
	// DeploymentStrategyTypeRolling uses the Kubernetes RollingUpdater.
	DeploymentStrategyTypeRolling DeploymentStrategyType = "Rolling"
)

type DeploymentTriggerImageChangeParams

type DeploymentTriggerImageChangeParams struct {
	// Automatic means that the detection of a new tag value should result in an image update
	// inside the pod template.
	Automatic bool `json:"automatic,omitempty" protobuf:"varint,1,opt,name=automatic"`
	// ContainerNames is used to restrict tag updates to the specified set of container names in a pod.
	// If multiple triggers point to the same containers, the resulting behavior is undefined. Future
	// API versions will make this a validation error. If ContainerNames does not point to a valid container,
	// the trigger will be ignored. Future API versions will make this a validation error.
	ContainerNames []string `json:"containerNames,omitempty" protobuf:"bytes,2,rep,name=containerNames"`
	// From is a reference to an image stream tag to watch for changes. From.Name is the only
	// required subfield - if From.Namespace is blank, the namespace of the current deployment
	// trigger will be used.
	From corev1.ObjectReference `json:"from" protobuf:"bytes,3,opt,name=from"`
	// LastTriggeredImage is the last image to be triggered.
	LastTriggeredImage string `json:"lastTriggeredImage,omitempty" protobuf:"bytes,4,opt,name=lastTriggeredImage"`
}

DeploymentTriggerImageChangeParams represents the parameters to the ImageChange trigger.

func (*DeploymentTriggerImageChangeParams) DeepCopy

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

func (*DeploymentTriggerImageChangeParams) DeepCopyInto

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

func (*DeploymentTriggerImageChangeParams) Descriptor

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

func (*DeploymentTriggerImageChangeParams) Marshal

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

func (*DeploymentTriggerImageChangeParams) MarshalTo

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

func (*DeploymentTriggerImageChangeParams) MarshalToSizedBuffer

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

func (*DeploymentTriggerImageChangeParams) ProtoMessage

func (*DeploymentTriggerImageChangeParams) ProtoMessage()

func (*DeploymentTriggerImageChangeParams) Reset

func (*DeploymentTriggerImageChangeParams) Size

func (*DeploymentTriggerImageChangeParams) String

func (DeploymentTriggerImageChangeParams) SwaggerDoc

func (*DeploymentTriggerImageChangeParams) Unmarshal

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

func (*DeploymentTriggerImageChangeParams) XXX_DiscardUnknown

func (m *DeploymentTriggerImageChangeParams) XXX_DiscardUnknown()

func (*DeploymentTriggerImageChangeParams) XXX_Marshal

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

func (*DeploymentTriggerImageChangeParams) XXX_Merge

func (*DeploymentTriggerImageChangeParams) XXX_Size

func (*DeploymentTriggerImageChangeParams) XXX_Unmarshal

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

type DeploymentTriggerPolicies

type DeploymentTriggerPolicies []DeploymentTriggerPolicy

DeploymentTriggerPolicies is a list of policies where nil values and different from empty arrays. +protobuf.nullable=true +protobuf.options.(gogoproto.goproto_stringer)=false

func (DeploymentTriggerPolicies) DeepCopy

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

func (DeploymentTriggerPolicies) DeepCopyInto

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

func (*DeploymentTriggerPolicies) Descriptor

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

func (DeploymentTriggerPolicies) Marshal

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

func (DeploymentTriggerPolicies) MarshalTo

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

func (DeploymentTriggerPolicies) MarshalToSizedBuffer

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

func (*DeploymentTriggerPolicies) ProtoMessage

func (*DeploymentTriggerPolicies) ProtoMessage()

func (*DeploymentTriggerPolicies) Reset

func (m *DeploymentTriggerPolicies) Reset()

func (DeploymentTriggerPolicies) Size

func (m DeploymentTriggerPolicies) Size() (n int)

func (DeploymentTriggerPolicies) String

func (t DeploymentTriggerPolicies) String() string

func (*DeploymentTriggerPolicies) Unmarshal

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

func (*DeploymentTriggerPolicies) XXX_DiscardUnknown

func (m *DeploymentTriggerPolicies) XXX_DiscardUnknown()

func (*DeploymentTriggerPolicies) XXX_Marshal

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

func (*DeploymentTriggerPolicies) XXX_Merge

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

func (*DeploymentTriggerPolicies) XXX_Size

func (m *DeploymentTriggerPolicies) XXX_Size() int

func (*DeploymentTriggerPolicies) XXX_Unmarshal

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

type DeploymentTriggerPolicy

type DeploymentTriggerPolicy struct {
	// Type of the trigger
	Type DeploymentTriggerType `json:"type,omitempty" protobuf:"bytes,1,opt,name=type,casttype=DeploymentTriggerType"`
	// ImageChangeParams represents the parameters for the ImageChange trigger.
	ImageChangeParams *DeploymentTriggerImageChangeParams `json:"imageChangeParams,omitempty" protobuf:"bytes,2,opt,name=imageChangeParams"`
}

DeploymentTriggerPolicy describes a policy for a single trigger that results in a new deployment.

func (*DeploymentTriggerPolicy) DeepCopy

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

func (*DeploymentTriggerPolicy) DeepCopyInto

func (in *DeploymentTriggerPolicy) DeepCopyInto(out *DeploymentTriggerPolicy)

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

func (*DeploymentTriggerPolicy) Descriptor

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

func (*DeploymentTriggerPolicy) Marshal

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

func (*DeploymentTriggerPolicy) MarshalTo

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

func (*DeploymentTriggerPolicy) MarshalToSizedBuffer

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

func (*DeploymentTriggerPolicy) ProtoMessage

func (*DeploymentTriggerPolicy) ProtoMessage()

func (*DeploymentTriggerPolicy) Reset

func (m *DeploymentTriggerPolicy) Reset()

func (*DeploymentTriggerPolicy) Size

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

func (*DeploymentTriggerPolicy) String

func (this *DeploymentTriggerPolicy) String() string

func (DeploymentTriggerPolicy) SwaggerDoc

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

func (*DeploymentTriggerPolicy) Unmarshal

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

func (*DeploymentTriggerPolicy) XXX_DiscardUnknown

func (m *DeploymentTriggerPolicy) XXX_DiscardUnknown()

func (*DeploymentTriggerPolicy) XXX_Marshal

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

func (*DeploymentTriggerPolicy) XXX_Merge

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

func (*DeploymentTriggerPolicy) XXX_Size

func (m *DeploymentTriggerPolicy) XXX_Size() int

func (*DeploymentTriggerPolicy) XXX_Unmarshal

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

type DeploymentTriggerType

type DeploymentTriggerType string

DeploymentTriggerType refers to a specific DeploymentTriggerPolicy implementation.

const (
	// DeploymentTriggerOnImageChange will create new deployments in response to updated tags from
	// a container image repository.
	DeploymentTriggerOnImageChange DeploymentTriggerType = "ImageChange"
	// DeploymentTriggerOnConfigChange will create new deployments in response to changes to
	// the ControllerTemplate of a DeploymentConfig.
	DeploymentTriggerOnConfigChange DeploymentTriggerType = "ConfigChange"
)

type ExecNewPodHook

type ExecNewPodHook struct {
	// Command is the action command and its arguments.
	Command []string `json:"command" protobuf:"bytes,1,rep,name=command"`
	// Env is a set of environment variables to supply to the hook pod's container.
	Env []corev1.EnvVar `json:"env,omitempty" protobuf:"bytes,2,rep,name=env"`
	// ContainerName is the name of a container in the deployment pod template
	// whose container image will be used for the hook pod's container.
	ContainerName string `json:"containerName" protobuf:"bytes,3,opt,name=containerName"`
	// Volumes is a list of named volumes from the pod template which should be
	// copied to the hook pod. Volumes names not found in pod spec are ignored.
	// An empty list means no volumes will be copied.
	Volumes []string `json:"volumes,omitempty" protobuf:"bytes,4,rep,name=volumes"`
}

ExecNewPodHook is a hook implementation which runs a command in a new pod based on the specified container which is assumed to be part of the deployment template.

func (*ExecNewPodHook) DeepCopy

func (in *ExecNewPodHook) DeepCopy() *ExecNewPodHook

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

func (*ExecNewPodHook) DeepCopyInto

func (in *ExecNewPodHook) DeepCopyInto(out *ExecNewPodHook)

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

func (*ExecNewPodHook) Descriptor

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

func (*ExecNewPodHook) Marshal

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

func (*ExecNewPodHook) MarshalTo

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

func (*ExecNewPodHook) MarshalToSizedBuffer

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

func (*ExecNewPodHook) ProtoMessage

func (*ExecNewPodHook) ProtoMessage()

func (*ExecNewPodHook) Reset

func (m *ExecNewPodHook) Reset()

func (*ExecNewPodHook) Size

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

func (*ExecNewPodHook) String

func (this *ExecNewPodHook) String() string

func (ExecNewPodHook) SwaggerDoc

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

func (*ExecNewPodHook) Unmarshal

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

func (*ExecNewPodHook) XXX_DiscardUnknown

func (m *ExecNewPodHook) XXX_DiscardUnknown()

func (*ExecNewPodHook) XXX_Marshal

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

func (*ExecNewPodHook) XXX_Merge

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

func (*ExecNewPodHook) XXX_Size

func (m *ExecNewPodHook) XXX_Size() int

func (*ExecNewPodHook) XXX_Unmarshal

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

type LifecycleHook

type LifecycleHook struct {
	// FailurePolicy specifies what action to take if the hook fails.
	FailurePolicy LifecycleHookFailurePolicy `json:"failurePolicy" protobuf:"bytes,1,opt,name=failurePolicy,casttype=LifecycleHookFailurePolicy"`

	// ExecNewPod specifies the options for a lifecycle hook backed by a pod.
	ExecNewPod *ExecNewPodHook `json:"execNewPod,omitempty" protobuf:"bytes,2,opt,name=execNewPod"`

	// TagImages instructs the deployer to tag the current image referenced under a container onto an image stream tag.
	TagImages []TagImageHook `json:"tagImages,omitempty" protobuf:"bytes,3,rep,name=tagImages"`
}

LifecycleHook defines a specific deployment lifecycle action. Only one type of action may be specified at any time.

func (*LifecycleHook) DeepCopy

func (in *LifecycleHook) DeepCopy() *LifecycleHook

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

func (*LifecycleHook) DeepCopyInto

func (in *LifecycleHook) DeepCopyInto(out *LifecycleHook)

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

func (*LifecycleHook) Descriptor

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

func (*LifecycleHook) Marshal

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

func (*LifecycleHook) MarshalTo

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

func (*LifecycleHook) MarshalToSizedBuffer

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

func (*LifecycleHook) ProtoMessage

func (*LifecycleHook) ProtoMessage()

func (*LifecycleHook) Reset

func (m *LifecycleHook) Reset()

func (*LifecycleHook) Size

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

func (*LifecycleHook) String

func (this *LifecycleHook) String() string

func (LifecycleHook) SwaggerDoc

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

func (*LifecycleHook) Unmarshal

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

func (*LifecycleHook) XXX_DiscardUnknown

func (m *LifecycleHook) XXX_DiscardUnknown()

func (*LifecycleHook) XXX_Marshal

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

func (*LifecycleHook) XXX_Merge

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

func (*LifecycleHook) XXX_Size

func (m *LifecycleHook) XXX_Size() int

func (*LifecycleHook) XXX_Unmarshal

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

type LifecycleHookFailurePolicy

type LifecycleHookFailurePolicy string

LifecycleHookFailurePolicy describes possibles actions to take if a hook fails.

const (
	// LifecycleHookFailurePolicyRetry means retry the hook until it succeeds.
	LifecycleHookFailurePolicyRetry LifecycleHookFailurePolicy = "Retry"
	// LifecycleHookFailurePolicyAbort means abort the deployment.
	LifecycleHookFailurePolicyAbort LifecycleHookFailurePolicy = "Abort"
	// LifecycleHookFailurePolicyIgnore means ignore failure and continue the deployment.
	LifecycleHookFailurePolicyIgnore LifecycleHookFailurePolicy = "Ignore"
)

type RecreateDeploymentStrategyParams

type RecreateDeploymentStrategyParams struct {
	// TimeoutSeconds is the time to wait for updates before giving up. If the
	// value is nil, a default will be used.
	TimeoutSeconds *int64 `json:"timeoutSeconds,omitempty" protobuf:"varint,1,opt,name=timeoutSeconds"`
	// Pre is a lifecycle hook which is executed before the strategy manipulates
	// the deployment. All LifecycleHookFailurePolicy values are supported.
	Pre *LifecycleHook `json:"pre,omitempty" protobuf:"bytes,2,opt,name=pre"`
	// Mid is a lifecycle hook which is executed while the deployment is scaled down to zero before the first new
	// pod is created. All LifecycleHookFailurePolicy values are supported.
	Mid *LifecycleHook `json:"mid,omitempty" protobuf:"bytes,3,opt,name=mid"`
	// Post is a lifecycle hook which is executed after the strategy has
	// finished all deployment logic. All LifecycleHookFailurePolicy values are supported.
	Post *LifecycleHook `json:"post,omitempty" protobuf:"bytes,4,opt,name=post"`
}

RecreateDeploymentStrategyParams are the input to the Recreate deployment strategy.

func (*RecreateDeploymentStrategyParams) DeepCopy

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

func (*RecreateDeploymentStrategyParams) DeepCopyInto

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

func (*RecreateDeploymentStrategyParams) Descriptor

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

func (*RecreateDeploymentStrategyParams) Marshal

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

func (*RecreateDeploymentStrategyParams) MarshalTo

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

func (*RecreateDeploymentStrategyParams) MarshalToSizedBuffer

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

func (*RecreateDeploymentStrategyParams) ProtoMessage

func (*RecreateDeploymentStrategyParams) ProtoMessage()

func (*RecreateDeploymentStrategyParams) Reset

func (*RecreateDeploymentStrategyParams) Size

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

func (*RecreateDeploymentStrategyParams) String

func (RecreateDeploymentStrategyParams) SwaggerDoc

func (*RecreateDeploymentStrategyParams) Unmarshal

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

func (*RecreateDeploymentStrategyParams) XXX_DiscardUnknown

func (m *RecreateDeploymentStrategyParams) XXX_DiscardUnknown()

func (*RecreateDeploymentStrategyParams) XXX_Marshal

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

func (*RecreateDeploymentStrategyParams) XXX_Merge

func (*RecreateDeploymentStrategyParams) XXX_Size

func (m *RecreateDeploymentStrategyParams) XXX_Size() int

func (*RecreateDeploymentStrategyParams) XXX_Unmarshal

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

type RollingDeploymentStrategyParams

type RollingDeploymentStrategyParams struct {
	// UpdatePeriodSeconds is the time to wait between individual pod updates.
	// If the value is nil, a default will be used.
	UpdatePeriodSeconds *int64 `json:"updatePeriodSeconds,omitempty" protobuf:"varint,1,opt,name=updatePeriodSeconds"`
	// IntervalSeconds is the time to wait between polling deployment status
	// after update. If the value is nil, a default will be used.
	IntervalSeconds *int64 `json:"intervalSeconds,omitempty" protobuf:"varint,2,opt,name=intervalSeconds"`
	// TimeoutSeconds is the time to wait for updates before giving up. If the
	// value is nil, a default will be used.
	TimeoutSeconds *int64 `json:"timeoutSeconds,omitempty" protobuf:"varint,3,opt,name=timeoutSeconds"`
	// MaxUnavailable is the maximum number of pods that can be unavailable
	// during the update. Value can be an absolute number (ex: 5) or a
	// percentage of total pods at the start of update (ex: 10%). Absolute
	// number is calculated from percentage by rounding down.
	//
	// This cannot be 0 if MaxSurge is 0. By default, 25% is used.
	//
	// Example: when this is set to 30%, the old RC can be scaled down by 30%
	// 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 at least 70% of original number of pods are available at
	// all times during the update.
	MaxUnavailable *intstr.IntOrString `json:"maxUnavailable,omitempty" protobuf:"bytes,4,opt,name=maxUnavailable"`
	// MaxSurge is the maximum number of pods that can be scheduled above the
	// original number of pods. Value can be an absolute number (ex: 5) or a
	// percentage of total pods at the start of the update (ex: 10%). Absolute
	// number is calculated from percentage by rounding up.
	//
	// This cannot be 0 if MaxUnavailable is 0. By default, 25% is used.
	//
	// Example: when this is set to 30%, the new RC can be scaled up by 30%
	// immediately when the rolling update starts. 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 atmost 130% of original
	// pods.
	MaxSurge *intstr.IntOrString `json:"maxSurge,omitempty" protobuf:"bytes,5,opt,name=maxSurge"`
	// Pre is a lifecycle hook which is executed before the deployment process
	// begins. All LifecycleHookFailurePolicy values are supported.
	Pre *LifecycleHook `json:"pre,omitempty" protobuf:"bytes,7,opt,name=pre"`
	// Post is a lifecycle hook which is executed after the strategy has
	// finished all deployment logic. All LifecycleHookFailurePolicy values
	// are supported.
	Post *LifecycleHook `json:"post,omitempty" protobuf:"bytes,8,opt,name=post"`
}

RollingDeploymentStrategyParams are the input to the Rolling deployment strategy.

func (*RollingDeploymentStrategyParams) DeepCopy

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

func (*RollingDeploymentStrategyParams) DeepCopyInto

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

func (*RollingDeploymentStrategyParams) Descriptor

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

func (*RollingDeploymentStrategyParams) Marshal

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

func (*RollingDeploymentStrategyParams) MarshalTo

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

func (*RollingDeploymentStrategyParams) MarshalToSizedBuffer

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

func (*RollingDeploymentStrategyParams) ProtoMessage

func (*RollingDeploymentStrategyParams) ProtoMessage()

func (*RollingDeploymentStrategyParams) Reset

func (*RollingDeploymentStrategyParams) Size

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

func (*RollingDeploymentStrategyParams) String

func (this *RollingDeploymentStrategyParams) String() string

func (RollingDeploymentStrategyParams) SwaggerDoc

func (*RollingDeploymentStrategyParams) Unmarshal

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

func (*RollingDeploymentStrategyParams) XXX_DiscardUnknown

func (m *RollingDeploymentStrategyParams) XXX_DiscardUnknown()

func (*RollingDeploymentStrategyParams) XXX_Marshal

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

func (*RollingDeploymentStrategyParams) XXX_Merge

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

func (*RollingDeploymentStrategyParams) XXX_Size

func (m *RollingDeploymentStrategyParams) XXX_Size() int

func (*RollingDeploymentStrategyParams) XXX_Unmarshal

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

type TagImageHook

type TagImageHook struct {
	// ContainerName is the name of a container in the deployment config whose image value will be used as the source of the tag. If there is only a single
	// container this value will be defaulted to the name of that container.
	ContainerName string `json:"containerName" protobuf:"bytes,1,opt,name=containerName"`
	// To is the target ImageStreamTag to set the container's image onto.
	To corev1.ObjectReference `json:"to" protobuf:"bytes,2,opt,name=to"`
}

TagImageHook is a request to tag the image in a particular container onto an ImageStreamTag.

func (*TagImageHook) DeepCopy

func (in *TagImageHook) DeepCopy() *TagImageHook

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

func (*TagImageHook) DeepCopyInto

func (in *TagImageHook) DeepCopyInto(out *TagImageHook)

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

func (*TagImageHook) Descriptor

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

func (*TagImageHook) Marshal

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

func (*TagImageHook) MarshalTo

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

func (*TagImageHook) MarshalToSizedBuffer

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

func (*TagImageHook) ProtoMessage

func (*TagImageHook) ProtoMessage()

func (*TagImageHook) Reset

func (m *TagImageHook) Reset()

func (*TagImageHook) Size

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

func (*TagImageHook) String

func (this *TagImageHook) String() string

func (TagImageHook) SwaggerDoc

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

func (*TagImageHook) Unmarshal

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

func (*TagImageHook) XXX_DiscardUnknown

func (m *TagImageHook) XXX_DiscardUnknown()

func (*TagImageHook) XXX_Marshal

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

func (*TagImageHook) XXX_Merge

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

func (*TagImageHook) XXX_Size

func (m *TagImageHook) XXX_Size() int

func (*TagImageHook) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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