Versions in this module Expand all Collapse all v0 v0.0.1 Nov 20, 2022 Changes in this version + const DefaultReplicaSetScaleDownDeadlineAnnotationKey + const DefaultRolloutUniqueLabelKey + const LabelKeyControllerInstanceID + const RolloutCanaryStepIndexLabel + const RolloutTypeBackgroundRunLabel + const RolloutTypeLabel + const RolloutTypePostPromotionLabel + const RolloutTypePrePromotionLabel + const RolloutTypeStepLabel + func DurationFromInt(i int) *intstr.IntOrString + func DurationFromString(s string) *intstr.IntOrString + type AnalysisRunStrategy struct + SuccessfulRunHistoryLimit *int32 + UnsuccessfulRunHistoryLimit *int32 + type AntiAffinity struct + PreferredDuringSchedulingIgnoredDuringExecution *PreferredDuringSchedulingIgnoredDuringExecution + RequiredDuringSchedulingIgnoredDuringExecution *RequiredDuringSchedulingIgnoredDuringExecution + func (in *AntiAffinity) DeepCopy() *AntiAffinity + func (in *AntiAffinity) DeepCopyInto(out *AntiAffinity) + type ArgumentValueFrom struct + FieldRef *FieldRef + PodTemplateHashValue *ValueFromPodTemplateHash + type CanaryStatus struct + func (in *CanaryStatus) DeepCopy() *CanaryStatus + func (in *CanaryStatus) DeepCopyInto(out *CanaryStatus) + type CanaryStep struct + Pause *RolloutPause + SetCanaryScale *SetCanaryScale + SetWeight *int32 + func (in *CanaryStep) DeepCopy() *CanaryStep + func (in *CanaryStep) DeepCopyInto(out *CanaryStep) + type CanaryStrategy struct + CanaryMetadata *PodTemplateMetadata + MaxSurge *intstr.IntOrString + MaxUnavailable *intstr.IntOrString + StableMetadata *PodTemplateMetadata + Steps []CanaryStep + func (in *CanaryStrategy) DeepCopy() *CanaryStrategy + func (in *CanaryStrategy) DeepCopyInto(out *CanaryStrategy) + type FieldRef struct + FieldPath string + func (in *FieldRef) DeepCopy() *FieldRef + func (in *FieldRef) DeepCopyInto(out *FieldRef) + type ObjectRef struct + APIVersion string + Kind string + Name string + func (in *ObjectRef) DeepCopy() *ObjectRef + func (in *ObjectRef) DeepCopyInto(out *ObjectRef) + type PauseCondition struct + Reason PauseReason + StartTime metav1.Time + func (in *PauseCondition) DeepCopy() *PauseCondition + func (in *PauseCondition) DeepCopyInto(out *PauseCondition) + type PauseReason string + const PauseReasonCanaryPauseStep + const PauseReasonInconclusiveAnalysis + type PingPongSpec struct + PingService string + PongService string + func (in *PingPongSpec) DeepCopy() *PingPongSpec + func (in *PingPongSpec) DeepCopyInto(out *PingPongSpec) + type PingPongType string + const PPPing + const PPPong + type PodTemplateMetadata struct + Annotations map[string]string + Labels map[string]string + func (in *PodTemplateMetadata) DeepCopy() *PodTemplateMetadata + func (in *PodTemplateMetadata) DeepCopyInto(out *PodTemplateMetadata) + type PreferredDuringSchedulingIgnoredDuringExecution struct + Weight int32 + func (in *PreferredDuringSchedulingIgnoredDuringExecution) DeepCopy() *PreferredDuringSchedulingIgnoredDuringExecution + func (in *PreferredDuringSchedulingIgnoredDuringExecution) DeepCopyInto(out *PreferredDuringSchedulingIgnoredDuringExecution) + type ReplicaSetSpecRef string + const CanarySpecRef + const StableSpecRef + type RequiredDuringSchedulingIgnoredDuringExecution struct + func (in *RequiredDuringSchedulingIgnoredDuringExecution) DeepCopy() *RequiredDuringSchedulingIgnoredDuringExecution + func (in *RequiredDuringSchedulingIgnoredDuringExecution) DeepCopyInto(out *RequiredDuringSchedulingIgnoredDuringExecution) + type Rollout struct + Spec RolloutSpec + Status RolloutStatus + func (in *Rollout) DeepCopy() *Rollout + func (in *Rollout) DeepCopyInto(out *Rollout) + func (in *Rollout) DeepCopyObject() runtime.Object + type RolloutCondition struct + LastTransitionTime metav1.Time + LastUpdateTime metav1.Time + Message string + Reason string + Status corev1.ConditionStatus + Type RolloutConditionType + func (in *RolloutCondition) DeepCopy() *RolloutCondition + func (in *RolloutCondition) DeepCopyInto(out *RolloutCondition) + type RolloutConditionType string + const InvalidSpec + const RolloutAvailable + const RolloutCompleted + const RolloutHealthy + const RolloutPaused + const RolloutProgressing + const RolloutReplicaFailure + type RolloutInterface interface + Create func(ctx context.Context, clusterCode string, rollout *Rollout) (*Rollout, error) + Delete func(ctx context.Context, clusterCode, namespace, name string) error + Get func(ctx context.Context, clusterCode, namespace, name string) (*Rollout, error) + Update func(ctx context.Context, clusterCode string, rollout *Rollout) (*Rollout, error) + UpdateStatus func(ctx context.Context, clusterCode string, rollout *Rollout) (*Rollout, error) + type RolloutList struct + Items []Rollout + func (in *RolloutList) DeepCopy() *RolloutList + func (in *RolloutList) DeepCopyInto(out *RolloutList) + func (in *RolloutList) DeepCopyObject() runtime.Object + type RolloutPause struct + Duration *intstr.IntOrString + func (in *RolloutPause) DeepCopy() *RolloutPause + func (in *RolloutPause) DeepCopyInto(out *RolloutPause) + func (p RolloutPause) DurationSeconds() int32 + type RolloutPhase string + const RolloutPhaseDegraded + const RolloutPhaseHealthy + const RolloutPhasePaused + const RolloutPhaseProgressing + type RolloutSpec struct + MinReadySeconds int32 + Paused bool + Replicas *int32 + RevisionHistoryLimit *int32 + Selector *metav1.LabelSelector + SelectorResolvedFromRef bool + Strategy RolloutStrategy + Template corev1.PodTemplateSpec + TemplateResolvedFromRef bool + func (in *RolloutSpec) DeepCopy() *RolloutSpec + func (in *RolloutSpec) DeepCopyInto(out *RolloutSpec) + func (s *RolloutSpec) EmptyTemplate() bool + func (s *RolloutSpec) MarshalJSON() ([]byte, error) + func (s *RolloutSpec) SetResolvedSelector(selector *metav1.LabelSelector) + type RolloutStatus struct + AvailableReplicas int32 + Canary CanaryStatus + CollisionCount *int32 + Conditions []RolloutCondition + ControllerPause bool + CurrentPodHash string + CurrentStepHash string + CurrentStepIndex *int32 + HPAReplicas int32 + Message string + ObservedGeneration int64 + PauseConditions []PauseCondition + Phase RolloutPhase + ReadyReplicas int32 + Replicas int32 + Selector string + StableRS string + UpdatedReplicas int32 + func (in *RolloutStatus) DeepCopy() *RolloutStatus + func (in *RolloutStatus) DeepCopyInto(out *RolloutStatus) + type RolloutStrategy struct + Canary *CanaryStrategy + func (in *RolloutStrategy) DeepCopy() *RolloutStrategy + func (in *RolloutStrategy) DeepCopyInto(out *RolloutStrategy) + type RolloutsGetter interface + Rollouts func(namespace string) RolloutInterface + type SetCanaryScale struct + Replicas *int32 + Weight *int32 + func (in *SetCanaryScale) DeepCopy() *SetCanaryScale + func (in *SetCanaryScale) DeepCopyInto(out *SetCanaryScale) + type StickinessConfig struct + DurationSeconds int64 + Enabled bool + func (in *StickinessConfig) DeepCopy() *StickinessConfig + func (in *StickinessConfig) DeepCopyInto(out *StickinessConfig) + type StringMatch struct + Exact string + Prefix string + Regex string + func (in *StringMatch) DeepCopy() *StringMatch + func (in *StringMatch) DeepCopyInto(out *StringMatch) + type ValueFromPodTemplateHash string + const Latest + const Stable + type WeightDestination struct + PodTemplateHash string + ServiceName string + Weight int32 + func (in *WeightDestination) DeepCopy() *WeightDestination + func (in *WeightDestination) DeepCopyInto(out *WeightDestination)