Versions in this module Expand all Collapse all v1 v1.0.0 Jul 24, 2018 Changes in this version + const DefaultRecreateTimeoutSeconds + const DefaultRevisionHistoryLimit + const DefaultRollingIntervalSeconds + const DefaultRollingTimeoutSeconds + const DefaultRollingUpdatePeriodSeconds + const DeployerPodCompletedAtAnnotation + const DeployerPodCreatedAtAnnotation + const DeployerPodForDeploymentLabel + const DeployerPodStartedAtAnnotation + const DeploymentAnnotation + const DeploymentCancelledAnnotation + const DeploymentCancelledAnnotationValue + const DeploymentCancelledByUser + const DeploymentCancelledNewerDeploymentExists + const DeploymentConfigAnnotation + const DeploymentConfigLabel + const DeploymentEncodedConfigAnnotation + const DeploymentFailedDeployerPodNoLongerExists + const DeploymentFailedUnableToCreateDeployerPod + const DeploymentFailedUnrelatedDeploymentExists + const DeploymentIgnorePodAnnotation + const DeploymentLabel + const DeploymentPodAnnotation + const DeploymentPodTypeLabel + const DeploymentReplicasAnnotation + const DeploymentStatusAnnotation + const DeploymentStatusReasonAnnotation + const DeploymentVersionAnnotation + const DesiredReplicasAnnotation + const GroupName + const LegacyGroupName + const MaxDeploymentDurationSeconds + const MidHookPodSuffix + const PostHookPodSuffix + const PreHookPodSuffix + var AddToScheme = SchemeBuilder.AddToScheme + var AddToSchemeInCoreGroup = LegacySchemeBuilder.AddToScheme + var LegacySchemeBuilder = runtime.NewSchemeBuilder(addLegacyKnownTypes) + var LegacySchemeGroupVersion = schema.GroupVersion + var SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + var SchemeGroupVersion = schema.GroupVersion + func DeploymentToPodLogOptions(opts *DeploymentLogOptions) *kapi.PodLogOptions + func EachTemplateImage(pod *kapi.PodSpec, triggerFn TriggeredByFunc, fn func(TemplateImage, error)) + func Kind(kind string) schema.GroupKind + func LegacyResource(resource string) schema.GroupResource + func Resource(resource string) schema.GroupResource + type CustomDeploymentStrategyParams struct + Command []string + Environment []kapi.EnvVar + Image string + func (in *CustomDeploymentStrategyParams) DeepCopy() *CustomDeploymentStrategyParams + func (in *CustomDeploymentStrategyParams) DeepCopyInto(out *CustomDeploymentStrategyParams) + type DeploymentCause struct + ImageTrigger *DeploymentCauseImageTrigger + Type DeploymentTriggerType + func (in *DeploymentCause) DeepCopy() *DeploymentCause + func (in *DeploymentCause) DeepCopyInto(out *DeploymentCause) + type DeploymentCauseImageTrigger struct + From kapi.ObjectReference + func (in *DeploymentCauseImageTrigger) DeepCopy() *DeploymentCauseImageTrigger + func (in *DeploymentCauseImageTrigger) DeepCopyInto(out *DeploymentCauseImageTrigger) + type DeploymentCondition struct + LastTransitionTime metav1.Time + LastUpdateTime metav1.Time + Message string + Reason DeploymentConditionReason + Status kapi.ConditionStatus + Type DeploymentConditionType + func (in *DeploymentCondition) DeepCopy() *DeploymentCondition + func (in *DeploymentCondition) DeepCopyInto(out *DeploymentCondition) + type DeploymentConditionReason string + const CancelledRolloutReason + const FailedRcCreateReason + const NewRcAvailableReason + const NewReplicationControllerReason + const PausedConfigReason + const ReplicationControllerUpdatedReason + const TimedOutReason + type DeploymentConditionType string + const DeploymentAvailable + const DeploymentProgressing + const DeploymentReplicaFailure + type DeploymentConfig struct + Spec DeploymentConfigSpec + Status DeploymentConfigStatus + func (in *DeploymentConfig) DeepCopy() *DeploymentConfig + func (in *DeploymentConfig) DeepCopyInto(out *DeploymentConfig) + func (in *DeploymentConfig) DeepCopyObject() runtime.Object + type DeploymentConfigList struct + Items []DeploymentConfig + func (in *DeploymentConfigList) DeepCopy() *DeploymentConfigList + func (in *DeploymentConfigList) DeepCopyInto(out *DeploymentConfigList) + func (in *DeploymentConfigList) DeepCopyObject() runtime.Object + type DeploymentConfigRollback struct + Name string + Spec DeploymentConfigRollbackSpec + UpdatedAnnotations map[string]string + func (in *DeploymentConfigRollback) DeepCopy() *DeploymentConfigRollback + func (in *DeploymentConfigRollback) DeepCopyInto(out *DeploymentConfigRollback) + func (in *DeploymentConfigRollback) DeepCopyObject() runtime.Object + type DeploymentConfigRollbackSpec struct + From kapi.ObjectReference + IncludeReplicationMeta bool + IncludeStrategy bool + IncludeTemplate bool + IncludeTriggers bool + Revision int64 + func (in *DeploymentConfigRollbackSpec) DeepCopy() *DeploymentConfigRollbackSpec + func (in *DeploymentConfigRollbackSpec) DeepCopyInto(out *DeploymentConfigRollbackSpec) + type DeploymentConfigSpec struct + MinReadySeconds int32 + Paused bool + Replicas int32 + RevisionHistoryLimit *int32 + Selector map[string]string + Strategy DeploymentStrategy + Template *kapi.PodTemplateSpec + Test bool + Triggers []DeploymentTriggerPolicy + func (in *DeploymentConfigSpec) DeepCopy() *DeploymentConfigSpec + func (in *DeploymentConfigSpec) DeepCopyInto(out *DeploymentConfigSpec) + type DeploymentConfigStatus struct + AvailableReplicas int32 + Conditions []DeploymentCondition + Details *DeploymentDetails + LatestVersion int64 + ObservedGeneration int64 + ReadyReplicas int32 + Replicas int32 + UnavailableReplicas int32 + UpdatedReplicas int32 + func (in *DeploymentConfigStatus) DeepCopy() *DeploymentConfigStatus + func (in *DeploymentConfigStatus) DeepCopyInto(out *DeploymentConfigStatus) + type DeploymentDetails struct + Causes []DeploymentCause + Message string + func (in *DeploymentDetails) DeepCopy() *DeploymentDetails + func (in *DeploymentDetails) DeepCopyInto(out *DeploymentDetails) + type DeploymentLog struct + func (in *DeploymentLog) DeepCopy() *DeploymentLog + func (in *DeploymentLog) DeepCopyInto(out *DeploymentLog) + func (in *DeploymentLog) DeepCopyObject() runtime.Object + type DeploymentLogOptions struct + Container string + Follow bool + LimitBytes *int64 + NoWait bool + Previous bool + SinceSeconds *int64 + SinceTime *metav1.Time + TailLines *int64 + Timestamps bool + Version *int64 + func (in *DeploymentLogOptions) DeepCopy() *DeploymentLogOptions + func (in *DeploymentLogOptions) DeepCopyInto(out *DeploymentLogOptions) + func (in *DeploymentLogOptions) DeepCopyObject() runtime.Object + type DeploymentRequest struct + ExcludeTriggers []DeploymentTriggerType + Force bool + Latest bool + Name string + func (in *DeploymentRequest) DeepCopy() *DeploymentRequest + func (in *DeploymentRequest) DeepCopyInto(out *DeploymentRequest) + func (in *DeploymentRequest) DeepCopyObject() runtime.Object + type DeploymentStatus string + const DeploymentStatusComplete + const DeploymentStatusFailed + const DeploymentStatusNew + const DeploymentStatusPending + const DeploymentStatusRunning + type DeploymentStrategy struct + ActiveDeadlineSeconds *int64 + Annotations map[string]string + CustomParams *CustomDeploymentStrategyParams + Labels map[string]string + RecreateParams *RecreateDeploymentStrategyParams + Resources kapi.ResourceRequirements + RollingParams *RollingDeploymentStrategyParams + Type DeploymentStrategyType + func (in *DeploymentStrategy) DeepCopy() *DeploymentStrategy + func (in *DeploymentStrategy) DeepCopyInto(out *DeploymentStrategy) + type DeploymentStrategyType string + const DeploymentStrategyTypeCustom + const DeploymentStrategyTypeRecreate + const DeploymentStrategyTypeRolling + type DeploymentTriggerImageChangeParams struct + Automatic bool + ContainerNames []string + From kapi.ObjectReference + LastTriggeredImage string + func (in *DeploymentTriggerImageChangeParams) DeepCopy() *DeploymentTriggerImageChangeParams + func (in *DeploymentTriggerImageChangeParams) DeepCopyInto(out *DeploymentTriggerImageChangeParams) + type DeploymentTriggerPolicy struct + ImageChangeParams *DeploymentTriggerImageChangeParams + Type DeploymentTriggerType + func (in *DeploymentTriggerPolicy) DeepCopy() *DeploymentTriggerPolicy + func (in *DeploymentTriggerPolicy) DeepCopyInto(out *DeploymentTriggerPolicy) + type DeploymentTriggerType string + const DeploymentTriggerManual + const DeploymentTriggerOnConfigChange + const DeploymentTriggerOnImageChange + type ExecNewPodHook struct + Command []string + ContainerName string + Env []kapi.EnvVar + Volumes []string + func (in *ExecNewPodHook) DeepCopy() *ExecNewPodHook + func (in *ExecNewPodHook) DeepCopyInto(out *ExecNewPodHook) + type LifecycleHook struct + ExecNewPod *ExecNewPodHook + FailurePolicy LifecycleHookFailurePolicy + TagImages []TagImageHook + func (in *LifecycleHook) DeepCopy() *LifecycleHook + func (in *LifecycleHook) DeepCopyInto(out *LifecycleHook) + type LifecycleHookFailurePolicy string + const LifecycleHookFailurePolicyAbort + const LifecycleHookFailurePolicyIgnore + const LifecycleHookFailurePolicyRetry + type RecreateDeploymentStrategyParams struct + Mid *LifecycleHook + Post *LifecycleHook + Pre *LifecycleHook + TimeoutSeconds *int64 + func (in *RecreateDeploymentStrategyParams) DeepCopy() *RecreateDeploymentStrategyParams + func (in *RecreateDeploymentStrategyParams) DeepCopyInto(out *RecreateDeploymentStrategyParams) + type RollingDeploymentStrategyParams struct + IntervalSeconds *int64 + MaxSurge intstr.IntOrString + MaxUnavailable intstr.IntOrString + Post *LifecycleHook + Pre *LifecycleHook + TimeoutSeconds *int64 + UpdatePeriodSeconds *int64 + func (in *RollingDeploymentStrategyParams) DeepCopy() *RollingDeploymentStrategyParams + func (in *RollingDeploymentStrategyParams) DeepCopyInto(out *RollingDeploymentStrategyParams) + type TagImageHook struct + ContainerName string + To kapi.ObjectReference + func (in *TagImageHook) DeepCopy() *TagImageHook + func (in *TagImageHook) DeepCopyInto(out *TagImageHook) + type TemplateImage struct + Container *kapi.Container + From *kapi.ObjectReference + Image string + Ref *imageapi.DockerImageReference + func IgnoreTriggers(container *kapi.Container) (TemplateImage, bool) + func TemplateImageForContainer(pod *kapi.PodSpec, triggerFn TriggeredByFunc, containerName string) (TemplateImage, error) + func (in *TemplateImage) DeepCopy() *TemplateImage + func (in *TemplateImage) DeepCopyInto(out *TemplateImage) + type TriggeredByFunc func(container *kapi.Container) (TemplateImage, bool) + func DeploymentConfigHasTrigger(config *DeploymentConfig) TriggeredByFunc