Versions in this module Expand all Collapse all v1 v1.0.0 Jul 24, 2018 Changes in this version + var DeploymentConfigControllerRefKind = appsapiv1.SchemeGroupVersion.WithKind("DeploymentConfig") + func ActiveDeployment(input []*api.ReplicationController) *api.ReplicationController + func CanTransitionPhase(current, next appsapi.DeploymentStatus) bool + func ConfigSelector(name string) labels.Selector + func CopyApiEnvVarToV1EnvVar(in []api.EnvVar) []v1.EnvVar + func CopyApiResourcesToV1Resources(in *api.ResourceRequirements) v1.ResourceRequirements + func DecodeDeploymentConfig(controller metav1.ObjectMetaAccessor) (*appsapi.DeploymentConfig, error) + func DeployerPodNameForDeployment(deployment string) string + func DeployerPodSelector(name string) labels.Selector + func DeploymentConfigNameFor(obj runtime.Object) string + func DeploymentNameFor(obj runtime.Object) string + func DeploymentNameForConfigVersion(name string, version int64) string + func DeploymentStatusFor(obj runtime.Object) appsapi.DeploymentStatus + func DeploymentStatusReasonFor(obj runtime.Object) string + func DeploymentVersionFor(obj runtime.Object) int64 + func DeploymentsForCleanup(configuration *appsapi.DeploymentConfig, ...) []v1.ReplicationController + func EncodedDeploymentConfigFor(obj runtime.Object) string + func GetAvailableReplicaCountForReplicationControllers(replicationControllers []*v1.ReplicationController) int32 + func GetDeploymentCondition(status appsapi.DeploymentConfigStatus, ...) *appsapi.DeploymentCondition + func GetReadyReplicaCountForReplicationControllers(replicationControllers []*v1.ReplicationController) int32 + func GetReplicaCountForDeployments(deployments []*v1.ReplicationController) int32 + func GetStatusReplicaCountForDeployments(deployments []*v1.ReplicationController) int32 + func GetTimeoutSecondsForStrategy(config *appsapi.DeploymentConfig) int64 + func HasChangeTrigger(config *appsapi.DeploymentConfig) bool + func HasImageChangeTrigger(config *appsapi.DeploymentConfig) bool + func HasLastTriggeredImage(config *appsapi.DeploymentConfig) bool + func HasLatestPodTemplate(currentConfig *appsapi.DeploymentConfig, rc *v1.ReplicationController) (bool, string, error) + func HasSynced(dc *appsapi.DeploymentConfig, generation int64) bool + func HasTrigger(config *appsapi.DeploymentConfig) bool + func HasUpdatedImages(dc *appsapi.DeploymentConfig, rc *v1.ReplicationController) (bool, []string) + func IsCompleteDeployment(deployment runtime.Object) bool + func IsDeploymentCancelled(deployment runtime.Object) bool + func IsFailedDeployment(deployment runtime.Object) bool + func IsInitialDeployment(config *appsapi.DeploymentConfig) bool + func IsOwnedByConfig(obj metav1.Object) bool + func IsProgressing(config *appsapi.DeploymentConfig, newStatus *appsapi.DeploymentConfigStatus) bool + func IsRollingConfig(config *appsapi.DeploymentConfig) bool + func IsTerminatedDeployment(deployment runtime.Object) bool + func LabelForDeployment(deployment *v1.ReplicationController) string + func LabelForDeploymentConfig(config *appsapi.DeploymentConfig) string + func LatestDeploymentInfo(config *appsapi.DeploymentConfig, deployments []*v1.ReplicationController) (bool, *v1.ReplicationController) + func LatestDeploymentNameForConfig(config *appsapi.DeploymentConfig) string + func MakeDeploymentV1(config *appsapi.DeploymentConfig) (*v1.ReplicationController, error) + func MakeTestOnlyInternalDeployment(config *appsapi.DeploymentConfig) (*api.ReplicationController, error) + func MaxSurge(config appsapi.DeploymentConfig) int32 + func MaxUnavailable(config *appsapi.DeploymentConfig) int32 + func NewControllerRef(config *appsapi.DeploymentConfig) *metav1.OwnerReference + func NewDeploymentCondition(condType appsapi.DeploymentConditionType, status api.ConditionStatus, ...) *appsapi.DeploymentCondition + func RecordConfigChangeCause(config *appsapi.DeploymentConfig) + func RecordImageChangeCauses(config *appsapi.DeploymentConfig, imageNames []string) + func RemoveDeploymentCondition(status *appsapi.DeploymentConfigStatus, ...) + func RolloutExceededTimeoutSeconds(config *appsapi.DeploymentConfig, latestRC *v1.ReplicationController) bool + func SetDeploymentCondition(status *appsapi.DeploymentConfigStatus, condition appsapi.DeploymentCondition) + type ByLatestVersionDesc []*api.ReplicationController + func (d ByLatestVersionDesc) Len() int + func (d ByLatestVersionDesc) Less(i, j int) bool + func (d ByLatestVersionDesc) Swap(i, j int) + type ByLatestVersionDescV1 []*v1.ReplicationController + func (d ByLatestVersionDescV1) Len() int + func (d ByLatestVersionDescV1) Less(i, j int) bool + func (d ByLatestVersionDescV1) Swap(i, j int) + type ByMostRecent []*api.ReplicationController + func (s ByMostRecent) Len() int + func (s ByMostRecent) Less(i, j int) bool + func (s ByMostRecent) Swap(i, j int)