Documentation ¶
Index ¶
- Variables
- type ControllerRevisionDie
- func (d *ControllerRevisionDie) APIVersion(v string) *ControllerRevisionDie
- func (d *ControllerRevisionDie) Data(v runtime.RawExtension) *ControllerRevisionDie
- func (d *ControllerRevisionDie) DeepCopy() *ControllerRevisionDie
- func (d *ControllerRevisionDie) DeepCopyObject() runtime.Object
- func (d *ControllerRevisionDie) DieDefaultTypeMetadata() *ControllerRevisionDie
- func (d *ControllerRevisionDie) DieDiff(opts ...cmp.Option) string
- func (d *ControllerRevisionDie) DieFeed(r appsv1.ControllerRevision) *ControllerRevisionDie
- func (d *ControllerRevisionDie) DieFeedJSON(j []byte) *ControllerRevisionDie
- func (d *ControllerRevisionDie) DieFeedPtr(r *appsv1.ControllerRevision) *ControllerRevisionDie
- func (d *ControllerRevisionDie) DieFeedRawExtension(raw runtime.RawExtension) *ControllerRevisionDie
- func (d *ControllerRevisionDie) DieFeedYAML(y []byte) *ControllerRevisionDie
- func (d *ControllerRevisionDie) DieFeedYAMLFile(name string) *ControllerRevisionDie
- func (d *ControllerRevisionDie) DieImmutable(immutable bool) *ControllerRevisionDie
- func (d *ControllerRevisionDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *ControllerRevisionDie) DieRelease() appsv1.ControllerRevision
- func (d *ControllerRevisionDie) DieReleaseJSON() []byte
- func (d *ControllerRevisionDie) DieReleasePtr() *appsv1.ControllerRevision
- func (d *ControllerRevisionDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ControllerRevisionDie) DieReleaseUnstructured() *unstructured.Unstructured
- func (d *ControllerRevisionDie) DieReleaseYAML() []byte
- func (d *ControllerRevisionDie) DieSeal() *ControllerRevisionDie
- func (d *ControllerRevisionDie) DieSealFeed(r appsv1.ControllerRevision) *ControllerRevisionDie
- func (d *ControllerRevisionDie) DieSealFeedPtr(r *appsv1.ControllerRevision) *ControllerRevisionDie
- func (d *ControllerRevisionDie) DieSealRelease() appsv1.ControllerRevision
- func (d *ControllerRevisionDie) DieSealReleasePtr() *appsv1.ControllerRevision
- func (d *ControllerRevisionDie) DieStamp(fn func(r *appsv1.ControllerRevision)) *ControllerRevisionDie
- func (d *ControllerRevisionDie) DieStampAt(jp string, fn interface{}) *ControllerRevisionDie
- func (d *ControllerRevisionDie) DieWith(fns ...func(d *ControllerRevisionDie)) *ControllerRevisionDie
- func (d *ControllerRevisionDie) GetObjectKind() schema.ObjectKind
- func (d *ControllerRevisionDie) Kind(v string) *ControllerRevisionDie
- func (d *ControllerRevisionDie) MarshalJSON() ([]byte, error)
- func (d *ControllerRevisionDie) Metadata(v apismetav1.ObjectMeta) *ControllerRevisionDie
- func (d *ControllerRevisionDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *ControllerRevisionDie
- func (d *ControllerRevisionDie) Revision(v int64) *ControllerRevisionDie
- func (d *ControllerRevisionDie) TypeMetadata(v apismetav1.TypeMeta) *ControllerRevisionDie
- func (d *ControllerRevisionDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *ControllerRevisionDie
- func (d *ControllerRevisionDie) UnmarshalJSON(b []byte) error
- type DaemonSetDie
- func (d *DaemonSetDie) APIVersion(v string) *DaemonSetDie
- func (d *DaemonSetDie) DeepCopy() *DaemonSetDie
- func (d *DaemonSetDie) DeepCopyObject() runtime.Object
- func (d *DaemonSetDie) DieDefaultTypeMetadata() *DaemonSetDie
- func (d *DaemonSetDie) DieDiff(opts ...cmp.Option) string
- func (d *DaemonSetDie) DieFeed(r appsv1.DaemonSet) *DaemonSetDie
- func (d *DaemonSetDie) DieFeedJSON(j []byte) *DaemonSetDie
- func (d *DaemonSetDie) DieFeedPtr(r *appsv1.DaemonSet) *DaemonSetDie
- func (d *DaemonSetDie) DieFeedRawExtension(raw runtime.RawExtension) *DaemonSetDie
- func (d *DaemonSetDie) DieFeedYAML(y []byte) *DaemonSetDie
- func (d *DaemonSetDie) DieFeedYAMLFile(name string) *DaemonSetDie
- func (d *DaemonSetDie) DieImmutable(immutable bool) *DaemonSetDie
- func (d *DaemonSetDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *DaemonSetDie) DieRelease() appsv1.DaemonSet
- func (d *DaemonSetDie) DieReleaseJSON() []byte
- func (d *DaemonSetDie) DieReleasePtr() *appsv1.DaemonSet
- func (d *DaemonSetDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *DaemonSetDie) DieReleaseUnstructured() *unstructured.Unstructured
- func (d *DaemonSetDie) DieReleaseYAML() []byte
- func (d *DaemonSetDie) DieSeal() *DaemonSetDie
- func (d *DaemonSetDie) DieSealFeed(r appsv1.DaemonSet) *DaemonSetDie
- func (d *DaemonSetDie) DieSealFeedPtr(r *appsv1.DaemonSet) *DaemonSetDie
- func (d *DaemonSetDie) DieSealRelease() appsv1.DaemonSet
- func (d *DaemonSetDie) DieSealReleasePtr() *appsv1.DaemonSet
- func (d *DaemonSetDie) DieStamp(fn func(r *appsv1.DaemonSet)) *DaemonSetDie
- func (d *DaemonSetDie) DieStampAt(jp string, fn interface{}) *DaemonSetDie
- func (d *DaemonSetDie) DieWith(fns ...func(d *DaemonSetDie)) *DaemonSetDie
- func (d *DaemonSetDie) GetObjectKind() schema.ObjectKind
- func (d *DaemonSetDie) Kind(v string) *DaemonSetDie
- func (d *DaemonSetDie) MarshalJSON() ([]byte, error)
- func (d *DaemonSetDie) Metadata(v apismetav1.ObjectMeta) *DaemonSetDie
- func (d *DaemonSetDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *DaemonSetDie
- func (d *DaemonSetDie) Spec(v appsv1.DaemonSetSpec) *DaemonSetDie
- func (d *DaemonSetDie) SpecDie(fn func(d *DaemonSetSpecDie)) *DaemonSetDie
- func (d *DaemonSetDie) Status(v appsv1.DaemonSetStatus) *DaemonSetDie
- func (d *DaemonSetDie) StatusDie(fn func(d *DaemonSetStatusDie)) *DaemonSetDie
- func (d *DaemonSetDie) TypeMetadata(v apismetav1.TypeMeta) *DaemonSetDie
- func (d *DaemonSetDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *DaemonSetDie
- func (d *DaemonSetDie) UnmarshalJSON(b []byte) error
- type DaemonSetSpecDie
- func (d *DaemonSetSpecDie) DeepCopy() *DaemonSetSpecDie
- func (d *DaemonSetSpecDie) DieDiff(opts ...cmp.Option) string
- func (d *DaemonSetSpecDie) DieFeed(r appsv1.DaemonSetSpec) *DaemonSetSpecDie
- func (d *DaemonSetSpecDie) DieFeedJSON(j []byte) *DaemonSetSpecDie
- func (d *DaemonSetSpecDie) DieFeedPtr(r *appsv1.DaemonSetSpec) *DaemonSetSpecDie
- func (d *DaemonSetSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *DaemonSetSpecDie
- func (d *DaemonSetSpecDie) DieFeedYAML(y []byte) *DaemonSetSpecDie
- func (d *DaemonSetSpecDie) DieFeedYAMLFile(name string) *DaemonSetSpecDie
- func (d *DaemonSetSpecDie) DieImmutable(immutable bool) *DaemonSetSpecDie
- func (d *DaemonSetSpecDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *DaemonSetSpecDie) DieRelease() appsv1.DaemonSetSpec
- func (d *DaemonSetSpecDie) DieReleaseJSON() []byte
- func (d *DaemonSetSpecDie) DieReleasePtr() *appsv1.DaemonSetSpec
- func (d *DaemonSetSpecDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *DaemonSetSpecDie) DieReleaseYAML() []byte
- func (d *DaemonSetSpecDie) DieSeal() *DaemonSetSpecDie
- func (d *DaemonSetSpecDie) DieSealFeed(r appsv1.DaemonSetSpec) *DaemonSetSpecDie
- func (d *DaemonSetSpecDie) DieSealFeedPtr(r *appsv1.DaemonSetSpec) *DaemonSetSpecDie
- func (d *DaemonSetSpecDie) DieSealRelease() appsv1.DaemonSetSpec
- func (d *DaemonSetSpecDie) DieSealReleasePtr() *appsv1.DaemonSetSpec
- func (d *DaemonSetSpecDie) DieStamp(fn func(r *appsv1.DaemonSetSpec)) *DaemonSetSpecDie
- func (d *DaemonSetSpecDie) DieStampAt(jp string, fn interface{}) *DaemonSetSpecDie
- func (d *DaemonSetSpecDie) DieWith(fns ...func(d *DaemonSetSpecDie)) *DaemonSetSpecDie
- func (d *DaemonSetSpecDie) MinReadySeconds(v int32) *DaemonSetSpecDie
- func (d *DaemonSetSpecDie) RevisionHistoryLimit(v *int32) *DaemonSetSpecDie
- func (d *DaemonSetSpecDie) Selector(v *apismetav1.LabelSelector) *DaemonSetSpecDie
- func (d *DaemonSetSpecDie) SelectorDie(fn func(d *metav1.LabelSelectorDie)) *DaemonSetSpecDie
- func (d *DaemonSetSpecDie) Template(v apicorev1.PodTemplateSpec) *DaemonSetSpecDie
- func (d *DaemonSetSpecDie) TemplateDie(fn func(d *corev1.PodTemplateSpecDie)) *DaemonSetSpecDie
- func (d *DaemonSetSpecDie) UpdateStrategy(v appsv1.DaemonSetUpdateStrategy) *DaemonSetSpecDie
- func (d *DaemonSetSpecDie) UpdateStrategyDie(fn func(d *DaemonSetUpdateStrategyDie)) *DaemonSetSpecDie
- type DaemonSetStatusDie
- func (d *DaemonSetStatusDie) CollisionCount(v *int32) *DaemonSetStatusDie
- func (d *DaemonSetStatusDie) Conditions(v ...appsv1.DaemonSetCondition) *DaemonSetStatusDie
- func (d *DaemonSetStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *DaemonSetStatusDie
- func (d *DaemonSetStatusDie) CurrentNumberScheduled(v int32) *DaemonSetStatusDie
- func (d *DaemonSetStatusDie) DeepCopy() *DaemonSetStatusDie
- func (d *DaemonSetStatusDie) DesiredNumberScheduled(v int32) *DaemonSetStatusDie
- func (d *DaemonSetStatusDie) DieDiff(opts ...cmp.Option) string
- func (d *DaemonSetStatusDie) DieFeed(r appsv1.DaemonSetStatus) *DaemonSetStatusDie
- func (d *DaemonSetStatusDie) DieFeedJSON(j []byte) *DaemonSetStatusDie
- func (d *DaemonSetStatusDie) DieFeedPtr(r *appsv1.DaemonSetStatus) *DaemonSetStatusDie
- func (d *DaemonSetStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *DaemonSetStatusDie
- func (d *DaemonSetStatusDie) DieFeedYAML(y []byte) *DaemonSetStatusDie
- func (d *DaemonSetStatusDie) DieFeedYAMLFile(name string) *DaemonSetStatusDie
- func (d *DaemonSetStatusDie) DieImmutable(immutable bool) *DaemonSetStatusDie
- func (d *DaemonSetStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *DaemonSetStatusDie) DieRelease() appsv1.DaemonSetStatus
- func (d *DaemonSetStatusDie) DieReleaseJSON() []byte
- func (d *DaemonSetStatusDie) DieReleasePtr() *appsv1.DaemonSetStatus
- func (d *DaemonSetStatusDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *DaemonSetStatusDie) DieReleaseYAML() []byte
- func (d *DaemonSetStatusDie) DieSeal() *DaemonSetStatusDie
- func (d *DaemonSetStatusDie) DieSealFeed(r appsv1.DaemonSetStatus) *DaemonSetStatusDie
- func (d *DaemonSetStatusDie) DieSealFeedPtr(r *appsv1.DaemonSetStatus) *DaemonSetStatusDie
- func (d *DaemonSetStatusDie) DieSealRelease() appsv1.DaemonSetStatus
- func (d *DaemonSetStatusDie) DieSealReleasePtr() *appsv1.DaemonSetStatus
- func (d *DaemonSetStatusDie) DieStamp(fn func(r *appsv1.DaemonSetStatus)) *DaemonSetStatusDie
- func (d *DaemonSetStatusDie) DieStampAt(jp string, fn interface{}) *DaemonSetStatusDie
- func (d *DaemonSetStatusDie) DieWith(fns ...func(d *DaemonSetStatusDie)) *DaemonSetStatusDie
- func (d *DaemonSetStatusDie) NumberAvailable(v int32) *DaemonSetStatusDie
- func (d *DaemonSetStatusDie) NumberMisscheduled(v int32) *DaemonSetStatusDie
- func (d *DaemonSetStatusDie) NumberReady(v int32) *DaemonSetStatusDie
- func (d *DaemonSetStatusDie) NumberUnavailable(v int32) *DaemonSetStatusDie
- func (d *DaemonSetStatusDie) ObservedGeneration(v int64) *DaemonSetStatusDie
- func (d *DaemonSetStatusDie) UpdatedNumberScheduled(v int32) *DaemonSetStatusDie
- type DaemonSetUpdateStrategyDie
- func (d *DaemonSetUpdateStrategyDie) DeepCopy() *DaemonSetUpdateStrategyDie
- func (d *DaemonSetUpdateStrategyDie) DieDiff(opts ...cmp.Option) string
- func (d *DaemonSetUpdateStrategyDie) DieFeed(r appsv1.DaemonSetUpdateStrategy) *DaemonSetUpdateStrategyDie
- func (d *DaemonSetUpdateStrategyDie) DieFeedJSON(j []byte) *DaemonSetUpdateStrategyDie
- func (d *DaemonSetUpdateStrategyDie) DieFeedPtr(r *appsv1.DaemonSetUpdateStrategy) *DaemonSetUpdateStrategyDie
- func (d *DaemonSetUpdateStrategyDie) DieFeedRawExtension(raw runtime.RawExtension) *DaemonSetUpdateStrategyDie
- func (d *DaemonSetUpdateStrategyDie) DieFeedYAML(y []byte) *DaemonSetUpdateStrategyDie
- func (d *DaemonSetUpdateStrategyDie) DieFeedYAMLFile(name string) *DaemonSetUpdateStrategyDie
- func (d *DaemonSetUpdateStrategyDie) DieImmutable(immutable bool) *DaemonSetUpdateStrategyDie
- func (d *DaemonSetUpdateStrategyDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *DaemonSetUpdateStrategyDie) DieRelease() appsv1.DaemonSetUpdateStrategy
- func (d *DaemonSetUpdateStrategyDie) DieReleaseJSON() []byte
- func (d *DaemonSetUpdateStrategyDie) DieReleasePtr() *appsv1.DaemonSetUpdateStrategy
- func (d *DaemonSetUpdateStrategyDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *DaemonSetUpdateStrategyDie) DieReleaseYAML() []byte
- func (d *DaemonSetUpdateStrategyDie) DieSeal() *DaemonSetUpdateStrategyDie
- func (d *DaemonSetUpdateStrategyDie) DieSealFeed(r appsv1.DaemonSetUpdateStrategy) *DaemonSetUpdateStrategyDie
- func (d *DaemonSetUpdateStrategyDie) DieSealFeedPtr(r *appsv1.DaemonSetUpdateStrategy) *DaemonSetUpdateStrategyDie
- func (d *DaemonSetUpdateStrategyDie) DieSealRelease() appsv1.DaemonSetUpdateStrategy
- func (d *DaemonSetUpdateStrategyDie) DieSealReleasePtr() *appsv1.DaemonSetUpdateStrategy
- func (d *DaemonSetUpdateStrategyDie) DieStamp(fn func(r *appsv1.DaemonSetUpdateStrategy)) *DaemonSetUpdateStrategyDie
- func (d *DaemonSetUpdateStrategyDie) DieStampAt(jp string, fn interface{}) *DaemonSetUpdateStrategyDie
- func (d *DaemonSetUpdateStrategyDie) DieWith(fns ...func(d *DaemonSetUpdateStrategyDie)) *DaemonSetUpdateStrategyDie
- func (d *DaemonSetUpdateStrategyDie) OnDelete() *DaemonSetUpdateStrategyDie
- func (d *DaemonSetUpdateStrategyDie) RollingUpdate(v *appsv1.RollingUpdateDaemonSet) *DaemonSetUpdateStrategyDie
- func (d *DaemonSetUpdateStrategyDie) RollingUpdateDie(fn func(d *RollingUpdateDaemonSetDie)) *DaemonSetUpdateStrategyDie
- func (d *DaemonSetUpdateStrategyDie) Type(v appsv1.DaemonSetUpdateStrategyType) *DaemonSetUpdateStrategyDie
- type DeploymentDie
- func (d *DeploymentDie) APIVersion(v string) *DeploymentDie
- func (d *DeploymentDie) DeepCopy() *DeploymentDie
- func (d *DeploymentDie) DeepCopyObject() runtime.Object
- func (d *DeploymentDie) DieDefaultTypeMetadata() *DeploymentDie
- func (d *DeploymentDie) DieDiff(opts ...cmp.Option) string
- func (d *DeploymentDie) DieFeed(r appsv1.Deployment) *DeploymentDie
- func (d *DeploymentDie) DieFeedJSON(j []byte) *DeploymentDie
- func (d *DeploymentDie) DieFeedPtr(r *appsv1.Deployment) *DeploymentDie
- func (d *DeploymentDie) DieFeedRawExtension(raw runtime.RawExtension) *DeploymentDie
- func (d *DeploymentDie) DieFeedYAML(y []byte) *DeploymentDie
- func (d *DeploymentDie) DieFeedYAMLFile(name string) *DeploymentDie
- func (d *DeploymentDie) DieImmutable(immutable bool) *DeploymentDie
- func (d *DeploymentDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *DeploymentDie) DieRelease() appsv1.Deployment
- func (d *DeploymentDie) DieReleaseJSON() []byte
- func (d *DeploymentDie) DieReleasePtr() *appsv1.Deployment
- func (d *DeploymentDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *DeploymentDie) DieReleaseUnstructured() *unstructured.Unstructured
- func (d *DeploymentDie) DieReleaseYAML() []byte
- func (d *DeploymentDie) DieSeal() *DeploymentDie
- func (d *DeploymentDie) DieSealFeed(r appsv1.Deployment) *DeploymentDie
- func (d *DeploymentDie) DieSealFeedPtr(r *appsv1.Deployment) *DeploymentDie
- func (d *DeploymentDie) DieSealRelease() appsv1.Deployment
- func (d *DeploymentDie) DieSealReleasePtr() *appsv1.Deployment
- func (d *DeploymentDie) DieStamp(fn func(r *appsv1.Deployment)) *DeploymentDie
- func (d *DeploymentDie) DieStampAt(jp string, fn interface{}) *DeploymentDie
- func (d *DeploymentDie) DieWith(fns ...func(d *DeploymentDie)) *DeploymentDie
- func (d *DeploymentDie) GetObjectKind() schema.ObjectKind
- func (d *DeploymentDie) Kind(v string) *DeploymentDie
- func (d *DeploymentDie) MarshalJSON() ([]byte, error)
- func (d *DeploymentDie) Metadata(v apismetav1.ObjectMeta) *DeploymentDie
- func (d *DeploymentDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *DeploymentDie
- func (d *DeploymentDie) Spec(v appsv1.DeploymentSpec) *DeploymentDie
- func (d *DeploymentDie) SpecDie(fn func(d *DeploymentSpecDie)) *DeploymentDie
- func (d *DeploymentDie) Status(v appsv1.DeploymentStatus) *DeploymentDie
- func (d *DeploymentDie) StatusDie(fn func(d *DeploymentStatusDie)) *DeploymentDie
- func (d *DeploymentDie) TypeMetadata(v apismetav1.TypeMeta) *DeploymentDie
- func (d *DeploymentDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *DeploymentDie
- func (d *DeploymentDie) UnmarshalJSON(b []byte) error
- type DeploymentSpecDie
- func (d *DeploymentSpecDie) DeepCopy() *DeploymentSpecDie
- func (d *DeploymentSpecDie) DieDiff(opts ...cmp.Option) string
- func (d *DeploymentSpecDie) DieFeed(r appsv1.DeploymentSpec) *DeploymentSpecDie
- func (d *DeploymentSpecDie) DieFeedJSON(j []byte) *DeploymentSpecDie
- func (d *DeploymentSpecDie) DieFeedPtr(r *appsv1.DeploymentSpec) *DeploymentSpecDie
- func (d *DeploymentSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *DeploymentSpecDie
- func (d *DeploymentSpecDie) DieFeedYAML(y []byte) *DeploymentSpecDie
- func (d *DeploymentSpecDie) DieFeedYAMLFile(name string) *DeploymentSpecDie
- func (d *DeploymentSpecDie) DieImmutable(immutable bool) *DeploymentSpecDie
- func (d *DeploymentSpecDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *DeploymentSpecDie) DieRelease() appsv1.DeploymentSpec
- func (d *DeploymentSpecDie) DieReleaseJSON() []byte
- func (d *DeploymentSpecDie) DieReleasePtr() *appsv1.DeploymentSpec
- func (d *DeploymentSpecDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *DeploymentSpecDie) DieReleaseYAML() []byte
- func (d *DeploymentSpecDie) DieSeal() *DeploymentSpecDie
- func (d *DeploymentSpecDie) DieSealFeed(r appsv1.DeploymentSpec) *DeploymentSpecDie
- func (d *DeploymentSpecDie) DieSealFeedPtr(r *appsv1.DeploymentSpec) *DeploymentSpecDie
- func (d *DeploymentSpecDie) DieSealRelease() appsv1.DeploymentSpec
- func (d *DeploymentSpecDie) DieSealReleasePtr() *appsv1.DeploymentSpec
- func (d *DeploymentSpecDie) DieStamp(fn func(r *appsv1.DeploymentSpec)) *DeploymentSpecDie
- func (d *DeploymentSpecDie) DieStampAt(jp string, fn interface{}) *DeploymentSpecDie
- func (d *DeploymentSpecDie) DieWith(fns ...func(d *DeploymentSpecDie)) *DeploymentSpecDie
- func (d *DeploymentSpecDie) MinReadySeconds(v int32) *DeploymentSpecDie
- func (d *DeploymentSpecDie) Paused(v bool) *DeploymentSpecDie
- func (d *DeploymentSpecDie) ProgressDeadlineSeconds(v *int32) *DeploymentSpecDie
- func (d *DeploymentSpecDie) Replicas(v *int32) *DeploymentSpecDie
- func (d *DeploymentSpecDie) RevisionHistoryLimit(v *int32) *DeploymentSpecDie
- func (d *DeploymentSpecDie) Selector(v *apismetav1.LabelSelector) *DeploymentSpecDie
- func (d *DeploymentSpecDie) SelectorDie(fn func(d *metav1.LabelSelectorDie)) *DeploymentSpecDie
- func (d *DeploymentSpecDie) Strategy(v appsv1.DeploymentStrategy) *DeploymentSpecDie
- func (d *DeploymentSpecDie) StrategyDie(fn func(d *DeploymentStrategyDie)) *DeploymentSpecDie
- func (d *DeploymentSpecDie) Template(v apicorev1.PodTemplateSpec) *DeploymentSpecDie
- func (d *DeploymentSpecDie) TemplateDie(fn func(d *corev1.PodTemplateSpecDie)) *DeploymentSpecDie
- type DeploymentStatusDie
- func (d *DeploymentStatusDie) AvailableReplicas(v int32) *DeploymentStatusDie
- func (d *DeploymentStatusDie) CollisionCount(v *int32) *DeploymentStatusDie
- func (d *DeploymentStatusDie) Conditions(v ...appsv1.DeploymentCondition) *DeploymentStatusDie
- func (d *DeploymentStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *DeploymentStatusDie
- func (d *DeploymentStatusDie) DeepCopy() *DeploymentStatusDie
- func (d *DeploymentStatusDie) DieDiff(opts ...cmp.Option) string
- func (d *DeploymentStatusDie) DieFeed(r appsv1.DeploymentStatus) *DeploymentStatusDie
- func (d *DeploymentStatusDie) DieFeedJSON(j []byte) *DeploymentStatusDie
- func (d *DeploymentStatusDie) DieFeedPtr(r *appsv1.DeploymentStatus) *DeploymentStatusDie
- func (d *DeploymentStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *DeploymentStatusDie
- func (d *DeploymentStatusDie) DieFeedYAML(y []byte) *DeploymentStatusDie
- func (d *DeploymentStatusDie) DieFeedYAMLFile(name string) *DeploymentStatusDie
- func (d *DeploymentStatusDie) DieImmutable(immutable bool) *DeploymentStatusDie
- func (d *DeploymentStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *DeploymentStatusDie) DieRelease() appsv1.DeploymentStatus
- func (d *DeploymentStatusDie) DieReleaseJSON() []byte
- func (d *DeploymentStatusDie) DieReleasePtr() *appsv1.DeploymentStatus
- func (d *DeploymentStatusDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *DeploymentStatusDie) DieReleaseYAML() []byte
- func (d *DeploymentStatusDie) DieSeal() *DeploymentStatusDie
- func (d *DeploymentStatusDie) DieSealFeed(r appsv1.DeploymentStatus) *DeploymentStatusDie
- func (d *DeploymentStatusDie) DieSealFeedPtr(r *appsv1.DeploymentStatus) *DeploymentStatusDie
- func (d *DeploymentStatusDie) DieSealRelease() appsv1.DeploymentStatus
- func (d *DeploymentStatusDie) DieSealReleasePtr() *appsv1.DeploymentStatus
- func (d *DeploymentStatusDie) DieStamp(fn func(r *appsv1.DeploymentStatus)) *DeploymentStatusDie
- func (d *DeploymentStatusDie) DieStampAt(jp string, fn interface{}) *DeploymentStatusDie
- func (d *DeploymentStatusDie) DieWith(fns ...func(d *DeploymentStatusDie)) *DeploymentStatusDie
- func (d *DeploymentStatusDie) ObservedGeneration(v int64) *DeploymentStatusDie
- func (d *DeploymentStatusDie) ReadyReplicas(v int32) *DeploymentStatusDie
- func (d *DeploymentStatusDie) Replicas(v int32) *DeploymentStatusDie
- func (d *DeploymentStatusDie) UnavailableReplicas(v int32) *DeploymentStatusDie
- func (d *DeploymentStatusDie) UpdatedReplicas(v int32) *DeploymentStatusDie
- type DeploymentStrategyDie
- func (d *DeploymentStrategyDie) DeepCopy() *DeploymentStrategyDie
- func (d *DeploymentStrategyDie) DieDiff(opts ...cmp.Option) string
- func (d *DeploymentStrategyDie) DieFeed(r appsv1.DeploymentStrategy) *DeploymentStrategyDie
- func (d *DeploymentStrategyDie) DieFeedJSON(j []byte) *DeploymentStrategyDie
- func (d *DeploymentStrategyDie) DieFeedPtr(r *appsv1.DeploymentStrategy) *DeploymentStrategyDie
- func (d *DeploymentStrategyDie) DieFeedRawExtension(raw runtime.RawExtension) *DeploymentStrategyDie
- func (d *DeploymentStrategyDie) DieFeedYAML(y []byte) *DeploymentStrategyDie
- func (d *DeploymentStrategyDie) DieFeedYAMLFile(name string) *DeploymentStrategyDie
- func (d *DeploymentStrategyDie) DieImmutable(immutable bool) *DeploymentStrategyDie
- func (d *DeploymentStrategyDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *DeploymentStrategyDie) DieRelease() appsv1.DeploymentStrategy
- func (d *DeploymentStrategyDie) DieReleaseJSON() []byte
- func (d *DeploymentStrategyDie) DieReleasePtr() *appsv1.DeploymentStrategy
- func (d *DeploymentStrategyDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *DeploymentStrategyDie) DieReleaseYAML() []byte
- func (d *DeploymentStrategyDie) DieSeal() *DeploymentStrategyDie
- func (d *DeploymentStrategyDie) DieSealFeed(r appsv1.DeploymentStrategy) *DeploymentStrategyDie
- func (d *DeploymentStrategyDie) DieSealFeedPtr(r *appsv1.DeploymentStrategy) *DeploymentStrategyDie
- func (d *DeploymentStrategyDie) DieSealRelease() appsv1.DeploymentStrategy
- func (d *DeploymentStrategyDie) DieSealReleasePtr() *appsv1.DeploymentStrategy
- func (d *DeploymentStrategyDie) DieStamp(fn func(r *appsv1.DeploymentStrategy)) *DeploymentStrategyDie
- func (d *DeploymentStrategyDie) DieStampAt(jp string, fn interface{}) *DeploymentStrategyDie
- func (d *DeploymentStrategyDie) DieWith(fns ...func(d *DeploymentStrategyDie)) *DeploymentStrategyDie
- func (d *DeploymentStrategyDie) Recreate() *DeploymentStrategyDie
- func (d *DeploymentStrategyDie) RollingUpdate(v *appsv1.RollingUpdateDeployment) *DeploymentStrategyDie
- func (d *DeploymentStrategyDie) RollingUpdateDie(fn func(d *RollingUpdateDeploymentDie)) *DeploymentStrategyDie
- func (d *DeploymentStrategyDie) Type(v appsv1.DeploymentStrategyType) *DeploymentStrategyDie
- type ReplicaSetDie
- func (d *ReplicaSetDie) APIVersion(v string) *ReplicaSetDie
- func (d *ReplicaSetDie) DeepCopy() *ReplicaSetDie
- func (d *ReplicaSetDie) DeepCopyObject() runtime.Object
- func (d *ReplicaSetDie) DieDefaultTypeMetadata() *ReplicaSetDie
- func (d *ReplicaSetDie) DieDiff(opts ...cmp.Option) string
- func (d *ReplicaSetDie) DieFeed(r appsv1.ReplicaSet) *ReplicaSetDie
- func (d *ReplicaSetDie) DieFeedJSON(j []byte) *ReplicaSetDie
- func (d *ReplicaSetDie) DieFeedPtr(r *appsv1.ReplicaSet) *ReplicaSetDie
- func (d *ReplicaSetDie) DieFeedRawExtension(raw runtime.RawExtension) *ReplicaSetDie
- func (d *ReplicaSetDie) DieFeedYAML(y []byte) *ReplicaSetDie
- func (d *ReplicaSetDie) DieFeedYAMLFile(name string) *ReplicaSetDie
- func (d *ReplicaSetDie) DieImmutable(immutable bool) *ReplicaSetDie
- func (d *ReplicaSetDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *ReplicaSetDie) DieRelease() appsv1.ReplicaSet
- func (d *ReplicaSetDie) DieReleaseJSON() []byte
- func (d *ReplicaSetDie) DieReleasePtr() *appsv1.ReplicaSet
- func (d *ReplicaSetDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ReplicaSetDie) DieReleaseUnstructured() *unstructured.Unstructured
- func (d *ReplicaSetDie) DieReleaseYAML() []byte
- func (d *ReplicaSetDie) DieSeal() *ReplicaSetDie
- func (d *ReplicaSetDie) DieSealFeed(r appsv1.ReplicaSet) *ReplicaSetDie
- func (d *ReplicaSetDie) DieSealFeedPtr(r *appsv1.ReplicaSet) *ReplicaSetDie
- func (d *ReplicaSetDie) DieSealRelease() appsv1.ReplicaSet
- func (d *ReplicaSetDie) DieSealReleasePtr() *appsv1.ReplicaSet
- func (d *ReplicaSetDie) DieStamp(fn func(r *appsv1.ReplicaSet)) *ReplicaSetDie
- func (d *ReplicaSetDie) DieStampAt(jp string, fn interface{}) *ReplicaSetDie
- func (d *ReplicaSetDie) DieWith(fns ...func(d *ReplicaSetDie)) *ReplicaSetDie
- func (d *ReplicaSetDie) GetObjectKind() schema.ObjectKind
- func (d *ReplicaSetDie) Kind(v string) *ReplicaSetDie
- func (d *ReplicaSetDie) MarshalJSON() ([]byte, error)
- func (d *ReplicaSetDie) Metadata(v apismetav1.ObjectMeta) *ReplicaSetDie
- func (d *ReplicaSetDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *ReplicaSetDie
- func (d *ReplicaSetDie) Spec(v appsv1.ReplicaSetSpec) *ReplicaSetDie
- func (d *ReplicaSetDie) SpecDie(fn func(d *ReplicaSetSpecDie)) *ReplicaSetDie
- func (d *ReplicaSetDie) Status(v appsv1.ReplicaSetStatus) *ReplicaSetDie
- func (d *ReplicaSetDie) StatusDie(fn func(d *ReplicaSetStatusDie)) *ReplicaSetDie
- func (d *ReplicaSetDie) TypeMetadata(v apismetav1.TypeMeta) *ReplicaSetDie
- func (d *ReplicaSetDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *ReplicaSetDie
- func (d *ReplicaSetDie) UnmarshalJSON(b []byte) error
- type ReplicaSetSpecDie
- func (d *ReplicaSetSpecDie) DeepCopy() *ReplicaSetSpecDie
- func (d *ReplicaSetSpecDie) DieDiff(opts ...cmp.Option) string
- func (d *ReplicaSetSpecDie) DieFeed(r appsv1.ReplicaSetSpec) *ReplicaSetSpecDie
- func (d *ReplicaSetSpecDie) DieFeedJSON(j []byte) *ReplicaSetSpecDie
- func (d *ReplicaSetSpecDie) DieFeedPtr(r *appsv1.ReplicaSetSpec) *ReplicaSetSpecDie
- func (d *ReplicaSetSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *ReplicaSetSpecDie
- func (d *ReplicaSetSpecDie) DieFeedYAML(y []byte) *ReplicaSetSpecDie
- func (d *ReplicaSetSpecDie) DieFeedYAMLFile(name string) *ReplicaSetSpecDie
- func (d *ReplicaSetSpecDie) DieImmutable(immutable bool) *ReplicaSetSpecDie
- func (d *ReplicaSetSpecDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *ReplicaSetSpecDie) DieRelease() appsv1.ReplicaSetSpec
- func (d *ReplicaSetSpecDie) DieReleaseJSON() []byte
- func (d *ReplicaSetSpecDie) DieReleasePtr() *appsv1.ReplicaSetSpec
- func (d *ReplicaSetSpecDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ReplicaSetSpecDie) DieReleaseYAML() []byte
- func (d *ReplicaSetSpecDie) DieSeal() *ReplicaSetSpecDie
- func (d *ReplicaSetSpecDie) DieSealFeed(r appsv1.ReplicaSetSpec) *ReplicaSetSpecDie
- func (d *ReplicaSetSpecDie) DieSealFeedPtr(r *appsv1.ReplicaSetSpec) *ReplicaSetSpecDie
- func (d *ReplicaSetSpecDie) DieSealRelease() appsv1.ReplicaSetSpec
- func (d *ReplicaSetSpecDie) DieSealReleasePtr() *appsv1.ReplicaSetSpec
- func (d *ReplicaSetSpecDie) DieStamp(fn func(r *appsv1.ReplicaSetSpec)) *ReplicaSetSpecDie
- func (d *ReplicaSetSpecDie) DieStampAt(jp string, fn interface{}) *ReplicaSetSpecDie
- func (d *ReplicaSetSpecDie) DieWith(fns ...func(d *ReplicaSetSpecDie)) *ReplicaSetSpecDie
- func (d *ReplicaSetSpecDie) MinReadySeconds(v int32) *ReplicaSetSpecDie
- func (d *ReplicaSetSpecDie) Replicas(v *int32) *ReplicaSetSpecDie
- func (d *ReplicaSetSpecDie) Selector(v *apismetav1.LabelSelector) *ReplicaSetSpecDie
- func (d *ReplicaSetSpecDie) SelectorDie(fn func(d *metav1.LabelSelectorDie)) *ReplicaSetSpecDie
- func (d *ReplicaSetSpecDie) Template(v apicorev1.PodTemplateSpec) *ReplicaSetSpecDie
- func (d *ReplicaSetSpecDie) TemplateDie(fn func(d *corev1.PodTemplateSpecDie)) *ReplicaSetSpecDie
- type ReplicaSetStatusDie
- func (d *ReplicaSetStatusDie) AvailableReplicas(v int32) *ReplicaSetStatusDie
- func (d *ReplicaSetStatusDie) Conditions(v ...appsv1.ReplicaSetCondition) *ReplicaSetStatusDie
- func (d *ReplicaSetStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *ReplicaSetStatusDie
- func (d *ReplicaSetStatusDie) DeepCopy() *ReplicaSetStatusDie
- func (d *ReplicaSetStatusDie) DieDiff(opts ...cmp.Option) string
- func (d *ReplicaSetStatusDie) DieFeed(r appsv1.ReplicaSetStatus) *ReplicaSetStatusDie
- func (d *ReplicaSetStatusDie) DieFeedJSON(j []byte) *ReplicaSetStatusDie
- func (d *ReplicaSetStatusDie) DieFeedPtr(r *appsv1.ReplicaSetStatus) *ReplicaSetStatusDie
- func (d *ReplicaSetStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *ReplicaSetStatusDie
- func (d *ReplicaSetStatusDie) DieFeedYAML(y []byte) *ReplicaSetStatusDie
- func (d *ReplicaSetStatusDie) DieFeedYAMLFile(name string) *ReplicaSetStatusDie
- func (d *ReplicaSetStatusDie) DieImmutable(immutable bool) *ReplicaSetStatusDie
- func (d *ReplicaSetStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *ReplicaSetStatusDie) DieRelease() appsv1.ReplicaSetStatus
- func (d *ReplicaSetStatusDie) DieReleaseJSON() []byte
- func (d *ReplicaSetStatusDie) DieReleasePtr() *appsv1.ReplicaSetStatus
- func (d *ReplicaSetStatusDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ReplicaSetStatusDie) DieReleaseYAML() []byte
- func (d *ReplicaSetStatusDie) DieSeal() *ReplicaSetStatusDie
- func (d *ReplicaSetStatusDie) DieSealFeed(r appsv1.ReplicaSetStatus) *ReplicaSetStatusDie
- func (d *ReplicaSetStatusDie) DieSealFeedPtr(r *appsv1.ReplicaSetStatus) *ReplicaSetStatusDie
- func (d *ReplicaSetStatusDie) DieSealRelease() appsv1.ReplicaSetStatus
- func (d *ReplicaSetStatusDie) DieSealReleasePtr() *appsv1.ReplicaSetStatus
- func (d *ReplicaSetStatusDie) DieStamp(fn func(r *appsv1.ReplicaSetStatus)) *ReplicaSetStatusDie
- func (d *ReplicaSetStatusDie) DieStampAt(jp string, fn interface{}) *ReplicaSetStatusDie
- func (d *ReplicaSetStatusDie) DieWith(fns ...func(d *ReplicaSetStatusDie)) *ReplicaSetStatusDie
- func (d *ReplicaSetStatusDie) FullyLabeledReplicas(v int32) *ReplicaSetStatusDie
- func (d *ReplicaSetStatusDie) ObservedGeneration(v int64) *ReplicaSetStatusDie
- func (d *ReplicaSetStatusDie) ReadyReplicas(v int32) *ReplicaSetStatusDie
- func (d *ReplicaSetStatusDie) Replicas(v int32) *ReplicaSetStatusDie
- type RollingUpdateDaemonSetDie
- func (d *RollingUpdateDaemonSetDie) DeepCopy() *RollingUpdateDaemonSetDie
- func (d *RollingUpdateDaemonSetDie) DieDiff(opts ...cmp.Option) string
- func (d *RollingUpdateDaemonSetDie) DieFeed(r appsv1.RollingUpdateDaemonSet) *RollingUpdateDaemonSetDie
- func (d *RollingUpdateDaemonSetDie) DieFeedJSON(j []byte) *RollingUpdateDaemonSetDie
- func (d *RollingUpdateDaemonSetDie) DieFeedPtr(r *appsv1.RollingUpdateDaemonSet) *RollingUpdateDaemonSetDie
- func (d *RollingUpdateDaemonSetDie) DieFeedRawExtension(raw runtime.RawExtension) *RollingUpdateDaemonSetDie
- func (d *RollingUpdateDaemonSetDie) DieFeedYAML(y []byte) *RollingUpdateDaemonSetDie
- func (d *RollingUpdateDaemonSetDie) DieFeedYAMLFile(name string) *RollingUpdateDaemonSetDie
- func (d *RollingUpdateDaemonSetDie) DieImmutable(immutable bool) *RollingUpdateDaemonSetDie
- func (d *RollingUpdateDaemonSetDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *RollingUpdateDaemonSetDie) DieRelease() appsv1.RollingUpdateDaemonSet
- func (d *RollingUpdateDaemonSetDie) DieReleaseJSON() []byte
- func (d *RollingUpdateDaemonSetDie) DieReleasePtr() *appsv1.RollingUpdateDaemonSet
- func (d *RollingUpdateDaemonSetDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *RollingUpdateDaemonSetDie) DieReleaseYAML() []byte
- func (d *RollingUpdateDaemonSetDie) DieSeal() *RollingUpdateDaemonSetDie
- func (d *RollingUpdateDaemonSetDie) DieSealFeed(r appsv1.RollingUpdateDaemonSet) *RollingUpdateDaemonSetDie
- func (d *RollingUpdateDaemonSetDie) DieSealFeedPtr(r *appsv1.RollingUpdateDaemonSet) *RollingUpdateDaemonSetDie
- func (d *RollingUpdateDaemonSetDie) DieSealRelease() appsv1.RollingUpdateDaemonSet
- func (d *RollingUpdateDaemonSetDie) DieSealReleasePtr() *appsv1.RollingUpdateDaemonSet
- func (d *RollingUpdateDaemonSetDie) DieStamp(fn func(r *appsv1.RollingUpdateDaemonSet)) *RollingUpdateDaemonSetDie
- func (d *RollingUpdateDaemonSetDie) DieStampAt(jp string, fn interface{}) *RollingUpdateDaemonSetDie
- func (d *RollingUpdateDaemonSetDie) DieWith(fns ...func(d *RollingUpdateDaemonSetDie)) *RollingUpdateDaemonSetDie
- func (d *RollingUpdateDaemonSetDie) MaxSurge(v *intstr.IntOrString) *RollingUpdateDaemonSetDie
- func (d *RollingUpdateDaemonSetDie) MaxSurgeInt(i int) *RollingUpdateDaemonSetDie
- func (d *RollingUpdateDaemonSetDie) MaxSurgeString(s string) *RollingUpdateDaemonSetDie
- func (d *RollingUpdateDaemonSetDie) MaxUnavailable(v *intstr.IntOrString) *RollingUpdateDaemonSetDie
- func (d *RollingUpdateDaemonSetDie) MaxUnavailableInt(i int) *RollingUpdateDaemonSetDie
- func (d *RollingUpdateDaemonSetDie) MaxUnavailableString(s string) *RollingUpdateDaemonSetDie
- type RollingUpdateDeploymentDie
- func (d *RollingUpdateDeploymentDie) DeepCopy() *RollingUpdateDeploymentDie
- func (d *RollingUpdateDeploymentDie) DieDiff(opts ...cmp.Option) string
- func (d *RollingUpdateDeploymentDie) DieFeed(r appsv1.RollingUpdateDeployment) *RollingUpdateDeploymentDie
- func (d *RollingUpdateDeploymentDie) DieFeedJSON(j []byte) *RollingUpdateDeploymentDie
- func (d *RollingUpdateDeploymentDie) DieFeedPtr(r *appsv1.RollingUpdateDeployment) *RollingUpdateDeploymentDie
- func (d *RollingUpdateDeploymentDie) DieFeedRawExtension(raw runtime.RawExtension) *RollingUpdateDeploymentDie
- func (d *RollingUpdateDeploymentDie) DieFeedYAML(y []byte) *RollingUpdateDeploymentDie
- func (d *RollingUpdateDeploymentDie) DieFeedYAMLFile(name string) *RollingUpdateDeploymentDie
- func (d *RollingUpdateDeploymentDie) DieImmutable(immutable bool) *RollingUpdateDeploymentDie
- func (d *RollingUpdateDeploymentDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *RollingUpdateDeploymentDie) DieRelease() appsv1.RollingUpdateDeployment
- func (d *RollingUpdateDeploymentDie) DieReleaseJSON() []byte
- func (d *RollingUpdateDeploymentDie) DieReleasePtr() *appsv1.RollingUpdateDeployment
- func (d *RollingUpdateDeploymentDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *RollingUpdateDeploymentDie) DieReleaseYAML() []byte
- func (d *RollingUpdateDeploymentDie) DieSeal() *RollingUpdateDeploymentDie
- func (d *RollingUpdateDeploymentDie) DieSealFeed(r appsv1.RollingUpdateDeployment) *RollingUpdateDeploymentDie
- func (d *RollingUpdateDeploymentDie) DieSealFeedPtr(r *appsv1.RollingUpdateDeployment) *RollingUpdateDeploymentDie
- func (d *RollingUpdateDeploymentDie) DieSealRelease() appsv1.RollingUpdateDeployment
- func (d *RollingUpdateDeploymentDie) DieSealReleasePtr() *appsv1.RollingUpdateDeployment
- func (d *RollingUpdateDeploymentDie) DieStamp(fn func(r *appsv1.RollingUpdateDeployment)) *RollingUpdateDeploymentDie
- func (d *RollingUpdateDeploymentDie) DieStampAt(jp string, fn interface{}) *RollingUpdateDeploymentDie
- func (d *RollingUpdateDeploymentDie) DieWith(fns ...func(d *RollingUpdateDeploymentDie)) *RollingUpdateDeploymentDie
- func (d *RollingUpdateDeploymentDie) MaxSurge(v *intstr.IntOrString) *RollingUpdateDeploymentDie
- func (d *RollingUpdateDeploymentDie) MaxSurgeInt(i int) *RollingUpdateDeploymentDie
- func (d *RollingUpdateDeploymentDie) MaxSurgeString(s string) *RollingUpdateDeploymentDie
- func (d *RollingUpdateDeploymentDie) MaxUnavailable(v *intstr.IntOrString) *RollingUpdateDeploymentDie
- func (d *RollingUpdateDeploymentDie) MaxUnavailableInt(i int) *RollingUpdateDeploymentDie
- func (d *RollingUpdateDeploymentDie) MaxUnavailableString(s string) *RollingUpdateDeploymentDie
- type RollingUpdateStatefulSetStrategyDie
- func (d *RollingUpdateStatefulSetStrategyDie) DeepCopy() *RollingUpdateStatefulSetStrategyDie
- func (d *RollingUpdateStatefulSetStrategyDie) DieDiff(opts ...cmp.Option) string
- func (d *RollingUpdateStatefulSetStrategyDie) DieFeed(r appsv1.RollingUpdateStatefulSetStrategy) *RollingUpdateStatefulSetStrategyDie
- func (d *RollingUpdateStatefulSetStrategyDie) DieFeedJSON(j []byte) *RollingUpdateStatefulSetStrategyDie
- func (d *RollingUpdateStatefulSetStrategyDie) DieFeedPtr(r *appsv1.RollingUpdateStatefulSetStrategy) *RollingUpdateStatefulSetStrategyDie
- func (d *RollingUpdateStatefulSetStrategyDie) DieFeedRawExtension(raw runtime.RawExtension) *RollingUpdateStatefulSetStrategyDie
- func (d *RollingUpdateStatefulSetStrategyDie) DieFeedYAML(y []byte) *RollingUpdateStatefulSetStrategyDie
- func (d *RollingUpdateStatefulSetStrategyDie) DieFeedYAMLFile(name string) *RollingUpdateStatefulSetStrategyDie
- func (d *RollingUpdateStatefulSetStrategyDie) DieImmutable(immutable bool) *RollingUpdateStatefulSetStrategyDie
- func (d *RollingUpdateStatefulSetStrategyDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *RollingUpdateStatefulSetStrategyDie) DieRelease() appsv1.RollingUpdateStatefulSetStrategy
- func (d *RollingUpdateStatefulSetStrategyDie) DieReleaseJSON() []byte
- func (d *RollingUpdateStatefulSetStrategyDie) DieReleasePtr() *appsv1.RollingUpdateStatefulSetStrategy
- func (d *RollingUpdateStatefulSetStrategyDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *RollingUpdateStatefulSetStrategyDie) DieReleaseYAML() []byte
- func (d *RollingUpdateStatefulSetStrategyDie) DieSeal() *RollingUpdateStatefulSetStrategyDie
- func (d *RollingUpdateStatefulSetStrategyDie) DieSealFeed(r appsv1.RollingUpdateStatefulSetStrategy) *RollingUpdateStatefulSetStrategyDie
- func (d *RollingUpdateStatefulSetStrategyDie) DieSealFeedPtr(r *appsv1.RollingUpdateStatefulSetStrategy) *RollingUpdateStatefulSetStrategyDie
- func (d *RollingUpdateStatefulSetStrategyDie) DieSealRelease() appsv1.RollingUpdateStatefulSetStrategy
- func (d *RollingUpdateStatefulSetStrategyDie) DieSealReleasePtr() *appsv1.RollingUpdateStatefulSetStrategy
- func (d *RollingUpdateStatefulSetStrategyDie) DieStamp(fn func(r *appsv1.RollingUpdateStatefulSetStrategy)) *RollingUpdateStatefulSetStrategyDie
- func (d *RollingUpdateStatefulSetStrategyDie) DieStampAt(jp string, fn interface{}) *RollingUpdateStatefulSetStrategyDie
- func (d *RollingUpdateStatefulSetStrategyDie) DieWith(fns ...func(d *RollingUpdateStatefulSetStrategyDie)) *RollingUpdateStatefulSetStrategyDie
- func (d *RollingUpdateStatefulSetStrategyDie) MaxUnavailable(v *intstr.IntOrString) *RollingUpdateStatefulSetStrategyDie
- func (d *RollingUpdateStatefulSetStrategyDie) MaxUnavailableInt(i int) *RollingUpdateStatefulSetStrategyDie
- func (d *RollingUpdateStatefulSetStrategyDie) MaxUnavailableString(s string) *RollingUpdateStatefulSetStrategyDie
- func (d *RollingUpdateStatefulSetStrategyDie) Partition(v *int32) *RollingUpdateStatefulSetStrategyDie
- type StatefulSetDie
- func (d *StatefulSetDie) APIVersion(v string) *StatefulSetDie
- func (d *StatefulSetDie) DeepCopy() *StatefulSetDie
- func (d *StatefulSetDie) DeepCopyObject() runtime.Object
- func (d *StatefulSetDie) DieDefaultTypeMetadata() *StatefulSetDie
- func (d *StatefulSetDie) DieDiff(opts ...cmp.Option) string
- func (d *StatefulSetDie) DieFeed(r appsv1.StatefulSet) *StatefulSetDie
- func (d *StatefulSetDie) DieFeedJSON(j []byte) *StatefulSetDie
- func (d *StatefulSetDie) DieFeedPtr(r *appsv1.StatefulSet) *StatefulSetDie
- func (d *StatefulSetDie) DieFeedRawExtension(raw runtime.RawExtension) *StatefulSetDie
- func (d *StatefulSetDie) DieFeedYAML(y []byte) *StatefulSetDie
- func (d *StatefulSetDie) DieFeedYAMLFile(name string) *StatefulSetDie
- func (d *StatefulSetDie) DieImmutable(immutable bool) *StatefulSetDie
- func (d *StatefulSetDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *StatefulSetDie) DieRelease() appsv1.StatefulSet
- func (d *StatefulSetDie) DieReleaseJSON() []byte
- func (d *StatefulSetDie) DieReleasePtr() *appsv1.StatefulSet
- func (d *StatefulSetDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *StatefulSetDie) DieReleaseUnstructured() *unstructured.Unstructured
- func (d *StatefulSetDie) DieReleaseYAML() []byte
- func (d *StatefulSetDie) DieSeal() *StatefulSetDie
- func (d *StatefulSetDie) DieSealFeed(r appsv1.StatefulSet) *StatefulSetDie
- func (d *StatefulSetDie) DieSealFeedPtr(r *appsv1.StatefulSet) *StatefulSetDie
- func (d *StatefulSetDie) DieSealRelease() appsv1.StatefulSet
- func (d *StatefulSetDie) DieSealReleasePtr() *appsv1.StatefulSet
- func (d *StatefulSetDie) DieStamp(fn func(r *appsv1.StatefulSet)) *StatefulSetDie
- func (d *StatefulSetDie) DieStampAt(jp string, fn interface{}) *StatefulSetDie
- func (d *StatefulSetDie) DieWith(fns ...func(d *StatefulSetDie)) *StatefulSetDie
- func (d *StatefulSetDie) GetObjectKind() schema.ObjectKind
- func (d *StatefulSetDie) Kind(v string) *StatefulSetDie
- func (d *StatefulSetDie) MarshalJSON() ([]byte, error)
- func (d *StatefulSetDie) Metadata(v apismetav1.ObjectMeta) *StatefulSetDie
- func (d *StatefulSetDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *StatefulSetDie
- func (d *StatefulSetDie) Spec(v appsv1.StatefulSetSpec) *StatefulSetDie
- func (d *StatefulSetDie) SpecDie(fn func(d *StatefulSetSpecDie)) *StatefulSetDie
- func (d *StatefulSetDie) Status(v appsv1.StatefulSetStatus) *StatefulSetDie
- func (d *StatefulSetDie) StatusDie(fn func(d *StatefulSetStatusDie)) *StatefulSetDie
- func (d *StatefulSetDie) TypeMetadata(v apismetav1.TypeMeta) *StatefulSetDie
- func (d *StatefulSetDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *StatefulSetDie
- func (d *StatefulSetDie) UnmarshalJSON(b []byte) error
- type StatefulSetOrdinalsDie
- func (d *StatefulSetOrdinalsDie) DeepCopy() *StatefulSetOrdinalsDie
- func (d *StatefulSetOrdinalsDie) DieDiff(opts ...cmp.Option) string
- func (d *StatefulSetOrdinalsDie) DieFeed(r appsv1.StatefulSetOrdinals) *StatefulSetOrdinalsDie
- func (d *StatefulSetOrdinalsDie) DieFeedJSON(j []byte) *StatefulSetOrdinalsDie
- func (d *StatefulSetOrdinalsDie) DieFeedPtr(r *appsv1.StatefulSetOrdinals) *StatefulSetOrdinalsDie
- func (d *StatefulSetOrdinalsDie) DieFeedRawExtension(raw runtime.RawExtension) *StatefulSetOrdinalsDie
- func (d *StatefulSetOrdinalsDie) DieFeedYAML(y []byte) *StatefulSetOrdinalsDie
- func (d *StatefulSetOrdinalsDie) DieFeedYAMLFile(name string) *StatefulSetOrdinalsDie
- func (d *StatefulSetOrdinalsDie) DieImmutable(immutable bool) *StatefulSetOrdinalsDie
- func (d *StatefulSetOrdinalsDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *StatefulSetOrdinalsDie) DieRelease() appsv1.StatefulSetOrdinals
- func (d *StatefulSetOrdinalsDie) DieReleaseJSON() []byte
- func (d *StatefulSetOrdinalsDie) DieReleasePtr() *appsv1.StatefulSetOrdinals
- func (d *StatefulSetOrdinalsDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *StatefulSetOrdinalsDie) DieReleaseYAML() []byte
- func (d *StatefulSetOrdinalsDie) DieSeal() *StatefulSetOrdinalsDie
- func (d *StatefulSetOrdinalsDie) DieSealFeed(r appsv1.StatefulSetOrdinals) *StatefulSetOrdinalsDie
- func (d *StatefulSetOrdinalsDie) DieSealFeedPtr(r *appsv1.StatefulSetOrdinals) *StatefulSetOrdinalsDie
- func (d *StatefulSetOrdinalsDie) DieSealRelease() appsv1.StatefulSetOrdinals
- func (d *StatefulSetOrdinalsDie) DieSealReleasePtr() *appsv1.StatefulSetOrdinals
- func (d *StatefulSetOrdinalsDie) DieStamp(fn func(r *appsv1.StatefulSetOrdinals)) *StatefulSetOrdinalsDie
- func (d *StatefulSetOrdinalsDie) DieStampAt(jp string, fn interface{}) *StatefulSetOrdinalsDie
- func (d *StatefulSetOrdinalsDie) DieWith(fns ...func(d *StatefulSetOrdinalsDie)) *StatefulSetOrdinalsDie
- func (d *StatefulSetOrdinalsDie) Start(v int32) *StatefulSetOrdinalsDie
- type StatefulSetPersistentVolumeClaimRetentionPolicyDie
- func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DeepCopy() *StatefulSetPersistentVolumeClaimRetentionPolicyDie
- func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieDiff(opts ...cmp.Option) string
- func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieFeed(r appsv1.StatefulSetPersistentVolumeClaimRetentionPolicy) *StatefulSetPersistentVolumeClaimRetentionPolicyDie
- func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieFeedJSON(j []byte) *StatefulSetPersistentVolumeClaimRetentionPolicyDie
- func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieFeedPtr(r *appsv1.StatefulSetPersistentVolumeClaimRetentionPolicy) *StatefulSetPersistentVolumeClaimRetentionPolicyDie
- func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieFeedRawExtension(raw runtime.RawExtension) *StatefulSetPersistentVolumeClaimRetentionPolicyDie
- func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieFeedYAML(y []byte) *StatefulSetPersistentVolumeClaimRetentionPolicyDie
- func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieFeedYAMLFile(name string) *StatefulSetPersistentVolumeClaimRetentionPolicyDie
- func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieImmutable(immutable bool) *StatefulSetPersistentVolumeClaimRetentionPolicyDie
- func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieRelease() appsv1.StatefulSetPersistentVolumeClaimRetentionPolicy
- func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieReleaseJSON() []byte
- func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieReleasePtr() *appsv1.StatefulSetPersistentVolumeClaimRetentionPolicy
- func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieReleaseYAML() []byte
- func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieSeal() *StatefulSetPersistentVolumeClaimRetentionPolicyDie
- func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieSealFeed(r appsv1.StatefulSetPersistentVolumeClaimRetentionPolicy) *StatefulSetPersistentVolumeClaimRetentionPolicyDie
- func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieSealFeedPtr(r *appsv1.StatefulSetPersistentVolumeClaimRetentionPolicy) *StatefulSetPersistentVolumeClaimRetentionPolicyDie
- func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieSealRelease() appsv1.StatefulSetPersistentVolumeClaimRetentionPolicy
- func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieSealReleasePtr() *appsv1.StatefulSetPersistentVolumeClaimRetentionPolicy
- func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieStamp(fn func(r *appsv1.StatefulSetPersistentVolumeClaimRetentionPolicy)) *StatefulSetPersistentVolumeClaimRetentionPolicyDie
- func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieStampAt(jp string, fn interface{}) *StatefulSetPersistentVolumeClaimRetentionPolicyDie
- func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieWith(fns ...func(d *StatefulSetPersistentVolumeClaimRetentionPolicyDie)) *StatefulSetPersistentVolumeClaimRetentionPolicyDie
- func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) WhenDeleted(v appsv1.PersistentVolumeClaimRetentionPolicyType) *StatefulSetPersistentVolumeClaimRetentionPolicyDie
- func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) WhenScaled(v appsv1.PersistentVolumeClaimRetentionPolicyType) *StatefulSetPersistentVolumeClaimRetentionPolicyDie
- type StatefulSetSpecDie
- func (d *StatefulSetSpecDie) DeepCopy() *StatefulSetSpecDie
- func (d *StatefulSetSpecDie) DieDiff(opts ...cmp.Option) string
- func (d *StatefulSetSpecDie) DieFeed(r appsv1.StatefulSetSpec) *StatefulSetSpecDie
- func (d *StatefulSetSpecDie) DieFeedJSON(j []byte) *StatefulSetSpecDie
- func (d *StatefulSetSpecDie) DieFeedPtr(r *appsv1.StatefulSetSpec) *StatefulSetSpecDie
- func (d *StatefulSetSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *StatefulSetSpecDie
- func (d *StatefulSetSpecDie) DieFeedYAML(y []byte) *StatefulSetSpecDie
- func (d *StatefulSetSpecDie) DieFeedYAMLFile(name string) *StatefulSetSpecDie
- func (d *StatefulSetSpecDie) DieImmutable(immutable bool) *StatefulSetSpecDie
- func (d *StatefulSetSpecDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *StatefulSetSpecDie) DieRelease() appsv1.StatefulSetSpec
- func (d *StatefulSetSpecDie) DieReleaseJSON() []byte
- func (d *StatefulSetSpecDie) DieReleasePtr() *appsv1.StatefulSetSpec
- func (d *StatefulSetSpecDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *StatefulSetSpecDie) DieReleaseYAML() []byte
- func (d *StatefulSetSpecDie) DieSeal() *StatefulSetSpecDie
- func (d *StatefulSetSpecDie) DieSealFeed(r appsv1.StatefulSetSpec) *StatefulSetSpecDie
- func (d *StatefulSetSpecDie) DieSealFeedPtr(r *appsv1.StatefulSetSpec) *StatefulSetSpecDie
- func (d *StatefulSetSpecDie) DieSealRelease() appsv1.StatefulSetSpec
- func (d *StatefulSetSpecDie) DieSealReleasePtr() *appsv1.StatefulSetSpec
- func (d *StatefulSetSpecDie) DieStamp(fn func(r *appsv1.StatefulSetSpec)) *StatefulSetSpecDie
- func (d *StatefulSetSpecDie) DieStampAt(jp string, fn interface{}) *StatefulSetSpecDie
- func (d *StatefulSetSpecDie) DieWith(fns ...func(d *StatefulSetSpecDie)) *StatefulSetSpecDie
- func (d *StatefulSetSpecDie) MinReadySeconds(v int32) *StatefulSetSpecDie
- func (d *StatefulSetSpecDie) Ordinals(v *appsv1.StatefulSetOrdinals) *StatefulSetSpecDie
- func (d *StatefulSetSpecDie) OrdinalsDie(fn func(d *StatefulSetOrdinalsDie)) *StatefulSetSpecDie
- func (d *StatefulSetSpecDie) PersistentVolumeClaimRetentionPolicy(v *appsv1.StatefulSetPersistentVolumeClaimRetentionPolicy) *StatefulSetSpecDie
- func (d *StatefulSetSpecDie) PersistentVolumeClaimRetentionPolicyDie(fn func(d *StatefulSetPersistentVolumeClaimRetentionPolicyDie)) *StatefulSetSpecDie
- func (d *StatefulSetSpecDie) PodManagementPolicy(v appsv1.PodManagementPolicyType) *StatefulSetSpecDie
- func (d *StatefulSetSpecDie) Replicas(v *int32) *StatefulSetSpecDie
- func (d *StatefulSetSpecDie) RevisionHistoryLimit(v *int32) *StatefulSetSpecDie
- func (d *StatefulSetSpecDie) Selector(v *apismetav1.LabelSelector) *StatefulSetSpecDie
- func (d *StatefulSetSpecDie) SelectorDie(fn func(d *metav1.LabelSelectorDie)) *StatefulSetSpecDie
- func (d *StatefulSetSpecDie) ServiceName(v string) *StatefulSetSpecDie
- func (d *StatefulSetSpecDie) Template(v apicorev1.PodTemplateSpec) *StatefulSetSpecDie
- func (d *StatefulSetSpecDie) TemplateDie(fn func(d *corev1.PodTemplateSpecDie)) *StatefulSetSpecDie
- func (d *StatefulSetSpecDie) UpdateStrategy(v appsv1.StatefulSetUpdateStrategy) *StatefulSetSpecDie
- func (d *StatefulSetSpecDie) UpdateStrategyDie(fn func(d *StatefulSetUpdateStrategyDie)) *StatefulSetSpecDie
- func (d *StatefulSetSpecDie) VolumeClaimTemplates(v ...apicorev1.PersistentVolumeClaim) *StatefulSetSpecDie
- func (d *StatefulSetSpecDie) VolumeClaimTemplatesDie(v ...*corev1.PersistentVolumeClaimDie) *StatefulSetSpecDie
- type StatefulSetStatusDie
- func (d *StatefulSetStatusDie) AvailableReplicas(v int32) *StatefulSetStatusDie
- func (d *StatefulSetStatusDie) CollisionCount(v *int32) *StatefulSetStatusDie
- func (d *StatefulSetStatusDie) Conditions(v ...appsv1.StatefulSetCondition) *StatefulSetStatusDie
- func (d *StatefulSetStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *StatefulSetStatusDie
- func (d *StatefulSetStatusDie) CurrentReplicas(v int32) *StatefulSetStatusDie
- func (d *StatefulSetStatusDie) CurrentRevision(v string) *StatefulSetStatusDie
- func (d *StatefulSetStatusDie) DeepCopy() *StatefulSetStatusDie
- func (d *StatefulSetStatusDie) DieDiff(opts ...cmp.Option) string
- func (d *StatefulSetStatusDie) DieFeed(r appsv1.StatefulSetStatus) *StatefulSetStatusDie
- func (d *StatefulSetStatusDie) DieFeedJSON(j []byte) *StatefulSetStatusDie
- func (d *StatefulSetStatusDie) DieFeedPtr(r *appsv1.StatefulSetStatus) *StatefulSetStatusDie
- func (d *StatefulSetStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *StatefulSetStatusDie
- func (d *StatefulSetStatusDie) DieFeedYAML(y []byte) *StatefulSetStatusDie
- func (d *StatefulSetStatusDie) DieFeedYAMLFile(name string) *StatefulSetStatusDie
- func (d *StatefulSetStatusDie) DieImmutable(immutable bool) *StatefulSetStatusDie
- func (d *StatefulSetStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *StatefulSetStatusDie) DieRelease() appsv1.StatefulSetStatus
- func (d *StatefulSetStatusDie) DieReleaseJSON() []byte
- func (d *StatefulSetStatusDie) DieReleasePtr() *appsv1.StatefulSetStatus
- func (d *StatefulSetStatusDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *StatefulSetStatusDie) DieReleaseYAML() []byte
- func (d *StatefulSetStatusDie) DieSeal() *StatefulSetStatusDie
- func (d *StatefulSetStatusDie) DieSealFeed(r appsv1.StatefulSetStatus) *StatefulSetStatusDie
- func (d *StatefulSetStatusDie) DieSealFeedPtr(r *appsv1.StatefulSetStatus) *StatefulSetStatusDie
- func (d *StatefulSetStatusDie) DieSealRelease() appsv1.StatefulSetStatus
- func (d *StatefulSetStatusDie) DieSealReleasePtr() *appsv1.StatefulSetStatus
- func (d *StatefulSetStatusDie) DieStamp(fn func(r *appsv1.StatefulSetStatus)) *StatefulSetStatusDie
- func (d *StatefulSetStatusDie) DieStampAt(jp string, fn interface{}) *StatefulSetStatusDie
- func (d *StatefulSetStatusDie) DieWith(fns ...func(d *StatefulSetStatusDie)) *StatefulSetStatusDie
- func (d *StatefulSetStatusDie) ObservedGeneration(v int64) *StatefulSetStatusDie
- func (d *StatefulSetStatusDie) ReadyReplicas(v int32) *StatefulSetStatusDie
- func (d *StatefulSetStatusDie) Replicas(v int32) *StatefulSetStatusDie
- func (d *StatefulSetStatusDie) UpdateRevision(v string) *StatefulSetStatusDie
- func (d *StatefulSetStatusDie) UpdatedReplicas(v int32) *StatefulSetStatusDie
- type StatefulSetUpdateStrategyDie
- func (d *StatefulSetUpdateStrategyDie) DeepCopy() *StatefulSetUpdateStrategyDie
- func (d *StatefulSetUpdateStrategyDie) DieDiff(opts ...cmp.Option) string
- func (d *StatefulSetUpdateStrategyDie) DieFeed(r appsv1.StatefulSetUpdateStrategy) *StatefulSetUpdateStrategyDie
- func (d *StatefulSetUpdateStrategyDie) DieFeedJSON(j []byte) *StatefulSetUpdateStrategyDie
- func (d *StatefulSetUpdateStrategyDie) DieFeedPtr(r *appsv1.StatefulSetUpdateStrategy) *StatefulSetUpdateStrategyDie
- func (d *StatefulSetUpdateStrategyDie) DieFeedRawExtension(raw runtime.RawExtension) *StatefulSetUpdateStrategyDie
- func (d *StatefulSetUpdateStrategyDie) DieFeedYAML(y []byte) *StatefulSetUpdateStrategyDie
- func (d *StatefulSetUpdateStrategyDie) DieFeedYAMLFile(name string) *StatefulSetUpdateStrategyDie
- func (d *StatefulSetUpdateStrategyDie) DieImmutable(immutable bool) *StatefulSetUpdateStrategyDie
- func (d *StatefulSetUpdateStrategyDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *StatefulSetUpdateStrategyDie) DieRelease() appsv1.StatefulSetUpdateStrategy
- func (d *StatefulSetUpdateStrategyDie) DieReleaseJSON() []byte
- func (d *StatefulSetUpdateStrategyDie) DieReleasePtr() *appsv1.StatefulSetUpdateStrategy
- func (d *StatefulSetUpdateStrategyDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *StatefulSetUpdateStrategyDie) DieReleaseYAML() []byte
- func (d *StatefulSetUpdateStrategyDie) DieSeal() *StatefulSetUpdateStrategyDie
- func (d *StatefulSetUpdateStrategyDie) DieSealFeed(r appsv1.StatefulSetUpdateStrategy) *StatefulSetUpdateStrategyDie
- func (d *StatefulSetUpdateStrategyDie) DieSealFeedPtr(r *appsv1.StatefulSetUpdateStrategy) *StatefulSetUpdateStrategyDie
- func (d *StatefulSetUpdateStrategyDie) DieSealRelease() appsv1.StatefulSetUpdateStrategy
- func (d *StatefulSetUpdateStrategyDie) DieSealReleasePtr() *appsv1.StatefulSetUpdateStrategy
- func (d *StatefulSetUpdateStrategyDie) DieStamp(fn func(r *appsv1.StatefulSetUpdateStrategy)) *StatefulSetUpdateStrategyDie
- func (d *StatefulSetUpdateStrategyDie) DieStampAt(jp string, fn interface{}) *StatefulSetUpdateStrategyDie
- func (d *StatefulSetUpdateStrategyDie) DieWith(fns ...func(d *StatefulSetUpdateStrategyDie)) *StatefulSetUpdateStrategyDie
- func (d *StatefulSetUpdateStrategyDie) OnDelete() *StatefulSetUpdateStrategyDie
- func (d *StatefulSetUpdateStrategyDie) RollingUpdate(v *appsv1.RollingUpdateStatefulSetStrategy) *StatefulSetUpdateStrategyDie
- func (d *StatefulSetUpdateStrategyDie) RollingUpdateDie(fn func(d *RollingUpdateStatefulSetStrategyDie)) *StatefulSetUpdateStrategyDie
- func (d *StatefulSetUpdateStrategyDie) Type(v appsv1.StatefulSetUpdateStrategyType) *StatefulSetUpdateStrategyDie
Constants ¶
This section is empty.
Variables ¶
var ControllerRevisionBlank = (&ControllerRevisionDie{}).DieFeed(appsv1.ControllerRevision{})
var DaemonSetBlank = (&DaemonSetDie{}).DieFeed(appsv1.DaemonSet{})
var DaemonSetSpecBlank = (&DaemonSetSpecDie{}).DieFeed(appsv1.DaemonSetSpec{})
var DaemonSetStatusBlank = (&DaemonSetStatusDie{}).DieFeed(appsv1.DaemonSetStatus{})
var DaemonSetUpdateStrategyBlank = (&DaemonSetUpdateStrategyDie{}).DieFeed(appsv1.DaemonSetUpdateStrategy{})
var DeploymentBlank = (&DeploymentDie{}).DieFeed(appsv1.Deployment{})
var DeploymentSpecBlank = (&DeploymentSpecDie{}).DieFeed(appsv1.DeploymentSpec{})
var DeploymentStatusBlank = (&DeploymentStatusDie{}).DieFeed(appsv1.DeploymentStatus{})
var DeploymentStrategyBlank = (&DeploymentStrategyDie{}).DieFeed(appsv1.DeploymentStrategy{})
var ReplicaSetBlank = (&ReplicaSetDie{}).DieFeed(appsv1.ReplicaSet{})
var ReplicaSetSpecBlank = (&ReplicaSetSpecDie{}).DieFeed(appsv1.ReplicaSetSpec{})
var ReplicaSetStatusBlank = (&ReplicaSetStatusDie{}).DieFeed(appsv1.ReplicaSetStatus{})
var RollingUpdateDaemonSetBlank = (&RollingUpdateDaemonSetDie{}).DieFeed(appsv1.RollingUpdateDaemonSet{})
var RollingUpdateDeploymentBlank = (&RollingUpdateDeploymentDie{}).DieFeed(appsv1.RollingUpdateDeployment{})
var RollingUpdateStatefulSetStrategyBlank = (&RollingUpdateStatefulSetStrategyDie{}).DieFeed(appsv1.RollingUpdateStatefulSetStrategy{})
var StatefulSetBlank = (&StatefulSetDie{}).DieFeed(appsv1.StatefulSet{})
var StatefulSetOrdinalsBlank = (&StatefulSetOrdinalsDie{}).DieFeed(appsv1.StatefulSetOrdinals{})
var StatefulSetPersistentVolumeClaimRetentionPolicyBlank = (&StatefulSetPersistentVolumeClaimRetentionPolicyDie{}).DieFeed(appsv1.StatefulSetPersistentVolumeClaimRetentionPolicy{})
var StatefulSetSpecBlank = (&StatefulSetSpecDie{}).DieFeed(appsv1.StatefulSetSpec{})
var StatefulSetStatusBlank = (&StatefulSetStatusDie{}).DieFeed(appsv1.StatefulSetStatus{})
var StatefulSetUpdateStrategyBlank = (&StatefulSetUpdateStrategyDie{}).DieFeed(appsv1.StatefulSetUpdateStrategy{})
Functions ¶
This section is empty.
Types ¶
type ControllerRevisionDie ¶
type ControllerRevisionDie struct { metav1.FrozenObjectMeta // contains filtered or unexported fields }
func (*ControllerRevisionDie) APIVersion ¶
func (d *ControllerRevisionDie) APIVersion(v string) *ControllerRevisionDie
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (*ControllerRevisionDie) Data ¶
func (d *ControllerRevisionDie) Data(v runtime.RawExtension) *ControllerRevisionDie
Data is the serialized representation of the state.
func (*ControllerRevisionDie) DeepCopy ¶
func (d *ControllerRevisionDie) DeepCopy() *ControllerRevisionDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ControllerRevisionDie) DeepCopyObject ¶
func (d *ControllerRevisionDie) DeepCopyObject() runtime.Object
func (*ControllerRevisionDie) DieDefaultTypeMetadata ¶ added in v0.13.0
func (d *ControllerRevisionDie) DieDefaultTypeMetadata() *ControllerRevisionDie
DieDefaultTypeMetadata sets the APIVersion and Kind to "apps/v1" and "ControllerRevision" respectively.
func (*ControllerRevisionDie) DieDiff ¶ added in v0.13.0
func (d *ControllerRevisionDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ControllerRevisionDie) DieFeed ¶
func (d *ControllerRevisionDie) DieFeed(r appsv1.ControllerRevision) *ControllerRevisionDie
DieFeed returns a new die with the provided resource.
func (*ControllerRevisionDie) DieFeedJSON ¶
func (d *ControllerRevisionDie) DieFeedJSON(j []byte) *ControllerRevisionDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ControllerRevisionDie) DieFeedPtr ¶
func (d *ControllerRevisionDie) DieFeedPtr(r *appsv1.ControllerRevision) *ControllerRevisionDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ControllerRevisionDie) DieFeedRawExtension ¶
func (d *ControllerRevisionDie) DieFeedRawExtension(raw runtime.RawExtension) *ControllerRevisionDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ControllerRevisionDie) DieFeedYAML ¶
func (d *ControllerRevisionDie) DieFeedYAML(y []byte) *ControllerRevisionDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ControllerRevisionDie) DieFeedYAMLFile ¶
func (d *ControllerRevisionDie) DieFeedYAMLFile(name string) *ControllerRevisionDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ControllerRevisionDie) DieImmutable ¶
func (d *ControllerRevisionDie) DieImmutable(immutable bool) *ControllerRevisionDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ControllerRevisionDie) DiePatch ¶ added in v0.13.0
func (d *ControllerRevisionDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ControllerRevisionDie) DieRelease ¶
func (d *ControllerRevisionDie) DieRelease() appsv1.ControllerRevision
DieRelease returns the resource managed by the die.
func (*ControllerRevisionDie) DieReleaseJSON ¶
func (d *ControllerRevisionDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ControllerRevisionDie) DieReleasePtr ¶
func (d *ControllerRevisionDie) DieReleasePtr() *appsv1.ControllerRevision
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ControllerRevisionDie) DieReleaseRawExtension ¶
func (d *ControllerRevisionDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ControllerRevisionDie) DieReleaseUnstructured ¶
func (d *ControllerRevisionDie) DieReleaseUnstructured() *unstructured.Unstructured
DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.
func (*ControllerRevisionDie) DieReleaseYAML ¶
func (d *ControllerRevisionDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ControllerRevisionDie) DieSeal ¶ added in v0.13.0
func (d *ControllerRevisionDie) DieSeal() *ControllerRevisionDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ControllerRevisionDie) DieSealFeed ¶ added in v0.13.0
func (d *ControllerRevisionDie) DieSealFeed(r appsv1.ControllerRevision) *ControllerRevisionDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ControllerRevisionDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ControllerRevisionDie) DieSealFeedPtr(r *appsv1.ControllerRevision) *ControllerRevisionDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ControllerRevisionDie) DieSealRelease ¶ added in v0.13.0
func (d *ControllerRevisionDie) DieSealRelease() appsv1.ControllerRevision
DieSealRelease returns the sealed resource managed by the die.
func (*ControllerRevisionDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ControllerRevisionDie) DieSealReleasePtr() *appsv1.ControllerRevision
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*ControllerRevisionDie) DieStamp ¶
func (d *ControllerRevisionDie) DieStamp(fn func(r *appsv1.ControllerRevision)) *ControllerRevisionDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ControllerRevisionDie) DieStampAt ¶
func (d *ControllerRevisionDie) DieStampAt(jp string, fn interface{}) *ControllerRevisionDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ControllerRevisionDie) DieWith ¶
func (d *ControllerRevisionDie) DieWith(fns ...func(d *ControllerRevisionDie)) *ControllerRevisionDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ControllerRevisionDie) GetObjectKind ¶
func (d *ControllerRevisionDie) GetObjectKind() schema.ObjectKind
func (*ControllerRevisionDie) Kind ¶
func (d *ControllerRevisionDie) Kind(v string) *ControllerRevisionDie
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (*ControllerRevisionDie) MarshalJSON ¶
func (d *ControllerRevisionDie) MarshalJSON() ([]byte, error)
func (*ControllerRevisionDie) Metadata ¶ added in v0.13.0
func (d *ControllerRevisionDie) Metadata(v apismetav1.ObjectMeta) *ControllerRevisionDie
Metadata standard object's metadata.
func (*ControllerRevisionDie) MetadataDie ¶
func (d *ControllerRevisionDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *ControllerRevisionDie
MetadataDie stamps the resource's ObjectMeta field with a mutable die.
func (*ControllerRevisionDie) Revision ¶
func (d *ControllerRevisionDie) Revision(v int64) *ControllerRevisionDie
Revision indicates the revision of the state represented by Data.
func (*ControllerRevisionDie) TypeMetadata ¶ added in v0.13.0
func (d *ControllerRevisionDie) TypeMetadata(v apismetav1.TypeMeta) *ControllerRevisionDie
TypeMetadata standard object's type metadata.
func (*ControllerRevisionDie) TypeMetadataDie ¶ added in v0.13.0
func (d *ControllerRevisionDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *ControllerRevisionDie
TypeMetadataDie stamps the resource's TypeMeta field with a mutable die.
func (*ControllerRevisionDie) UnmarshalJSON ¶
func (d *ControllerRevisionDie) UnmarshalJSON(b []byte) error
type DaemonSetDie ¶
type DaemonSetDie struct { metav1.FrozenObjectMeta // contains filtered or unexported fields }
func (*DaemonSetDie) APIVersion ¶
func (d *DaemonSetDie) APIVersion(v string) *DaemonSetDie
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (*DaemonSetDie) DeepCopy ¶
func (d *DaemonSetDie) DeepCopy() *DaemonSetDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*DaemonSetDie) DeepCopyObject ¶
func (d *DaemonSetDie) DeepCopyObject() runtime.Object
func (*DaemonSetDie) DieDefaultTypeMetadata ¶ added in v0.13.0
func (d *DaemonSetDie) DieDefaultTypeMetadata() *DaemonSetDie
DieDefaultTypeMetadata sets the APIVersion and Kind to "apps/v1" and "DaemonSet" respectively.
func (*DaemonSetDie) DieDiff ¶ added in v0.13.0
func (d *DaemonSetDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*DaemonSetDie) DieFeed ¶
func (d *DaemonSetDie) DieFeed(r appsv1.DaemonSet) *DaemonSetDie
DieFeed returns a new die with the provided resource.
func (*DaemonSetDie) DieFeedJSON ¶
func (d *DaemonSetDie) DieFeedJSON(j []byte) *DaemonSetDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*DaemonSetDie) DieFeedPtr ¶
func (d *DaemonSetDie) DieFeedPtr(r *appsv1.DaemonSet) *DaemonSetDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*DaemonSetDie) DieFeedRawExtension ¶
func (d *DaemonSetDie) DieFeedRawExtension(raw runtime.RawExtension) *DaemonSetDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*DaemonSetDie) DieFeedYAML ¶
func (d *DaemonSetDie) DieFeedYAML(y []byte) *DaemonSetDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*DaemonSetDie) DieFeedYAMLFile ¶
func (d *DaemonSetDie) DieFeedYAMLFile(name string) *DaemonSetDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*DaemonSetDie) DieImmutable ¶
func (d *DaemonSetDie) DieImmutable(immutable bool) *DaemonSetDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*DaemonSetDie) DiePatch ¶ added in v0.13.0
func (d *DaemonSetDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*DaemonSetDie) DieRelease ¶
func (d *DaemonSetDie) DieRelease() appsv1.DaemonSet
DieRelease returns the resource managed by the die.
func (*DaemonSetDie) DieReleaseJSON ¶
func (d *DaemonSetDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*DaemonSetDie) DieReleasePtr ¶
func (d *DaemonSetDie) DieReleasePtr() *appsv1.DaemonSet
DieReleasePtr returns a pointer to the resource managed by the die.
func (*DaemonSetDie) DieReleaseRawExtension ¶
func (d *DaemonSetDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*DaemonSetDie) DieReleaseUnstructured ¶
func (d *DaemonSetDie) DieReleaseUnstructured() *unstructured.Unstructured
DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.
func (*DaemonSetDie) DieReleaseYAML ¶
func (d *DaemonSetDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*DaemonSetDie) DieSeal ¶ added in v0.13.0
func (d *DaemonSetDie) DieSeal() *DaemonSetDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*DaemonSetDie) DieSealFeed ¶ added in v0.13.0
func (d *DaemonSetDie) DieSealFeed(r appsv1.DaemonSet) *DaemonSetDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*DaemonSetDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *DaemonSetDie) DieSealFeedPtr(r *appsv1.DaemonSet) *DaemonSetDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*DaemonSetDie) DieSealRelease ¶ added in v0.13.0
func (d *DaemonSetDie) DieSealRelease() appsv1.DaemonSet
DieSealRelease returns the sealed resource managed by the die.
func (*DaemonSetDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *DaemonSetDie) DieSealReleasePtr() *appsv1.DaemonSet
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*DaemonSetDie) DieStamp ¶
func (d *DaemonSetDie) DieStamp(fn func(r *appsv1.DaemonSet)) *DaemonSetDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*DaemonSetDie) DieStampAt ¶
func (d *DaemonSetDie) DieStampAt(jp string, fn interface{}) *DaemonSetDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*DaemonSetDie) DieWith ¶
func (d *DaemonSetDie) DieWith(fns ...func(d *DaemonSetDie)) *DaemonSetDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*DaemonSetDie) GetObjectKind ¶
func (d *DaemonSetDie) GetObjectKind() schema.ObjectKind
func (*DaemonSetDie) Kind ¶
func (d *DaemonSetDie) Kind(v string) *DaemonSetDie
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (*DaemonSetDie) MarshalJSON ¶
func (d *DaemonSetDie) MarshalJSON() ([]byte, error)
func (*DaemonSetDie) Metadata ¶ added in v0.13.0
func (d *DaemonSetDie) Metadata(v apismetav1.ObjectMeta) *DaemonSetDie
Metadata standard object's metadata.
func (*DaemonSetDie) MetadataDie ¶
func (d *DaemonSetDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *DaemonSetDie
MetadataDie stamps the resource's ObjectMeta field with a mutable die.
func (*DaemonSetDie) Spec ¶
func (d *DaemonSetDie) Spec(v appsv1.DaemonSetSpec) *DaemonSetDie
The desired behavior of this daemon set.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (*DaemonSetDie) SpecDie ¶
func (d *DaemonSetDie) SpecDie(fn func(d *DaemonSetSpecDie)) *DaemonSetDie
SpecDie stamps the resource's spec field with a mutable die.
func (*DaemonSetDie) Status ¶
func (d *DaemonSetDie) Status(v appsv1.DaemonSetStatus) *DaemonSetDie
The current status of this daemon set. This data may be
out of date by some window of time.
Populated by the system.
Read-only.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (*DaemonSetDie) StatusDie ¶
func (d *DaemonSetDie) StatusDie(fn func(d *DaemonSetStatusDie)) *DaemonSetDie
StatusDie stamps the resource's status field with a mutable die.
func (*DaemonSetDie) TypeMetadata ¶ added in v0.13.0
func (d *DaemonSetDie) TypeMetadata(v apismetav1.TypeMeta) *DaemonSetDie
TypeMetadata standard object's type metadata.
func (*DaemonSetDie) TypeMetadataDie ¶ added in v0.13.0
func (d *DaemonSetDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *DaemonSetDie
TypeMetadataDie stamps the resource's TypeMeta field with a mutable die.
func (*DaemonSetDie) UnmarshalJSON ¶
func (d *DaemonSetDie) UnmarshalJSON(b []byte) error
type DaemonSetSpecDie ¶
type DaemonSetSpecDie struct {
// contains filtered or unexported fields
}
func (*DaemonSetSpecDie) DeepCopy ¶
func (d *DaemonSetSpecDie) DeepCopy() *DaemonSetSpecDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*DaemonSetSpecDie) DieDiff ¶ added in v0.13.0
func (d *DaemonSetSpecDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*DaemonSetSpecDie) DieFeed ¶
func (d *DaemonSetSpecDie) DieFeed(r appsv1.DaemonSetSpec) *DaemonSetSpecDie
DieFeed returns a new die with the provided resource.
func (*DaemonSetSpecDie) DieFeedJSON ¶
func (d *DaemonSetSpecDie) DieFeedJSON(j []byte) *DaemonSetSpecDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*DaemonSetSpecDie) DieFeedPtr ¶
func (d *DaemonSetSpecDie) DieFeedPtr(r *appsv1.DaemonSetSpec) *DaemonSetSpecDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*DaemonSetSpecDie) DieFeedRawExtension ¶
func (d *DaemonSetSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *DaemonSetSpecDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*DaemonSetSpecDie) DieFeedYAML ¶
func (d *DaemonSetSpecDie) DieFeedYAML(y []byte) *DaemonSetSpecDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*DaemonSetSpecDie) DieFeedYAMLFile ¶
func (d *DaemonSetSpecDie) DieFeedYAMLFile(name string) *DaemonSetSpecDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*DaemonSetSpecDie) DieImmutable ¶
func (d *DaemonSetSpecDie) DieImmutable(immutable bool) *DaemonSetSpecDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*DaemonSetSpecDie) DiePatch ¶ added in v0.13.0
func (d *DaemonSetSpecDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*DaemonSetSpecDie) DieRelease ¶
func (d *DaemonSetSpecDie) DieRelease() appsv1.DaemonSetSpec
DieRelease returns the resource managed by the die.
func (*DaemonSetSpecDie) DieReleaseJSON ¶
func (d *DaemonSetSpecDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*DaemonSetSpecDie) DieReleasePtr ¶
func (d *DaemonSetSpecDie) DieReleasePtr() *appsv1.DaemonSetSpec
DieReleasePtr returns a pointer to the resource managed by the die.
func (*DaemonSetSpecDie) DieReleaseRawExtension ¶
func (d *DaemonSetSpecDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*DaemonSetSpecDie) DieReleaseYAML ¶
func (d *DaemonSetSpecDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*DaemonSetSpecDie) DieSeal ¶ added in v0.13.0
func (d *DaemonSetSpecDie) DieSeal() *DaemonSetSpecDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*DaemonSetSpecDie) DieSealFeed ¶ added in v0.13.0
func (d *DaemonSetSpecDie) DieSealFeed(r appsv1.DaemonSetSpec) *DaemonSetSpecDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*DaemonSetSpecDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *DaemonSetSpecDie) DieSealFeedPtr(r *appsv1.DaemonSetSpec) *DaemonSetSpecDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*DaemonSetSpecDie) DieSealRelease ¶ added in v0.13.0
func (d *DaemonSetSpecDie) DieSealRelease() appsv1.DaemonSetSpec
DieSealRelease returns the sealed resource managed by the die.
func (*DaemonSetSpecDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *DaemonSetSpecDie) DieSealReleasePtr() *appsv1.DaemonSetSpec
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*DaemonSetSpecDie) DieStamp ¶
func (d *DaemonSetSpecDie) DieStamp(fn func(r *appsv1.DaemonSetSpec)) *DaemonSetSpecDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*DaemonSetSpecDie) DieStampAt ¶
func (d *DaemonSetSpecDie) DieStampAt(jp string, fn interface{}) *DaemonSetSpecDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*DaemonSetSpecDie) DieWith ¶
func (d *DaemonSetSpecDie) DieWith(fns ...func(d *DaemonSetSpecDie)) *DaemonSetSpecDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*DaemonSetSpecDie) MinReadySeconds ¶
func (d *DaemonSetSpecDie) MinReadySeconds(v int32) *DaemonSetSpecDie
The minimum number of seconds for which a newly created DaemonSet 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).
func (*DaemonSetSpecDie) RevisionHistoryLimit ¶
func (d *DaemonSetSpecDie) RevisionHistoryLimit(v *int32) *DaemonSetSpecDie
The number of old history to retain to allow rollback.
This is a pointer to distinguish between explicit zero and not specified.
Defaults to 10.
func (*DaemonSetSpecDie) Selector ¶
func (d *DaemonSetSpecDie) Selector(v *apismetav1.LabelSelector) *DaemonSetSpecDie
A label query over pods that are managed by the daemon set.
Must match in order to be controlled.
It must match the pod template's labels.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
func (*DaemonSetSpecDie) SelectorDie ¶
func (d *DaemonSetSpecDie) SelectorDie(fn func(d *metav1.LabelSelectorDie)) *DaemonSetSpecDie
SelectorDie mutates Selector as a die.
A label query over pods that are managed by the daemon set.
Must match in order to be controlled.
It must match the pod template's labels.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
func (*DaemonSetSpecDie) Template ¶
func (d *DaemonSetSpecDie) Template(v apicorev1.PodTemplateSpec) *DaemonSetSpecDie
An object that describes the pod that will be created.
The DaemonSet will create exactly one copy of this pod on every node ¶
that matches the template's node selector (or on every node if no node
selector is specified).
The only allowed template.spec.restartPolicy value is "Always".
More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template
func (*DaemonSetSpecDie) TemplateDie ¶
func (d *DaemonSetSpecDie) TemplateDie(fn func(d *corev1.PodTemplateSpecDie)) *DaemonSetSpecDie
TemplateDie mutates Template as a die.
An object that describes the pod that will be created.
The DaemonSet will create exactly one copy of this pod on every node ¶
that matches the template's node selector (or on every node if no node
selector is specified).
The only allowed template.spec.restartPolicy value is "Always".
More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template
func (*DaemonSetSpecDie) UpdateStrategy ¶
func (d *DaemonSetSpecDie) UpdateStrategy(v appsv1.DaemonSetUpdateStrategy) *DaemonSetSpecDie
An update strategy to replace existing DaemonSet pods with new pods.
func (*DaemonSetSpecDie) UpdateStrategyDie ¶
func (d *DaemonSetSpecDie) UpdateStrategyDie(fn func(d *DaemonSetUpdateStrategyDie)) *DaemonSetSpecDie
UpdateStrategyDie mutates UpdateStrategy as a die.
An update strategy to replace existing DaemonSet pods with new pods.
type DaemonSetStatusDie ¶
type DaemonSetStatusDie struct {
// contains filtered or unexported fields
}
func (*DaemonSetStatusDie) CollisionCount ¶
func (d *DaemonSetStatusDie) CollisionCount(v *int32) *DaemonSetStatusDie
Count of hash collisions for the DaemonSet. The DaemonSet controller
uses this field as a collision avoidance mechanism when it needs to
create the name for the newest ControllerRevision.
func (*DaemonSetStatusDie) Conditions ¶
func (d *DaemonSetStatusDie) Conditions(v ...appsv1.DaemonSetCondition) *DaemonSetStatusDie
Represents the latest available observations of a DaemonSet's current state.
func (*DaemonSetStatusDie) ConditionsDie ¶
func (d *DaemonSetStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *DaemonSetStatusDie
func (*DaemonSetStatusDie) CurrentNumberScheduled ¶
func (d *DaemonSetStatusDie) CurrentNumberScheduled(v int32) *DaemonSetStatusDie
The number of nodes that are running at least 1
daemon pod and are supposed to run the daemon pod.
More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
func (*DaemonSetStatusDie) DeepCopy ¶
func (d *DaemonSetStatusDie) DeepCopy() *DaemonSetStatusDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*DaemonSetStatusDie) DesiredNumberScheduled ¶
func (d *DaemonSetStatusDie) DesiredNumberScheduled(v int32) *DaemonSetStatusDie
The total number of nodes that should be running the daemon
pod (including nodes correctly running the daemon pod).
More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
func (*DaemonSetStatusDie) DieDiff ¶ added in v0.13.0
func (d *DaemonSetStatusDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*DaemonSetStatusDie) DieFeed ¶
func (d *DaemonSetStatusDie) DieFeed(r appsv1.DaemonSetStatus) *DaemonSetStatusDie
DieFeed returns a new die with the provided resource.
func (*DaemonSetStatusDie) DieFeedJSON ¶
func (d *DaemonSetStatusDie) DieFeedJSON(j []byte) *DaemonSetStatusDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*DaemonSetStatusDie) DieFeedPtr ¶
func (d *DaemonSetStatusDie) DieFeedPtr(r *appsv1.DaemonSetStatus) *DaemonSetStatusDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*DaemonSetStatusDie) DieFeedRawExtension ¶
func (d *DaemonSetStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *DaemonSetStatusDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*DaemonSetStatusDie) DieFeedYAML ¶
func (d *DaemonSetStatusDie) DieFeedYAML(y []byte) *DaemonSetStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*DaemonSetStatusDie) DieFeedYAMLFile ¶
func (d *DaemonSetStatusDie) DieFeedYAMLFile(name string) *DaemonSetStatusDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*DaemonSetStatusDie) DieImmutable ¶
func (d *DaemonSetStatusDie) DieImmutable(immutable bool) *DaemonSetStatusDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*DaemonSetStatusDie) DiePatch ¶ added in v0.13.0
func (d *DaemonSetStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*DaemonSetStatusDie) DieRelease ¶
func (d *DaemonSetStatusDie) DieRelease() appsv1.DaemonSetStatus
DieRelease returns the resource managed by the die.
func (*DaemonSetStatusDie) DieReleaseJSON ¶
func (d *DaemonSetStatusDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*DaemonSetStatusDie) DieReleasePtr ¶
func (d *DaemonSetStatusDie) DieReleasePtr() *appsv1.DaemonSetStatus
DieReleasePtr returns a pointer to the resource managed by the die.
func (*DaemonSetStatusDie) DieReleaseRawExtension ¶
func (d *DaemonSetStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*DaemonSetStatusDie) DieReleaseYAML ¶
func (d *DaemonSetStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*DaemonSetStatusDie) DieSeal ¶ added in v0.13.0
func (d *DaemonSetStatusDie) DieSeal() *DaemonSetStatusDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*DaemonSetStatusDie) DieSealFeed ¶ added in v0.13.0
func (d *DaemonSetStatusDie) DieSealFeed(r appsv1.DaemonSetStatus) *DaemonSetStatusDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*DaemonSetStatusDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *DaemonSetStatusDie) DieSealFeedPtr(r *appsv1.DaemonSetStatus) *DaemonSetStatusDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*DaemonSetStatusDie) DieSealRelease ¶ added in v0.13.0
func (d *DaemonSetStatusDie) DieSealRelease() appsv1.DaemonSetStatus
DieSealRelease returns the sealed resource managed by the die.
func (*DaemonSetStatusDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *DaemonSetStatusDie) DieSealReleasePtr() *appsv1.DaemonSetStatus
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*DaemonSetStatusDie) DieStamp ¶
func (d *DaemonSetStatusDie) DieStamp(fn func(r *appsv1.DaemonSetStatus)) *DaemonSetStatusDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*DaemonSetStatusDie) DieStampAt ¶
func (d *DaemonSetStatusDie) DieStampAt(jp string, fn interface{}) *DaemonSetStatusDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*DaemonSetStatusDie) DieWith ¶
func (d *DaemonSetStatusDie) DieWith(fns ...func(d *DaemonSetStatusDie)) *DaemonSetStatusDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*DaemonSetStatusDie) NumberAvailable ¶
func (d *DaemonSetStatusDie) NumberAvailable(v int32) *DaemonSetStatusDie
The number of nodes that should be running the
daemon pod and have one or more of the daemon pod running and
available (ready for at least spec.minReadySeconds)
func (*DaemonSetStatusDie) NumberMisscheduled ¶
func (d *DaemonSetStatusDie) NumberMisscheduled(v int32) *DaemonSetStatusDie
The number of nodes that are running the daemon pod, but are
not supposed to run the daemon pod.
More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
func (*DaemonSetStatusDie) NumberReady ¶
func (d *DaemonSetStatusDie) NumberReady(v int32) *DaemonSetStatusDie
numberReady is the number of nodes that should be running the daemon pod and have one
or more of the daemon pod running with a Ready Condition.
func (*DaemonSetStatusDie) NumberUnavailable ¶
func (d *DaemonSetStatusDie) NumberUnavailable(v int32) *DaemonSetStatusDie
The number of nodes that should be running the
daemon pod and have none of the daemon pod running and available
(ready for at least spec.minReadySeconds)
func (*DaemonSetStatusDie) ObservedGeneration ¶
func (d *DaemonSetStatusDie) ObservedGeneration(v int64) *DaemonSetStatusDie
The most recent generation observed by the daemon set controller.
func (*DaemonSetStatusDie) UpdatedNumberScheduled ¶
func (d *DaemonSetStatusDie) UpdatedNumberScheduled(v int32) *DaemonSetStatusDie
The total number of nodes that are running updated daemon pod
type DaemonSetUpdateStrategyDie ¶
type DaemonSetUpdateStrategyDie struct {
// contains filtered or unexported fields
}
func (*DaemonSetUpdateStrategyDie) DeepCopy ¶
func (d *DaemonSetUpdateStrategyDie) DeepCopy() *DaemonSetUpdateStrategyDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*DaemonSetUpdateStrategyDie) DieDiff ¶ added in v0.13.0
func (d *DaemonSetUpdateStrategyDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*DaemonSetUpdateStrategyDie) DieFeed ¶
func (d *DaemonSetUpdateStrategyDie) DieFeed(r appsv1.DaemonSetUpdateStrategy) *DaemonSetUpdateStrategyDie
DieFeed returns a new die with the provided resource.
func (*DaemonSetUpdateStrategyDie) DieFeedJSON ¶
func (d *DaemonSetUpdateStrategyDie) DieFeedJSON(j []byte) *DaemonSetUpdateStrategyDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*DaemonSetUpdateStrategyDie) DieFeedPtr ¶
func (d *DaemonSetUpdateStrategyDie) DieFeedPtr(r *appsv1.DaemonSetUpdateStrategy) *DaemonSetUpdateStrategyDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*DaemonSetUpdateStrategyDie) DieFeedRawExtension ¶
func (d *DaemonSetUpdateStrategyDie) DieFeedRawExtension(raw runtime.RawExtension) *DaemonSetUpdateStrategyDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*DaemonSetUpdateStrategyDie) DieFeedYAML ¶
func (d *DaemonSetUpdateStrategyDie) DieFeedYAML(y []byte) *DaemonSetUpdateStrategyDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*DaemonSetUpdateStrategyDie) DieFeedYAMLFile ¶
func (d *DaemonSetUpdateStrategyDie) DieFeedYAMLFile(name string) *DaemonSetUpdateStrategyDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*DaemonSetUpdateStrategyDie) DieImmutable ¶
func (d *DaemonSetUpdateStrategyDie) DieImmutable(immutable bool) *DaemonSetUpdateStrategyDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*DaemonSetUpdateStrategyDie) DiePatch ¶ added in v0.13.0
func (d *DaemonSetUpdateStrategyDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*DaemonSetUpdateStrategyDie) DieRelease ¶
func (d *DaemonSetUpdateStrategyDie) DieRelease() appsv1.DaemonSetUpdateStrategy
DieRelease returns the resource managed by the die.
func (*DaemonSetUpdateStrategyDie) DieReleaseJSON ¶
func (d *DaemonSetUpdateStrategyDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*DaemonSetUpdateStrategyDie) DieReleasePtr ¶
func (d *DaemonSetUpdateStrategyDie) DieReleasePtr() *appsv1.DaemonSetUpdateStrategy
DieReleasePtr returns a pointer to the resource managed by the die.
func (*DaemonSetUpdateStrategyDie) DieReleaseRawExtension ¶
func (d *DaemonSetUpdateStrategyDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*DaemonSetUpdateStrategyDie) DieReleaseYAML ¶
func (d *DaemonSetUpdateStrategyDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*DaemonSetUpdateStrategyDie) DieSeal ¶ added in v0.13.0
func (d *DaemonSetUpdateStrategyDie) DieSeal() *DaemonSetUpdateStrategyDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*DaemonSetUpdateStrategyDie) DieSealFeed ¶ added in v0.13.0
func (d *DaemonSetUpdateStrategyDie) DieSealFeed(r appsv1.DaemonSetUpdateStrategy) *DaemonSetUpdateStrategyDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*DaemonSetUpdateStrategyDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *DaemonSetUpdateStrategyDie) DieSealFeedPtr(r *appsv1.DaemonSetUpdateStrategy) *DaemonSetUpdateStrategyDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*DaemonSetUpdateStrategyDie) DieSealRelease ¶ added in v0.13.0
func (d *DaemonSetUpdateStrategyDie) DieSealRelease() appsv1.DaemonSetUpdateStrategy
DieSealRelease returns the sealed resource managed by the die.
func (*DaemonSetUpdateStrategyDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *DaemonSetUpdateStrategyDie) DieSealReleasePtr() *appsv1.DaemonSetUpdateStrategy
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*DaemonSetUpdateStrategyDie) DieStamp ¶
func (d *DaemonSetUpdateStrategyDie) DieStamp(fn func(r *appsv1.DaemonSetUpdateStrategy)) *DaemonSetUpdateStrategyDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*DaemonSetUpdateStrategyDie) DieStampAt ¶
func (d *DaemonSetUpdateStrategyDie) DieStampAt(jp string, fn interface{}) *DaemonSetUpdateStrategyDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*DaemonSetUpdateStrategyDie) DieWith ¶
func (d *DaemonSetUpdateStrategyDie) DieWith(fns ...func(d *DaemonSetUpdateStrategyDie)) *DaemonSetUpdateStrategyDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*DaemonSetUpdateStrategyDie) OnDelete ¶
func (d *DaemonSetUpdateStrategyDie) OnDelete() *DaemonSetUpdateStrategyDie
func (*DaemonSetUpdateStrategyDie) RollingUpdate ¶
func (d *DaemonSetUpdateStrategyDie) RollingUpdate(v *appsv1.RollingUpdateDaemonSet) *DaemonSetUpdateStrategyDie
Rolling update config params. Present only if type = "RollingUpdate".
---
TODO: Update this to follow our convention for oneOf, whatever we decide it
to be. Same as Deployment `strategy.rollingUpdate`.
func (*DaemonSetUpdateStrategyDie) RollingUpdateDie ¶
func (d *DaemonSetUpdateStrategyDie) RollingUpdateDie(fn func(d *RollingUpdateDaemonSetDie)) *DaemonSetUpdateStrategyDie
func (*DaemonSetUpdateStrategyDie) Type ¶
func (d *DaemonSetUpdateStrategyDie) Type(v appsv1.DaemonSetUpdateStrategyType) *DaemonSetUpdateStrategyDie
Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is RollingUpdate.
type DeploymentDie ¶
type DeploymentDie struct { metav1.FrozenObjectMeta // contains filtered or unexported fields }
func (*DeploymentDie) APIVersion ¶
func (d *DeploymentDie) APIVersion(v string) *DeploymentDie
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (*DeploymentDie) DeepCopy ¶
func (d *DeploymentDie) DeepCopy() *DeploymentDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*DeploymentDie) DeepCopyObject ¶
func (d *DeploymentDie) DeepCopyObject() runtime.Object
func (*DeploymentDie) DieDefaultTypeMetadata ¶ added in v0.13.0
func (d *DeploymentDie) DieDefaultTypeMetadata() *DeploymentDie
DieDefaultTypeMetadata sets the APIVersion and Kind to "apps/v1" and "Deployment" respectively.
func (*DeploymentDie) DieDiff ¶ added in v0.13.0
func (d *DeploymentDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*DeploymentDie) DieFeed ¶
func (d *DeploymentDie) DieFeed(r appsv1.Deployment) *DeploymentDie
DieFeed returns a new die with the provided resource.
func (*DeploymentDie) DieFeedJSON ¶
func (d *DeploymentDie) DieFeedJSON(j []byte) *DeploymentDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*DeploymentDie) DieFeedPtr ¶
func (d *DeploymentDie) DieFeedPtr(r *appsv1.Deployment) *DeploymentDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*DeploymentDie) DieFeedRawExtension ¶
func (d *DeploymentDie) DieFeedRawExtension(raw runtime.RawExtension) *DeploymentDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*DeploymentDie) DieFeedYAML ¶
func (d *DeploymentDie) DieFeedYAML(y []byte) *DeploymentDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*DeploymentDie) DieFeedYAMLFile ¶
func (d *DeploymentDie) DieFeedYAMLFile(name string) *DeploymentDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*DeploymentDie) DieImmutable ¶
func (d *DeploymentDie) DieImmutable(immutable bool) *DeploymentDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*DeploymentDie) DiePatch ¶ added in v0.13.0
func (d *DeploymentDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*DeploymentDie) DieRelease ¶
func (d *DeploymentDie) DieRelease() appsv1.Deployment
DieRelease returns the resource managed by the die.
func (*DeploymentDie) DieReleaseJSON ¶
func (d *DeploymentDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*DeploymentDie) DieReleasePtr ¶
func (d *DeploymentDie) DieReleasePtr() *appsv1.Deployment
DieReleasePtr returns a pointer to the resource managed by the die.
func (*DeploymentDie) DieReleaseRawExtension ¶
func (d *DeploymentDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*DeploymentDie) DieReleaseUnstructured ¶
func (d *DeploymentDie) DieReleaseUnstructured() *unstructured.Unstructured
DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.
func (*DeploymentDie) DieReleaseYAML ¶
func (d *DeploymentDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*DeploymentDie) DieSeal ¶ added in v0.13.0
func (d *DeploymentDie) DieSeal() *DeploymentDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*DeploymentDie) DieSealFeed ¶ added in v0.13.0
func (d *DeploymentDie) DieSealFeed(r appsv1.Deployment) *DeploymentDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*DeploymentDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *DeploymentDie) DieSealFeedPtr(r *appsv1.Deployment) *DeploymentDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*DeploymentDie) DieSealRelease ¶ added in v0.13.0
func (d *DeploymentDie) DieSealRelease() appsv1.Deployment
DieSealRelease returns the sealed resource managed by the die.
func (*DeploymentDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *DeploymentDie) DieSealReleasePtr() *appsv1.Deployment
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*DeploymentDie) DieStamp ¶
func (d *DeploymentDie) DieStamp(fn func(r *appsv1.Deployment)) *DeploymentDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*DeploymentDie) DieStampAt ¶
func (d *DeploymentDie) DieStampAt(jp string, fn interface{}) *DeploymentDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*DeploymentDie) DieWith ¶
func (d *DeploymentDie) DieWith(fns ...func(d *DeploymentDie)) *DeploymentDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*DeploymentDie) GetObjectKind ¶
func (d *DeploymentDie) GetObjectKind() schema.ObjectKind
func (*DeploymentDie) Kind ¶
func (d *DeploymentDie) Kind(v string) *DeploymentDie
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (*DeploymentDie) MarshalJSON ¶
func (d *DeploymentDie) MarshalJSON() ([]byte, error)
func (*DeploymentDie) Metadata ¶ added in v0.13.0
func (d *DeploymentDie) Metadata(v apismetav1.ObjectMeta) *DeploymentDie
Metadata standard object's metadata.
func (*DeploymentDie) MetadataDie ¶
func (d *DeploymentDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *DeploymentDie
MetadataDie stamps the resource's ObjectMeta field with a mutable die.
func (*DeploymentDie) Spec ¶
func (d *DeploymentDie) Spec(v appsv1.DeploymentSpec) *DeploymentDie
Specification of the desired behavior of the Deployment.
func (*DeploymentDie) SpecDie ¶
func (d *DeploymentDie) SpecDie(fn func(d *DeploymentSpecDie)) *DeploymentDie
SpecDie stamps the resource's spec field with a mutable die.
func (*DeploymentDie) Status ¶
func (d *DeploymentDie) Status(v appsv1.DeploymentStatus) *DeploymentDie
Most recently observed status of the Deployment.
func (*DeploymentDie) StatusDie ¶
func (d *DeploymentDie) StatusDie(fn func(d *DeploymentStatusDie)) *DeploymentDie
StatusDie stamps the resource's status field with a mutable die.
func (*DeploymentDie) TypeMetadata ¶ added in v0.13.0
func (d *DeploymentDie) TypeMetadata(v apismetav1.TypeMeta) *DeploymentDie
TypeMetadata standard object's type metadata.
func (*DeploymentDie) TypeMetadataDie ¶ added in v0.13.0
func (d *DeploymentDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *DeploymentDie
TypeMetadataDie stamps the resource's TypeMeta field with a mutable die.
func (*DeploymentDie) UnmarshalJSON ¶
func (d *DeploymentDie) UnmarshalJSON(b []byte) error
type DeploymentSpecDie ¶
type DeploymentSpecDie struct {
// contains filtered or unexported fields
}
func (*DeploymentSpecDie) DeepCopy ¶
func (d *DeploymentSpecDie) DeepCopy() *DeploymentSpecDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*DeploymentSpecDie) DieDiff ¶ added in v0.13.0
func (d *DeploymentSpecDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*DeploymentSpecDie) DieFeed ¶
func (d *DeploymentSpecDie) DieFeed(r appsv1.DeploymentSpec) *DeploymentSpecDie
DieFeed returns a new die with the provided resource.
func (*DeploymentSpecDie) DieFeedJSON ¶
func (d *DeploymentSpecDie) DieFeedJSON(j []byte) *DeploymentSpecDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*DeploymentSpecDie) DieFeedPtr ¶
func (d *DeploymentSpecDie) DieFeedPtr(r *appsv1.DeploymentSpec) *DeploymentSpecDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*DeploymentSpecDie) DieFeedRawExtension ¶
func (d *DeploymentSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *DeploymentSpecDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*DeploymentSpecDie) DieFeedYAML ¶
func (d *DeploymentSpecDie) DieFeedYAML(y []byte) *DeploymentSpecDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*DeploymentSpecDie) DieFeedYAMLFile ¶
func (d *DeploymentSpecDie) DieFeedYAMLFile(name string) *DeploymentSpecDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*DeploymentSpecDie) DieImmutable ¶
func (d *DeploymentSpecDie) DieImmutable(immutable bool) *DeploymentSpecDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*DeploymentSpecDie) DiePatch ¶ added in v0.13.0
func (d *DeploymentSpecDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*DeploymentSpecDie) DieRelease ¶
func (d *DeploymentSpecDie) DieRelease() appsv1.DeploymentSpec
DieRelease returns the resource managed by the die.
func (*DeploymentSpecDie) DieReleaseJSON ¶
func (d *DeploymentSpecDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*DeploymentSpecDie) DieReleasePtr ¶
func (d *DeploymentSpecDie) DieReleasePtr() *appsv1.DeploymentSpec
DieReleasePtr returns a pointer to the resource managed by the die.
func (*DeploymentSpecDie) DieReleaseRawExtension ¶
func (d *DeploymentSpecDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*DeploymentSpecDie) DieReleaseYAML ¶
func (d *DeploymentSpecDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*DeploymentSpecDie) DieSeal ¶ added in v0.13.0
func (d *DeploymentSpecDie) DieSeal() *DeploymentSpecDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*DeploymentSpecDie) DieSealFeed ¶ added in v0.13.0
func (d *DeploymentSpecDie) DieSealFeed(r appsv1.DeploymentSpec) *DeploymentSpecDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*DeploymentSpecDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *DeploymentSpecDie) DieSealFeedPtr(r *appsv1.DeploymentSpec) *DeploymentSpecDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*DeploymentSpecDie) DieSealRelease ¶ added in v0.13.0
func (d *DeploymentSpecDie) DieSealRelease() appsv1.DeploymentSpec
DieSealRelease returns the sealed resource managed by the die.
func (*DeploymentSpecDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *DeploymentSpecDie) DieSealReleasePtr() *appsv1.DeploymentSpec
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*DeploymentSpecDie) DieStamp ¶
func (d *DeploymentSpecDie) DieStamp(fn func(r *appsv1.DeploymentSpec)) *DeploymentSpecDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*DeploymentSpecDie) DieStampAt ¶
func (d *DeploymentSpecDie) DieStampAt(jp string, fn interface{}) *DeploymentSpecDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*DeploymentSpecDie) DieWith ¶
func (d *DeploymentSpecDie) DieWith(fns ...func(d *DeploymentSpecDie)) *DeploymentSpecDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*DeploymentSpecDie) MinReadySeconds ¶
func (d *DeploymentSpecDie) MinReadySeconds(v int32) *DeploymentSpecDie
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)
func (*DeploymentSpecDie) Paused ¶
func (d *DeploymentSpecDie) Paused(v bool) *DeploymentSpecDie
Indicates that the deployment is paused.
func (*DeploymentSpecDie) ProgressDeadlineSeconds ¶
func (d *DeploymentSpecDie) ProgressDeadlineSeconds(v *int32) *DeploymentSpecDie
The maximum time in seconds for a deployment to make progress before it
is considered to be failed. The deployment controller will continue to
process failed deployments and a condition with a ProgressDeadlineExceeded
reason will be surfaced in the deployment status. Note that progress will
not be estimated during the time a deployment is paused. Defaults to 600s.
func (*DeploymentSpecDie) Replicas ¶
func (d *DeploymentSpecDie) Replicas(v *int32) *DeploymentSpecDie
Number of desired pods. This is a pointer to distinguish between explicit
zero and not specified. Defaults to 1.
func (*DeploymentSpecDie) RevisionHistoryLimit ¶
func (d *DeploymentSpecDie) RevisionHistoryLimit(v *int32) *DeploymentSpecDie
The number of old ReplicaSets to retain to allow rollback.
This is a pointer to distinguish between explicit zero and not specified.
Defaults to 10.
func (*DeploymentSpecDie) Selector ¶
func (d *DeploymentSpecDie) Selector(v *apismetav1.LabelSelector) *DeploymentSpecDie
Label selector for pods. Existing ReplicaSets whose pods are
selected by this will be the ones affected by this deployment.
It must match the pod template's labels.
func (*DeploymentSpecDie) SelectorDie ¶
func (d *DeploymentSpecDie) SelectorDie(fn func(d *metav1.LabelSelectorDie)) *DeploymentSpecDie
SelectorDie mutates Selector as a die.
Label selector for pods. Existing ReplicaSets whose pods are
selected by this will be the ones affected by this deployment.
It must match the pod template's labels.
func (*DeploymentSpecDie) Strategy ¶
func (d *DeploymentSpecDie) Strategy(v appsv1.DeploymentStrategy) *DeploymentSpecDie
The deployment strategy to use to replace existing pods with new ones.
func (*DeploymentSpecDie) StrategyDie ¶
func (d *DeploymentSpecDie) StrategyDie(fn func(d *DeploymentStrategyDie)) *DeploymentSpecDie
StrategyDie mutates Strategy as a die.
The deployment strategy to use to replace existing pods with new ones.
func (*DeploymentSpecDie) Template ¶
func (d *DeploymentSpecDie) Template(v apicorev1.PodTemplateSpec) *DeploymentSpecDie
Template describes the pods that will be created.
The only allowed template.spec.restartPolicy value is "Always".
func (*DeploymentSpecDie) TemplateDie ¶
func (d *DeploymentSpecDie) TemplateDie(fn func(d *corev1.PodTemplateSpecDie)) *DeploymentSpecDie
TemplateDie mutates Template as a die.
Template describes the pods that will be created.
The only allowed template.spec.restartPolicy value is "Always".
type DeploymentStatusDie ¶
type DeploymentStatusDie struct {
// contains filtered or unexported fields
}
func (*DeploymentStatusDie) AvailableReplicas ¶
func (d *DeploymentStatusDie) AvailableReplicas(v int32) *DeploymentStatusDie
Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
func (*DeploymentStatusDie) CollisionCount ¶
func (d *DeploymentStatusDie) CollisionCount(v *int32) *DeploymentStatusDie
Count of hash collisions for the Deployment. The Deployment controller uses this
field as a collision avoidance mechanism when it needs to create the name for the
newest ReplicaSet.
func (*DeploymentStatusDie) Conditions ¶
func (d *DeploymentStatusDie) Conditions(v ...appsv1.DeploymentCondition) *DeploymentStatusDie
Represents the latest available observations of a deployment's current state.
func (*DeploymentStatusDie) ConditionsDie ¶
func (d *DeploymentStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *DeploymentStatusDie
func (*DeploymentStatusDie) DeepCopy ¶
func (d *DeploymentStatusDie) DeepCopy() *DeploymentStatusDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*DeploymentStatusDie) DieDiff ¶ added in v0.13.0
func (d *DeploymentStatusDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*DeploymentStatusDie) DieFeed ¶
func (d *DeploymentStatusDie) DieFeed(r appsv1.DeploymentStatus) *DeploymentStatusDie
DieFeed returns a new die with the provided resource.
func (*DeploymentStatusDie) DieFeedJSON ¶
func (d *DeploymentStatusDie) DieFeedJSON(j []byte) *DeploymentStatusDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*DeploymentStatusDie) DieFeedPtr ¶
func (d *DeploymentStatusDie) DieFeedPtr(r *appsv1.DeploymentStatus) *DeploymentStatusDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*DeploymentStatusDie) DieFeedRawExtension ¶
func (d *DeploymentStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *DeploymentStatusDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*DeploymentStatusDie) DieFeedYAML ¶
func (d *DeploymentStatusDie) DieFeedYAML(y []byte) *DeploymentStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*DeploymentStatusDie) DieFeedYAMLFile ¶
func (d *DeploymentStatusDie) DieFeedYAMLFile(name string) *DeploymentStatusDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*DeploymentStatusDie) DieImmutable ¶
func (d *DeploymentStatusDie) DieImmutable(immutable bool) *DeploymentStatusDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*DeploymentStatusDie) DiePatch ¶ added in v0.13.0
func (d *DeploymentStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*DeploymentStatusDie) DieRelease ¶
func (d *DeploymentStatusDie) DieRelease() appsv1.DeploymentStatus
DieRelease returns the resource managed by the die.
func (*DeploymentStatusDie) DieReleaseJSON ¶
func (d *DeploymentStatusDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*DeploymentStatusDie) DieReleasePtr ¶
func (d *DeploymentStatusDie) DieReleasePtr() *appsv1.DeploymentStatus
DieReleasePtr returns a pointer to the resource managed by the die.
func (*DeploymentStatusDie) DieReleaseRawExtension ¶
func (d *DeploymentStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*DeploymentStatusDie) DieReleaseYAML ¶
func (d *DeploymentStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*DeploymentStatusDie) DieSeal ¶ added in v0.13.0
func (d *DeploymentStatusDie) DieSeal() *DeploymentStatusDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*DeploymentStatusDie) DieSealFeed ¶ added in v0.13.0
func (d *DeploymentStatusDie) DieSealFeed(r appsv1.DeploymentStatus) *DeploymentStatusDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*DeploymentStatusDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *DeploymentStatusDie) DieSealFeedPtr(r *appsv1.DeploymentStatus) *DeploymentStatusDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*DeploymentStatusDie) DieSealRelease ¶ added in v0.13.0
func (d *DeploymentStatusDie) DieSealRelease() appsv1.DeploymentStatus
DieSealRelease returns the sealed resource managed by the die.
func (*DeploymentStatusDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *DeploymentStatusDie) DieSealReleasePtr() *appsv1.DeploymentStatus
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*DeploymentStatusDie) DieStamp ¶
func (d *DeploymentStatusDie) DieStamp(fn func(r *appsv1.DeploymentStatus)) *DeploymentStatusDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*DeploymentStatusDie) DieStampAt ¶
func (d *DeploymentStatusDie) DieStampAt(jp string, fn interface{}) *DeploymentStatusDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*DeploymentStatusDie) DieWith ¶
func (d *DeploymentStatusDie) DieWith(fns ...func(d *DeploymentStatusDie)) *DeploymentStatusDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*DeploymentStatusDie) ObservedGeneration ¶
func (d *DeploymentStatusDie) ObservedGeneration(v int64) *DeploymentStatusDie
The generation observed by the deployment controller.
func (*DeploymentStatusDie) ReadyReplicas ¶
func (d *DeploymentStatusDie) ReadyReplicas(v int32) *DeploymentStatusDie
readyReplicas is the number of pods targeted by this Deployment with a Ready Condition.
func (*DeploymentStatusDie) Replicas ¶
func (d *DeploymentStatusDie) Replicas(v int32) *DeploymentStatusDie
Total number of non-terminated pods targeted by this deployment (their labels match the selector).
func (*DeploymentStatusDie) UnavailableReplicas ¶
func (d *DeploymentStatusDie) UnavailableReplicas(v int32) *DeploymentStatusDie
Total number of unavailable pods targeted by this deployment. This is the total number of
pods that are still required for the deployment to have 100% available capacity. They may
either be pods that are running but not yet available or pods that still have not been created.
func (*DeploymentStatusDie) UpdatedReplicas ¶
func (d *DeploymentStatusDie) UpdatedReplicas(v int32) *DeploymentStatusDie
Total number of non-terminated pods targeted by this deployment that have the desired template spec.
type DeploymentStrategyDie ¶
type DeploymentStrategyDie struct {
// contains filtered or unexported fields
}
func (*DeploymentStrategyDie) DeepCopy ¶
func (d *DeploymentStrategyDie) DeepCopy() *DeploymentStrategyDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*DeploymentStrategyDie) DieDiff ¶ added in v0.13.0
func (d *DeploymentStrategyDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*DeploymentStrategyDie) DieFeed ¶
func (d *DeploymentStrategyDie) DieFeed(r appsv1.DeploymentStrategy) *DeploymentStrategyDie
DieFeed returns a new die with the provided resource.
func (*DeploymentStrategyDie) DieFeedJSON ¶
func (d *DeploymentStrategyDie) DieFeedJSON(j []byte) *DeploymentStrategyDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*DeploymentStrategyDie) DieFeedPtr ¶
func (d *DeploymentStrategyDie) DieFeedPtr(r *appsv1.DeploymentStrategy) *DeploymentStrategyDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*DeploymentStrategyDie) DieFeedRawExtension ¶
func (d *DeploymentStrategyDie) DieFeedRawExtension(raw runtime.RawExtension) *DeploymentStrategyDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*DeploymentStrategyDie) DieFeedYAML ¶
func (d *DeploymentStrategyDie) DieFeedYAML(y []byte) *DeploymentStrategyDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*DeploymentStrategyDie) DieFeedYAMLFile ¶
func (d *DeploymentStrategyDie) DieFeedYAMLFile(name string) *DeploymentStrategyDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*DeploymentStrategyDie) DieImmutable ¶
func (d *DeploymentStrategyDie) DieImmutable(immutable bool) *DeploymentStrategyDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*DeploymentStrategyDie) DiePatch ¶ added in v0.13.0
func (d *DeploymentStrategyDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*DeploymentStrategyDie) DieRelease ¶
func (d *DeploymentStrategyDie) DieRelease() appsv1.DeploymentStrategy
DieRelease returns the resource managed by the die.
func (*DeploymentStrategyDie) DieReleaseJSON ¶
func (d *DeploymentStrategyDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*DeploymentStrategyDie) DieReleasePtr ¶
func (d *DeploymentStrategyDie) DieReleasePtr() *appsv1.DeploymentStrategy
DieReleasePtr returns a pointer to the resource managed by the die.
func (*DeploymentStrategyDie) DieReleaseRawExtension ¶
func (d *DeploymentStrategyDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*DeploymentStrategyDie) DieReleaseYAML ¶
func (d *DeploymentStrategyDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*DeploymentStrategyDie) DieSeal ¶ added in v0.13.0
func (d *DeploymentStrategyDie) DieSeal() *DeploymentStrategyDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*DeploymentStrategyDie) DieSealFeed ¶ added in v0.13.0
func (d *DeploymentStrategyDie) DieSealFeed(r appsv1.DeploymentStrategy) *DeploymentStrategyDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*DeploymentStrategyDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *DeploymentStrategyDie) DieSealFeedPtr(r *appsv1.DeploymentStrategy) *DeploymentStrategyDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*DeploymentStrategyDie) DieSealRelease ¶ added in v0.13.0
func (d *DeploymentStrategyDie) DieSealRelease() appsv1.DeploymentStrategy
DieSealRelease returns the sealed resource managed by the die.
func (*DeploymentStrategyDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *DeploymentStrategyDie) DieSealReleasePtr() *appsv1.DeploymentStrategy
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*DeploymentStrategyDie) DieStamp ¶
func (d *DeploymentStrategyDie) DieStamp(fn func(r *appsv1.DeploymentStrategy)) *DeploymentStrategyDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*DeploymentStrategyDie) DieStampAt ¶
func (d *DeploymentStrategyDie) DieStampAt(jp string, fn interface{}) *DeploymentStrategyDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*DeploymentStrategyDie) DieWith ¶
func (d *DeploymentStrategyDie) DieWith(fns ...func(d *DeploymentStrategyDie)) *DeploymentStrategyDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*DeploymentStrategyDie) Recreate ¶
func (d *DeploymentStrategyDie) Recreate() *DeploymentStrategyDie
func (*DeploymentStrategyDie) RollingUpdate ¶
func (d *DeploymentStrategyDie) RollingUpdate(v *appsv1.RollingUpdateDeployment) *DeploymentStrategyDie
Rolling update config params. Present only if DeploymentStrategyType =
RollingUpdate.
---
TODO: Update this to follow our convention for oneOf, whatever we decide it
to be.
func (*DeploymentStrategyDie) RollingUpdateDie ¶
func (d *DeploymentStrategyDie) RollingUpdateDie(fn func(d *RollingUpdateDeploymentDie)) *DeploymentStrategyDie
func (*DeploymentStrategyDie) Type ¶
func (d *DeploymentStrategyDie) Type(v appsv1.DeploymentStrategyType) *DeploymentStrategyDie
Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
type ReplicaSetDie ¶
type ReplicaSetDie struct { metav1.FrozenObjectMeta // contains filtered or unexported fields }
func (*ReplicaSetDie) APIVersion ¶
func (d *ReplicaSetDie) APIVersion(v string) *ReplicaSetDie
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (*ReplicaSetDie) DeepCopy ¶
func (d *ReplicaSetDie) DeepCopy() *ReplicaSetDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ReplicaSetDie) DeepCopyObject ¶
func (d *ReplicaSetDie) DeepCopyObject() runtime.Object
func (*ReplicaSetDie) DieDefaultTypeMetadata ¶ added in v0.13.0
func (d *ReplicaSetDie) DieDefaultTypeMetadata() *ReplicaSetDie
DieDefaultTypeMetadata sets the APIVersion and Kind to "apps/v1" and "ReplicaSet" respectively.
func (*ReplicaSetDie) DieDiff ¶ added in v0.13.0
func (d *ReplicaSetDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ReplicaSetDie) DieFeed ¶
func (d *ReplicaSetDie) DieFeed(r appsv1.ReplicaSet) *ReplicaSetDie
DieFeed returns a new die with the provided resource.
func (*ReplicaSetDie) DieFeedJSON ¶
func (d *ReplicaSetDie) DieFeedJSON(j []byte) *ReplicaSetDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ReplicaSetDie) DieFeedPtr ¶
func (d *ReplicaSetDie) DieFeedPtr(r *appsv1.ReplicaSet) *ReplicaSetDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ReplicaSetDie) DieFeedRawExtension ¶
func (d *ReplicaSetDie) DieFeedRawExtension(raw runtime.RawExtension) *ReplicaSetDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ReplicaSetDie) DieFeedYAML ¶
func (d *ReplicaSetDie) DieFeedYAML(y []byte) *ReplicaSetDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ReplicaSetDie) DieFeedYAMLFile ¶
func (d *ReplicaSetDie) DieFeedYAMLFile(name string) *ReplicaSetDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ReplicaSetDie) DieImmutable ¶
func (d *ReplicaSetDie) DieImmutable(immutable bool) *ReplicaSetDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ReplicaSetDie) DiePatch ¶ added in v0.13.0
func (d *ReplicaSetDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ReplicaSetDie) DieRelease ¶
func (d *ReplicaSetDie) DieRelease() appsv1.ReplicaSet
DieRelease returns the resource managed by the die.
func (*ReplicaSetDie) DieReleaseJSON ¶
func (d *ReplicaSetDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ReplicaSetDie) DieReleasePtr ¶
func (d *ReplicaSetDie) DieReleasePtr() *appsv1.ReplicaSet
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ReplicaSetDie) DieReleaseRawExtension ¶
func (d *ReplicaSetDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ReplicaSetDie) DieReleaseUnstructured ¶
func (d *ReplicaSetDie) DieReleaseUnstructured() *unstructured.Unstructured
DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.
func (*ReplicaSetDie) DieReleaseYAML ¶
func (d *ReplicaSetDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ReplicaSetDie) DieSeal ¶ added in v0.13.0
func (d *ReplicaSetDie) DieSeal() *ReplicaSetDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ReplicaSetDie) DieSealFeed ¶ added in v0.13.0
func (d *ReplicaSetDie) DieSealFeed(r appsv1.ReplicaSet) *ReplicaSetDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ReplicaSetDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ReplicaSetDie) DieSealFeedPtr(r *appsv1.ReplicaSet) *ReplicaSetDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ReplicaSetDie) DieSealRelease ¶ added in v0.13.0
func (d *ReplicaSetDie) DieSealRelease() appsv1.ReplicaSet
DieSealRelease returns the sealed resource managed by the die.
func (*ReplicaSetDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ReplicaSetDie) DieSealReleasePtr() *appsv1.ReplicaSet
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*ReplicaSetDie) DieStamp ¶
func (d *ReplicaSetDie) DieStamp(fn func(r *appsv1.ReplicaSet)) *ReplicaSetDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ReplicaSetDie) DieStampAt ¶
func (d *ReplicaSetDie) DieStampAt(jp string, fn interface{}) *ReplicaSetDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ReplicaSetDie) DieWith ¶
func (d *ReplicaSetDie) DieWith(fns ...func(d *ReplicaSetDie)) *ReplicaSetDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ReplicaSetDie) GetObjectKind ¶
func (d *ReplicaSetDie) GetObjectKind() schema.ObjectKind
func (*ReplicaSetDie) Kind ¶
func (d *ReplicaSetDie) Kind(v string) *ReplicaSetDie
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (*ReplicaSetDie) MarshalJSON ¶
func (d *ReplicaSetDie) MarshalJSON() ([]byte, error)
func (*ReplicaSetDie) Metadata ¶ added in v0.13.0
func (d *ReplicaSetDie) Metadata(v apismetav1.ObjectMeta) *ReplicaSetDie
Metadata standard object's metadata.
func (*ReplicaSetDie) MetadataDie ¶
func (d *ReplicaSetDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *ReplicaSetDie
MetadataDie stamps the resource's ObjectMeta field with a mutable die.
func (*ReplicaSetDie) Spec ¶
func (d *ReplicaSetDie) Spec(v appsv1.ReplicaSetSpec) *ReplicaSetDie
Spec defines the specification of the desired behavior of the ReplicaSet.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (*ReplicaSetDie) SpecDie ¶
func (d *ReplicaSetDie) SpecDie(fn func(d *ReplicaSetSpecDie)) *ReplicaSetDie
SpecDie stamps the resource's spec field with a mutable die.
func (*ReplicaSetDie) Status ¶
func (d *ReplicaSetDie) Status(v appsv1.ReplicaSetStatus) *ReplicaSetDie
Status is the most recently observed status of the ReplicaSet.
This data may be out of date by some window of time.
Populated by the system.
Read-only.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (*ReplicaSetDie) StatusDie ¶
func (d *ReplicaSetDie) StatusDie(fn func(d *ReplicaSetStatusDie)) *ReplicaSetDie
StatusDie stamps the resource's status field with a mutable die.
func (*ReplicaSetDie) TypeMetadata ¶ added in v0.13.0
func (d *ReplicaSetDie) TypeMetadata(v apismetav1.TypeMeta) *ReplicaSetDie
TypeMetadata standard object's type metadata.
func (*ReplicaSetDie) TypeMetadataDie ¶ added in v0.13.0
func (d *ReplicaSetDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *ReplicaSetDie
TypeMetadataDie stamps the resource's TypeMeta field with a mutable die.
func (*ReplicaSetDie) UnmarshalJSON ¶
func (d *ReplicaSetDie) UnmarshalJSON(b []byte) error
type ReplicaSetSpecDie ¶
type ReplicaSetSpecDie struct {
// contains filtered or unexported fields
}
func (*ReplicaSetSpecDie) DeepCopy ¶
func (d *ReplicaSetSpecDie) DeepCopy() *ReplicaSetSpecDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ReplicaSetSpecDie) DieDiff ¶ added in v0.13.0
func (d *ReplicaSetSpecDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ReplicaSetSpecDie) DieFeed ¶
func (d *ReplicaSetSpecDie) DieFeed(r appsv1.ReplicaSetSpec) *ReplicaSetSpecDie
DieFeed returns a new die with the provided resource.
func (*ReplicaSetSpecDie) DieFeedJSON ¶
func (d *ReplicaSetSpecDie) DieFeedJSON(j []byte) *ReplicaSetSpecDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ReplicaSetSpecDie) DieFeedPtr ¶
func (d *ReplicaSetSpecDie) DieFeedPtr(r *appsv1.ReplicaSetSpec) *ReplicaSetSpecDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ReplicaSetSpecDie) DieFeedRawExtension ¶
func (d *ReplicaSetSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *ReplicaSetSpecDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ReplicaSetSpecDie) DieFeedYAML ¶
func (d *ReplicaSetSpecDie) DieFeedYAML(y []byte) *ReplicaSetSpecDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ReplicaSetSpecDie) DieFeedYAMLFile ¶
func (d *ReplicaSetSpecDie) DieFeedYAMLFile(name string) *ReplicaSetSpecDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ReplicaSetSpecDie) DieImmutable ¶
func (d *ReplicaSetSpecDie) DieImmutable(immutable bool) *ReplicaSetSpecDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ReplicaSetSpecDie) DiePatch ¶ added in v0.13.0
func (d *ReplicaSetSpecDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ReplicaSetSpecDie) DieRelease ¶
func (d *ReplicaSetSpecDie) DieRelease() appsv1.ReplicaSetSpec
DieRelease returns the resource managed by the die.
func (*ReplicaSetSpecDie) DieReleaseJSON ¶
func (d *ReplicaSetSpecDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ReplicaSetSpecDie) DieReleasePtr ¶
func (d *ReplicaSetSpecDie) DieReleasePtr() *appsv1.ReplicaSetSpec
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ReplicaSetSpecDie) DieReleaseRawExtension ¶
func (d *ReplicaSetSpecDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ReplicaSetSpecDie) DieReleaseYAML ¶
func (d *ReplicaSetSpecDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ReplicaSetSpecDie) DieSeal ¶ added in v0.13.0
func (d *ReplicaSetSpecDie) DieSeal() *ReplicaSetSpecDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ReplicaSetSpecDie) DieSealFeed ¶ added in v0.13.0
func (d *ReplicaSetSpecDie) DieSealFeed(r appsv1.ReplicaSetSpec) *ReplicaSetSpecDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ReplicaSetSpecDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ReplicaSetSpecDie) DieSealFeedPtr(r *appsv1.ReplicaSetSpec) *ReplicaSetSpecDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ReplicaSetSpecDie) DieSealRelease ¶ added in v0.13.0
func (d *ReplicaSetSpecDie) DieSealRelease() appsv1.ReplicaSetSpec
DieSealRelease returns the sealed resource managed by the die.
func (*ReplicaSetSpecDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ReplicaSetSpecDie) DieSealReleasePtr() *appsv1.ReplicaSetSpec
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*ReplicaSetSpecDie) DieStamp ¶
func (d *ReplicaSetSpecDie) DieStamp(fn func(r *appsv1.ReplicaSetSpec)) *ReplicaSetSpecDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ReplicaSetSpecDie) DieStampAt ¶
func (d *ReplicaSetSpecDie) DieStampAt(jp string, fn interface{}) *ReplicaSetSpecDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ReplicaSetSpecDie) DieWith ¶
func (d *ReplicaSetSpecDie) DieWith(fns ...func(d *ReplicaSetSpecDie)) *ReplicaSetSpecDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ReplicaSetSpecDie) MinReadySeconds ¶
func (d *ReplicaSetSpecDie) MinReadySeconds(v int32) *ReplicaSetSpecDie
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)
func (*ReplicaSetSpecDie) Replicas ¶
func (d *ReplicaSetSpecDie) Replicas(v *int32) *ReplicaSetSpecDie
Replicas is the number of desired replicas.
This is a pointer to distinguish between explicit zero and unspecified.
Defaults to 1.
func (*ReplicaSetSpecDie) Selector ¶
func (d *ReplicaSetSpecDie) Selector(v *apismetav1.LabelSelector) *ReplicaSetSpecDie
Selector is a label query over pods that should match the replica count.
Label keys and values that must match in order to be controlled by this replica set.
It must match the pod template's labels.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
func (*ReplicaSetSpecDie) SelectorDie ¶
func (d *ReplicaSetSpecDie) SelectorDie(fn func(d *metav1.LabelSelectorDie)) *ReplicaSetSpecDie
SelectorDie mutates Selector as a die.
Selector is a label query over pods that should match the replica count.
Label keys and values that must match in order to be controlled by this replica set.
It must match the pod template's labels.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
func (*ReplicaSetSpecDie) Template ¶
func (d *ReplicaSetSpecDie) Template(v apicorev1.PodTemplateSpec) *ReplicaSetSpecDie
Template is the object that describes the pod that will be created if
insufficient replicas are detected.
More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template
func (*ReplicaSetSpecDie) TemplateDie ¶
func (d *ReplicaSetSpecDie) TemplateDie(fn func(d *corev1.PodTemplateSpecDie)) *ReplicaSetSpecDie
TemplateDie mutates Template as a die.
Template is the object that describes the pod that will be created if ¶
insufficient replicas are detected.
More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template
type ReplicaSetStatusDie ¶
type ReplicaSetStatusDie struct {
// contains filtered or unexported fields
}
func (*ReplicaSetStatusDie) AvailableReplicas ¶
func (d *ReplicaSetStatusDie) AvailableReplicas(v int32) *ReplicaSetStatusDie
The number of available replicas (ready for at least minReadySeconds) for this replica set.
func (*ReplicaSetStatusDie) Conditions ¶
func (d *ReplicaSetStatusDie) Conditions(v ...appsv1.ReplicaSetCondition) *ReplicaSetStatusDie
Represents the latest available observations of a replica set's current state.
func (*ReplicaSetStatusDie) ConditionsDie ¶
func (d *ReplicaSetStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *ReplicaSetStatusDie
func (*ReplicaSetStatusDie) DeepCopy ¶
func (d *ReplicaSetStatusDie) DeepCopy() *ReplicaSetStatusDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ReplicaSetStatusDie) DieDiff ¶ added in v0.13.0
func (d *ReplicaSetStatusDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ReplicaSetStatusDie) DieFeed ¶
func (d *ReplicaSetStatusDie) DieFeed(r appsv1.ReplicaSetStatus) *ReplicaSetStatusDie
DieFeed returns a new die with the provided resource.
func (*ReplicaSetStatusDie) DieFeedJSON ¶
func (d *ReplicaSetStatusDie) DieFeedJSON(j []byte) *ReplicaSetStatusDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ReplicaSetStatusDie) DieFeedPtr ¶
func (d *ReplicaSetStatusDie) DieFeedPtr(r *appsv1.ReplicaSetStatus) *ReplicaSetStatusDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ReplicaSetStatusDie) DieFeedRawExtension ¶
func (d *ReplicaSetStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *ReplicaSetStatusDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ReplicaSetStatusDie) DieFeedYAML ¶
func (d *ReplicaSetStatusDie) DieFeedYAML(y []byte) *ReplicaSetStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ReplicaSetStatusDie) DieFeedYAMLFile ¶
func (d *ReplicaSetStatusDie) DieFeedYAMLFile(name string) *ReplicaSetStatusDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ReplicaSetStatusDie) DieImmutable ¶
func (d *ReplicaSetStatusDie) DieImmutable(immutable bool) *ReplicaSetStatusDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ReplicaSetStatusDie) DiePatch ¶ added in v0.13.0
func (d *ReplicaSetStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ReplicaSetStatusDie) DieRelease ¶
func (d *ReplicaSetStatusDie) DieRelease() appsv1.ReplicaSetStatus
DieRelease returns the resource managed by the die.
func (*ReplicaSetStatusDie) DieReleaseJSON ¶
func (d *ReplicaSetStatusDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ReplicaSetStatusDie) DieReleasePtr ¶
func (d *ReplicaSetStatusDie) DieReleasePtr() *appsv1.ReplicaSetStatus
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ReplicaSetStatusDie) DieReleaseRawExtension ¶
func (d *ReplicaSetStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ReplicaSetStatusDie) DieReleaseYAML ¶
func (d *ReplicaSetStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ReplicaSetStatusDie) DieSeal ¶ added in v0.13.0
func (d *ReplicaSetStatusDie) DieSeal() *ReplicaSetStatusDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ReplicaSetStatusDie) DieSealFeed ¶ added in v0.13.0
func (d *ReplicaSetStatusDie) DieSealFeed(r appsv1.ReplicaSetStatus) *ReplicaSetStatusDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ReplicaSetStatusDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ReplicaSetStatusDie) DieSealFeedPtr(r *appsv1.ReplicaSetStatus) *ReplicaSetStatusDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ReplicaSetStatusDie) DieSealRelease ¶ added in v0.13.0
func (d *ReplicaSetStatusDie) DieSealRelease() appsv1.ReplicaSetStatus
DieSealRelease returns the sealed resource managed by the die.
func (*ReplicaSetStatusDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ReplicaSetStatusDie) DieSealReleasePtr() *appsv1.ReplicaSetStatus
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*ReplicaSetStatusDie) DieStamp ¶
func (d *ReplicaSetStatusDie) DieStamp(fn func(r *appsv1.ReplicaSetStatus)) *ReplicaSetStatusDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ReplicaSetStatusDie) DieStampAt ¶
func (d *ReplicaSetStatusDie) DieStampAt(jp string, fn interface{}) *ReplicaSetStatusDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ReplicaSetStatusDie) DieWith ¶
func (d *ReplicaSetStatusDie) DieWith(fns ...func(d *ReplicaSetStatusDie)) *ReplicaSetStatusDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ReplicaSetStatusDie) FullyLabeledReplicas ¶
func (d *ReplicaSetStatusDie) FullyLabeledReplicas(v int32) *ReplicaSetStatusDie
The number of pods that have labels matching the labels of the pod template of the replicaset.
func (*ReplicaSetStatusDie) ObservedGeneration ¶
func (d *ReplicaSetStatusDie) ObservedGeneration(v int64) *ReplicaSetStatusDie
ObservedGeneration reflects the generation of the most recently observed ReplicaSet.
func (*ReplicaSetStatusDie) ReadyReplicas ¶
func (d *ReplicaSetStatusDie) ReadyReplicas(v int32) *ReplicaSetStatusDie
readyReplicas is the number of pods targeted by this ReplicaSet with a Ready Condition.
func (*ReplicaSetStatusDie) Replicas ¶
func (d *ReplicaSetStatusDie) Replicas(v int32) *ReplicaSetStatusDie
Replicas is the most recently observed number of replicas.
type RollingUpdateDaemonSetDie ¶
type RollingUpdateDaemonSetDie struct {
// contains filtered or unexported fields
}
func (*RollingUpdateDaemonSetDie) DeepCopy ¶
func (d *RollingUpdateDaemonSetDie) DeepCopy() *RollingUpdateDaemonSetDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*RollingUpdateDaemonSetDie) DieDiff ¶ added in v0.13.0
func (d *RollingUpdateDaemonSetDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*RollingUpdateDaemonSetDie) DieFeed ¶
func (d *RollingUpdateDaemonSetDie) DieFeed(r appsv1.RollingUpdateDaemonSet) *RollingUpdateDaemonSetDie
DieFeed returns a new die with the provided resource.
func (*RollingUpdateDaemonSetDie) DieFeedJSON ¶
func (d *RollingUpdateDaemonSetDie) DieFeedJSON(j []byte) *RollingUpdateDaemonSetDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*RollingUpdateDaemonSetDie) DieFeedPtr ¶
func (d *RollingUpdateDaemonSetDie) DieFeedPtr(r *appsv1.RollingUpdateDaemonSet) *RollingUpdateDaemonSetDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*RollingUpdateDaemonSetDie) DieFeedRawExtension ¶
func (d *RollingUpdateDaemonSetDie) DieFeedRawExtension(raw runtime.RawExtension) *RollingUpdateDaemonSetDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*RollingUpdateDaemonSetDie) DieFeedYAML ¶
func (d *RollingUpdateDaemonSetDie) DieFeedYAML(y []byte) *RollingUpdateDaemonSetDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*RollingUpdateDaemonSetDie) DieFeedYAMLFile ¶
func (d *RollingUpdateDaemonSetDie) DieFeedYAMLFile(name string) *RollingUpdateDaemonSetDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*RollingUpdateDaemonSetDie) DieImmutable ¶
func (d *RollingUpdateDaemonSetDie) DieImmutable(immutable bool) *RollingUpdateDaemonSetDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*RollingUpdateDaemonSetDie) DiePatch ¶ added in v0.13.0
func (d *RollingUpdateDaemonSetDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*RollingUpdateDaemonSetDie) DieRelease ¶
func (d *RollingUpdateDaemonSetDie) DieRelease() appsv1.RollingUpdateDaemonSet
DieRelease returns the resource managed by the die.
func (*RollingUpdateDaemonSetDie) DieReleaseJSON ¶
func (d *RollingUpdateDaemonSetDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*RollingUpdateDaemonSetDie) DieReleasePtr ¶
func (d *RollingUpdateDaemonSetDie) DieReleasePtr() *appsv1.RollingUpdateDaemonSet
DieReleasePtr returns a pointer to the resource managed by the die.
func (*RollingUpdateDaemonSetDie) DieReleaseRawExtension ¶
func (d *RollingUpdateDaemonSetDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*RollingUpdateDaemonSetDie) DieReleaseYAML ¶
func (d *RollingUpdateDaemonSetDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*RollingUpdateDaemonSetDie) DieSeal ¶ added in v0.13.0
func (d *RollingUpdateDaemonSetDie) DieSeal() *RollingUpdateDaemonSetDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*RollingUpdateDaemonSetDie) DieSealFeed ¶ added in v0.13.0
func (d *RollingUpdateDaemonSetDie) DieSealFeed(r appsv1.RollingUpdateDaemonSet) *RollingUpdateDaemonSetDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*RollingUpdateDaemonSetDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *RollingUpdateDaemonSetDie) DieSealFeedPtr(r *appsv1.RollingUpdateDaemonSet) *RollingUpdateDaemonSetDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*RollingUpdateDaemonSetDie) DieSealRelease ¶ added in v0.13.0
func (d *RollingUpdateDaemonSetDie) DieSealRelease() appsv1.RollingUpdateDaemonSet
DieSealRelease returns the sealed resource managed by the die.
func (*RollingUpdateDaemonSetDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *RollingUpdateDaemonSetDie) DieSealReleasePtr() *appsv1.RollingUpdateDaemonSet
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*RollingUpdateDaemonSetDie) DieStamp ¶
func (d *RollingUpdateDaemonSetDie) DieStamp(fn func(r *appsv1.RollingUpdateDaemonSet)) *RollingUpdateDaemonSetDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*RollingUpdateDaemonSetDie) DieStampAt ¶
func (d *RollingUpdateDaemonSetDie) DieStampAt(jp string, fn interface{}) *RollingUpdateDaemonSetDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*RollingUpdateDaemonSetDie) DieWith ¶
func (d *RollingUpdateDaemonSetDie) DieWith(fns ...func(d *RollingUpdateDaemonSetDie)) *RollingUpdateDaemonSetDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*RollingUpdateDaemonSetDie) MaxSurge ¶
func (d *RollingUpdateDaemonSetDie) MaxSurge(v *intstr.IntOrString) *RollingUpdateDaemonSetDie
The maximum number of nodes with an existing available DaemonSet pod that
can have an updated DaemonSet pod during during an update.
Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%).
This can not be 0 if MaxUnavailable is 0.
Absolute number is calculated from percentage by rounding up to a minimum of 1.
Default value is 0.
Example: when this is set to 30%, at most 30% of the total number of nodes
that should be running the daemon pod (i.e. status.desiredNumberScheduled)
can have their a new pod created before the old pod is marked as deleted.
The update starts by launching new pods on 30% of nodes. Once an updated
pod is available (Ready for at least minReadySeconds) the old DaemonSet pod
on that node is marked deleted. If the old pod becomes unavailable for any
reason (Ready transitions to false, is evicted, or is drained) an updated
pod is immediatedly created on that node without considering surge limits.
Allowing surge implies the possibility that the resources consumed by the ¶
daemonset on any given node can double if the readiness check fails, and
so resource intensive daemonsets should take into account that they may
cause evictions during disruption.
func (*RollingUpdateDaemonSetDie) MaxSurgeInt ¶
func (d *RollingUpdateDaemonSetDie) MaxSurgeInt(i int) *RollingUpdateDaemonSetDie
MaxSurgeInt sets MaxSurge with the int value.
The maximum number of nodes with an existing available DaemonSet pod that ¶
can have an updated DaemonSet pod during during an update.
Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%).
This can not be 0 if MaxUnavailable is 0.
Absolute number is calculated from percentage by rounding up to a minimum of 1.
Default value is 0.
Example: when this is set to 30%, at most 30% of the total number of nodes
that should be running the daemon pod (i.e. status.desiredNumberScheduled)
can have their a new pod created before the old pod is marked as deleted.
The update starts by launching new pods on 30% of nodes. Once an updated
pod is available (Ready for at least minReadySeconds) the old DaemonSet pod
on that node is marked deleted. If the old pod becomes unavailable for any
reason (Ready transitions to false, is evicted, or is drained) an updated
pod is immediatedly created on that node without considering surge limits.
Allowing surge implies the possibility that the resources consumed by the ¶
daemonset on any given node can double if the readiness check fails, and
so resource intensive daemonsets should take into account that they may
cause evictions during disruption.
func (*RollingUpdateDaemonSetDie) MaxSurgeString ¶
func (d *RollingUpdateDaemonSetDie) MaxSurgeString(s string) *RollingUpdateDaemonSetDie
MaxSurgeString sets MaxSurge with the string value.
The maximum number of nodes with an existing available DaemonSet pod that ¶
can have an updated DaemonSet pod during during an update.
Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%).
This can not be 0 if MaxUnavailable is 0.
Absolute number is calculated from percentage by rounding up to a minimum of 1.
Default value is 0.
Example: when this is set to 30%, at most 30% of the total number of nodes
that should be running the daemon pod (i.e. status.desiredNumberScheduled)
can have their a new pod created before the old pod is marked as deleted.
The update starts by launching new pods on 30% of nodes. Once an updated
pod is available (Ready for at least minReadySeconds) the old DaemonSet pod
on that node is marked deleted. If the old pod becomes unavailable for any
reason (Ready transitions to false, is evicted, or is drained) an updated
pod is immediatedly created on that node without considering surge limits.
Allowing surge implies the possibility that the resources consumed by the ¶
daemonset on any given node can double if the readiness check fails, and
so resource intensive daemonsets should take into account that they may
cause evictions during disruption.
func (*RollingUpdateDaemonSetDie) MaxUnavailable ¶
func (d *RollingUpdateDaemonSetDie) MaxUnavailable(v *intstr.IntOrString) *RollingUpdateDaemonSetDie
The maximum number of DaemonSet pods that can be unavailable during the
update. Value can be an absolute number (ex: 5) or a percentage of total
number of DaemonSet pods at the start of the update (ex: 10%). Absolute
number is calculated from percentage by rounding up.
This cannot be 0 if MaxSurge is 0 ¶
Default value is 1.
Example: when this is set to 30%, at most 30% of the total number of nodes
that should be running the daemon pod (i.e. status.desiredNumberScheduled)
can have their pods stopped for an update at any given time. The update
starts by stopping at most 30% of those DaemonSet pods and then brings
up new DaemonSet pods in their place. Once the new pods are available,
it then proceeds onto other DaemonSet pods, thus ensuring that at least
70% of original number of DaemonSet pods are available at all times during
the update.
func (*RollingUpdateDaemonSetDie) MaxUnavailableInt ¶
func (d *RollingUpdateDaemonSetDie) MaxUnavailableInt(i int) *RollingUpdateDaemonSetDie
MaxUnavailableInt sets MaxUnavailable with the int value.
The maximum number of DaemonSet pods that can be unavailable during the ¶
update. Value can be an absolute number (ex: 5) or a percentage of total
number of DaemonSet pods at the start of the update (ex: 10%). Absolute
number is calculated from percentage by rounding up.
This cannot be 0 if MaxSurge is 0 ¶
Default value is 1.
Example: when this is set to 30%, at most 30% of the total number of nodes
that should be running the daemon pod (i.e. status.desiredNumberScheduled)
can have their pods stopped for an update at any given time. The update
starts by stopping at most 30% of those DaemonSet pods and then brings
up new DaemonSet pods in their place. Once the new pods are available,
it then proceeds onto other DaemonSet pods, thus ensuring that at least
70% of original number of DaemonSet pods are available at all times during
the update.
func (*RollingUpdateDaemonSetDie) MaxUnavailableString ¶
func (d *RollingUpdateDaemonSetDie) MaxUnavailableString(s string) *RollingUpdateDaemonSetDie
MaxUnavailableString sets MaxUnavailable with the string value.
The maximum number of DaemonSet pods that can be unavailable during the ¶
update. Value can be an absolute number (ex: 5) or a percentage of total
number of DaemonSet pods at the start of the update (ex: 10%). Absolute
number is calculated from percentage by rounding up.
This cannot be 0 if MaxSurge is 0 ¶
Default value is 1.
Example: when this is set to 30%, at most 30% of the total number of nodes
that should be running the daemon pod (i.e. status.desiredNumberScheduled)
can have their pods stopped for an update at any given time. The update
starts by stopping at most 30% of those DaemonSet pods and then brings
up new DaemonSet pods in their place. Once the new pods are available,
it then proceeds onto other DaemonSet pods, thus ensuring that at least
70% of original number of DaemonSet pods are available at all times during
the update.
type RollingUpdateDeploymentDie ¶
type RollingUpdateDeploymentDie struct {
// contains filtered or unexported fields
}
func (*RollingUpdateDeploymentDie) DeepCopy ¶
func (d *RollingUpdateDeploymentDie) DeepCopy() *RollingUpdateDeploymentDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*RollingUpdateDeploymentDie) DieDiff ¶ added in v0.13.0
func (d *RollingUpdateDeploymentDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*RollingUpdateDeploymentDie) DieFeed ¶
func (d *RollingUpdateDeploymentDie) DieFeed(r appsv1.RollingUpdateDeployment) *RollingUpdateDeploymentDie
DieFeed returns a new die with the provided resource.
func (*RollingUpdateDeploymentDie) DieFeedJSON ¶
func (d *RollingUpdateDeploymentDie) DieFeedJSON(j []byte) *RollingUpdateDeploymentDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*RollingUpdateDeploymentDie) DieFeedPtr ¶
func (d *RollingUpdateDeploymentDie) DieFeedPtr(r *appsv1.RollingUpdateDeployment) *RollingUpdateDeploymentDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*RollingUpdateDeploymentDie) DieFeedRawExtension ¶
func (d *RollingUpdateDeploymentDie) DieFeedRawExtension(raw runtime.RawExtension) *RollingUpdateDeploymentDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*RollingUpdateDeploymentDie) DieFeedYAML ¶
func (d *RollingUpdateDeploymentDie) DieFeedYAML(y []byte) *RollingUpdateDeploymentDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*RollingUpdateDeploymentDie) DieFeedYAMLFile ¶
func (d *RollingUpdateDeploymentDie) DieFeedYAMLFile(name string) *RollingUpdateDeploymentDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*RollingUpdateDeploymentDie) DieImmutable ¶
func (d *RollingUpdateDeploymentDie) DieImmutable(immutable bool) *RollingUpdateDeploymentDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*RollingUpdateDeploymentDie) DiePatch ¶ added in v0.13.0
func (d *RollingUpdateDeploymentDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*RollingUpdateDeploymentDie) DieRelease ¶
func (d *RollingUpdateDeploymentDie) DieRelease() appsv1.RollingUpdateDeployment
DieRelease returns the resource managed by the die.
func (*RollingUpdateDeploymentDie) DieReleaseJSON ¶
func (d *RollingUpdateDeploymentDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*RollingUpdateDeploymentDie) DieReleasePtr ¶
func (d *RollingUpdateDeploymentDie) DieReleasePtr() *appsv1.RollingUpdateDeployment
DieReleasePtr returns a pointer to the resource managed by the die.
func (*RollingUpdateDeploymentDie) DieReleaseRawExtension ¶
func (d *RollingUpdateDeploymentDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*RollingUpdateDeploymentDie) DieReleaseYAML ¶
func (d *RollingUpdateDeploymentDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*RollingUpdateDeploymentDie) DieSeal ¶ added in v0.13.0
func (d *RollingUpdateDeploymentDie) DieSeal() *RollingUpdateDeploymentDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*RollingUpdateDeploymentDie) DieSealFeed ¶ added in v0.13.0
func (d *RollingUpdateDeploymentDie) DieSealFeed(r appsv1.RollingUpdateDeployment) *RollingUpdateDeploymentDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*RollingUpdateDeploymentDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *RollingUpdateDeploymentDie) DieSealFeedPtr(r *appsv1.RollingUpdateDeployment) *RollingUpdateDeploymentDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*RollingUpdateDeploymentDie) DieSealRelease ¶ added in v0.13.0
func (d *RollingUpdateDeploymentDie) DieSealRelease() appsv1.RollingUpdateDeployment
DieSealRelease returns the sealed resource managed by the die.
func (*RollingUpdateDeploymentDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *RollingUpdateDeploymentDie) DieSealReleasePtr() *appsv1.RollingUpdateDeployment
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*RollingUpdateDeploymentDie) DieStamp ¶
func (d *RollingUpdateDeploymentDie) DieStamp(fn func(r *appsv1.RollingUpdateDeployment)) *RollingUpdateDeploymentDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*RollingUpdateDeploymentDie) DieStampAt ¶
func (d *RollingUpdateDeploymentDie) DieStampAt(jp string, fn interface{}) *RollingUpdateDeploymentDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*RollingUpdateDeploymentDie) DieWith ¶
func (d *RollingUpdateDeploymentDie) DieWith(fns ...func(d *RollingUpdateDeploymentDie)) *RollingUpdateDeploymentDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*RollingUpdateDeploymentDie) MaxSurge ¶
func (d *RollingUpdateDeploymentDie) MaxSurge(v *intstr.IntOrString) *RollingUpdateDeploymentDie
The maximum number of pods that can be scheduled above the desired number of
pods.
Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%).
This can not be 0 if MaxUnavailable is 0.
Absolute number is calculated from percentage by rounding up.
Defaults to 25%.
Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when
the rolling update starts, such that the total number of old and new pods do not exceed
130% of desired pods. Once old pods have been killed,
new ReplicaSet can be scaled up further, ensuring that total number of pods running
at any time during the update is at most 130% of desired pods.
func (*RollingUpdateDeploymentDie) MaxSurgeInt ¶
func (d *RollingUpdateDeploymentDie) MaxSurgeInt(i int) *RollingUpdateDeploymentDie
MaxSurgeInt sets MaxSurge with the int value.
The maximum number of pods that can be scheduled above the desired number of ¶
pods.
Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%).
This can not be 0 if MaxUnavailable is 0.
Absolute number is calculated from percentage by rounding up.
Defaults to 25%.
Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when
the rolling update starts, such that the total number of old and new pods do not exceed
130% of desired pods. Once old pods have been killed,
new ReplicaSet can be scaled up further, ensuring that total number of pods running
at any time during the update is at most 130% of desired pods.
func (*RollingUpdateDeploymentDie) MaxSurgeString ¶
func (d *RollingUpdateDeploymentDie) MaxSurgeString(s string) *RollingUpdateDeploymentDie
MaxSurgeString sets MaxSurge with the string value.
The maximum number of pods that can be scheduled above the desired number of ¶
pods.
Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%).
This can not be 0 if MaxUnavailable is 0.
Absolute number is calculated from percentage by rounding up.
Defaults to 25%.
Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when
the rolling update starts, such that the total number of old and new pods do not exceed
130% of desired pods. Once old pods have been killed,
new ReplicaSet can be scaled up further, ensuring that total number of pods running
at any time during the update is at most 130% of desired pods.
func (*RollingUpdateDeploymentDie) MaxUnavailable ¶
func (d *RollingUpdateDeploymentDie) MaxUnavailable(v *intstr.IntOrString) *RollingUpdateDeploymentDie
The maximum number of pods that can be unavailable during the update.
Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%).
Absolute number is calculated from percentage by rounding down.
This can not be 0 if MaxSurge is 0.
Defaults to 25%.
Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods
immediately when the rolling update starts. Once new pods are ready, old ReplicaSet
can be scaled down further, followed by scaling up the new ReplicaSet, ensuring
that the total number of pods available at all times during the update is at
least 70% of desired pods.
func (*RollingUpdateDeploymentDie) MaxUnavailableInt ¶
func (d *RollingUpdateDeploymentDie) MaxUnavailableInt(i int) *RollingUpdateDeploymentDie
MaxUnavailableInt sets MaxUnavailable with the int value.
The maximum number of pods that can be unavailable during the update.
Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%).
Absolute number is calculated from percentage by rounding down.
This can not be 0 if MaxSurge is 0.
Defaults to 25%.
Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods
immediately when the rolling update starts. Once new pods are ready, old ReplicaSet
can be scaled down further, followed by scaling up the new ReplicaSet, ensuring
that the total number of pods available at all times during the update is at
least 70% of desired pods.
func (*RollingUpdateDeploymentDie) MaxUnavailableString ¶
func (d *RollingUpdateDeploymentDie) MaxUnavailableString(s string) *RollingUpdateDeploymentDie
MaxUnavailableString sets MaxUnavailable with the string value.
The maximum number of pods that can be unavailable during the update.
Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%).
Absolute number is calculated from percentage by rounding down.
This can not be 0 if MaxSurge is 0.
Defaults to 25%.
Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods
immediately when the rolling update starts. Once new pods are ready, old ReplicaSet
can be scaled down further, followed by scaling up the new ReplicaSet, ensuring
that the total number of pods available at all times during the update is at
least 70% of desired pods.
type RollingUpdateStatefulSetStrategyDie ¶
type RollingUpdateStatefulSetStrategyDie struct {
// contains filtered or unexported fields
}
func (*RollingUpdateStatefulSetStrategyDie) DeepCopy ¶
func (d *RollingUpdateStatefulSetStrategyDie) DeepCopy() *RollingUpdateStatefulSetStrategyDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*RollingUpdateStatefulSetStrategyDie) DieDiff ¶ added in v0.13.0
func (d *RollingUpdateStatefulSetStrategyDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*RollingUpdateStatefulSetStrategyDie) DieFeed ¶
func (d *RollingUpdateStatefulSetStrategyDie) DieFeed(r appsv1.RollingUpdateStatefulSetStrategy) *RollingUpdateStatefulSetStrategyDie
DieFeed returns a new die with the provided resource.
func (*RollingUpdateStatefulSetStrategyDie) DieFeedJSON ¶
func (d *RollingUpdateStatefulSetStrategyDie) DieFeedJSON(j []byte) *RollingUpdateStatefulSetStrategyDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*RollingUpdateStatefulSetStrategyDie) DieFeedPtr ¶
func (d *RollingUpdateStatefulSetStrategyDie) DieFeedPtr(r *appsv1.RollingUpdateStatefulSetStrategy) *RollingUpdateStatefulSetStrategyDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*RollingUpdateStatefulSetStrategyDie) DieFeedRawExtension ¶
func (d *RollingUpdateStatefulSetStrategyDie) DieFeedRawExtension(raw runtime.RawExtension) *RollingUpdateStatefulSetStrategyDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*RollingUpdateStatefulSetStrategyDie) DieFeedYAML ¶
func (d *RollingUpdateStatefulSetStrategyDie) DieFeedYAML(y []byte) *RollingUpdateStatefulSetStrategyDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*RollingUpdateStatefulSetStrategyDie) DieFeedYAMLFile ¶
func (d *RollingUpdateStatefulSetStrategyDie) DieFeedYAMLFile(name string) *RollingUpdateStatefulSetStrategyDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*RollingUpdateStatefulSetStrategyDie) DieImmutable ¶
func (d *RollingUpdateStatefulSetStrategyDie) DieImmutable(immutable bool) *RollingUpdateStatefulSetStrategyDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*RollingUpdateStatefulSetStrategyDie) DiePatch ¶ added in v0.13.0
func (d *RollingUpdateStatefulSetStrategyDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*RollingUpdateStatefulSetStrategyDie) DieRelease ¶
func (d *RollingUpdateStatefulSetStrategyDie) DieRelease() appsv1.RollingUpdateStatefulSetStrategy
DieRelease returns the resource managed by the die.
func (*RollingUpdateStatefulSetStrategyDie) DieReleaseJSON ¶
func (d *RollingUpdateStatefulSetStrategyDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*RollingUpdateStatefulSetStrategyDie) DieReleasePtr ¶
func (d *RollingUpdateStatefulSetStrategyDie) DieReleasePtr() *appsv1.RollingUpdateStatefulSetStrategy
DieReleasePtr returns a pointer to the resource managed by the die.
func (*RollingUpdateStatefulSetStrategyDie) DieReleaseRawExtension ¶
func (d *RollingUpdateStatefulSetStrategyDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*RollingUpdateStatefulSetStrategyDie) DieReleaseYAML ¶
func (d *RollingUpdateStatefulSetStrategyDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*RollingUpdateStatefulSetStrategyDie) DieSeal ¶ added in v0.13.0
func (d *RollingUpdateStatefulSetStrategyDie) DieSeal() *RollingUpdateStatefulSetStrategyDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*RollingUpdateStatefulSetStrategyDie) DieSealFeed ¶ added in v0.13.0
func (d *RollingUpdateStatefulSetStrategyDie) DieSealFeed(r appsv1.RollingUpdateStatefulSetStrategy) *RollingUpdateStatefulSetStrategyDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*RollingUpdateStatefulSetStrategyDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *RollingUpdateStatefulSetStrategyDie) DieSealFeedPtr(r *appsv1.RollingUpdateStatefulSetStrategy) *RollingUpdateStatefulSetStrategyDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*RollingUpdateStatefulSetStrategyDie) DieSealRelease ¶ added in v0.13.0
func (d *RollingUpdateStatefulSetStrategyDie) DieSealRelease() appsv1.RollingUpdateStatefulSetStrategy
DieSealRelease returns the sealed resource managed by the die.
func (*RollingUpdateStatefulSetStrategyDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *RollingUpdateStatefulSetStrategyDie) DieSealReleasePtr() *appsv1.RollingUpdateStatefulSetStrategy
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*RollingUpdateStatefulSetStrategyDie) DieStamp ¶
func (d *RollingUpdateStatefulSetStrategyDie) DieStamp(fn func(r *appsv1.RollingUpdateStatefulSetStrategy)) *RollingUpdateStatefulSetStrategyDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*RollingUpdateStatefulSetStrategyDie) DieStampAt ¶
func (d *RollingUpdateStatefulSetStrategyDie) DieStampAt(jp string, fn interface{}) *RollingUpdateStatefulSetStrategyDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*RollingUpdateStatefulSetStrategyDie) DieWith ¶
func (d *RollingUpdateStatefulSetStrategyDie) DieWith(fns ...func(d *RollingUpdateStatefulSetStrategyDie)) *RollingUpdateStatefulSetStrategyDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*RollingUpdateStatefulSetStrategyDie) MaxUnavailable ¶
func (d *RollingUpdateStatefulSetStrategyDie) MaxUnavailable(v *intstr.IntOrString) *RollingUpdateStatefulSetStrategyDie
The maximum number of pods that can be unavailable during the update.
Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%).
Absolute number is calculated from percentage by rounding up. This can not be 0.
Defaults to 1. This field is alpha-level and is only honored by servers that enable the
MaxUnavailableStatefulSet feature. The field applies to all pods in the range 0 to
Replicas-1. That means if there is any unavailable pod in the range 0 to Replicas-1, it
will be counted towards MaxUnavailable.
func (*RollingUpdateStatefulSetStrategyDie) MaxUnavailableInt ¶
func (d *RollingUpdateStatefulSetStrategyDie) MaxUnavailableInt(i int) *RollingUpdateStatefulSetStrategyDie
MaxUnavailableInt sets MaxUnavailable with the int value.
The maximum number of pods that can be unavailable during the update.
Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%).
Absolute number is calculated from percentage by rounding up. This can not be 0.
Defaults to 1. This field is alpha-level and is only honored by servers that enable the
MaxUnavailableStatefulSet feature. The field applies to all pods in the range 0 to
Replicas-1. That means if there is any unavailable pod in the range 0 to Replicas-1, it
will be counted towards MaxUnavailable.
func (*RollingUpdateStatefulSetStrategyDie) MaxUnavailableString ¶
func (d *RollingUpdateStatefulSetStrategyDie) MaxUnavailableString(s string) *RollingUpdateStatefulSetStrategyDie
MaxUnavailableString sets MaxUnavailable with the string value.
The maximum number of pods that can be unavailable during the update.
Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%).
Absolute number is calculated from percentage by rounding up. This can not be 0.
Defaults to 1. This field is alpha-level and is only honored by servers that enable the
MaxUnavailableStatefulSet feature. The field applies to all pods in the range 0 to
Replicas-1. That means if there is any unavailable pod in the range 0 to Replicas-1, it
will be counted towards MaxUnavailable.
func (*RollingUpdateStatefulSetStrategyDie) Partition ¶
func (d *RollingUpdateStatefulSetStrategyDie) Partition(v *int32) *RollingUpdateStatefulSetStrategyDie
Partition indicates the ordinal at which the StatefulSet should be partitioned
for updates. During a rolling update, all pods from ordinal Replicas-1 to
Partition are updated. All pods from ordinal Partition-1 to 0 remain untouched.
This is helpful in being able to do a canary based deployment. The default value is 0.
type StatefulSetDie ¶
type StatefulSetDie struct { metav1.FrozenObjectMeta // contains filtered or unexported fields }
func (*StatefulSetDie) APIVersion ¶
func (d *StatefulSetDie) APIVersion(v string) *StatefulSetDie
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (*StatefulSetDie) DeepCopy ¶
func (d *StatefulSetDie) DeepCopy() *StatefulSetDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*StatefulSetDie) DeepCopyObject ¶
func (d *StatefulSetDie) DeepCopyObject() runtime.Object
func (*StatefulSetDie) DieDefaultTypeMetadata ¶ added in v0.13.0
func (d *StatefulSetDie) DieDefaultTypeMetadata() *StatefulSetDie
DieDefaultTypeMetadata sets the APIVersion and Kind to "apps/v1" and "StatefulSet" respectively.
func (*StatefulSetDie) DieDiff ¶ added in v0.13.0
func (d *StatefulSetDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*StatefulSetDie) DieFeed ¶
func (d *StatefulSetDie) DieFeed(r appsv1.StatefulSet) *StatefulSetDie
DieFeed returns a new die with the provided resource.
func (*StatefulSetDie) DieFeedJSON ¶
func (d *StatefulSetDie) DieFeedJSON(j []byte) *StatefulSetDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*StatefulSetDie) DieFeedPtr ¶
func (d *StatefulSetDie) DieFeedPtr(r *appsv1.StatefulSet) *StatefulSetDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*StatefulSetDie) DieFeedRawExtension ¶
func (d *StatefulSetDie) DieFeedRawExtension(raw runtime.RawExtension) *StatefulSetDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*StatefulSetDie) DieFeedYAML ¶
func (d *StatefulSetDie) DieFeedYAML(y []byte) *StatefulSetDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*StatefulSetDie) DieFeedYAMLFile ¶
func (d *StatefulSetDie) DieFeedYAMLFile(name string) *StatefulSetDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*StatefulSetDie) DieImmutable ¶
func (d *StatefulSetDie) DieImmutable(immutable bool) *StatefulSetDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*StatefulSetDie) DiePatch ¶ added in v0.13.0
func (d *StatefulSetDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*StatefulSetDie) DieRelease ¶
func (d *StatefulSetDie) DieRelease() appsv1.StatefulSet
DieRelease returns the resource managed by the die.
func (*StatefulSetDie) DieReleaseJSON ¶
func (d *StatefulSetDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*StatefulSetDie) DieReleasePtr ¶
func (d *StatefulSetDie) DieReleasePtr() *appsv1.StatefulSet
DieReleasePtr returns a pointer to the resource managed by the die.
func (*StatefulSetDie) DieReleaseRawExtension ¶
func (d *StatefulSetDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*StatefulSetDie) DieReleaseUnstructured ¶
func (d *StatefulSetDie) DieReleaseUnstructured() *unstructured.Unstructured
DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.
func (*StatefulSetDie) DieReleaseYAML ¶
func (d *StatefulSetDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*StatefulSetDie) DieSeal ¶ added in v0.13.0
func (d *StatefulSetDie) DieSeal() *StatefulSetDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*StatefulSetDie) DieSealFeed ¶ added in v0.13.0
func (d *StatefulSetDie) DieSealFeed(r appsv1.StatefulSet) *StatefulSetDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*StatefulSetDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *StatefulSetDie) DieSealFeedPtr(r *appsv1.StatefulSet) *StatefulSetDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*StatefulSetDie) DieSealRelease ¶ added in v0.13.0
func (d *StatefulSetDie) DieSealRelease() appsv1.StatefulSet
DieSealRelease returns the sealed resource managed by the die.
func (*StatefulSetDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *StatefulSetDie) DieSealReleasePtr() *appsv1.StatefulSet
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*StatefulSetDie) DieStamp ¶
func (d *StatefulSetDie) DieStamp(fn func(r *appsv1.StatefulSet)) *StatefulSetDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*StatefulSetDie) DieStampAt ¶
func (d *StatefulSetDie) DieStampAt(jp string, fn interface{}) *StatefulSetDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*StatefulSetDie) DieWith ¶
func (d *StatefulSetDie) DieWith(fns ...func(d *StatefulSetDie)) *StatefulSetDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*StatefulSetDie) GetObjectKind ¶
func (d *StatefulSetDie) GetObjectKind() schema.ObjectKind
func (*StatefulSetDie) Kind ¶
func (d *StatefulSetDie) Kind(v string) *StatefulSetDie
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (*StatefulSetDie) MarshalJSON ¶
func (d *StatefulSetDie) MarshalJSON() ([]byte, error)
func (*StatefulSetDie) Metadata ¶ added in v0.13.0
func (d *StatefulSetDie) Metadata(v apismetav1.ObjectMeta) *StatefulSetDie
Metadata standard object's metadata.
func (*StatefulSetDie) MetadataDie ¶
func (d *StatefulSetDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *StatefulSetDie
MetadataDie stamps the resource's ObjectMeta field with a mutable die.
func (*StatefulSetDie) Spec ¶
func (d *StatefulSetDie) Spec(v appsv1.StatefulSetSpec) *StatefulSetDie
Spec defines the desired identities of pods in this set.
func (*StatefulSetDie) SpecDie ¶
func (d *StatefulSetDie) SpecDie(fn func(d *StatefulSetSpecDie)) *StatefulSetDie
SpecDie stamps the resource's spec field with a mutable die.
func (*StatefulSetDie) Status ¶
func (d *StatefulSetDie) Status(v appsv1.StatefulSetStatus) *StatefulSetDie
Status is the current status of Pods in this StatefulSet. This data
may be out of date by some window of time.
func (*StatefulSetDie) StatusDie ¶
func (d *StatefulSetDie) StatusDie(fn func(d *StatefulSetStatusDie)) *StatefulSetDie
StatusDie stamps the resource's status field with a mutable die.
func (*StatefulSetDie) TypeMetadata ¶ added in v0.13.0
func (d *StatefulSetDie) TypeMetadata(v apismetav1.TypeMeta) *StatefulSetDie
TypeMetadata standard object's type metadata.
func (*StatefulSetDie) TypeMetadataDie ¶ added in v0.13.0
func (d *StatefulSetDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *StatefulSetDie
TypeMetadataDie stamps the resource's TypeMeta field with a mutable die.
func (*StatefulSetDie) UnmarshalJSON ¶
func (d *StatefulSetDie) UnmarshalJSON(b []byte) error
type StatefulSetOrdinalsDie ¶
type StatefulSetOrdinalsDie struct {
// contains filtered or unexported fields
}
func (*StatefulSetOrdinalsDie) DeepCopy ¶
func (d *StatefulSetOrdinalsDie) DeepCopy() *StatefulSetOrdinalsDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*StatefulSetOrdinalsDie) DieDiff ¶ added in v0.13.0
func (d *StatefulSetOrdinalsDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*StatefulSetOrdinalsDie) DieFeed ¶
func (d *StatefulSetOrdinalsDie) DieFeed(r appsv1.StatefulSetOrdinals) *StatefulSetOrdinalsDie
DieFeed returns a new die with the provided resource.
func (*StatefulSetOrdinalsDie) DieFeedJSON ¶
func (d *StatefulSetOrdinalsDie) DieFeedJSON(j []byte) *StatefulSetOrdinalsDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*StatefulSetOrdinalsDie) DieFeedPtr ¶
func (d *StatefulSetOrdinalsDie) DieFeedPtr(r *appsv1.StatefulSetOrdinals) *StatefulSetOrdinalsDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*StatefulSetOrdinalsDie) DieFeedRawExtension ¶
func (d *StatefulSetOrdinalsDie) DieFeedRawExtension(raw runtime.RawExtension) *StatefulSetOrdinalsDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*StatefulSetOrdinalsDie) DieFeedYAML ¶
func (d *StatefulSetOrdinalsDie) DieFeedYAML(y []byte) *StatefulSetOrdinalsDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*StatefulSetOrdinalsDie) DieFeedYAMLFile ¶
func (d *StatefulSetOrdinalsDie) DieFeedYAMLFile(name string) *StatefulSetOrdinalsDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*StatefulSetOrdinalsDie) DieImmutable ¶
func (d *StatefulSetOrdinalsDie) DieImmutable(immutable bool) *StatefulSetOrdinalsDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*StatefulSetOrdinalsDie) DiePatch ¶ added in v0.13.0
func (d *StatefulSetOrdinalsDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*StatefulSetOrdinalsDie) DieRelease ¶
func (d *StatefulSetOrdinalsDie) DieRelease() appsv1.StatefulSetOrdinals
DieRelease returns the resource managed by the die.
func (*StatefulSetOrdinalsDie) DieReleaseJSON ¶
func (d *StatefulSetOrdinalsDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*StatefulSetOrdinalsDie) DieReleasePtr ¶
func (d *StatefulSetOrdinalsDie) DieReleasePtr() *appsv1.StatefulSetOrdinals
DieReleasePtr returns a pointer to the resource managed by the die.
func (*StatefulSetOrdinalsDie) DieReleaseRawExtension ¶
func (d *StatefulSetOrdinalsDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*StatefulSetOrdinalsDie) DieReleaseYAML ¶
func (d *StatefulSetOrdinalsDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*StatefulSetOrdinalsDie) DieSeal ¶ added in v0.13.0
func (d *StatefulSetOrdinalsDie) DieSeal() *StatefulSetOrdinalsDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*StatefulSetOrdinalsDie) DieSealFeed ¶ added in v0.13.0
func (d *StatefulSetOrdinalsDie) DieSealFeed(r appsv1.StatefulSetOrdinals) *StatefulSetOrdinalsDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*StatefulSetOrdinalsDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *StatefulSetOrdinalsDie) DieSealFeedPtr(r *appsv1.StatefulSetOrdinals) *StatefulSetOrdinalsDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*StatefulSetOrdinalsDie) DieSealRelease ¶ added in v0.13.0
func (d *StatefulSetOrdinalsDie) DieSealRelease() appsv1.StatefulSetOrdinals
DieSealRelease returns the sealed resource managed by the die.
func (*StatefulSetOrdinalsDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *StatefulSetOrdinalsDie) DieSealReleasePtr() *appsv1.StatefulSetOrdinals
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*StatefulSetOrdinalsDie) DieStamp ¶
func (d *StatefulSetOrdinalsDie) DieStamp(fn func(r *appsv1.StatefulSetOrdinals)) *StatefulSetOrdinalsDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*StatefulSetOrdinalsDie) DieStampAt ¶
func (d *StatefulSetOrdinalsDie) DieStampAt(jp string, fn interface{}) *StatefulSetOrdinalsDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*StatefulSetOrdinalsDie) DieWith ¶
func (d *StatefulSetOrdinalsDie) DieWith(fns ...func(d *StatefulSetOrdinalsDie)) *StatefulSetOrdinalsDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*StatefulSetOrdinalsDie) Start ¶
func (d *StatefulSetOrdinalsDie) Start(v int32) *StatefulSetOrdinalsDie
start is the number representing the first replica's index. It may be used
to number replicas from an alternate index (eg: 1-indexed) over the default
0-indexed names, or to orchestrate progressive movement of replicas from
one StatefulSet to another.
If set, replica indices will be in the range:
[.spec.ordinals.start, .spec.ordinals.start + .spec.replicas).
If unset, defaults to 0. Replica indices will be in the range:
[0, .spec.replicas).
type StatefulSetPersistentVolumeClaimRetentionPolicyDie ¶
type StatefulSetPersistentVolumeClaimRetentionPolicyDie struct {
// contains filtered or unexported fields
}
func (*StatefulSetPersistentVolumeClaimRetentionPolicyDie) DeepCopy ¶
func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DeepCopy() *StatefulSetPersistentVolumeClaimRetentionPolicyDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieDiff ¶ added in v0.13.0
func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieFeed ¶
func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieFeed(r appsv1.StatefulSetPersistentVolumeClaimRetentionPolicy) *StatefulSetPersistentVolumeClaimRetentionPolicyDie
DieFeed returns a new die with the provided resource.
func (*StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieFeedJSON ¶
func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieFeedJSON(j []byte) *StatefulSetPersistentVolumeClaimRetentionPolicyDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieFeedPtr ¶
func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieFeedPtr(r *appsv1.StatefulSetPersistentVolumeClaimRetentionPolicy) *StatefulSetPersistentVolumeClaimRetentionPolicyDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieFeedRawExtension ¶
func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieFeedRawExtension(raw runtime.RawExtension) *StatefulSetPersistentVolumeClaimRetentionPolicyDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieFeedYAML ¶
func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieFeedYAML(y []byte) *StatefulSetPersistentVolumeClaimRetentionPolicyDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieFeedYAMLFile ¶
func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieFeedYAMLFile(name string) *StatefulSetPersistentVolumeClaimRetentionPolicyDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieImmutable ¶
func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieImmutable(immutable bool) *StatefulSetPersistentVolumeClaimRetentionPolicyDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*StatefulSetPersistentVolumeClaimRetentionPolicyDie) DiePatch ¶ added in v0.13.0
func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieRelease ¶
func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieRelease() appsv1.StatefulSetPersistentVolumeClaimRetentionPolicy
DieRelease returns the resource managed by the die.
func (*StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieReleaseJSON ¶
func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieReleasePtr ¶
func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieReleasePtr() *appsv1.StatefulSetPersistentVolumeClaimRetentionPolicy
DieReleasePtr returns a pointer to the resource managed by the die.
func (*StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieReleaseRawExtension ¶
func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieReleaseYAML ¶
func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieSeal ¶ added in v0.13.0
func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieSeal() *StatefulSetPersistentVolumeClaimRetentionPolicyDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieSealFeed ¶ added in v0.13.0
func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieSealFeed(r appsv1.StatefulSetPersistentVolumeClaimRetentionPolicy) *StatefulSetPersistentVolumeClaimRetentionPolicyDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieSealFeedPtr(r *appsv1.StatefulSetPersistentVolumeClaimRetentionPolicy) *StatefulSetPersistentVolumeClaimRetentionPolicyDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieSealRelease ¶ added in v0.13.0
func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieSealRelease() appsv1.StatefulSetPersistentVolumeClaimRetentionPolicy
DieSealRelease returns the sealed resource managed by the die.
func (*StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieSealReleasePtr() *appsv1.StatefulSetPersistentVolumeClaimRetentionPolicy
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieStamp ¶
func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieStamp(fn func(r *appsv1.StatefulSetPersistentVolumeClaimRetentionPolicy)) *StatefulSetPersistentVolumeClaimRetentionPolicyDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieStampAt ¶
func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieStampAt(jp string, fn interface{}) *StatefulSetPersistentVolumeClaimRetentionPolicyDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieWith ¶
func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) DieWith(fns ...func(d *StatefulSetPersistentVolumeClaimRetentionPolicyDie)) *StatefulSetPersistentVolumeClaimRetentionPolicyDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*StatefulSetPersistentVolumeClaimRetentionPolicyDie) WhenDeleted ¶
func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) WhenDeleted(v appsv1.PersistentVolumeClaimRetentionPolicyType) *StatefulSetPersistentVolumeClaimRetentionPolicyDie
WhenDeleted specifies what happens to PVCs created from StatefulSet
VolumeClaimTemplates when the StatefulSet is deleted. The default policy
of `Retain` causes PVCs to not be affected by StatefulSet deletion. The
`Delete` policy causes those PVCs to be deleted.
func (*StatefulSetPersistentVolumeClaimRetentionPolicyDie) WhenScaled ¶
func (d *StatefulSetPersistentVolumeClaimRetentionPolicyDie) WhenScaled(v appsv1.PersistentVolumeClaimRetentionPolicyType) *StatefulSetPersistentVolumeClaimRetentionPolicyDie
WhenScaled specifies what happens to PVCs created from StatefulSet
VolumeClaimTemplates when the StatefulSet is scaled down. The default
policy of `Retain` causes PVCs to not be affected by a scaledown. The
`Delete` policy causes the associated PVCs for any excess pods above
the replica count to be deleted.
type StatefulSetSpecDie ¶
type StatefulSetSpecDie struct {
// contains filtered or unexported fields
}
func (*StatefulSetSpecDie) DeepCopy ¶
func (d *StatefulSetSpecDie) DeepCopy() *StatefulSetSpecDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*StatefulSetSpecDie) DieDiff ¶ added in v0.13.0
func (d *StatefulSetSpecDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*StatefulSetSpecDie) DieFeed ¶
func (d *StatefulSetSpecDie) DieFeed(r appsv1.StatefulSetSpec) *StatefulSetSpecDie
DieFeed returns a new die with the provided resource.
func (*StatefulSetSpecDie) DieFeedJSON ¶
func (d *StatefulSetSpecDie) DieFeedJSON(j []byte) *StatefulSetSpecDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*StatefulSetSpecDie) DieFeedPtr ¶
func (d *StatefulSetSpecDie) DieFeedPtr(r *appsv1.StatefulSetSpec) *StatefulSetSpecDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*StatefulSetSpecDie) DieFeedRawExtension ¶
func (d *StatefulSetSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *StatefulSetSpecDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*StatefulSetSpecDie) DieFeedYAML ¶
func (d *StatefulSetSpecDie) DieFeedYAML(y []byte) *StatefulSetSpecDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*StatefulSetSpecDie) DieFeedYAMLFile ¶
func (d *StatefulSetSpecDie) DieFeedYAMLFile(name string) *StatefulSetSpecDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*StatefulSetSpecDie) DieImmutable ¶
func (d *StatefulSetSpecDie) DieImmutable(immutable bool) *StatefulSetSpecDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*StatefulSetSpecDie) DiePatch ¶ added in v0.13.0
func (d *StatefulSetSpecDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*StatefulSetSpecDie) DieRelease ¶
func (d *StatefulSetSpecDie) DieRelease() appsv1.StatefulSetSpec
DieRelease returns the resource managed by the die.
func (*StatefulSetSpecDie) DieReleaseJSON ¶
func (d *StatefulSetSpecDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*StatefulSetSpecDie) DieReleasePtr ¶
func (d *StatefulSetSpecDie) DieReleasePtr() *appsv1.StatefulSetSpec
DieReleasePtr returns a pointer to the resource managed by the die.
func (*StatefulSetSpecDie) DieReleaseRawExtension ¶
func (d *StatefulSetSpecDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*StatefulSetSpecDie) DieReleaseYAML ¶
func (d *StatefulSetSpecDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*StatefulSetSpecDie) DieSeal ¶ added in v0.13.0
func (d *StatefulSetSpecDie) DieSeal() *StatefulSetSpecDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*StatefulSetSpecDie) DieSealFeed ¶ added in v0.13.0
func (d *StatefulSetSpecDie) DieSealFeed(r appsv1.StatefulSetSpec) *StatefulSetSpecDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*StatefulSetSpecDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *StatefulSetSpecDie) DieSealFeedPtr(r *appsv1.StatefulSetSpec) *StatefulSetSpecDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*StatefulSetSpecDie) DieSealRelease ¶ added in v0.13.0
func (d *StatefulSetSpecDie) DieSealRelease() appsv1.StatefulSetSpec
DieSealRelease returns the sealed resource managed by the die.
func (*StatefulSetSpecDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *StatefulSetSpecDie) DieSealReleasePtr() *appsv1.StatefulSetSpec
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*StatefulSetSpecDie) DieStamp ¶
func (d *StatefulSetSpecDie) DieStamp(fn func(r *appsv1.StatefulSetSpec)) *StatefulSetSpecDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*StatefulSetSpecDie) DieStampAt ¶
func (d *StatefulSetSpecDie) DieStampAt(jp string, fn interface{}) *StatefulSetSpecDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*StatefulSetSpecDie) DieWith ¶
func (d *StatefulSetSpecDie) DieWith(fns ...func(d *StatefulSetSpecDie)) *StatefulSetSpecDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*StatefulSetSpecDie) MinReadySeconds ¶
func (d *StatefulSetSpecDie) MinReadySeconds(v int32) *StatefulSetSpecDie
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)
func (*StatefulSetSpecDie) Ordinals ¶
func (d *StatefulSetSpecDie) Ordinals(v *appsv1.StatefulSetOrdinals) *StatefulSetSpecDie
ordinals controls the numbering of replica indices in a StatefulSet. The
default ordinals behavior assigns a "0" index to the first replica and
increments the index by one for each additional replica requested.
func (*StatefulSetSpecDie) OrdinalsDie ¶
func (d *StatefulSetSpecDie) OrdinalsDie(fn func(d *StatefulSetOrdinalsDie)) *StatefulSetSpecDie
OrdinalsDie mutates Ordinals as a die.
ordinals controls the numbering of replica indices in a StatefulSet. The
default ordinals behavior assigns a "0" index to the first replica and
increments the index by one for each additional replica requested.
func (*StatefulSetSpecDie) PersistentVolumeClaimRetentionPolicy ¶
func (d *StatefulSetSpecDie) PersistentVolumeClaimRetentionPolicy(v *appsv1.StatefulSetPersistentVolumeClaimRetentionPolicy) *StatefulSetSpecDie
persistentVolumeClaimRetentionPolicy describes the lifecycle of persistent
volume claims created from volumeClaimTemplates. By default, all persistent
volume claims are created as needed and retained until manually deleted. This
policy allows the lifecycle to be altered, for example by deleting persistent
volume claims when their stateful set is deleted, or when their pod is scaled
down.
func (*StatefulSetSpecDie) PersistentVolumeClaimRetentionPolicyDie ¶
func (d *StatefulSetSpecDie) PersistentVolumeClaimRetentionPolicyDie(fn func(d *StatefulSetPersistentVolumeClaimRetentionPolicyDie)) *StatefulSetSpecDie
PersistentVolumeClaimRetentionPolicyDie mutates PersistentVolumeClaimRetentionPolicy as a die.
persistentVolumeClaimRetentionPolicy describes the lifecycle of persistent
volume claims created from volumeClaimTemplates. By default, all persistent
volume claims are created as needed and retained until manually deleted. This
policy allows the lifecycle to be altered, for example by deleting persistent
volume claims when their stateful set is deleted, or when their pod is scaled
down.
func (*StatefulSetSpecDie) PodManagementPolicy ¶
func (d *StatefulSetSpecDie) PodManagementPolicy(v appsv1.PodManagementPolicyType) *StatefulSetSpecDie
podManagementPolicy controls how pods are created during initial scale up,
when replacing pods on nodes, or when scaling down. The default policy is
`OrderedReady`, where pods are created in increasing order (pod-0, then
pod-1, etc) and the controller will wait until each pod is ready before
continuing. When scaling down, the pods are removed in the opposite order.
The alternative policy is `Parallel` which will create pods in parallel ¶
to match the desired scale without waiting, and on scale down will delete
all pods at once.
func (*StatefulSetSpecDie) Replicas ¶
func (d *StatefulSetSpecDie) Replicas(v *int32) *StatefulSetSpecDie
replicas is the desired number of replicas of the given Template.
These are replicas in the sense that they are instantiations of the ¶
same Template, but individual replicas also have a consistent identity.
If unspecified, defaults to 1.
TODO: Consider a rename of this field.
func (*StatefulSetSpecDie) RevisionHistoryLimit ¶
func (d *StatefulSetSpecDie) RevisionHistoryLimit(v *int32) *StatefulSetSpecDie
revisionHistoryLimit is the maximum number of revisions that will
be maintained in the StatefulSet's revision history. The revision history
consists of all revisions not represented by a currently applied
StatefulSetSpec version. The default value is 10.
func (*StatefulSetSpecDie) Selector ¶
func (d *StatefulSetSpecDie) Selector(v *apismetav1.LabelSelector) *StatefulSetSpecDie
selector is a label query over pods that should match the replica count.
It must match the pod template's labels.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
func (*StatefulSetSpecDie) SelectorDie ¶
func (d *StatefulSetSpecDie) SelectorDie(fn func(d *metav1.LabelSelectorDie)) *StatefulSetSpecDie
SelectorDie mutates Selector as a die.
selector is a label query over pods that should match the replica count.
It must match the pod template's labels.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
func (*StatefulSetSpecDie) ServiceName ¶
func (d *StatefulSetSpecDie) ServiceName(v string) *StatefulSetSpecDie
serviceName is the name of the service that governs this StatefulSet.
This service must exist before the StatefulSet, and is responsible for ¶
the network identity of the set. Pods get DNS/hostnames that follow the
pattern: pod-specific-string.serviceName.default.svc.cluster.local
where "pod-specific-string" is managed by the StatefulSet controller.
func (*StatefulSetSpecDie) Template ¶
func (d *StatefulSetSpecDie) Template(v apicorev1.PodTemplateSpec) *StatefulSetSpecDie
template is the object that describes the pod that will be created if
insufficient replicas are detected. Each pod stamped out by the StatefulSet
will fulfill this Template, but have a unique identity from the rest
of the StatefulSet. Each pod will be named with the format
<statefulsetname>-<podindex>. For example, a pod in a StatefulSet named
"web" with index number "3" would be named "web-3".
The only allowed template.spec.restartPolicy value is "Always".
func (*StatefulSetSpecDie) TemplateDie ¶
func (d *StatefulSetSpecDie) TemplateDie(fn func(d *corev1.PodTemplateSpecDie)) *StatefulSetSpecDie
TemplateDie mutates Template as a die.
template is the object that describes the pod that will be created if
insufficient replicas are detected. Each pod stamped out by the StatefulSet
will fulfill this Template, but have a unique identity from the rest
of the StatefulSet. Each pod will be named with the format
<statefulsetname>-<podindex>. For example, a pod in a StatefulSet named
"web" with index number "3" would be named "web-3".
The only allowed template.spec.restartPolicy value is "Always".
func (*StatefulSetSpecDie) UpdateStrategy ¶
func (d *StatefulSetSpecDie) UpdateStrategy(v appsv1.StatefulSetUpdateStrategy) *StatefulSetSpecDie
updateStrategy indicates the StatefulSetUpdateStrategy that will be
employed to update Pods in the StatefulSet when a revision is made to
Template.
func (*StatefulSetSpecDie) UpdateStrategyDie ¶
func (d *StatefulSetSpecDie) UpdateStrategyDie(fn func(d *StatefulSetUpdateStrategyDie)) *StatefulSetSpecDie
UpdateStrategyDie mutates UpdateStrategy as a die.
updateStrategy indicates the StatefulSetUpdateStrategy that will be
employed to update Pods in the StatefulSet when a revision is made to
Template.
func (*StatefulSetSpecDie) VolumeClaimTemplates ¶
func (d *StatefulSetSpecDie) VolumeClaimTemplates(v ...apicorev1.PersistentVolumeClaim) *StatefulSetSpecDie
volumeClaimTemplates is a list of claims that pods are allowed to reference.
The StatefulSet controller is responsible for mapping network identities to ¶
claims in a way that maintains the identity of a pod. Every claim in
this list must have at least one matching (by name) volumeMount in one
container in the template. A claim in this list takes precedence over
any volumes in the template, with the same name.
TODO: Define the behavior if a claim already exists with the same name.
func (*StatefulSetSpecDie) VolumeClaimTemplatesDie ¶
func (d *StatefulSetSpecDie) VolumeClaimTemplatesDie(v ...*corev1.PersistentVolumeClaimDie) *StatefulSetSpecDie
VolumeClaimTemplatesDie replaces VolumeClaimTemplates by collecting the released value from each die passed.
volumeClaimTemplates is a list of claims that pods are allowed to reference.
The StatefulSet controller is responsible for mapping network identities to ¶
claims in a way that maintains the identity of a pod. Every claim in
this list must have at least one matching (by name) volumeMount in one
container in the template. A claim in this list takes precedence over
any volumes in the template, with the same name.
TODO: Define the behavior if a claim already exists with the same name.
type StatefulSetStatusDie ¶
type StatefulSetStatusDie struct {
// contains filtered or unexported fields
}
func (*StatefulSetStatusDie) AvailableReplicas ¶
func (d *StatefulSetStatusDie) AvailableReplicas(v int32) *StatefulSetStatusDie
Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.
func (*StatefulSetStatusDie) CollisionCount ¶
func (d *StatefulSetStatusDie) CollisionCount(v *int32) *StatefulSetStatusDie
collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller
uses this field as a collision avoidance mechanism when it needs to create the name for the
newest ControllerRevision.
func (*StatefulSetStatusDie) Conditions ¶
func (d *StatefulSetStatusDie) Conditions(v ...appsv1.StatefulSetCondition) *StatefulSetStatusDie
Represents the latest available observations of a statefulset's current state.
func (*StatefulSetStatusDie) ConditionsDie ¶
func (d *StatefulSetStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *StatefulSetStatusDie
func (*StatefulSetStatusDie) CurrentReplicas ¶
func (d *StatefulSetStatusDie) CurrentReplicas(v int32) *StatefulSetStatusDie
currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version
indicated by currentRevision.
func (*StatefulSetStatusDie) CurrentRevision ¶
func (d *StatefulSetStatusDie) CurrentRevision(v string) *StatefulSetStatusDie
currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the
sequence [0,currentReplicas).
func (*StatefulSetStatusDie) DeepCopy ¶
func (d *StatefulSetStatusDie) DeepCopy() *StatefulSetStatusDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*StatefulSetStatusDie) DieDiff ¶ added in v0.13.0
func (d *StatefulSetStatusDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*StatefulSetStatusDie) DieFeed ¶
func (d *StatefulSetStatusDie) DieFeed(r appsv1.StatefulSetStatus) *StatefulSetStatusDie
DieFeed returns a new die with the provided resource.
func (*StatefulSetStatusDie) DieFeedJSON ¶
func (d *StatefulSetStatusDie) DieFeedJSON(j []byte) *StatefulSetStatusDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*StatefulSetStatusDie) DieFeedPtr ¶
func (d *StatefulSetStatusDie) DieFeedPtr(r *appsv1.StatefulSetStatus) *StatefulSetStatusDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*StatefulSetStatusDie) DieFeedRawExtension ¶
func (d *StatefulSetStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *StatefulSetStatusDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*StatefulSetStatusDie) DieFeedYAML ¶
func (d *StatefulSetStatusDie) DieFeedYAML(y []byte) *StatefulSetStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*StatefulSetStatusDie) DieFeedYAMLFile ¶
func (d *StatefulSetStatusDie) DieFeedYAMLFile(name string) *StatefulSetStatusDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*StatefulSetStatusDie) DieImmutable ¶
func (d *StatefulSetStatusDie) DieImmutable(immutable bool) *StatefulSetStatusDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*StatefulSetStatusDie) DiePatch ¶ added in v0.13.0
func (d *StatefulSetStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*StatefulSetStatusDie) DieRelease ¶
func (d *StatefulSetStatusDie) DieRelease() appsv1.StatefulSetStatus
DieRelease returns the resource managed by the die.
func (*StatefulSetStatusDie) DieReleaseJSON ¶
func (d *StatefulSetStatusDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*StatefulSetStatusDie) DieReleasePtr ¶
func (d *StatefulSetStatusDie) DieReleasePtr() *appsv1.StatefulSetStatus
DieReleasePtr returns a pointer to the resource managed by the die.
func (*StatefulSetStatusDie) DieReleaseRawExtension ¶
func (d *StatefulSetStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*StatefulSetStatusDie) DieReleaseYAML ¶
func (d *StatefulSetStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*StatefulSetStatusDie) DieSeal ¶ added in v0.13.0
func (d *StatefulSetStatusDie) DieSeal() *StatefulSetStatusDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*StatefulSetStatusDie) DieSealFeed ¶ added in v0.13.0
func (d *StatefulSetStatusDie) DieSealFeed(r appsv1.StatefulSetStatus) *StatefulSetStatusDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*StatefulSetStatusDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *StatefulSetStatusDie) DieSealFeedPtr(r *appsv1.StatefulSetStatus) *StatefulSetStatusDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*StatefulSetStatusDie) DieSealRelease ¶ added in v0.13.0
func (d *StatefulSetStatusDie) DieSealRelease() appsv1.StatefulSetStatus
DieSealRelease returns the sealed resource managed by the die.
func (*StatefulSetStatusDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *StatefulSetStatusDie) DieSealReleasePtr() *appsv1.StatefulSetStatus
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*StatefulSetStatusDie) DieStamp ¶
func (d *StatefulSetStatusDie) DieStamp(fn func(r *appsv1.StatefulSetStatus)) *StatefulSetStatusDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*StatefulSetStatusDie) DieStampAt ¶
func (d *StatefulSetStatusDie) DieStampAt(jp string, fn interface{}) *StatefulSetStatusDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*StatefulSetStatusDie) DieWith ¶
func (d *StatefulSetStatusDie) DieWith(fns ...func(d *StatefulSetStatusDie)) *StatefulSetStatusDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*StatefulSetStatusDie) ObservedGeneration ¶
func (d *StatefulSetStatusDie) ObservedGeneration(v int64) *StatefulSetStatusDie
observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the
StatefulSet's generation, which is updated on mutation by the API Server.
func (*StatefulSetStatusDie) ReadyReplicas ¶
func (d *StatefulSetStatusDie) ReadyReplicas(v int32) *StatefulSetStatusDie
readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.
func (*StatefulSetStatusDie) Replicas ¶
func (d *StatefulSetStatusDie) Replicas(v int32) *StatefulSetStatusDie
replicas is the number of Pods created by the StatefulSet controller.
func (*StatefulSetStatusDie) UpdateRevision ¶
func (d *StatefulSetStatusDie) UpdateRevision(v string) *StatefulSetStatusDie
updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence
[replicas-updatedReplicas,replicas)
func (*StatefulSetStatusDie) UpdatedReplicas ¶
func (d *StatefulSetStatusDie) UpdatedReplicas(v int32) *StatefulSetStatusDie
updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version
indicated by updateRevision.
type StatefulSetUpdateStrategyDie ¶
type StatefulSetUpdateStrategyDie struct {
// contains filtered or unexported fields
}
func (*StatefulSetUpdateStrategyDie) DeepCopy ¶
func (d *StatefulSetUpdateStrategyDie) DeepCopy() *StatefulSetUpdateStrategyDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*StatefulSetUpdateStrategyDie) DieDiff ¶ added in v0.13.0
func (d *StatefulSetUpdateStrategyDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*StatefulSetUpdateStrategyDie) DieFeed ¶
func (d *StatefulSetUpdateStrategyDie) DieFeed(r appsv1.StatefulSetUpdateStrategy) *StatefulSetUpdateStrategyDie
DieFeed returns a new die with the provided resource.
func (*StatefulSetUpdateStrategyDie) DieFeedJSON ¶
func (d *StatefulSetUpdateStrategyDie) DieFeedJSON(j []byte) *StatefulSetUpdateStrategyDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*StatefulSetUpdateStrategyDie) DieFeedPtr ¶
func (d *StatefulSetUpdateStrategyDie) DieFeedPtr(r *appsv1.StatefulSetUpdateStrategy) *StatefulSetUpdateStrategyDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*StatefulSetUpdateStrategyDie) DieFeedRawExtension ¶
func (d *StatefulSetUpdateStrategyDie) DieFeedRawExtension(raw runtime.RawExtension) *StatefulSetUpdateStrategyDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*StatefulSetUpdateStrategyDie) DieFeedYAML ¶
func (d *StatefulSetUpdateStrategyDie) DieFeedYAML(y []byte) *StatefulSetUpdateStrategyDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*StatefulSetUpdateStrategyDie) DieFeedYAMLFile ¶
func (d *StatefulSetUpdateStrategyDie) DieFeedYAMLFile(name string) *StatefulSetUpdateStrategyDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*StatefulSetUpdateStrategyDie) DieImmutable ¶
func (d *StatefulSetUpdateStrategyDie) DieImmutable(immutable bool) *StatefulSetUpdateStrategyDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*StatefulSetUpdateStrategyDie) DiePatch ¶ added in v0.13.0
func (d *StatefulSetUpdateStrategyDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*StatefulSetUpdateStrategyDie) DieRelease ¶
func (d *StatefulSetUpdateStrategyDie) DieRelease() appsv1.StatefulSetUpdateStrategy
DieRelease returns the resource managed by the die.
func (*StatefulSetUpdateStrategyDie) DieReleaseJSON ¶
func (d *StatefulSetUpdateStrategyDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*StatefulSetUpdateStrategyDie) DieReleasePtr ¶
func (d *StatefulSetUpdateStrategyDie) DieReleasePtr() *appsv1.StatefulSetUpdateStrategy
DieReleasePtr returns a pointer to the resource managed by the die.
func (*StatefulSetUpdateStrategyDie) DieReleaseRawExtension ¶
func (d *StatefulSetUpdateStrategyDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*StatefulSetUpdateStrategyDie) DieReleaseYAML ¶
func (d *StatefulSetUpdateStrategyDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*StatefulSetUpdateStrategyDie) DieSeal ¶ added in v0.13.0
func (d *StatefulSetUpdateStrategyDie) DieSeal() *StatefulSetUpdateStrategyDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*StatefulSetUpdateStrategyDie) DieSealFeed ¶ added in v0.13.0
func (d *StatefulSetUpdateStrategyDie) DieSealFeed(r appsv1.StatefulSetUpdateStrategy) *StatefulSetUpdateStrategyDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*StatefulSetUpdateStrategyDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *StatefulSetUpdateStrategyDie) DieSealFeedPtr(r *appsv1.StatefulSetUpdateStrategy) *StatefulSetUpdateStrategyDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*StatefulSetUpdateStrategyDie) DieSealRelease ¶ added in v0.13.0
func (d *StatefulSetUpdateStrategyDie) DieSealRelease() appsv1.StatefulSetUpdateStrategy
DieSealRelease returns the sealed resource managed by the die.
func (*StatefulSetUpdateStrategyDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *StatefulSetUpdateStrategyDie) DieSealReleasePtr() *appsv1.StatefulSetUpdateStrategy
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*StatefulSetUpdateStrategyDie) DieStamp ¶
func (d *StatefulSetUpdateStrategyDie) DieStamp(fn func(r *appsv1.StatefulSetUpdateStrategy)) *StatefulSetUpdateStrategyDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*StatefulSetUpdateStrategyDie) DieStampAt ¶
func (d *StatefulSetUpdateStrategyDie) DieStampAt(jp string, fn interface{}) *StatefulSetUpdateStrategyDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*StatefulSetUpdateStrategyDie) DieWith ¶
func (d *StatefulSetUpdateStrategyDie) DieWith(fns ...func(d *StatefulSetUpdateStrategyDie)) *StatefulSetUpdateStrategyDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*StatefulSetUpdateStrategyDie) OnDelete ¶
func (d *StatefulSetUpdateStrategyDie) OnDelete() *StatefulSetUpdateStrategyDie
func (*StatefulSetUpdateStrategyDie) RollingUpdate ¶
func (d *StatefulSetUpdateStrategyDie) RollingUpdate(v *appsv1.RollingUpdateStatefulSetStrategy) *StatefulSetUpdateStrategyDie
RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.
func (*StatefulSetUpdateStrategyDie) RollingUpdateDie ¶
func (d *StatefulSetUpdateStrategyDie) RollingUpdateDie(fn func(d *RollingUpdateStatefulSetStrategyDie)) *StatefulSetUpdateStrategyDie
func (*StatefulSetUpdateStrategyDie) Type ¶
func (d *StatefulSetUpdateStrategyDie) Type(v appsv1.StatefulSetUpdateStrategyType) *StatefulSetUpdateStrategyDie
Type indicates the type of the StatefulSetUpdateStrategy.
Default is RollingUpdate.