Documentation ¶
Index ¶
- Variables
- type ConditionDie
- func (d *ConditionDie) DeepCopy() *ConditionDie
- func (d *ConditionDie) DieDiff(opts ...cmp.Option) string
- func (d *ConditionDie) DieFeed(r metav1.Condition) *ConditionDie
- func (d *ConditionDie) DieFeedJSON(j []byte) *ConditionDie
- func (d *ConditionDie) DieFeedPtr(r *metav1.Condition) *ConditionDie
- func (d *ConditionDie) DieFeedRawExtension(raw runtime.RawExtension) *ConditionDie
- func (d *ConditionDie) DieFeedYAML(y []byte) *ConditionDie
- func (d *ConditionDie) DieFeedYAMLFile(name string) *ConditionDie
- func (d *ConditionDie) DieImmutable(immutable bool) *ConditionDie
- func (d *ConditionDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *ConditionDie) DieRelease() metav1.Condition
- func (d *ConditionDie) DieReleaseJSON() []byte
- func (d *ConditionDie) DieReleasePtr() *metav1.Condition
- func (d *ConditionDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ConditionDie) DieReleaseYAML() []byte
- func (d *ConditionDie) DieSeal() *ConditionDie
- func (d *ConditionDie) DieSealFeed(r metav1.Condition) *ConditionDie
- func (d *ConditionDie) DieSealFeedPtr(r *metav1.Condition) *ConditionDie
- func (d *ConditionDie) DieSealRelease() metav1.Condition
- func (d *ConditionDie) DieSealReleasePtr() *metav1.Condition
- func (d *ConditionDie) DieStamp(fn func(r *metav1.Condition)) *ConditionDie
- func (d *ConditionDie) DieStampAt(jp string, fn interface{}) *ConditionDie
- func (d *ConditionDie) DieWith(fns ...func(d *ConditionDie)) *ConditionDie
- func (d *ConditionDie) False() *ConditionDie
- func (d *ConditionDie) LastTransitionTime(v metav1.Time) *ConditionDie
- func (d *ConditionDie) Message(v string) *ConditionDie
- func (d *ConditionDie) Messagef(format string, a ...interface{}) *ConditionDie
- func (d *ConditionDie) ObservedGeneration(v int64) *ConditionDie
- func (d *ConditionDie) Reason(v string) *ConditionDie
- func (d *ConditionDie) Status(v metav1.ConditionStatus) *ConditionDie
- func (d *ConditionDie) True() *ConditionDie
- func (d *ConditionDie) Type(v string) *ConditionDie
- func (d *ConditionDie) Unknown() *ConditionDie
- type FieldSelectorRequirementDie
- func (d *FieldSelectorRequirementDie) DeepCopy() *FieldSelectorRequirementDie
- func (d *FieldSelectorRequirementDie) DieDiff(opts ...cmp.Option) string
- func (d *FieldSelectorRequirementDie) DieFeed(r metav1.FieldSelectorRequirement) *FieldSelectorRequirementDie
- func (d *FieldSelectorRequirementDie) DieFeedJSON(j []byte) *FieldSelectorRequirementDie
- func (d *FieldSelectorRequirementDie) DieFeedPtr(r *metav1.FieldSelectorRequirement) *FieldSelectorRequirementDie
- func (d *FieldSelectorRequirementDie) DieFeedRawExtension(raw runtime.RawExtension) *FieldSelectorRequirementDie
- func (d *FieldSelectorRequirementDie) DieFeedYAML(y []byte) *FieldSelectorRequirementDie
- func (d *FieldSelectorRequirementDie) DieFeedYAMLFile(name string) *FieldSelectorRequirementDie
- func (d *FieldSelectorRequirementDie) DieImmutable(immutable bool) *FieldSelectorRequirementDie
- func (d *FieldSelectorRequirementDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *FieldSelectorRequirementDie) DieRelease() metav1.FieldSelectorRequirement
- func (d *FieldSelectorRequirementDie) DieReleaseJSON() []byte
- func (d *FieldSelectorRequirementDie) DieReleasePtr() *metav1.FieldSelectorRequirement
- func (d *FieldSelectorRequirementDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *FieldSelectorRequirementDie) DieReleaseYAML() []byte
- func (d *FieldSelectorRequirementDie) DieSeal() *FieldSelectorRequirementDie
- func (d *FieldSelectorRequirementDie) DieSealFeed(r metav1.FieldSelectorRequirement) *FieldSelectorRequirementDie
- func (d *FieldSelectorRequirementDie) DieSealFeedPtr(r *metav1.FieldSelectorRequirement) *FieldSelectorRequirementDie
- func (d *FieldSelectorRequirementDie) DieSealRelease() metav1.FieldSelectorRequirement
- func (d *FieldSelectorRequirementDie) DieSealReleasePtr() *metav1.FieldSelectorRequirement
- func (d *FieldSelectorRequirementDie) DieStamp(fn func(r *metav1.FieldSelectorRequirement)) *FieldSelectorRequirementDie
- func (d *FieldSelectorRequirementDie) DieStampAt(jp string, fn interface{}) *FieldSelectorRequirementDie
- func (d *FieldSelectorRequirementDie) DieWith(fns ...func(d *FieldSelectorRequirementDie)) *FieldSelectorRequirementDie
- func (d *FieldSelectorRequirementDie) Key(v string) *FieldSelectorRequirementDie
- func (d *FieldSelectorRequirementDie) Operator(v metav1.FieldSelectorOperator) *FieldSelectorRequirementDie
- func (d *FieldSelectorRequirementDie) Values(v ...string) *FieldSelectorRequirementDie
- type FrozenObjectMeta
- func (d *FrozenObjectMeta) GetAnnotations() map[string]string
- func (d *FrozenObjectMeta) GetCreationTimestamp() metav1.Time
- func (d *FrozenObjectMeta) GetDeletionGracePeriodSeconds() *int64
- func (d *FrozenObjectMeta) GetDeletionTimestamp() *metav1.Time
- func (d *FrozenObjectMeta) GetFinalizers() []string
- func (d *FrozenObjectMeta) GetGenerateName() string
- func (d *FrozenObjectMeta) GetGeneration() int64
- func (d *FrozenObjectMeta) GetLabels() map[string]string
- func (d *FrozenObjectMeta) GetManagedFields() []metav1.ManagedFieldsEntry
- func (d *FrozenObjectMeta) GetName() string
- func (d *FrozenObjectMeta) GetNamespace() string
- func (d *FrozenObjectMeta) GetObjectMeta() metav1.Object
- func (d *FrozenObjectMeta) GetOwnerReferences() []metav1.OwnerReference
- func (d *FrozenObjectMeta) GetResourceVersion() string
- func (d *FrozenObjectMeta) GetSelfLink() string
- func (d *FrozenObjectMeta) GetUID() types.UID
- func (d *FrozenObjectMeta) SetAnnotations(annotations map[string]string)
- func (d *FrozenObjectMeta) SetCreationTimestamp(timestamp metav1.Time)
- func (d *FrozenObjectMeta) SetDeletionGracePeriodSeconds(*int64)
- func (d *FrozenObjectMeta) SetDeletionTimestamp(timestamp *metav1.Time)
- func (d *FrozenObjectMeta) SetFinalizers(finalizers []string)
- func (d *FrozenObjectMeta) SetGenerateName(name string)
- func (d *FrozenObjectMeta) SetGeneration(generation int64)
- func (d *FrozenObjectMeta) SetLabels(labels map[string]string)
- func (d *FrozenObjectMeta) SetManagedFields(managedFields []metav1.ManagedFieldsEntry)
- func (d *FrozenObjectMeta) SetName(name string)
- func (d *FrozenObjectMeta) SetNamespace(namespace string)
- func (d *FrozenObjectMeta) SetOwnerReferences([]metav1.OwnerReference)
- func (d *FrozenObjectMeta) SetResourceVersion(version string)
- func (d *FrozenObjectMeta) SetSelfLink(selfLink string)
- func (d *FrozenObjectMeta) SetUID(uid types.UID)
- type GroupResourceDie
- func (d *GroupResourceDie) DeepCopy() *GroupResourceDie
- func (d *GroupResourceDie) DieDiff(opts ...cmp.Option) string
- func (d *GroupResourceDie) DieFeed(r metav1.GroupResource) *GroupResourceDie
- func (d *GroupResourceDie) DieFeedJSON(j []byte) *GroupResourceDie
- func (d *GroupResourceDie) DieFeedPtr(r *metav1.GroupResource) *GroupResourceDie
- func (d *GroupResourceDie) DieFeedRawExtension(raw runtime.RawExtension) *GroupResourceDie
- func (d *GroupResourceDie) DieFeedYAML(y []byte) *GroupResourceDie
- func (d *GroupResourceDie) DieFeedYAMLFile(name string) *GroupResourceDie
- func (d *GroupResourceDie) DieImmutable(immutable bool) *GroupResourceDie
- func (d *GroupResourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *GroupResourceDie) DieRelease() metav1.GroupResource
- func (d *GroupResourceDie) DieReleaseJSON() []byte
- func (d *GroupResourceDie) DieReleasePtr() *metav1.GroupResource
- func (d *GroupResourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *GroupResourceDie) DieReleaseYAML() []byte
- func (d *GroupResourceDie) DieSeal() *GroupResourceDie
- func (d *GroupResourceDie) DieSealFeed(r metav1.GroupResource) *GroupResourceDie
- func (d *GroupResourceDie) DieSealFeedPtr(r *metav1.GroupResource) *GroupResourceDie
- func (d *GroupResourceDie) DieSealRelease() metav1.GroupResource
- func (d *GroupResourceDie) DieSealReleasePtr() *metav1.GroupResource
- func (d *GroupResourceDie) DieStamp(fn func(r *metav1.GroupResource)) *GroupResourceDie
- func (d *GroupResourceDie) DieStampAt(jp string, fn interface{}) *GroupResourceDie
- func (d *GroupResourceDie) DieWith(fns ...func(d *GroupResourceDie)) *GroupResourceDie
- func (d *GroupResourceDie) Group(v string) *GroupResourceDie
- func (d *GroupResourceDie) Resource(v string) *GroupResourceDie
- type GroupVersionDie
- func (d *GroupVersionDie) DeepCopy() *GroupVersionDie
- func (d *GroupVersionDie) DieDiff(opts ...cmp.Option) string
- func (d *GroupVersionDie) DieFeed(r metav1.GroupVersion) *GroupVersionDie
- func (d *GroupVersionDie) DieFeedJSON(j []byte) *GroupVersionDie
- func (d *GroupVersionDie) DieFeedPtr(r *metav1.GroupVersion) *GroupVersionDie
- func (d *GroupVersionDie) DieFeedRawExtension(raw runtime.RawExtension) *GroupVersionDie
- func (d *GroupVersionDie) DieFeedYAML(y []byte) *GroupVersionDie
- func (d *GroupVersionDie) DieFeedYAMLFile(name string) *GroupVersionDie
- func (d *GroupVersionDie) DieImmutable(immutable bool) *GroupVersionDie
- func (d *GroupVersionDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *GroupVersionDie) DieRelease() metav1.GroupVersion
- func (d *GroupVersionDie) DieReleaseJSON() []byte
- func (d *GroupVersionDie) DieReleasePtr() *metav1.GroupVersion
- func (d *GroupVersionDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *GroupVersionDie) DieReleaseYAML() []byte
- func (d *GroupVersionDie) DieSeal() *GroupVersionDie
- func (d *GroupVersionDie) DieSealFeed(r metav1.GroupVersion) *GroupVersionDie
- func (d *GroupVersionDie) DieSealFeedPtr(r *metav1.GroupVersion) *GroupVersionDie
- func (d *GroupVersionDie) DieSealRelease() metav1.GroupVersion
- func (d *GroupVersionDie) DieSealReleasePtr() *metav1.GroupVersion
- func (d *GroupVersionDie) DieStamp(fn func(r *metav1.GroupVersion)) *GroupVersionDie
- func (d *GroupVersionDie) DieStampAt(jp string, fn interface{}) *GroupVersionDie
- func (d *GroupVersionDie) DieWith(fns ...func(d *GroupVersionDie)) *GroupVersionDie
- func (d *GroupVersionDie) Group(v string) *GroupVersionDie
- func (d *GroupVersionDie) Version(v string) *GroupVersionDie
- type GroupVersionForDiscoveryDie
- func (d *GroupVersionForDiscoveryDie) DeepCopy() *GroupVersionForDiscoveryDie
- func (d *GroupVersionForDiscoveryDie) DieDiff(opts ...cmp.Option) string
- func (d *GroupVersionForDiscoveryDie) DieFeed(r metav1.GroupVersionForDiscovery) *GroupVersionForDiscoveryDie
- func (d *GroupVersionForDiscoveryDie) DieFeedJSON(j []byte) *GroupVersionForDiscoveryDie
- func (d *GroupVersionForDiscoveryDie) DieFeedPtr(r *metav1.GroupVersionForDiscovery) *GroupVersionForDiscoveryDie
- func (d *GroupVersionForDiscoveryDie) DieFeedRawExtension(raw runtime.RawExtension) *GroupVersionForDiscoveryDie
- func (d *GroupVersionForDiscoveryDie) DieFeedYAML(y []byte) *GroupVersionForDiscoveryDie
- func (d *GroupVersionForDiscoveryDie) DieFeedYAMLFile(name string) *GroupVersionForDiscoveryDie
- func (d *GroupVersionForDiscoveryDie) DieImmutable(immutable bool) *GroupVersionForDiscoveryDie
- func (d *GroupVersionForDiscoveryDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *GroupVersionForDiscoveryDie) DieRelease() metav1.GroupVersionForDiscovery
- func (d *GroupVersionForDiscoveryDie) DieReleaseJSON() []byte
- func (d *GroupVersionForDiscoveryDie) DieReleasePtr() *metav1.GroupVersionForDiscovery
- func (d *GroupVersionForDiscoveryDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *GroupVersionForDiscoveryDie) DieReleaseYAML() []byte
- func (d *GroupVersionForDiscoveryDie) DieSeal() *GroupVersionForDiscoveryDie
- func (d *GroupVersionForDiscoveryDie) DieSealFeed(r metav1.GroupVersionForDiscovery) *GroupVersionForDiscoveryDie
- func (d *GroupVersionForDiscoveryDie) DieSealFeedPtr(r *metav1.GroupVersionForDiscovery) *GroupVersionForDiscoveryDie
- func (d *GroupVersionForDiscoveryDie) DieSealRelease() metav1.GroupVersionForDiscovery
- func (d *GroupVersionForDiscoveryDie) DieSealReleasePtr() *metav1.GroupVersionForDiscovery
- func (d *GroupVersionForDiscoveryDie) DieStamp(fn func(r *metav1.GroupVersionForDiscovery)) *GroupVersionForDiscoveryDie
- func (d *GroupVersionForDiscoveryDie) DieStampAt(jp string, fn interface{}) *GroupVersionForDiscoveryDie
- func (d *GroupVersionForDiscoveryDie) DieWith(fns ...func(d *GroupVersionForDiscoveryDie)) *GroupVersionForDiscoveryDie
- func (d *GroupVersionForDiscoveryDie) GroupVersion(v string) *GroupVersionForDiscoveryDie
- func (d *GroupVersionForDiscoveryDie) Version(v string) *GroupVersionForDiscoveryDie
- type GroupVersionKindDie
- func (d *GroupVersionKindDie) DeepCopy() *GroupVersionKindDie
- func (d *GroupVersionKindDie) DieDiff(opts ...cmp.Option) string
- func (d *GroupVersionKindDie) DieFeed(r metav1.GroupVersionKind) *GroupVersionKindDie
- func (d *GroupVersionKindDie) DieFeedJSON(j []byte) *GroupVersionKindDie
- func (d *GroupVersionKindDie) DieFeedPtr(r *metav1.GroupVersionKind) *GroupVersionKindDie
- func (d *GroupVersionKindDie) DieFeedRawExtension(raw runtime.RawExtension) *GroupVersionKindDie
- func (d *GroupVersionKindDie) DieFeedYAML(y []byte) *GroupVersionKindDie
- func (d *GroupVersionKindDie) DieFeedYAMLFile(name string) *GroupVersionKindDie
- func (d *GroupVersionKindDie) DieImmutable(immutable bool) *GroupVersionKindDie
- func (d *GroupVersionKindDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *GroupVersionKindDie) DieRelease() metav1.GroupVersionKind
- func (d *GroupVersionKindDie) DieReleaseJSON() []byte
- func (d *GroupVersionKindDie) DieReleasePtr() *metav1.GroupVersionKind
- func (d *GroupVersionKindDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *GroupVersionKindDie) DieReleaseYAML() []byte
- func (d *GroupVersionKindDie) DieSeal() *GroupVersionKindDie
- func (d *GroupVersionKindDie) DieSealFeed(r metav1.GroupVersionKind) *GroupVersionKindDie
- func (d *GroupVersionKindDie) DieSealFeedPtr(r *metav1.GroupVersionKind) *GroupVersionKindDie
- func (d *GroupVersionKindDie) DieSealRelease() metav1.GroupVersionKind
- func (d *GroupVersionKindDie) DieSealReleasePtr() *metav1.GroupVersionKind
- func (d *GroupVersionKindDie) DieStamp(fn func(r *metav1.GroupVersionKind)) *GroupVersionKindDie
- func (d *GroupVersionKindDie) DieStampAt(jp string, fn interface{}) *GroupVersionKindDie
- func (d *GroupVersionKindDie) DieWith(fns ...func(d *GroupVersionKindDie)) *GroupVersionKindDie
- func (d *GroupVersionKindDie) Group(v string) *GroupVersionKindDie
- func (d *GroupVersionKindDie) Kind(v string) *GroupVersionKindDie
- func (d *GroupVersionKindDie) Version(v string) *GroupVersionKindDie
- type GroupVersionResourceDie
- func (d *GroupVersionResourceDie) DeepCopy() *GroupVersionResourceDie
- func (d *GroupVersionResourceDie) DieDiff(opts ...cmp.Option) string
- func (d *GroupVersionResourceDie) DieFeed(r metav1.GroupVersionResource) *GroupVersionResourceDie
- func (d *GroupVersionResourceDie) DieFeedJSON(j []byte) *GroupVersionResourceDie
- func (d *GroupVersionResourceDie) DieFeedPtr(r *metav1.GroupVersionResource) *GroupVersionResourceDie
- func (d *GroupVersionResourceDie) DieFeedRawExtension(raw runtime.RawExtension) *GroupVersionResourceDie
- func (d *GroupVersionResourceDie) DieFeedYAML(y []byte) *GroupVersionResourceDie
- func (d *GroupVersionResourceDie) DieFeedYAMLFile(name string) *GroupVersionResourceDie
- func (d *GroupVersionResourceDie) DieImmutable(immutable bool) *GroupVersionResourceDie
- func (d *GroupVersionResourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *GroupVersionResourceDie) DieRelease() metav1.GroupVersionResource
- func (d *GroupVersionResourceDie) DieReleaseJSON() []byte
- func (d *GroupVersionResourceDie) DieReleasePtr() *metav1.GroupVersionResource
- func (d *GroupVersionResourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *GroupVersionResourceDie) DieReleaseYAML() []byte
- func (d *GroupVersionResourceDie) DieSeal() *GroupVersionResourceDie
- func (d *GroupVersionResourceDie) DieSealFeed(r metav1.GroupVersionResource) *GroupVersionResourceDie
- func (d *GroupVersionResourceDie) DieSealFeedPtr(r *metav1.GroupVersionResource) *GroupVersionResourceDie
- func (d *GroupVersionResourceDie) DieSealRelease() metav1.GroupVersionResource
- func (d *GroupVersionResourceDie) DieSealReleasePtr() *metav1.GroupVersionResource
- func (d *GroupVersionResourceDie) DieStamp(fn func(r *metav1.GroupVersionResource)) *GroupVersionResourceDie
- func (d *GroupVersionResourceDie) DieStampAt(jp string, fn interface{}) *GroupVersionResourceDie
- func (d *GroupVersionResourceDie) DieWith(fns ...func(d *GroupVersionResourceDie)) *GroupVersionResourceDie
- func (d *GroupVersionResourceDie) Group(v string) *GroupVersionResourceDie
- func (d *GroupVersionResourceDie) Resource(v string) *GroupVersionResourceDie
- func (d *GroupVersionResourceDie) Version(v string) *GroupVersionResourceDie
- type LabelSelectorDie
- func (d *LabelSelectorDie) AddMatchExpression(key string, operator metav1.LabelSelectorOperator, values ...string) *LabelSelectorDie
- func (d *LabelSelectorDie) AddMatchLabel(key, value string) *LabelSelectorDie
- func (d *LabelSelectorDie) DeepCopy() *LabelSelectorDie
- func (d *LabelSelectorDie) DieDiff(opts ...cmp.Option) string
- func (d *LabelSelectorDie) DieFeed(r metav1.LabelSelector) *LabelSelectorDie
- func (d *LabelSelectorDie) DieFeedJSON(j []byte) *LabelSelectorDie
- func (d *LabelSelectorDie) DieFeedPtr(r *metav1.LabelSelector) *LabelSelectorDie
- func (d *LabelSelectorDie) DieFeedRawExtension(raw runtime.RawExtension) *LabelSelectorDie
- func (d *LabelSelectorDie) DieFeedYAML(y []byte) *LabelSelectorDie
- func (d *LabelSelectorDie) DieFeedYAMLFile(name string) *LabelSelectorDie
- func (d *LabelSelectorDie) DieImmutable(immutable bool) *LabelSelectorDie
- func (d *LabelSelectorDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *LabelSelectorDie) DieRelease() metav1.LabelSelector
- func (d *LabelSelectorDie) DieReleaseJSON() []byte
- func (d *LabelSelectorDie) DieReleasePtr() *metav1.LabelSelector
- func (d *LabelSelectorDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *LabelSelectorDie) DieReleaseYAML() []byte
- func (d *LabelSelectorDie) DieSeal() *LabelSelectorDie
- func (d *LabelSelectorDie) DieSealFeed(r metav1.LabelSelector) *LabelSelectorDie
- func (d *LabelSelectorDie) DieSealFeedPtr(r *metav1.LabelSelector) *LabelSelectorDie
- func (d *LabelSelectorDie) DieSealRelease() metav1.LabelSelector
- func (d *LabelSelectorDie) DieSealReleasePtr() *metav1.LabelSelector
- func (d *LabelSelectorDie) DieStamp(fn func(r *metav1.LabelSelector)) *LabelSelectorDie
- func (d *LabelSelectorDie) DieStampAt(jp string, fn interface{}) *LabelSelectorDie
- func (d *LabelSelectorDie) DieWith(fns ...func(d *LabelSelectorDie)) *LabelSelectorDie
- func (d *LabelSelectorDie) MatchExpressions(v ...metav1.LabelSelectorRequirement) *LabelSelectorDie
- func (d *LabelSelectorDie) MatchLabels(v map[string]string) *LabelSelectorDie
- type LabelSelectorRequirementDie
- func (d *LabelSelectorRequirementDie) DeepCopy() *LabelSelectorRequirementDie
- func (d *LabelSelectorRequirementDie) DieDiff(opts ...cmp.Option) string
- func (d *LabelSelectorRequirementDie) DieFeed(r metav1.LabelSelectorRequirement) *LabelSelectorRequirementDie
- func (d *LabelSelectorRequirementDie) DieFeedJSON(j []byte) *LabelSelectorRequirementDie
- func (d *LabelSelectorRequirementDie) DieFeedPtr(r *metav1.LabelSelectorRequirement) *LabelSelectorRequirementDie
- func (d *LabelSelectorRequirementDie) DieFeedRawExtension(raw runtime.RawExtension) *LabelSelectorRequirementDie
- func (d *LabelSelectorRequirementDie) DieFeedYAML(y []byte) *LabelSelectorRequirementDie
- func (d *LabelSelectorRequirementDie) DieFeedYAMLFile(name string) *LabelSelectorRequirementDie
- func (d *LabelSelectorRequirementDie) DieImmutable(immutable bool) *LabelSelectorRequirementDie
- func (d *LabelSelectorRequirementDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *LabelSelectorRequirementDie) DieRelease() metav1.LabelSelectorRequirement
- func (d *LabelSelectorRequirementDie) DieReleaseJSON() []byte
- func (d *LabelSelectorRequirementDie) DieReleasePtr() *metav1.LabelSelectorRequirement
- func (d *LabelSelectorRequirementDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *LabelSelectorRequirementDie) DieReleaseYAML() []byte
- func (d *LabelSelectorRequirementDie) DieSeal() *LabelSelectorRequirementDie
- func (d *LabelSelectorRequirementDie) DieSealFeed(r metav1.LabelSelectorRequirement) *LabelSelectorRequirementDie
- func (d *LabelSelectorRequirementDie) DieSealFeedPtr(r *metav1.LabelSelectorRequirement) *LabelSelectorRequirementDie
- func (d *LabelSelectorRequirementDie) DieSealRelease() metav1.LabelSelectorRequirement
- func (d *LabelSelectorRequirementDie) DieSealReleasePtr() *metav1.LabelSelectorRequirement
- func (d *LabelSelectorRequirementDie) DieStamp(fn func(r *metav1.LabelSelectorRequirement)) *LabelSelectorRequirementDie
- func (d *LabelSelectorRequirementDie) DieStampAt(jp string, fn interface{}) *LabelSelectorRequirementDie
- func (d *LabelSelectorRequirementDie) DieWith(fns ...func(d *LabelSelectorRequirementDie)) *LabelSelectorRequirementDie
- func (d *LabelSelectorRequirementDie) Key(v string) *LabelSelectorRequirementDie
- func (d *LabelSelectorRequirementDie) Operator(v metav1.LabelSelectorOperator) *LabelSelectorRequirementDie
- func (d *LabelSelectorRequirementDie) Values(v ...string) *LabelSelectorRequirementDie
- type ListMetaDie
- func (d *ListMetaDie) Continue(v string) *ListMetaDie
- func (d *ListMetaDie) DeepCopy() *ListMetaDie
- func (d *ListMetaDie) DieDiff(opts ...cmp.Option) string
- func (d *ListMetaDie) DieFeed(r metav1.ListMeta) *ListMetaDie
- func (d *ListMetaDie) DieFeedJSON(j []byte) *ListMetaDie
- func (d *ListMetaDie) DieFeedPtr(r *metav1.ListMeta) *ListMetaDie
- func (d *ListMetaDie) DieFeedRawExtension(raw runtime.RawExtension) *ListMetaDie
- func (d *ListMetaDie) DieFeedYAML(y []byte) *ListMetaDie
- func (d *ListMetaDie) DieFeedYAMLFile(name string) *ListMetaDie
- func (d *ListMetaDie) DieImmutable(immutable bool) *ListMetaDie
- func (d *ListMetaDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *ListMetaDie) DieRelease() metav1.ListMeta
- func (d *ListMetaDie) DieReleaseJSON() []byte
- func (d *ListMetaDie) DieReleasePtr() *metav1.ListMeta
- func (d *ListMetaDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ListMetaDie) DieReleaseYAML() []byte
- func (d *ListMetaDie) DieSeal() *ListMetaDie
- func (d *ListMetaDie) DieSealFeed(r metav1.ListMeta) *ListMetaDie
- func (d *ListMetaDie) DieSealFeedPtr(r *metav1.ListMeta) *ListMetaDie
- func (d *ListMetaDie) DieSealRelease() metav1.ListMeta
- func (d *ListMetaDie) DieSealReleasePtr() *metav1.ListMeta
- func (d *ListMetaDie) DieStamp(fn func(r *metav1.ListMeta)) *ListMetaDie
- func (d *ListMetaDie) DieStampAt(jp string, fn interface{}) *ListMetaDie
- func (d *ListMetaDie) DieWith(fns ...func(d *ListMetaDie)) *ListMetaDie
- func (d *ListMetaDie) RemainingItemCount(v *int64) *ListMetaDie
- func (d *ListMetaDie) ResourceVersion(v string) *ListMetaDie
- func (d *ListMetaDie) SelfLink(v string) *ListMetaDiedeprecated
- type ManagedFieldsEntryDie
- func (d *ManagedFieldsEntryDie) APIVersion(v string) *ManagedFieldsEntryDie
- func (d *ManagedFieldsEntryDie) DeepCopy() *ManagedFieldsEntryDie
- func (d *ManagedFieldsEntryDie) DieDiff(opts ...cmp.Option) string
- func (d *ManagedFieldsEntryDie) DieFeed(r metav1.ManagedFieldsEntry) *ManagedFieldsEntryDie
- func (d *ManagedFieldsEntryDie) DieFeedJSON(j []byte) *ManagedFieldsEntryDie
- func (d *ManagedFieldsEntryDie) DieFeedPtr(r *metav1.ManagedFieldsEntry) *ManagedFieldsEntryDie
- func (d *ManagedFieldsEntryDie) DieFeedRawExtension(raw runtime.RawExtension) *ManagedFieldsEntryDie
- func (d *ManagedFieldsEntryDie) DieFeedYAML(y []byte) *ManagedFieldsEntryDie
- func (d *ManagedFieldsEntryDie) DieFeedYAMLFile(name string) *ManagedFieldsEntryDie
- func (d *ManagedFieldsEntryDie) DieImmutable(immutable bool) *ManagedFieldsEntryDie
- func (d *ManagedFieldsEntryDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *ManagedFieldsEntryDie) DieRelease() metav1.ManagedFieldsEntry
- func (d *ManagedFieldsEntryDie) DieReleaseJSON() []byte
- func (d *ManagedFieldsEntryDie) DieReleasePtr() *metav1.ManagedFieldsEntry
- func (d *ManagedFieldsEntryDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ManagedFieldsEntryDie) DieReleaseYAML() []byte
- func (d *ManagedFieldsEntryDie) DieSeal() *ManagedFieldsEntryDie
- func (d *ManagedFieldsEntryDie) DieSealFeed(r metav1.ManagedFieldsEntry) *ManagedFieldsEntryDie
- func (d *ManagedFieldsEntryDie) DieSealFeedPtr(r *metav1.ManagedFieldsEntry) *ManagedFieldsEntryDie
- func (d *ManagedFieldsEntryDie) DieSealRelease() metav1.ManagedFieldsEntry
- func (d *ManagedFieldsEntryDie) DieSealReleasePtr() *metav1.ManagedFieldsEntry
- func (d *ManagedFieldsEntryDie) DieStamp(fn func(r *metav1.ManagedFieldsEntry)) *ManagedFieldsEntryDie
- func (d *ManagedFieldsEntryDie) DieStampAt(jp string, fn interface{}) *ManagedFieldsEntryDie
- func (d *ManagedFieldsEntryDie) DieWith(fns ...func(d *ManagedFieldsEntryDie)) *ManagedFieldsEntryDie
- func (d *ManagedFieldsEntryDie) FieldsType(v string) *ManagedFieldsEntryDie
- func (d *ManagedFieldsEntryDie) FieldsV1(v *metav1.FieldsV1) *ManagedFieldsEntryDie
- func (d *ManagedFieldsEntryDie) Manager(v string) *ManagedFieldsEntryDie
- func (d *ManagedFieldsEntryDie) Operation(v metav1.ManagedFieldsOperationType) *ManagedFieldsEntryDie
- func (d *ManagedFieldsEntryDie) Subresource(v string) *ManagedFieldsEntryDie
- func (d *ManagedFieldsEntryDie) Time(v *metav1.Time) *ManagedFieldsEntryDie
- type ObjectMetaDie
- func (d *ObjectMetaDie) AddAnnotation(key, value string) *ObjectMetaDie
- func (d *ObjectMetaDie) AddLabel(key, value string) *ObjectMetaDie
- func (d *ObjectMetaDie) Annotations(v map[string]string) *ObjectMetaDie
- func (d *ObjectMetaDie) ControlledBy(obj runtime.Object, scheme *runtime.Scheme) *ObjectMetaDie
- func (d *ObjectMetaDie) CreationTimestamp(v metav1.Time) *ObjectMetaDie
- func (d *ObjectMetaDie) DeepCopy() *ObjectMetaDie
- func (d *ObjectMetaDie) DeletionGracePeriodSeconds(v *int64) *ObjectMetaDie
- func (d *ObjectMetaDie) DeletionTimestamp(v *metav1.Time) *ObjectMetaDie
- func (d *ObjectMetaDie) DieDiff(opts ...cmp.Option) string
- func (d *ObjectMetaDie) DieFeed(r metav1.ObjectMeta) *ObjectMetaDie
- func (d *ObjectMetaDie) DieFeedJSON(j []byte) *ObjectMetaDie
- func (d *ObjectMetaDie) DieFeedPtr(r *metav1.ObjectMeta) *ObjectMetaDie
- func (d *ObjectMetaDie) DieFeedRawExtension(raw runtime.RawExtension) *ObjectMetaDie
- func (d *ObjectMetaDie) DieFeedYAML(y []byte) *ObjectMetaDie
- func (d *ObjectMetaDie) DieFeedYAMLFile(name string) *ObjectMetaDie
- func (d *ObjectMetaDie) DieImmutable(immutable bool) *ObjectMetaDie
- func (d *ObjectMetaDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *ObjectMetaDie) DieRelease() metav1.ObjectMeta
- func (d *ObjectMetaDie) DieReleaseJSON() []byte
- func (d *ObjectMetaDie) DieReleasePtr() *metav1.ObjectMeta
- func (d *ObjectMetaDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ObjectMetaDie) DieReleaseYAML() []byte
- func (d *ObjectMetaDie) DieSeal() *ObjectMetaDie
- func (d *ObjectMetaDie) DieSealFeed(r metav1.ObjectMeta) *ObjectMetaDie
- func (d *ObjectMetaDie) DieSealFeedPtr(r *metav1.ObjectMeta) *ObjectMetaDie
- func (d *ObjectMetaDie) DieSealRelease() metav1.ObjectMeta
- func (d *ObjectMetaDie) DieSealReleasePtr() *metav1.ObjectMeta
- func (d *ObjectMetaDie) DieStamp(fn func(r *metav1.ObjectMeta)) *ObjectMetaDie
- func (d *ObjectMetaDie) DieStampAt(jp string, fn interface{}) *ObjectMetaDie
- func (d *ObjectMetaDie) DieWith(fns ...func(d *ObjectMetaDie)) *ObjectMetaDie
- func (d *ObjectMetaDie) Finalizers(v ...string) *ObjectMetaDie
- func (d *ObjectMetaDie) GenerateName(v string) *ObjectMetaDie
- func (d *ObjectMetaDie) Generation(v int64) *ObjectMetaDie
- func (d *ObjectMetaDie) Labels(v map[string]string) *ObjectMetaDie
- func (d *ObjectMetaDie) ManagedFields(v ...metav1.ManagedFieldsEntry) *ObjectMetaDie
- func (d *ObjectMetaDie) ManagedFieldsDie(v ...*ManagedFieldsEntryDie) *ObjectMetaDie
- func (d *ObjectMetaDie) Name(v string) *ObjectMetaDie
- func (d *ObjectMetaDie) Namespace(v string) *ObjectMetaDie
- func (d *ObjectMetaDie) OwnerReferences(v ...metav1.OwnerReference) *ObjectMetaDie
- func (d *ObjectMetaDie) ResourceVersion(v string) *ObjectMetaDie
- func (d *ObjectMetaDie) SelfLink(v string) *ObjectMetaDiedeprecated
- func (d *ObjectMetaDie) UID(v types.UID) *ObjectMetaDie
- type StatusCauseDie
- func (d *StatusCauseDie) DeepCopy() *StatusCauseDie
- func (d *StatusCauseDie) DieDiff(opts ...cmp.Option) string
- func (d *StatusCauseDie) DieFeed(r metav1.StatusCause) *StatusCauseDie
- func (d *StatusCauseDie) DieFeedJSON(j []byte) *StatusCauseDie
- func (d *StatusCauseDie) DieFeedPtr(r *metav1.StatusCause) *StatusCauseDie
- func (d *StatusCauseDie) DieFeedRawExtension(raw runtime.RawExtension) *StatusCauseDie
- func (d *StatusCauseDie) DieFeedYAML(y []byte) *StatusCauseDie
- func (d *StatusCauseDie) DieFeedYAMLFile(name string) *StatusCauseDie
- func (d *StatusCauseDie) DieImmutable(immutable bool) *StatusCauseDie
- func (d *StatusCauseDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *StatusCauseDie) DieRelease() metav1.StatusCause
- func (d *StatusCauseDie) DieReleaseJSON() []byte
- func (d *StatusCauseDie) DieReleasePtr() *metav1.StatusCause
- func (d *StatusCauseDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *StatusCauseDie) DieReleaseYAML() []byte
- func (d *StatusCauseDie) DieSeal() *StatusCauseDie
- func (d *StatusCauseDie) DieSealFeed(r metav1.StatusCause) *StatusCauseDie
- func (d *StatusCauseDie) DieSealFeedPtr(r *metav1.StatusCause) *StatusCauseDie
- func (d *StatusCauseDie) DieSealRelease() metav1.StatusCause
- func (d *StatusCauseDie) DieSealReleasePtr() *metav1.StatusCause
- func (d *StatusCauseDie) DieStamp(fn func(r *metav1.StatusCause)) *StatusCauseDie
- func (d *StatusCauseDie) DieStampAt(jp string, fn interface{}) *StatusCauseDie
- func (d *StatusCauseDie) DieWith(fns ...func(d *StatusCauseDie)) *StatusCauseDie
- func (d *StatusCauseDie) Field(v string) *StatusCauseDie
- func (d *StatusCauseDie) Message(v string) *StatusCauseDie
- func (d *StatusCauseDie) Type(v metav1.CauseType) *StatusCauseDie
- type StatusDetailsDie
- func (d *StatusDetailsDie) Causes(v ...metav1.StatusCause) *StatusDetailsDie
- func (d *StatusDetailsDie) CausesDie(v ...*StatusCauseDie) *StatusDetailsDie
- func (d *StatusDetailsDie) DeepCopy() *StatusDetailsDie
- func (d *StatusDetailsDie) DieDiff(opts ...cmp.Option) string
- func (d *StatusDetailsDie) DieFeed(r metav1.StatusDetails) *StatusDetailsDie
- func (d *StatusDetailsDie) DieFeedJSON(j []byte) *StatusDetailsDie
- func (d *StatusDetailsDie) DieFeedPtr(r *metav1.StatusDetails) *StatusDetailsDie
- func (d *StatusDetailsDie) DieFeedRawExtension(raw runtime.RawExtension) *StatusDetailsDie
- func (d *StatusDetailsDie) DieFeedYAML(y []byte) *StatusDetailsDie
- func (d *StatusDetailsDie) DieFeedYAMLFile(name string) *StatusDetailsDie
- func (d *StatusDetailsDie) DieImmutable(immutable bool) *StatusDetailsDie
- func (d *StatusDetailsDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *StatusDetailsDie) DieRelease() metav1.StatusDetails
- func (d *StatusDetailsDie) DieReleaseJSON() []byte
- func (d *StatusDetailsDie) DieReleasePtr() *metav1.StatusDetails
- func (d *StatusDetailsDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *StatusDetailsDie) DieReleaseYAML() []byte
- func (d *StatusDetailsDie) DieSeal() *StatusDetailsDie
- func (d *StatusDetailsDie) DieSealFeed(r metav1.StatusDetails) *StatusDetailsDie
- func (d *StatusDetailsDie) DieSealFeedPtr(r *metav1.StatusDetails) *StatusDetailsDie
- func (d *StatusDetailsDie) DieSealRelease() metav1.StatusDetails
- func (d *StatusDetailsDie) DieSealReleasePtr() *metav1.StatusDetails
- func (d *StatusDetailsDie) DieStamp(fn func(r *metav1.StatusDetails)) *StatusDetailsDie
- func (d *StatusDetailsDie) DieStampAt(jp string, fn interface{}) *StatusDetailsDie
- func (d *StatusDetailsDie) DieWith(fns ...func(d *StatusDetailsDie)) *StatusDetailsDie
- func (d *StatusDetailsDie) Group(v string) *StatusDetailsDie
- func (d *StatusDetailsDie) Kind(v string) *StatusDetailsDie
- func (d *StatusDetailsDie) Name(v string) *StatusDetailsDie
- func (d *StatusDetailsDie) RetryAfterSeconds(v int32) *StatusDetailsDie
- func (d *StatusDetailsDie) UID(v types.UID) *StatusDetailsDie
- type StatusDie
- func (d *StatusDie) APIVersion(v string) *StatusDie
- func (d *StatusDie) Code(v int32) *StatusDie
- func (d *StatusDie) DeepCopy() *StatusDie
- func (d *StatusDie) Details(v *metav1.StatusDetails) *StatusDie
- func (d *StatusDie) DetailsDie(fn func(d *StatusDetailsDie)) *StatusDie
- func (d *StatusDie) DieDiff(opts ...cmp.Option) string
- func (d *StatusDie) DieFeed(r metav1.Status) *StatusDie
- func (d *StatusDie) DieFeedJSON(j []byte) *StatusDie
- func (d *StatusDie) DieFeedPtr(r *metav1.Status) *StatusDie
- func (d *StatusDie) DieFeedRawExtension(raw runtime.RawExtension) *StatusDie
- func (d *StatusDie) DieFeedYAML(y []byte) *StatusDie
- func (d *StatusDie) DieFeedYAMLFile(name string) *StatusDie
- func (d *StatusDie) DieImmutable(immutable bool) *StatusDie
- func (d *StatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *StatusDie) DieRelease() metav1.Status
- func (d *StatusDie) DieReleaseJSON() []byte
- func (d *StatusDie) DieReleasePtr() *metav1.Status
- func (d *StatusDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *StatusDie) DieReleaseYAML() []byte
- func (d *StatusDie) DieSeal() *StatusDie
- func (d *StatusDie) DieSealFeed(r metav1.Status) *StatusDie
- func (d *StatusDie) DieSealFeedPtr(r *metav1.Status) *StatusDie
- func (d *StatusDie) DieSealRelease() metav1.Status
- func (d *StatusDie) DieSealReleasePtr() *metav1.Status
- func (d *StatusDie) DieStamp(fn func(r *metav1.Status)) *StatusDie
- func (d *StatusDie) DieStampAt(jp string, fn interface{}) *StatusDie
- func (d *StatusDie) DieWith(fns ...func(d *StatusDie)) *StatusDie
- func (d *StatusDie) Kind(v string) *StatusDie
- func (d *StatusDie) ListMeta(v metav1.ListMeta) *StatusDie
- func (d *StatusDie) ListMetaDie(fn func(d *ListMetaDie)) *StatusDie
- func (d *StatusDie) Message(v string) *StatusDie
- func (d *StatusDie) Reason(v metav1.StatusReason) *StatusDie
- func (d *StatusDie) Status(v string) *StatusDie
- func (d *StatusDie) TypeMeta(v metav1.TypeMeta) *StatusDie
- type TypeMetaDie
- func (d *TypeMetaDie) APIVersion(v string) *TypeMetaDie
- func (d *TypeMetaDie) DeepCopy() *TypeMetaDie
- func (d *TypeMetaDie) DieDiff(opts ...cmp.Option) string
- func (d *TypeMetaDie) DieFeed(r metav1.TypeMeta) *TypeMetaDie
- func (d *TypeMetaDie) DieFeedJSON(j []byte) *TypeMetaDie
- func (d *TypeMetaDie) DieFeedPtr(r *metav1.TypeMeta) *TypeMetaDie
- func (d *TypeMetaDie) DieFeedRawExtension(raw runtime.RawExtension) *TypeMetaDie
- func (d *TypeMetaDie) DieFeedYAML(y []byte) *TypeMetaDie
- func (d *TypeMetaDie) DieFeedYAMLFile(name string) *TypeMetaDie
- func (d *TypeMetaDie) DieImmutable(immutable bool) *TypeMetaDie
- func (d *TypeMetaDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *TypeMetaDie) DieRelease() metav1.TypeMeta
- func (d *TypeMetaDie) DieReleaseJSON() []byte
- func (d *TypeMetaDie) DieReleasePtr() *metav1.TypeMeta
- func (d *TypeMetaDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *TypeMetaDie) DieReleaseYAML() []byte
- func (d *TypeMetaDie) DieSeal() *TypeMetaDie
- func (d *TypeMetaDie) DieSealFeed(r metav1.TypeMeta) *TypeMetaDie
- func (d *TypeMetaDie) DieSealFeedPtr(r *metav1.TypeMeta) *TypeMetaDie
- func (d *TypeMetaDie) DieSealRelease() metav1.TypeMeta
- func (d *TypeMetaDie) DieSealReleasePtr() *metav1.TypeMeta
- func (d *TypeMetaDie) DieStamp(fn func(r *metav1.TypeMeta)) *TypeMetaDie
- func (d *TypeMetaDie) DieStampAt(jp string, fn interface{}) *TypeMetaDie
- func (d *TypeMetaDie) DieWith(fns ...func(d *TypeMetaDie)) *TypeMetaDie
- func (d *TypeMetaDie) Group(v string) *TypeMetaDie
- func (d *TypeMetaDie) Kind(v string) *TypeMetaDie
- func (d *TypeMetaDie) Version(v string) *TypeMetaDie
Constants ¶
This section is empty.
Variables ¶
var ConditionBlank = (&ConditionDie{}).DieFeed(metav1.Condition{})
var FieldSelectorRequirementBlank = (&FieldSelectorRequirementDie{}).DieFeed(metav1.FieldSelectorRequirement{})
var GroupResourceBlank = (&GroupResourceDie{}).DieFeed(metav1.GroupResource{})
var GroupVersionBlank = (&GroupVersionDie{}).DieFeed(metav1.GroupVersion{})
var GroupVersionForDiscoveryBlank = (&GroupVersionForDiscoveryDie{}).DieFeed(metav1.GroupVersionForDiscovery{})
var GroupVersionKindBlank = (&GroupVersionKindDie{}).DieFeed(metav1.GroupVersionKind{})
var GroupVersionResourceBlank = (&GroupVersionResourceDie{}).DieFeed(metav1.GroupVersionResource{})
var LabelSelectorBlank = (&LabelSelectorDie{}).DieFeed(metav1.LabelSelector{})
var LabelSelectorRequirementBlank = (&LabelSelectorRequirementDie{}).DieFeed(metav1.LabelSelectorRequirement{})
var ListMetaBlank = (&ListMetaDie{}).DieFeed(metav1.ListMeta{})
var ManagedFieldsEntryBlank = (&ManagedFieldsEntryDie{}).DieFeed(metav1.ManagedFieldsEntry{})
var ObjectMetaBlank = (&ObjectMetaDie{}).DieFeed(metav1.ObjectMeta{})
var StatusBlank = (&StatusDie{}).DieFeed(metav1.Status{})
var StatusCauseBlank = (&StatusCauseDie{}).DieFeed(metav1.StatusCause{})
var StatusDetailsBlank = (&StatusDetailsDie{}).DieFeed(metav1.StatusDetails{})
var TypeMetaBlank = (&TypeMetaDie{}).DieFeed(metav1.TypeMeta{})
Functions ¶
This section is empty.
Types ¶
type ConditionDie ¶
type ConditionDie struct {
// contains filtered or unexported fields
}
func (*ConditionDie) DeepCopy ¶
func (d *ConditionDie) DeepCopy() *ConditionDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ConditionDie) DieDiff ¶ added in v0.13.0
func (d *ConditionDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ConditionDie) DieFeed ¶
func (d *ConditionDie) DieFeed(r metav1.Condition) *ConditionDie
DieFeed returns a new die with the provided resource.
func (*ConditionDie) DieFeedJSON ¶
func (d *ConditionDie) DieFeedJSON(j []byte) *ConditionDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ConditionDie) DieFeedPtr ¶
func (d *ConditionDie) DieFeedPtr(r *metav1.Condition) *ConditionDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ConditionDie) DieFeedRawExtension ¶
func (d *ConditionDie) DieFeedRawExtension(raw runtime.RawExtension) *ConditionDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ConditionDie) DieFeedYAML ¶
func (d *ConditionDie) DieFeedYAML(y []byte) *ConditionDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ConditionDie) DieFeedYAMLFile ¶
func (d *ConditionDie) DieFeedYAMLFile(name string) *ConditionDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ConditionDie) DieImmutable ¶
func (d *ConditionDie) DieImmutable(immutable bool) *ConditionDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ConditionDie) DiePatch ¶ added in v0.13.0
func (d *ConditionDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ConditionDie) DieRelease ¶
func (d *ConditionDie) DieRelease() metav1.Condition
DieRelease returns the resource managed by the die.
func (*ConditionDie) DieReleaseJSON ¶
func (d *ConditionDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ConditionDie) DieReleasePtr ¶
func (d *ConditionDie) DieReleasePtr() *metav1.Condition
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ConditionDie) DieReleaseRawExtension ¶
func (d *ConditionDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ConditionDie) DieReleaseYAML ¶
func (d *ConditionDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ConditionDie) DieSeal ¶ added in v0.13.0
func (d *ConditionDie) DieSeal() *ConditionDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ConditionDie) DieSealFeed ¶ added in v0.13.0
func (d *ConditionDie) DieSealFeed(r metav1.Condition) *ConditionDie
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 (*ConditionDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ConditionDie) DieSealFeedPtr(r *metav1.Condition) *ConditionDie
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 (*ConditionDie) DieSealRelease ¶ added in v0.13.0
func (d *ConditionDie) DieSealRelease() metav1.Condition
DieSealRelease returns the sealed resource managed by the die.
func (*ConditionDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ConditionDie) DieSealReleasePtr() *metav1.Condition
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*ConditionDie) DieStamp ¶
func (d *ConditionDie) DieStamp(fn func(r *metav1.Condition)) *ConditionDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ConditionDie) DieStampAt ¶
func (d *ConditionDie) DieStampAt(jp string, fn interface{}) *ConditionDie
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 (*ConditionDie) DieWith ¶
func (d *ConditionDie) DieWith(fns ...func(d *ConditionDie)) *ConditionDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ConditionDie) False ¶
func (d *ConditionDie) False() *ConditionDie
func (*ConditionDie) LastTransitionTime ¶
func (d *ConditionDie) LastTransitionTime(v metav1.Time) *ConditionDie
lastTransitionTime is the last time the condition transitioned from one status to another.
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
func (*ConditionDie) Message ¶
func (d *ConditionDie) Message(v string) *ConditionDie
message is a human readable message indicating details about the transition.
This may be an empty string.
func (*ConditionDie) Messagef ¶
func (d *ConditionDie) Messagef(format string, a ...interface{}) *ConditionDie
func (*ConditionDie) ObservedGeneration ¶
func (d *ConditionDie) ObservedGeneration(v int64) *ConditionDie
observedGeneration represents the .metadata.generation that the condition was set based upon.
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
with respect to the current state of the instance.
func (*ConditionDie) Reason ¶
func (d *ConditionDie) Reason(v string) *ConditionDie
reason contains a programmatic identifier indicating the reason for the condition's last transition.
Producers of specific condition types may define expected values and meanings for this field,
and whether the values are considered a guaranteed API.
The value should be a CamelCase string.
This field may not be empty.
func (*ConditionDie) Status ¶
func (d *ConditionDie) Status(v metav1.ConditionStatus) *ConditionDie
status of the condition, one of True, False, Unknown.
func (*ConditionDie) True ¶
func (d *ConditionDie) True() *ConditionDie
func (*ConditionDie) Type ¶
func (d *ConditionDie) Type(v string) *ConditionDie
type of condition in CamelCase or in foo.example.com/CamelCase.
---
Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be ¶
useful (see .node.status.conditions), the ability to deconflict is important.
The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
func (*ConditionDie) Unknown ¶
func (d *ConditionDie) Unknown() *ConditionDie
type FieldSelectorRequirementDie ¶ added in v0.14.0
type FieldSelectorRequirementDie struct {
// contains filtered or unexported fields
}
func (*FieldSelectorRequirementDie) DeepCopy ¶ added in v0.14.0
func (d *FieldSelectorRequirementDie) DeepCopy() *FieldSelectorRequirementDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*FieldSelectorRequirementDie) DieDiff ¶ added in v0.14.0
func (d *FieldSelectorRequirementDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*FieldSelectorRequirementDie) DieFeed ¶ added in v0.14.0
func (d *FieldSelectorRequirementDie) DieFeed(r metav1.FieldSelectorRequirement) *FieldSelectorRequirementDie
DieFeed returns a new die with the provided resource.
func (*FieldSelectorRequirementDie) DieFeedJSON ¶ added in v0.14.0
func (d *FieldSelectorRequirementDie) DieFeedJSON(j []byte) *FieldSelectorRequirementDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*FieldSelectorRequirementDie) DieFeedPtr ¶ added in v0.14.0
func (d *FieldSelectorRequirementDie) DieFeedPtr(r *metav1.FieldSelectorRequirement) *FieldSelectorRequirementDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*FieldSelectorRequirementDie) DieFeedRawExtension ¶ added in v0.14.0
func (d *FieldSelectorRequirementDie) DieFeedRawExtension(raw runtime.RawExtension) *FieldSelectorRequirementDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*FieldSelectorRequirementDie) DieFeedYAML ¶ added in v0.14.0
func (d *FieldSelectorRequirementDie) DieFeedYAML(y []byte) *FieldSelectorRequirementDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*FieldSelectorRequirementDie) DieFeedYAMLFile ¶ added in v0.14.0
func (d *FieldSelectorRequirementDie) DieFeedYAMLFile(name string) *FieldSelectorRequirementDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*FieldSelectorRequirementDie) DieImmutable ¶ added in v0.14.0
func (d *FieldSelectorRequirementDie) DieImmutable(immutable bool) *FieldSelectorRequirementDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*FieldSelectorRequirementDie) DiePatch ¶ added in v0.14.0
func (d *FieldSelectorRequirementDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*FieldSelectorRequirementDie) DieRelease ¶ added in v0.14.0
func (d *FieldSelectorRequirementDie) DieRelease() metav1.FieldSelectorRequirement
DieRelease returns the resource managed by the die.
func (*FieldSelectorRequirementDie) DieReleaseJSON ¶ added in v0.14.0
func (d *FieldSelectorRequirementDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*FieldSelectorRequirementDie) DieReleasePtr ¶ added in v0.14.0
func (d *FieldSelectorRequirementDie) DieReleasePtr() *metav1.FieldSelectorRequirement
DieReleasePtr returns a pointer to the resource managed by the die.
func (*FieldSelectorRequirementDie) DieReleaseRawExtension ¶ added in v0.14.0
func (d *FieldSelectorRequirementDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*FieldSelectorRequirementDie) DieReleaseYAML ¶ added in v0.14.0
func (d *FieldSelectorRequirementDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*FieldSelectorRequirementDie) DieSeal ¶ added in v0.14.0
func (d *FieldSelectorRequirementDie) DieSeal() *FieldSelectorRequirementDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*FieldSelectorRequirementDie) DieSealFeed ¶ added in v0.14.0
func (d *FieldSelectorRequirementDie) DieSealFeed(r metav1.FieldSelectorRequirement) *FieldSelectorRequirementDie
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 (*FieldSelectorRequirementDie) DieSealFeedPtr ¶ added in v0.14.0
func (d *FieldSelectorRequirementDie) DieSealFeedPtr(r *metav1.FieldSelectorRequirement) *FieldSelectorRequirementDie
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 (*FieldSelectorRequirementDie) DieSealRelease ¶ added in v0.14.0
func (d *FieldSelectorRequirementDie) DieSealRelease() metav1.FieldSelectorRequirement
DieSealRelease returns the sealed resource managed by the die.
func (*FieldSelectorRequirementDie) DieSealReleasePtr ¶ added in v0.14.0
func (d *FieldSelectorRequirementDie) DieSealReleasePtr() *metav1.FieldSelectorRequirement
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*FieldSelectorRequirementDie) DieStamp ¶ added in v0.14.0
func (d *FieldSelectorRequirementDie) DieStamp(fn func(r *metav1.FieldSelectorRequirement)) *FieldSelectorRequirementDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*FieldSelectorRequirementDie) DieStampAt ¶ added in v0.14.0
func (d *FieldSelectorRequirementDie) DieStampAt(jp string, fn interface{}) *FieldSelectorRequirementDie
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 (*FieldSelectorRequirementDie) DieWith ¶ added in v0.14.0
func (d *FieldSelectorRequirementDie) DieWith(fns ...func(d *FieldSelectorRequirementDie)) *FieldSelectorRequirementDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*FieldSelectorRequirementDie) Key ¶ added in v0.14.0
func (d *FieldSelectorRequirementDie) Key(v string) *FieldSelectorRequirementDie
key is the field selector key that the requirement applies to.
func (*FieldSelectorRequirementDie) Operator ¶ added in v0.14.0
func (d *FieldSelectorRequirementDie) Operator(v metav1.FieldSelectorOperator) *FieldSelectorRequirementDie
operator represents a key's relationship to a set of values.
Valid operators are In, NotIn, Exists, DoesNotExist.
The list of operators may grow in the future.
func (*FieldSelectorRequirementDie) Values ¶ added in v0.14.0
func (d *FieldSelectorRequirementDie) Values(v ...string) *FieldSelectorRequirementDie
values is an array of string values.
If the operator is In or NotIn, the values array must be non-empty.
If the operator is Exists or DoesNotExist, the values array must be empty.
type FrozenObjectMeta ¶
type FrozenObjectMeta struct {
// contains filtered or unexported fields
}
func FreezeObjectMeta ¶
func FreezeObjectMeta(r metav1.ObjectMeta) FrozenObjectMeta
func (*FrozenObjectMeta) GetAnnotations ¶
func (d *FrozenObjectMeta) GetAnnotations() map[string]string
func (*FrozenObjectMeta) GetCreationTimestamp ¶
func (d *FrozenObjectMeta) GetCreationTimestamp() metav1.Time
func (*FrozenObjectMeta) GetDeletionGracePeriodSeconds ¶
func (d *FrozenObjectMeta) GetDeletionGracePeriodSeconds() *int64
func (*FrozenObjectMeta) GetDeletionTimestamp ¶
func (d *FrozenObjectMeta) GetDeletionTimestamp() *metav1.Time
func (*FrozenObjectMeta) GetFinalizers ¶
func (d *FrozenObjectMeta) GetFinalizers() []string
func (*FrozenObjectMeta) GetGenerateName ¶
func (d *FrozenObjectMeta) GetGenerateName() string
func (*FrozenObjectMeta) GetGeneration ¶
func (d *FrozenObjectMeta) GetGeneration() int64
func (*FrozenObjectMeta) GetLabels ¶
func (d *FrozenObjectMeta) GetLabels() map[string]string
func (*FrozenObjectMeta) GetManagedFields ¶
func (d *FrozenObjectMeta) GetManagedFields() []metav1.ManagedFieldsEntry
func (*FrozenObjectMeta) GetName ¶
func (d *FrozenObjectMeta) GetName() string
func (*FrozenObjectMeta) GetNamespace ¶
func (d *FrozenObjectMeta) GetNamespace() string
func (*FrozenObjectMeta) GetObjectMeta ¶
func (d *FrozenObjectMeta) GetObjectMeta() metav1.Object
func (*FrozenObjectMeta) GetOwnerReferences ¶
func (d *FrozenObjectMeta) GetOwnerReferences() []metav1.OwnerReference
func (*FrozenObjectMeta) GetResourceVersion ¶
func (d *FrozenObjectMeta) GetResourceVersion() string
func (*FrozenObjectMeta) GetSelfLink ¶
func (d *FrozenObjectMeta) GetSelfLink() string
func (*FrozenObjectMeta) GetUID ¶
func (d *FrozenObjectMeta) GetUID() types.UID
func (*FrozenObjectMeta) SetAnnotations ¶
func (d *FrozenObjectMeta) SetAnnotations(annotations map[string]string)
func (*FrozenObjectMeta) SetCreationTimestamp ¶
func (d *FrozenObjectMeta) SetCreationTimestamp(timestamp metav1.Time)
func (*FrozenObjectMeta) SetDeletionGracePeriodSeconds ¶
func (d *FrozenObjectMeta) SetDeletionGracePeriodSeconds(*int64)
func (*FrozenObjectMeta) SetDeletionTimestamp ¶
func (d *FrozenObjectMeta) SetDeletionTimestamp(timestamp *metav1.Time)
func (*FrozenObjectMeta) SetFinalizers ¶
func (d *FrozenObjectMeta) SetFinalizers(finalizers []string)
func (*FrozenObjectMeta) SetGenerateName ¶
func (d *FrozenObjectMeta) SetGenerateName(name string)
func (*FrozenObjectMeta) SetGeneration ¶
func (d *FrozenObjectMeta) SetGeneration(generation int64)
func (*FrozenObjectMeta) SetLabels ¶
func (d *FrozenObjectMeta) SetLabels(labels map[string]string)
func (*FrozenObjectMeta) SetManagedFields ¶
func (d *FrozenObjectMeta) SetManagedFields(managedFields []metav1.ManagedFieldsEntry)
func (*FrozenObjectMeta) SetName ¶
func (d *FrozenObjectMeta) SetName(name string)
func (*FrozenObjectMeta) SetNamespace ¶
func (d *FrozenObjectMeta) SetNamespace(namespace string)
func (*FrozenObjectMeta) SetOwnerReferences ¶
func (d *FrozenObjectMeta) SetOwnerReferences([]metav1.OwnerReference)
func (*FrozenObjectMeta) SetResourceVersion ¶
func (d *FrozenObjectMeta) SetResourceVersion(version string)
func (*FrozenObjectMeta) SetSelfLink ¶
func (d *FrozenObjectMeta) SetSelfLink(selfLink string)
func (*FrozenObjectMeta) SetUID ¶
func (d *FrozenObjectMeta) SetUID(uid types.UID)
type GroupResourceDie ¶
type GroupResourceDie struct {
// contains filtered or unexported fields
}
func (*GroupResourceDie) DeepCopy ¶
func (d *GroupResourceDie) DeepCopy() *GroupResourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*GroupResourceDie) DieDiff ¶ added in v0.13.0
func (d *GroupResourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*GroupResourceDie) DieFeed ¶
func (d *GroupResourceDie) DieFeed(r metav1.GroupResource) *GroupResourceDie
DieFeed returns a new die with the provided resource.
func (*GroupResourceDie) DieFeedJSON ¶
func (d *GroupResourceDie) DieFeedJSON(j []byte) *GroupResourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*GroupResourceDie) DieFeedPtr ¶
func (d *GroupResourceDie) DieFeedPtr(r *metav1.GroupResource) *GroupResourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*GroupResourceDie) DieFeedRawExtension ¶
func (d *GroupResourceDie) DieFeedRawExtension(raw runtime.RawExtension) *GroupResourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*GroupResourceDie) DieFeedYAML ¶
func (d *GroupResourceDie) DieFeedYAML(y []byte) *GroupResourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*GroupResourceDie) DieFeedYAMLFile ¶
func (d *GroupResourceDie) DieFeedYAMLFile(name string) *GroupResourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*GroupResourceDie) DieImmutable ¶
func (d *GroupResourceDie) DieImmutable(immutable bool) *GroupResourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*GroupResourceDie) DiePatch ¶ added in v0.13.0
func (d *GroupResourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*GroupResourceDie) DieRelease ¶
func (d *GroupResourceDie) DieRelease() metav1.GroupResource
DieRelease returns the resource managed by the die.
func (*GroupResourceDie) DieReleaseJSON ¶
func (d *GroupResourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*GroupResourceDie) DieReleasePtr ¶
func (d *GroupResourceDie) DieReleasePtr() *metav1.GroupResource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*GroupResourceDie) DieReleaseRawExtension ¶
func (d *GroupResourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*GroupResourceDie) DieReleaseYAML ¶
func (d *GroupResourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*GroupResourceDie) DieSeal ¶ added in v0.13.0
func (d *GroupResourceDie) DieSeal() *GroupResourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*GroupResourceDie) DieSealFeed ¶ added in v0.13.0
func (d *GroupResourceDie) DieSealFeed(r metav1.GroupResource) *GroupResourceDie
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 (*GroupResourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *GroupResourceDie) DieSealFeedPtr(r *metav1.GroupResource) *GroupResourceDie
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 (*GroupResourceDie) DieSealRelease ¶ added in v0.13.0
func (d *GroupResourceDie) DieSealRelease() metav1.GroupResource
DieSealRelease returns the sealed resource managed by the die.
func (*GroupResourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *GroupResourceDie) DieSealReleasePtr() *metav1.GroupResource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*GroupResourceDie) DieStamp ¶
func (d *GroupResourceDie) DieStamp(fn func(r *metav1.GroupResource)) *GroupResourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*GroupResourceDie) DieStampAt ¶
func (d *GroupResourceDie) DieStampAt(jp string, fn interface{}) *GroupResourceDie
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 (*GroupResourceDie) DieWith ¶
func (d *GroupResourceDie) DieWith(fns ...func(d *GroupResourceDie)) *GroupResourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*GroupResourceDie) Group ¶
func (d *GroupResourceDie) Group(v string) *GroupResourceDie
func (*GroupResourceDie) Resource ¶
func (d *GroupResourceDie) Resource(v string) *GroupResourceDie
type GroupVersionDie ¶
type GroupVersionDie struct {
// contains filtered or unexported fields
}
func (*GroupVersionDie) DeepCopy ¶
func (d *GroupVersionDie) DeepCopy() *GroupVersionDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*GroupVersionDie) DieDiff ¶ added in v0.13.0
func (d *GroupVersionDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*GroupVersionDie) DieFeed ¶
func (d *GroupVersionDie) DieFeed(r metav1.GroupVersion) *GroupVersionDie
DieFeed returns a new die with the provided resource.
func (*GroupVersionDie) DieFeedJSON ¶
func (d *GroupVersionDie) DieFeedJSON(j []byte) *GroupVersionDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*GroupVersionDie) DieFeedPtr ¶
func (d *GroupVersionDie) DieFeedPtr(r *metav1.GroupVersion) *GroupVersionDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*GroupVersionDie) DieFeedRawExtension ¶
func (d *GroupVersionDie) DieFeedRawExtension(raw runtime.RawExtension) *GroupVersionDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*GroupVersionDie) DieFeedYAML ¶
func (d *GroupVersionDie) DieFeedYAML(y []byte) *GroupVersionDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*GroupVersionDie) DieFeedYAMLFile ¶
func (d *GroupVersionDie) DieFeedYAMLFile(name string) *GroupVersionDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*GroupVersionDie) DieImmutable ¶
func (d *GroupVersionDie) DieImmutable(immutable bool) *GroupVersionDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*GroupVersionDie) DiePatch ¶ added in v0.13.0
func (d *GroupVersionDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*GroupVersionDie) DieRelease ¶
func (d *GroupVersionDie) DieRelease() metav1.GroupVersion
DieRelease returns the resource managed by the die.
func (*GroupVersionDie) DieReleaseJSON ¶
func (d *GroupVersionDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*GroupVersionDie) DieReleasePtr ¶
func (d *GroupVersionDie) DieReleasePtr() *metav1.GroupVersion
DieReleasePtr returns a pointer to the resource managed by the die.
func (*GroupVersionDie) DieReleaseRawExtension ¶
func (d *GroupVersionDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*GroupVersionDie) DieReleaseYAML ¶
func (d *GroupVersionDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*GroupVersionDie) DieSeal ¶ added in v0.13.0
func (d *GroupVersionDie) DieSeal() *GroupVersionDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*GroupVersionDie) DieSealFeed ¶ added in v0.13.0
func (d *GroupVersionDie) DieSealFeed(r metav1.GroupVersion) *GroupVersionDie
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 (*GroupVersionDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *GroupVersionDie) DieSealFeedPtr(r *metav1.GroupVersion) *GroupVersionDie
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 (*GroupVersionDie) DieSealRelease ¶ added in v0.13.0
func (d *GroupVersionDie) DieSealRelease() metav1.GroupVersion
DieSealRelease returns the sealed resource managed by the die.
func (*GroupVersionDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *GroupVersionDie) DieSealReleasePtr() *metav1.GroupVersion
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*GroupVersionDie) DieStamp ¶
func (d *GroupVersionDie) DieStamp(fn func(r *metav1.GroupVersion)) *GroupVersionDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*GroupVersionDie) DieStampAt ¶
func (d *GroupVersionDie) DieStampAt(jp string, fn interface{}) *GroupVersionDie
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 (*GroupVersionDie) DieWith ¶
func (d *GroupVersionDie) DieWith(fns ...func(d *GroupVersionDie)) *GroupVersionDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*GroupVersionDie) Group ¶
func (d *GroupVersionDie) Group(v string) *GroupVersionDie
func (*GroupVersionDie) Version ¶
func (d *GroupVersionDie) Version(v string) *GroupVersionDie
type GroupVersionForDiscoveryDie ¶
type GroupVersionForDiscoveryDie struct {
// contains filtered or unexported fields
}
func (*GroupVersionForDiscoveryDie) DeepCopy ¶
func (d *GroupVersionForDiscoveryDie) DeepCopy() *GroupVersionForDiscoveryDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*GroupVersionForDiscoveryDie) DieDiff ¶ added in v0.13.0
func (d *GroupVersionForDiscoveryDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*GroupVersionForDiscoveryDie) DieFeed ¶
func (d *GroupVersionForDiscoveryDie) DieFeed(r metav1.GroupVersionForDiscovery) *GroupVersionForDiscoveryDie
DieFeed returns a new die with the provided resource.
func (*GroupVersionForDiscoveryDie) DieFeedJSON ¶
func (d *GroupVersionForDiscoveryDie) DieFeedJSON(j []byte) *GroupVersionForDiscoveryDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*GroupVersionForDiscoveryDie) DieFeedPtr ¶
func (d *GroupVersionForDiscoveryDie) DieFeedPtr(r *metav1.GroupVersionForDiscovery) *GroupVersionForDiscoveryDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*GroupVersionForDiscoveryDie) DieFeedRawExtension ¶
func (d *GroupVersionForDiscoveryDie) DieFeedRawExtension(raw runtime.RawExtension) *GroupVersionForDiscoveryDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*GroupVersionForDiscoveryDie) DieFeedYAML ¶
func (d *GroupVersionForDiscoveryDie) DieFeedYAML(y []byte) *GroupVersionForDiscoveryDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*GroupVersionForDiscoveryDie) DieFeedYAMLFile ¶
func (d *GroupVersionForDiscoveryDie) DieFeedYAMLFile(name string) *GroupVersionForDiscoveryDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*GroupVersionForDiscoveryDie) DieImmutable ¶
func (d *GroupVersionForDiscoveryDie) DieImmutable(immutable bool) *GroupVersionForDiscoveryDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*GroupVersionForDiscoveryDie) DiePatch ¶ added in v0.13.0
func (d *GroupVersionForDiscoveryDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*GroupVersionForDiscoveryDie) DieRelease ¶
func (d *GroupVersionForDiscoveryDie) DieRelease() metav1.GroupVersionForDiscovery
DieRelease returns the resource managed by the die.
func (*GroupVersionForDiscoveryDie) DieReleaseJSON ¶
func (d *GroupVersionForDiscoveryDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*GroupVersionForDiscoveryDie) DieReleasePtr ¶
func (d *GroupVersionForDiscoveryDie) DieReleasePtr() *metav1.GroupVersionForDiscovery
DieReleasePtr returns a pointer to the resource managed by the die.
func (*GroupVersionForDiscoveryDie) DieReleaseRawExtension ¶
func (d *GroupVersionForDiscoveryDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*GroupVersionForDiscoveryDie) DieReleaseYAML ¶
func (d *GroupVersionForDiscoveryDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*GroupVersionForDiscoveryDie) DieSeal ¶ added in v0.13.0
func (d *GroupVersionForDiscoveryDie) DieSeal() *GroupVersionForDiscoveryDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*GroupVersionForDiscoveryDie) DieSealFeed ¶ added in v0.13.0
func (d *GroupVersionForDiscoveryDie) DieSealFeed(r metav1.GroupVersionForDiscovery) *GroupVersionForDiscoveryDie
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 (*GroupVersionForDiscoveryDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *GroupVersionForDiscoveryDie) DieSealFeedPtr(r *metav1.GroupVersionForDiscovery) *GroupVersionForDiscoveryDie
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 (*GroupVersionForDiscoveryDie) DieSealRelease ¶ added in v0.13.0
func (d *GroupVersionForDiscoveryDie) DieSealRelease() metav1.GroupVersionForDiscovery
DieSealRelease returns the sealed resource managed by the die.
func (*GroupVersionForDiscoveryDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *GroupVersionForDiscoveryDie) DieSealReleasePtr() *metav1.GroupVersionForDiscovery
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*GroupVersionForDiscoveryDie) DieStamp ¶
func (d *GroupVersionForDiscoveryDie) DieStamp(fn func(r *metav1.GroupVersionForDiscovery)) *GroupVersionForDiscoveryDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*GroupVersionForDiscoveryDie) DieStampAt ¶
func (d *GroupVersionForDiscoveryDie) DieStampAt(jp string, fn interface{}) *GroupVersionForDiscoveryDie
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 (*GroupVersionForDiscoveryDie) DieWith ¶
func (d *GroupVersionForDiscoveryDie) DieWith(fns ...func(d *GroupVersionForDiscoveryDie)) *GroupVersionForDiscoveryDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*GroupVersionForDiscoveryDie) GroupVersion ¶
func (d *GroupVersionForDiscoveryDie) GroupVersion(v string) *GroupVersionForDiscoveryDie
groupVersion specifies the API group and version in the form "group/version"
func (*GroupVersionForDiscoveryDie) Version ¶
func (d *GroupVersionForDiscoveryDie) Version(v string) *GroupVersionForDiscoveryDie
version specifies the version in the form of "version". This is to save
the clients the trouble of splitting the GroupVersion.
type GroupVersionKindDie ¶
type GroupVersionKindDie struct {
// contains filtered or unexported fields
}
func (*GroupVersionKindDie) DeepCopy ¶
func (d *GroupVersionKindDie) DeepCopy() *GroupVersionKindDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*GroupVersionKindDie) DieDiff ¶ added in v0.13.0
func (d *GroupVersionKindDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*GroupVersionKindDie) DieFeed ¶
func (d *GroupVersionKindDie) DieFeed(r metav1.GroupVersionKind) *GroupVersionKindDie
DieFeed returns a new die with the provided resource.
func (*GroupVersionKindDie) DieFeedJSON ¶
func (d *GroupVersionKindDie) DieFeedJSON(j []byte) *GroupVersionKindDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*GroupVersionKindDie) DieFeedPtr ¶
func (d *GroupVersionKindDie) DieFeedPtr(r *metav1.GroupVersionKind) *GroupVersionKindDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*GroupVersionKindDie) DieFeedRawExtension ¶
func (d *GroupVersionKindDie) DieFeedRawExtension(raw runtime.RawExtension) *GroupVersionKindDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*GroupVersionKindDie) DieFeedYAML ¶
func (d *GroupVersionKindDie) DieFeedYAML(y []byte) *GroupVersionKindDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*GroupVersionKindDie) DieFeedYAMLFile ¶
func (d *GroupVersionKindDie) DieFeedYAMLFile(name string) *GroupVersionKindDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*GroupVersionKindDie) DieImmutable ¶
func (d *GroupVersionKindDie) DieImmutable(immutable bool) *GroupVersionKindDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*GroupVersionKindDie) DiePatch ¶ added in v0.13.0
func (d *GroupVersionKindDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*GroupVersionKindDie) DieRelease ¶
func (d *GroupVersionKindDie) DieRelease() metav1.GroupVersionKind
DieRelease returns the resource managed by the die.
func (*GroupVersionKindDie) DieReleaseJSON ¶
func (d *GroupVersionKindDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*GroupVersionKindDie) DieReleasePtr ¶
func (d *GroupVersionKindDie) DieReleasePtr() *metav1.GroupVersionKind
DieReleasePtr returns a pointer to the resource managed by the die.
func (*GroupVersionKindDie) DieReleaseRawExtension ¶
func (d *GroupVersionKindDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*GroupVersionKindDie) DieReleaseYAML ¶
func (d *GroupVersionKindDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*GroupVersionKindDie) DieSeal ¶ added in v0.13.0
func (d *GroupVersionKindDie) DieSeal() *GroupVersionKindDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*GroupVersionKindDie) DieSealFeed ¶ added in v0.13.0
func (d *GroupVersionKindDie) DieSealFeed(r metav1.GroupVersionKind) *GroupVersionKindDie
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 (*GroupVersionKindDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *GroupVersionKindDie) DieSealFeedPtr(r *metav1.GroupVersionKind) *GroupVersionKindDie
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 (*GroupVersionKindDie) DieSealRelease ¶ added in v0.13.0
func (d *GroupVersionKindDie) DieSealRelease() metav1.GroupVersionKind
DieSealRelease returns the sealed resource managed by the die.
func (*GroupVersionKindDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *GroupVersionKindDie) DieSealReleasePtr() *metav1.GroupVersionKind
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*GroupVersionKindDie) DieStamp ¶
func (d *GroupVersionKindDie) DieStamp(fn func(r *metav1.GroupVersionKind)) *GroupVersionKindDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*GroupVersionKindDie) DieStampAt ¶
func (d *GroupVersionKindDie) DieStampAt(jp string, fn interface{}) *GroupVersionKindDie
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 (*GroupVersionKindDie) DieWith ¶
func (d *GroupVersionKindDie) DieWith(fns ...func(d *GroupVersionKindDie)) *GroupVersionKindDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*GroupVersionKindDie) Group ¶
func (d *GroupVersionKindDie) Group(v string) *GroupVersionKindDie
func (*GroupVersionKindDie) Kind ¶
func (d *GroupVersionKindDie) Kind(v string) *GroupVersionKindDie
func (*GroupVersionKindDie) Version ¶
func (d *GroupVersionKindDie) Version(v string) *GroupVersionKindDie
type GroupVersionResourceDie ¶
type GroupVersionResourceDie struct {
// contains filtered or unexported fields
}
func (*GroupVersionResourceDie) DeepCopy ¶
func (d *GroupVersionResourceDie) DeepCopy() *GroupVersionResourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*GroupVersionResourceDie) DieDiff ¶ added in v0.13.0
func (d *GroupVersionResourceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*GroupVersionResourceDie) DieFeed ¶
func (d *GroupVersionResourceDie) DieFeed(r metav1.GroupVersionResource) *GroupVersionResourceDie
DieFeed returns a new die with the provided resource.
func (*GroupVersionResourceDie) DieFeedJSON ¶
func (d *GroupVersionResourceDie) DieFeedJSON(j []byte) *GroupVersionResourceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*GroupVersionResourceDie) DieFeedPtr ¶
func (d *GroupVersionResourceDie) DieFeedPtr(r *metav1.GroupVersionResource) *GroupVersionResourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*GroupVersionResourceDie) DieFeedRawExtension ¶
func (d *GroupVersionResourceDie) DieFeedRawExtension(raw runtime.RawExtension) *GroupVersionResourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*GroupVersionResourceDie) DieFeedYAML ¶
func (d *GroupVersionResourceDie) DieFeedYAML(y []byte) *GroupVersionResourceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*GroupVersionResourceDie) DieFeedYAMLFile ¶
func (d *GroupVersionResourceDie) DieFeedYAMLFile(name string) *GroupVersionResourceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*GroupVersionResourceDie) DieImmutable ¶
func (d *GroupVersionResourceDie) DieImmutable(immutable bool) *GroupVersionResourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*GroupVersionResourceDie) DiePatch ¶ added in v0.13.0
func (d *GroupVersionResourceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*GroupVersionResourceDie) DieRelease ¶
func (d *GroupVersionResourceDie) DieRelease() metav1.GroupVersionResource
DieRelease returns the resource managed by the die.
func (*GroupVersionResourceDie) DieReleaseJSON ¶
func (d *GroupVersionResourceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*GroupVersionResourceDie) DieReleasePtr ¶
func (d *GroupVersionResourceDie) DieReleasePtr() *metav1.GroupVersionResource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*GroupVersionResourceDie) DieReleaseRawExtension ¶
func (d *GroupVersionResourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*GroupVersionResourceDie) DieReleaseYAML ¶
func (d *GroupVersionResourceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*GroupVersionResourceDie) DieSeal ¶ added in v0.13.0
func (d *GroupVersionResourceDie) DieSeal() *GroupVersionResourceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*GroupVersionResourceDie) DieSealFeed ¶ added in v0.13.0
func (d *GroupVersionResourceDie) DieSealFeed(r metav1.GroupVersionResource) *GroupVersionResourceDie
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 (*GroupVersionResourceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *GroupVersionResourceDie) DieSealFeedPtr(r *metav1.GroupVersionResource) *GroupVersionResourceDie
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 (*GroupVersionResourceDie) DieSealRelease ¶ added in v0.13.0
func (d *GroupVersionResourceDie) DieSealRelease() metav1.GroupVersionResource
DieSealRelease returns the sealed resource managed by the die.
func (*GroupVersionResourceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *GroupVersionResourceDie) DieSealReleasePtr() *metav1.GroupVersionResource
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*GroupVersionResourceDie) DieStamp ¶
func (d *GroupVersionResourceDie) DieStamp(fn func(r *metav1.GroupVersionResource)) *GroupVersionResourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*GroupVersionResourceDie) DieStampAt ¶
func (d *GroupVersionResourceDie) DieStampAt(jp string, fn interface{}) *GroupVersionResourceDie
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 (*GroupVersionResourceDie) DieWith ¶
func (d *GroupVersionResourceDie) DieWith(fns ...func(d *GroupVersionResourceDie)) *GroupVersionResourceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*GroupVersionResourceDie) Group ¶
func (d *GroupVersionResourceDie) Group(v string) *GroupVersionResourceDie
func (*GroupVersionResourceDie) Resource ¶
func (d *GroupVersionResourceDie) Resource(v string) *GroupVersionResourceDie
func (*GroupVersionResourceDie) Version ¶
func (d *GroupVersionResourceDie) Version(v string) *GroupVersionResourceDie
type LabelSelectorDie ¶
type LabelSelectorDie struct {
// contains filtered or unexported fields
}
func (*LabelSelectorDie) AddMatchExpression ¶
func (d *LabelSelectorDie) AddMatchExpression(key string, operator metav1.LabelSelectorOperator, values ...string) *LabelSelectorDie
func (*LabelSelectorDie) AddMatchLabel ¶
func (d *LabelSelectorDie) AddMatchLabel(key, value string) *LabelSelectorDie
func (*LabelSelectorDie) DeepCopy ¶
func (d *LabelSelectorDie) DeepCopy() *LabelSelectorDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*LabelSelectorDie) DieDiff ¶ added in v0.13.0
func (d *LabelSelectorDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*LabelSelectorDie) DieFeed ¶
func (d *LabelSelectorDie) DieFeed(r metav1.LabelSelector) *LabelSelectorDie
DieFeed returns a new die with the provided resource.
func (*LabelSelectorDie) DieFeedJSON ¶
func (d *LabelSelectorDie) DieFeedJSON(j []byte) *LabelSelectorDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*LabelSelectorDie) DieFeedPtr ¶
func (d *LabelSelectorDie) DieFeedPtr(r *metav1.LabelSelector) *LabelSelectorDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*LabelSelectorDie) DieFeedRawExtension ¶
func (d *LabelSelectorDie) DieFeedRawExtension(raw runtime.RawExtension) *LabelSelectorDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*LabelSelectorDie) DieFeedYAML ¶
func (d *LabelSelectorDie) DieFeedYAML(y []byte) *LabelSelectorDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*LabelSelectorDie) DieFeedYAMLFile ¶
func (d *LabelSelectorDie) DieFeedYAMLFile(name string) *LabelSelectorDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*LabelSelectorDie) DieImmutable ¶
func (d *LabelSelectorDie) DieImmutable(immutable bool) *LabelSelectorDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*LabelSelectorDie) DiePatch ¶ added in v0.13.0
func (d *LabelSelectorDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*LabelSelectorDie) DieRelease ¶
func (d *LabelSelectorDie) DieRelease() metav1.LabelSelector
DieRelease returns the resource managed by the die.
func (*LabelSelectorDie) DieReleaseJSON ¶
func (d *LabelSelectorDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*LabelSelectorDie) DieReleasePtr ¶
func (d *LabelSelectorDie) DieReleasePtr() *metav1.LabelSelector
DieReleasePtr returns a pointer to the resource managed by the die.
func (*LabelSelectorDie) DieReleaseRawExtension ¶
func (d *LabelSelectorDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*LabelSelectorDie) DieReleaseYAML ¶
func (d *LabelSelectorDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*LabelSelectorDie) DieSeal ¶ added in v0.13.0
func (d *LabelSelectorDie) DieSeal() *LabelSelectorDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*LabelSelectorDie) DieSealFeed ¶ added in v0.13.0
func (d *LabelSelectorDie) DieSealFeed(r metav1.LabelSelector) *LabelSelectorDie
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 (*LabelSelectorDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *LabelSelectorDie) DieSealFeedPtr(r *metav1.LabelSelector) *LabelSelectorDie
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 (*LabelSelectorDie) DieSealRelease ¶ added in v0.13.0
func (d *LabelSelectorDie) DieSealRelease() metav1.LabelSelector
DieSealRelease returns the sealed resource managed by the die.
func (*LabelSelectorDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *LabelSelectorDie) DieSealReleasePtr() *metav1.LabelSelector
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*LabelSelectorDie) DieStamp ¶
func (d *LabelSelectorDie) DieStamp(fn func(r *metav1.LabelSelector)) *LabelSelectorDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*LabelSelectorDie) DieStampAt ¶
func (d *LabelSelectorDie) DieStampAt(jp string, fn interface{}) *LabelSelectorDie
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 (*LabelSelectorDie) DieWith ¶
func (d *LabelSelectorDie) DieWith(fns ...func(d *LabelSelectorDie)) *LabelSelectorDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*LabelSelectorDie) MatchExpressions ¶
func (d *LabelSelectorDie) MatchExpressions(v ...metav1.LabelSelectorRequirement) *LabelSelectorDie
matchExpressions is a list of label selector requirements. The requirements are ANDed.
func (*LabelSelectorDie) MatchLabels ¶
func (d *LabelSelectorDie) MatchLabels(v map[string]string) *LabelSelectorDie
matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
map is equivalent to an element of matchExpressions, whose key field is "key", the
operator is "In", and the values array contains only "value". The requirements are ANDed.
type LabelSelectorRequirementDie ¶ added in v0.14.0
type LabelSelectorRequirementDie struct {
// contains filtered or unexported fields
}
func (*LabelSelectorRequirementDie) DeepCopy ¶ added in v0.14.0
func (d *LabelSelectorRequirementDie) DeepCopy() *LabelSelectorRequirementDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*LabelSelectorRequirementDie) DieDiff ¶ added in v0.14.0
func (d *LabelSelectorRequirementDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*LabelSelectorRequirementDie) DieFeed ¶ added in v0.14.0
func (d *LabelSelectorRequirementDie) DieFeed(r metav1.LabelSelectorRequirement) *LabelSelectorRequirementDie
DieFeed returns a new die with the provided resource.
func (*LabelSelectorRequirementDie) DieFeedJSON ¶ added in v0.14.0
func (d *LabelSelectorRequirementDie) DieFeedJSON(j []byte) *LabelSelectorRequirementDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*LabelSelectorRequirementDie) DieFeedPtr ¶ added in v0.14.0
func (d *LabelSelectorRequirementDie) DieFeedPtr(r *metav1.LabelSelectorRequirement) *LabelSelectorRequirementDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*LabelSelectorRequirementDie) DieFeedRawExtension ¶ added in v0.14.0
func (d *LabelSelectorRequirementDie) DieFeedRawExtension(raw runtime.RawExtension) *LabelSelectorRequirementDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*LabelSelectorRequirementDie) DieFeedYAML ¶ added in v0.14.0
func (d *LabelSelectorRequirementDie) DieFeedYAML(y []byte) *LabelSelectorRequirementDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*LabelSelectorRequirementDie) DieFeedYAMLFile ¶ added in v0.14.0
func (d *LabelSelectorRequirementDie) DieFeedYAMLFile(name string) *LabelSelectorRequirementDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*LabelSelectorRequirementDie) DieImmutable ¶ added in v0.14.0
func (d *LabelSelectorRequirementDie) DieImmutable(immutable bool) *LabelSelectorRequirementDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*LabelSelectorRequirementDie) DiePatch ¶ added in v0.14.0
func (d *LabelSelectorRequirementDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*LabelSelectorRequirementDie) DieRelease ¶ added in v0.14.0
func (d *LabelSelectorRequirementDie) DieRelease() metav1.LabelSelectorRequirement
DieRelease returns the resource managed by the die.
func (*LabelSelectorRequirementDie) DieReleaseJSON ¶ added in v0.14.0
func (d *LabelSelectorRequirementDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*LabelSelectorRequirementDie) DieReleasePtr ¶ added in v0.14.0
func (d *LabelSelectorRequirementDie) DieReleasePtr() *metav1.LabelSelectorRequirement
DieReleasePtr returns a pointer to the resource managed by the die.
func (*LabelSelectorRequirementDie) DieReleaseRawExtension ¶ added in v0.14.0
func (d *LabelSelectorRequirementDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*LabelSelectorRequirementDie) DieReleaseYAML ¶ added in v0.14.0
func (d *LabelSelectorRequirementDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*LabelSelectorRequirementDie) DieSeal ¶ added in v0.14.0
func (d *LabelSelectorRequirementDie) DieSeal() *LabelSelectorRequirementDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*LabelSelectorRequirementDie) DieSealFeed ¶ added in v0.14.0
func (d *LabelSelectorRequirementDie) DieSealFeed(r metav1.LabelSelectorRequirement) *LabelSelectorRequirementDie
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 (*LabelSelectorRequirementDie) DieSealFeedPtr ¶ added in v0.14.0
func (d *LabelSelectorRequirementDie) DieSealFeedPtr(r *metav1.LabelSelectorRequirement) *LabelSelectorRequirementDie
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 (*LabelSelectorRequirementDie) DieSealRelease ¶ added in v0.14.0
func (d *LabelSelectorRequirementDie) DieSealRelease() metav1.LabelSelectorRequirement
DieSealRelease returns the sealed resource managed by the die.
func (*LabelSelectorRequirementDie) DieSealReleasePtr ¶ added in v0.14.0
func (d *LabelSelectorRequirementDie) DieSealReleasePtr() *metav1.LabelSelectorRequirement
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*LabelSelectorRequirementDie) DieStamp ¶ added in v0.14.0
func (d *LabelSelectorRequirementDie) DieStamp(fn func(r *metav1.LabelSelectorRequirement)) *LabelSelectorRequirementDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*LabelSelectorRequirementDie) DieStampAt ¶ added in v0.14.0
func (d *LabelSelectorRequirementDie) DieStampAt(jp string, fn interface{}) *LabelSelectorRequirementDie
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 (*LabelSelectorRequirementDie) DieWith ¶ added in v0.14.0
func (d *LabelSelectorRequirementDie) DieWith(fns ...func(d *LabelSelectorRequirementDie)) *LabelSelectorRequirementDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*LabelSelectorRequirementDie) Key ¶ added in v0.14.0
func (d *LabelSelectorRequirementDie) Key(v string) *LabelSelectorRequirementDie
key is the label key that the selector applies to.
func (*LabelSelectorRequirementDie) Operator ¶ added in v0.14.0
func (d *LabelSelectorRequirementDie) Operator(v metav1.LabelSelectorOperator) *LabelSelectorRequirementDie
operator represents a key's relationship to a set of values.
Valid operators are In, NotIn, Exists and DoesNotExist.
func (*LabelSelectorRequirementDie) Values ¶ added in v0.14.0
func (d *LabelSelectorRequirementDie) Values(v ...string) *LabelSelectorRequirementDie
values is an array of string values. If the operator is In or NotIn,
the values array must be non-empty. If the operator is Exists or DoesNotExist,
the values array must be empty. This array is replaced during a strategic
merge patch.
type ListMetaDie ¶
type ListMetaDie struct {
// contains filtered or unexported fields
}
func (*ListMetaDie) Continue ¶
func (d *ListMetaDie) Continue(v string) *ListMetaDie
continue may be set if the user set a limit on the number of items returned, and indicates that
the server has more data available. The value is opaque and may be used to issue another request
to the endpoint that served this list to retrieve the next set of available objects. Continuing a
consistent list may not be possible if the server configuration has changed or more than a few
minutes have passed. The resourceVersion field returned when using this continue value will be
identical to the value in the first response, unless you have received this token from an error
message.
func (*ListMetaDie) DeepCopy ¶
func (d *ListMetaDie) DeepCopy() *ListMetaDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ListMetaDie) DieDiff ¶ added in v0.13.0
func (d *ListMetaDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ListMetaDie) DieFeed ¶
func (d *ListMetaDie) DieFeed(r metav1.ListMeta) *ListMetaDie
DieFeed returns a new die with the provided resource.
func (*ListMetaDie) DieFeedJSON ¶
func (d *ListMetaDie) DieFeedJSON(j []byte) *ListMetaDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ListMetaDie) DieFeedPtr ¶
func (d *ListMetaDie) DieFeedPtr(r *metav1.ListMeta) *ListMetaDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ListMetaDie) DieFeedRawExtension ¶
func (d *ListMetaDie) DieFeedRawExtension(raw runtime.RawExtension) *ListMetaDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ListMetaDie) DieFeedYAML ¶
func (d *ListMetaDie) DieFeedYAML(y []byte) *ListMetaDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ListMetaDie) DieFeedYAMLFile ¶
func (d *ListMetaDie) DieFeedYAMLFile(name string) *ListMetaDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ListMetaDie) DieImmutable ¶
func (d *ListMetaDie) DieImmutable(immutable bool) *ListMetaDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ListMetaDie) DiePatch ¶ added in v0.13.0
func (d *ListMetaDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ListMetaDie) DieRelease ¶
func (d *ListMetaDie) DieRelease() metav1.ListMeta
DieRelease returns the resource managed by the die.
func (*ListMetaDie) DieReleaseJSON ¶
func (d *ListMetaDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ListMetaDie) DieReleasePtr ¶
func (d *ListMetaDie) DieReleasePtr() *metav1.ListMeta
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ListMetaDie) DieReleaseRawExtension ¶
func (d *ListMetaDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ListMetaDie) DieReleaseYAML ¶
func (d *ListMetaDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ListMetaDie) DieSeal ¶ added in v0.13.0
func (d *ListMetaDie) DieSeal() *ListMetaDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ListMetaDie) DieSealFeed ¶ added in v0.13.0
func (d *ListMetaDie) DieSealFeed(r metav1.ListMeta) *ListMetaDie
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 (*ListMetaDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ListMetaDie) DieSealFeedPtr(r *metav1.ListMeta) *ListMetaDie
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 (*ListMetaDie) DieSealRelease ¶ added in v0.13.0
func (d *ListMetaDie) DieSealRelease() metav1.ListMeta
DieSealRelease returns the sealed resource managed by the die.
func (*ListMetaDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ListMetaDie) DieSealReleasePtr() *metav1.ListMeta
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*ListMetaDie) DieStamp ¶
func (d *ListMetaDie) DieStamp(fn func(r *metav1.ListMeta)) *ListMetaDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ListMetaDie) DieStampAt ¶
func (d *ListMetaDie) DieStampAt(jp string, fn interface{}) *ListMetaDie
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 (*ListMetaDie) DieWith ¶
func (d *ListMetaDie) DieWith(fns ...func(d *ListMetaDie)) *ListMetaDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ListMetaDie) RemainingItemCount ¶
func (d *ListMetaDie) RemainingItemCount(v *int64) *ListMetaDie
remainingItemCount is the number of subsequent items in the list which are not included in this
list response. If the list request contained label or field selectors, then the number of
remaining items is unknown and the field will be left unset and omitted during serialization.
If the list is complete (either because it is not chunking or because this is the last chunk),
then there are no more remaining items and this field will be left unset and omitted during
serialization.
Servers older than v1.15 do not set this field.
The intended use of the remainingItemCount is *estimating* the size of a collection. Clients
should not rely on the remainingItemCount to be set or to be exact.
func (*ListMetaDie) ResourceVersion ¶
func (d *ListMetaDie) ResourceVersion(v string) *ListMetaDie
String that identifies the server's internal version of this object that
can be used by clients to determine when objects have changed.
Value must be treated as opaque by clients and passed unmodified back to the server.
Populated by the system.
Read-only.
func (*ListMetaDie) SelfLink
deprecated
func (d *ListMetaDie) SelfLink(v string) *ListMetaDie
Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.
type ManagedFieldsEntryDie ¶
type ManagedFieldsEntryDie struct {
// contains filtered or unexported fields
}
func (*ManagedFieldsEntryDie) APIVersion ¶
func (d *ManagedFieldsEntryDie) APIVersion(v string) *ManagedFieldsEntryDie
APIVersion defines the version of this resource that this field set
applies to. The format is "group/version" just like the top-level
APIVersion field. It is necessary to track the version of a field
set because it cannot be automatically converted.
func (*ManagedFieldsEntryDie) DeepCopy ¶
func (d *ManagedFieldsEntryDie) DeepCopy() *ManagedFieldsEntryDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ManagedFieldsEntryDie) DieDiff ¶ added in v0.13.0
func (d *ManagedFieldsEntryDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ManagedFieldsEntryDie) DieFeed ¶
func (d *ManagedFieldsEntryDie) DieFeed(r metav1.ManagedFieldsEntry) *ManagedFieldsEntryDie
DieFeed returns a new die with the provided resource.
func (*ManagedFieldsEntryDie) DieFeedJSON ¶
func (d *ManagedFieldsEntryDie) DieFeedJSON(j []byte) *ManagedFieldsEntryDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ManagedFieldsEntryDie) DieFeedPtr ¶
func (d *ManagedFieldsEntryDie) DieFeedPtr(r *metav1.ManagedFieldsEntry) *ManagedFieldsEntryDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ManagedFieldsEntryDie) DieFeedRawExtension ¶
func (d *ManagedFieldsEntryDie) DieFeedRawExtension(raw runtime.RawExtension) *ManagedFieldsEntryDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ManagedFieldsEntryDie) DieFeedYAML ¶
func (d *ManagedFieldsEntryDie) DieFeedYAML(y []byte) *ManagedFieldsEntryDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ManagedFieldsEntryDie) DieFeedYAMLFile ¶
func (d *ManagedFieldsEntryDie) DieFeedYAMLFile(name string) *ManagedFieldsEntryDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ManagedFieldsEntryDie) DieImmutable ¶
func (d *ManagedFieldsEntryDie) DieImmutable(immutable bool) *ManagedFieldsEntryDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ManagedFieldsEntryDie) DiePatch ¶ added in v0.13.0
func (d *ManagedFieldsEntryDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ManagedFieldsEntryDie) DieRelease ¶
func (d *ManagedFieldsEntryDie) DieRelease() metav1.ManagedFieldsEntry
DieRelease returns the resource managed by the die.
func (*ManagedFieldsEntryDie) DieReleaseJSON ¶
func (d *ManagedFieldsEntryDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ManagedFieldsEntryDie) DieReleasePtr ¶
func (d *ManagedFieldsEntryDie) DieReleasePtr() *metav1.ManagedFieldsEntry
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ManagedFieldsEntryDie) DieReleaseRawExtension ¶
func (d *ManagedFieldsEntryDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ManagedFieldsEntryDie) DieReleaseYAML ¶
func (d *ManagedFieldsEntryDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ManagedFieldsEntryDie) DieSeal ¶ added in v0.13.0
func (d *ManagedFieldsEntryDie) DieSeal() *ManagedFieldsEntryDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ManagedFieldsEntryDie) DieSealFeed ¶ added in v0.13.0
func (d *ManagedFieldsEntryDie) DieSealFeed(r metav1.ManagedFieldsEntry) *ManagedFieldsEntryDie
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 (*ManagedFieldsEntryDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ManagedFieldsEntryDie) DieSealFeedPtr(r *metav1.ManagedFieldsEntry) *ManagedFieldsEntryDie
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 (*ManagedFieldsEntryDie) DieSealRelease ¶ added in v0.13.0
func (d *ManagedFieldsEntryDie) DieSealRelease() metav1.ManagedFieldsEntry
DieSealRelease returns the sealed resource managed by the die.
func (*ManagedFieldsEntryDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ManagedFieldsEntryDie) DieSealReleasePtr() *metav1.ManagedFieldsEntry
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*ManagedFieldsEntryDie) DieStamp ¶
func (d *ManagedFieldsEntryDie) DieStamp(fn func(r *metav1.ManagedFieldsEntry)) *ManagedFieldsEntryDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ManagedFieldsEntryDie) DieStampAt ¶
func (d *ManagedFieldsEntryDie) DieStampAt(jp string, fn interface{}) *ManagedFieldsEntryDie
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 (*ManagedFieldsEntryDie) DieWith ¶
func (d *ManagedFieldsEntryDie) DieWith(fns ...func(d *ManagedFieldsEntryDie)) *ManagedFieldsEntryDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ManagedFieldsEntryDie) FieldsType ¶
func (d *ManagedFieldsEntryDie) FieldsType(v string) *ManagedFieldsEntryDie
FieldsType is the discriminator for the different fields format and version.
There is currently only one possible value: "FieldsV1"
func (*ManagedFieldsEntryDie) FieldsV1 ¶
func (d *ManagedFieldsEntryDie) FieldsV1(v *metav1.FieldsV1) *ManagedFieldsEntryDie
FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.
func (*ManagedFieldsEntryDie) Manager ¶
func (d *ManagedFieldsEntryDie) Manager(v string) *ManagedFieldsEntryDie
Manager is an identifier of the workflow managing these fields.
func (*ManagedFieldsEntryDie) Operation ¶
func (d *ManagedFieldsEntryDie) Operation(v metav1.ManagedFieldsOperationType) *ManagedFieldsEntryDie
Operation is the type of operation which lead to this ManagedFieldsEntry being created.
The only valid values for this field are 'Apply' and 'Update'.
func (*ManagedFieldsEntryDie) Subresource ¶
func (d *ManagedFieldsEntryDie) Subresource(v string) *ManagedFieldsEntryDie
Subresource is the name of the subresource used to update that object, or
empty string if the object was updated through the main resource. The
value of this field is used to distinguish between managers, even if they
share the same name. For example, a status update will be distinct from a
regular update using the same manager name.
Note that the APIVersion field is not related to the Subresource field and ¶
it always corresponds to the version of the main resource.
func (*ManagedFieldsEntryDie) Time ¶
func (d *ManagedFieldsEntryDie) Time(v *metav1.Time) *ManagedFieldsEntryDie
Time is the timestamp of when the ManagedFields entry was added. The
timestamp will also be updated if a field is added, the manager
changes any of the owned fields value or removes a field. The
timestamp does not update when a field is removed from the entry
because another manager took it over.
type ObjectMetaDie ¶
type ObjectMetaDie struct {
// contains filtered or unexported fields
}
func (*ObjectMetaDie) AddAnnotation ¶
func (d *ObjectMetaDie) AddAnnotation(key, value string) *ObjectMetaDie
func (*ObjectMetaDie) AddLabel ¶
func (d *ObjectMetaDie) AddLabel(key, value string) *ObjectMetaDie
func (*ObjectMetaDie) Annotations ¶
func (d *ObjectMetaDie) Annotations(v map[string]string) *ObjectMetaDie
Annotations is an unstructured key value map stored with a resource that may be
set by external tools to store and retrieve arbitrary metadata. They are not
queryable and should be preserved when modifying objects.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations
func (*ObjectMetaDie) ControlledBy ¶
func (d *ObjectMetaDie) ControlledBy(obj runtime.Object, scheme *runtime.Scheme) *ObjectMetaDie
func (*ObjectMetaDie) CreationTimestamp ¶
func (d *ObjectMetaDie) CreationTimestamp(v metav1.Time) *ObjectMetaDie
CreationTimestamp is a timestamp representing the server time when this object was
created. It is not guaranteed to be set in happens-before order across separate operations.
Clients may not set this value. It is represented in RFC3339 form and is in UTC.
Populated by the system.
Read-only.
Null for lists.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (*ObjectMetaDie) DeepCopy ¶
func (d *ObjectMetaDie) DeepCopy() *ObjectMetaDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ObjectMetaDie) DeletionGracePeriodSeconds ¶
func (d *ObjectMetaDie) DeletionGracePeriodSeconds(v *int64) *ObjectMetaDie
Number of seconds allowed for this object to gracefully terminate before
it will be removed from the system. Only set when deletionTimestamp is also set.
May only be shortened.
Read-only.
func (*ObjectMetaDie) DeletionTimestamp ¶
func (d *ObjectMetaDie) DeletionTimestamp(v *metav1.Time) *ObjectMetaDie
DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This
field is set by the server when a graceful deletion is requested by the user, and is not
directly settable by a client. The resource is expected to be deleted (no longer visible
from resource lists, and not reachable by name) after the time in this field, once the
finalizers list is empty. As long as the finalizers list contains items, deletion is blocked.
Once the deletionTimestamp is set, this value may not be unset or be set further into the ¶
future, although it may be shortened or the resource may be deleted prior to this time.
For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react
by sending a graceful termination signal to the containers in the pod. After that 30 seconds,
the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup,
remove the pod from the API. In the presence of network partitions, this object may still
exist after this timestamp, until an administrator or automated process can determine the
resource is fully terminated.
If not set, graceful deletion of the object has not been requested.
Populated by the system when a graceful deletion is requested.
Read-only.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (*ObjectMetaDie) DieDiff ¶ added in v0.13.0
func (d *ObjectMetaDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ObjectMetaDie) DieFeed ¶
func (d *ObjectMetaDie) DieFeed(r metav1.ObjectMeta) *ObjectMetaDie
DieFeed returns a new die with the provided resource.
func (*ObjectMetaDie) DieFeedJSON ¶
func (d *ObjectMetaDie) DieFeedJSON(j []byte) *ObjectMetaDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ObjectMetaDie) DieFeedPtr ¶
func (d *ObjectMetaDie) DieFeedPtr(r *metav1.ObjectMeta) *ObjectMetaDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ObjectMetaDie) DieFeedRawExtension ¶
func (d *ObjectMetaDie) DieFeedRawExtension(raw runtime.RawExtension) *ObjectMetaDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ObjectMetaDie) DieFeedYAML ¶
func (d *ObjectMetaDie) DieFeedYAML(y []byte) *ObjectMetaDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ObjectMetaDie) DieFeedYAMLFile ¶
func (d *ObjectMetaDie) DieFeedYAMLFile(name string) *ObjectMetaDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ObjectMetaDie) DieImmutable ¶
func (d *ObjectMetaDie) DieImmutable(immutable bool) *ObjectMetaDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ObjectMetaDie) DiePatch ¶ added in v0.13.0
func (d *ObjectMetaDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ObjectMetaDie) DieRelease ¶
func (d *ObjectMetaDie) DieRelease() metav1.ObjectMeta
DieRelease returns the resource managed by the die.
func (*ObjectMetaDie) DieReleaseJSON ¶
func (d *ObjectMetaDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ObjectMetaDie) DieReleasePtr ¶
func (d *ObjectMetaDie) DieReleasePtr() *metav1.ObjectMeta
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ObjectMetaDie) DieReleaseRawExtension ¶
func (d *ObjectMetaDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ObjectMetaDie) DieReleaseYAML ¶
func (d *ObjectMetaDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ObjectMetaDie) DieSeal ¶ added in v0.13.0
func (d *ObjectMetaDie) DieSeal() *ObjectMetaDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ObjectMetaDie) DieSealFeed ¶ added in v0.13.0
func (d *ObjectMetaDie) DieSealFeed(r metav1.ObjectMeta) *ObjectMetaDie
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 (*ObjectMetaDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ObjectMetaDie) DieSealFeedPtr(r *metav1.ObjectMeta) *ObjectMetaDie
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 (*ObjectMetaDie) DieSealRelease ¶ added in v0.13.0
func (d *ObjectMetaDie) DieSealRelease() metav1.ObjectMeta
DieSealRelease returns the sealed resource managed by the die.
func (*ObjectMetaDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ObjectMetaDie) DieSealReleasePtr() *metav1.ObjectMeta
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*ObjectMetaDie) DieStamp ¶
func (d *ObjectMetaDie) DieStamp(fn func(r *metav1.ObjectMeta)) *ObjectMetaDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ObjectMetaDie) DieStampAt ¶
func (d *ObjectMetaDie) DieStampAt(jp string, fn interface{}) *ObjectMetaDie
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 (*ObjectMetaDie) DieWith ¶
func (d *ObjectMetaDie) DieWith(fns ...func(d *ObjectMetaDie)) *ObjectMetaDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ObjectMetaDie) Finalizers ¶
func (d *ObjectMetaDie) Finalizers(v ...string) *ObjectMetaDie
Must be empty before the object is deleted from the registry. Each entry
is an identifier for the responsible component that will remove the entry
from the list. If the deletionTimestamp of the object is non-nil, entries
in this list can only be removed.
Finalizers may be processed and removed in any order. Order is NOT enforced
because it introduces significant risk of stuck finalizers.
finalizers is a shared field, any actor with permission can reorder it.
If the finalizer list is processed in order, then this can lead to a situation ¶
in which the component responsible for the first finalizer in the list is
waiting for a signal (field value, external system, or other) produced by a
component responsible for a finalizer later in the list, resulting in a deadlock.
Without enforced ordering finalizers are free to order amongst themselves and ¶
are not vulnerable to ordering changes in the list.
func (*ObjectMetaDie) GenerateName ¶
func (d *ObjectMetaDie) GenerateName(v string) *ObjectMetaDie
GenerateName is an optional prefix, used by the server, to generate a unique
name ONLY IF the Name field has not been provided.
If this field is used, the name returned to the client will be different ¶
than the name passed. This value will also be combined with a unique suffix.
The provided value has the same validation rules as the Name field,
and may be truncated by the length of the suffix required to make the value
unique on the server.
If this field is specified and the generated name exists, the server will return a 409.
Applied only if Name is not specified.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
func (*ObjectMetaDie) Generation ¶
func (d *ObjectMetaDie) Generation(v int64) *ObjectMetaDie
A sequence number representing a specific generation of the desired state.
Populated by the system. Read-only.
func (*ObjectMetaDie) Labels ¶
func (d *ObjectMetaDie) Labels(v map[string]string) *ObjectMetaDie
Map of string keys and values that can be used to organize and categorize
(scope and select) objects. May match selectors of replication controllers
and services.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels
func (*ObjectMetaDie) ManagedFields ¶
func (d *ObjectMetaDie) ManagedFields(v ...metav1.ManagedFieldsEntry) *ObjectMetaDie
ManagedFields maps workflow-id and version to the set of fields
that are managed by that workflow. This is mostly for internal
housekeeping, and users typically shouldn't need to set or
understand this field. A workflow can be the user's name, a
controller's name, or the name of a specific apply path like
"ci-cd". The set of fields is always in the version that the
workflow used when modifying the object.
func (*ObjectMetaDie) ManagedFieldsDie ¶
func (d *ObjectMetaDie) ManagedFieldsDie(v ...*ManagedFieldsEntryDie) *ObjectMetaDie
ManagedFieldsDie replaces ManagedFields by collecting the released value from each die passed.
ManagedFields maps workflow-id and version to the set of fields ¶
that are managed by that workflow. This is mostly for internal
housekeeping, and users typically shouldn't need to set or
understand this field. A workflow can be the user's name, a
controller's name, or the name of a specific apply path like
"ci-cd". The set of fields is always in the version that the
workflow used when modifying the object.
func (*ObjectMetaDie) Name ¶
func (d *ObjectMetaDie) Name(v string) *ObjectMetaDie
Name must be unique within a namespace. Is required when creating resources, although
some resources may allow a client to request the generation of an appropriate name
automatically. Name is primarily intended for creation idempotence and configuration
definition.
Cannot be updated.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names
func (*ObjectMetaDie) Namespace ¶
func (d *ObjectMetaDie) Namespace(v string) *ObjectMetaDie
Namespace defines the space within which each name must be unique. An empty namespace is
equivalent to the "default" namespace, but "default" is the canonical representation.
Not all objects are required to be scoped to a namespace - the value of this field for ¶
those objects will be empty.
Must be a DNS_LABEL.
Cannot be updated.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces
func (*ObjectMetaDie) OwnerReferences ¶
func (d *ObjectMetaDie) OwnerReferences(v ...metav1.OwnerReference) *ObjectMetaDie
List of objects depended by this object. If ALL objects in the list have
been deleted, this object will be garbage collected. If this object is managed by a controller,
then an entry in this list will point to this controller, with the controller field set to true.
There cannot be more than one managing controller.
func (*ObjectMetaDie) ResourceVersion ¶
func (d *ObjectMetaDie) ResourceVersion(v string) *ObjectMetaDie
An opaque value that represents the internal version of this object that can
be used by clients to determine when objects have changed. May be used for optimistic
concurrency, change detection, and the watch operation on a resource or set of resources.
Clients must treat these values as opaque and passed unmodified back to the server.
They may only be valid for a particular resource or set of resources.
Populated by the system.
Read-only.
Value must be treated as opaque by clients and .
func (*ObjectMetaDie) SelfLink
deprecated
func (d *ObjectMetaDie) SelfLink(v string) *ObjectMetaDie
Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.
func (*ObjectMetaDie) UID ¶
func (d *ObjectMetaDie) UID(v types.UID) *ObjectMetaDie
UID is the unique in time and space value for this object. It is typically generated by
the server on successful creation of a resource and is not allowed to change on PUT
operations.
Populated by the system.
Read-only.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
type StatusCauseDie ¶
type StatusCauseDie struct {
// contains filtered or unexported fields
}
func (*StatusCauseDie) DeepCopy ¶
func (d *StatusCauseDie) DeepCopy() *StatusCauseDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*StatusCauseDie) DieDiff ¶ added in v0.13.0
func (d *StatusCauseDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*StatusCauseDie) DieFeed ¶
func (d *StatusCauseDie) DieFeed(r metav1.StatusCause) *StatusCauseDie
DieFeed returns a new die with the provided resource.
func (*StatusCauseDie) DieFeedJSON ¶
func (d *StatusCauseDie) DieFeedJSON(j []byte) *StatusCauseDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*StatusCauseDie) DieFeedPtr ¶
func (d *StatusCauseDie) DieFeedPtr(r *metav1.StatusCause) *StatusCauseDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*StatusCauseDie) DieFeedRawExtension ¶
func (d *StatusCauseDie) DieFeedRawExtension(raw runtime.RawExtension) *StatusCauseDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*StatusCauseDie) DieFeedYAML ¶
func (d *StatusCauseDie) DieFeedYAML(y []byte) *StatusCauseDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*StatusCauseDie) DieFeedYAMLFile ¶
func (d *StatusCauseDie) DieFeedYAMLFile(name string) *StatusCauseDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*StatusCauseDie) DieImmutable ¶
func (d *StatusCauseDie) DieImmutable(immutable bool) *StatusCauseDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*StatusCauseDie) DiePatch ¶ added in v0.13.0
func (d *StatusCauseDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*StatusCauseDie) DieRelease ¶
func (d *StatusCauseDie) DieRelease() metav1.StatusCause
DieRelease returns the resource managed by the die.
func (*StatusCauseDie) DieReleaseJSON ¶
func (d *StatusCauseDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*StatusCauseDie) DieReleasePtr ¶
func (d *StatusCauseDie) DieReleasePtr() *metav1.StatusCause
DieReleasePtr returns a pointer to the resource managed by the die.
func (*StatusCauseDie) DieReleaseRawExtension ¶
func (d *StatusCauseDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*StatusCauseDie) DieReleaseYAML ¶
func (d *StatusCauseDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*StatusCauseDie) DieSeal ¶ added in v0.13.0
func (d *StatusCauseDie) DieSeal() *StatusCauseDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*StatusCauseDie) DieSealFeed ¶ added in v0.13.0
func (d *StatusCauseDie) DieSealFeed(r metav1.StatusCause) *StatusCauseDie
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 (*StatusCauseDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *StatusCauseDie) DieSealFeedPtr(r *metav1.StatusCause) *StatusCauseDie
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 (*StatusCauseDie) DieSealRelease ¶ added in v0.13.0
func (d *StatusCauseDie) DieSealRelease() metav1.StatusCause
DieSealRelease returns the sealed resource managed by the die.
func (*StatusCauseDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *StatusCauseDie) DieSealReleasePtr() *metav1.StatusCause
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*StatusCauseDie) DieStamp ¶
func (d *StatusCauseDie) DieStamp(fn func(r *metav1.StatusCause)) *StatusCauseDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*StatusCauseDie) DieStampAt ¶
func (d *StatusCauseDie) DieStampAt(jp string, fn interface{}) *StatusCauseDie
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 (*StatusCauseDie) DieWith ¶
func (d *StatusCauseDie) DieWith(fns ...func(d *StatusCauseDie)) *StatusCauseDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*StatusCauseDie) Field ¶
func (d *StatusCauseDie) Field(v string) *StatusCauseDie
The field of the resource that has caused this error, as named by its JSON
serialization. May include dot and postfix notation for nested attributes.
Arrays are zero-indexed. Fields may appear more than once in an array of
causes due to fields having multiple errors.
Optional.
Examples:
"name" - the field "name" on the current resource
"items[0].name" - the field "name" on the first array entry in "items"
func (*StatusCauseDie) Message ¶
func (d *StatusCauseDie) Message(v string) *StatusCauseDie
A human-readable description of the cause of the error. This field may be
presented as-is to a reader.
func (*StatusCauseDie) Type ¶
func (d *StatusCauseDie) Type(v metav1.CauseType) *StatusCauseDie
A machine-readable description of the cause of the error. If this value is
empty there is no information available.
type StatusDetailsDie ¶
type StatusDetailsDie struct {
// contains filtered or unexported fields
}
func (*StatusDetailsDie) Causes ¶
func (d *StatusDetailsDie) Causes(v ...metav1.StatusCause) *StatusDetailsDie
The Causes array includes more details associated with the StatusReason
failure. Not all StatusReasons may provide detailed causes.
func (*StatusDetailsDie) CausesDie ¶
func (d *StatusDetailsDie) CausesDie(v ...*StatusCauseDie) *StatusDetailsDie
CausesDie replaces Causes by collecting the released value from each die passed.
The Causes array includes more details associated with the StatusReason ¶
failure. Not all StatusReasons may provide detailed causes.
func (*StatusDetailsDie) DeepCopy ¶
func (d *StatusDetailsDie) DeepCopy() *StatusDetailsDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*StatusDetailsDie) DieDiff ¶ added in v0.13.0
func (d *StatusDetailsDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*StatusDetailsDie) DieFeed ¶
func (d *StatusDetailsDie) DieFeed(r metav1.StatusDetails) *StatusDetailsDie
DieFeed returns a new die with the provided resource.
func (*StatusDetailsDie) DieFeedJSON ¶
func (d *StatusDetailsDie) DieFeedJSON(j []byte) *StatusDetailsDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*StatusDetailsDie) DieFeedPtr ¶
func (d *StatusDetailsDie) DieFeedPtr(r *metav1.StatusDetails) *StatusDetailsDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*StatusDetailsDie) DieFeedRawExtension ¶
func (d *StatusDetailsDie) DieFeedRawExtension(raw runtime.RawExtension) *StatusDetailsDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*StatusDetailsDie) DieFeedYAML ¶
func (d *StatusDetailsDie) DieFeedYAML(y []byte) *StatusDetailsDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*StatusDetailsDie) DieFeedYAMLFile ¶
func (d *StatusDetailsDie) DieFeedYAMLFile(name string) *StatusDetailsDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*StatusDetailsDie) DieImmutable ¶
func (d *StatusDetailsDie) DieImmutable(immutable bool) *StatusDetailsDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*StatusDetailsDie) DiePatch ¶ added in v0.13.0
func (d *StatusDetailsDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*StatusDetailsDie) DieRelease ¶
func (d *StatusDetailsDie) DieRelease() metav1.StatusDetails
DieRelease returns the resource managed by the die.
func (*StatusDetailsDie) DieReleaseJSON ¶
func (d *StatusDetailsDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*StatusDetailsDie) DieReleasePtr ¶
func (d *StatusDetailsDie) DieReleasePtr() *metav1.StatusDetails
DieReleasePtr returns a pointer to the resource managed by the die.
func (*StatusDetailsDie) DieReleaseRawExtension ¶
func (d *StatusDetailsDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*StatusDetailsDie) DieReleaseYAML ¶
func (d *StatusDetailsDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*StatusDetailsDie) DieSeal ¶ added in v0.13.0
func (d *StatusDetailsDie) DieSeal() *StatusDetailsDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*StatusDetailsDie) DieSealFeed ¶ added in v0.13.0
func (d *StatusDetailsDie) DieSealFeed(r metav1.StatusDetails) *StatusDetailsDie
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 (*StatusDetailsDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *StatusDetailsDie) DieSealFeedPtr(r *metav1.StatusDetails) *StatusDetailsDie
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 (*StatusDetailsDie) DieSealRelease ¶ added in v0.13.0
func (d *StatusDetailsDie) DieSealRelease() metav1.StatusDetails
DieSealRelease returns the sealed resource managed by the die.
func (*StatusDetailsDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *StatusDetailsDie) DieSealReleasePtr() *metav1.StatusDetails
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*StatusDetailsDie) DieStamp ¶
func (d *StatusDetailsDie) DieStamp(fn func(r *metav1.StatusDetails)) *StatusDetailsDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*StatusDetailsDie) DieStampAt ¶
func (d *StatusDetailsDie) DieStampAt(jp string, fn interface{}) *StatusDetailsDie
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 (*StatusDetailsDie) DieWith ¶
func (d *StatusDetailsDie) DieWith(fns ...func(d *StatusDetailsDie)) *StatusDetailsDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*StatusDetailsDie) Group ¶
func (d *StatusDetailsDie) Group(v string) *StatusDetailsDie
The group attribute of the resource associated with the status StatusReason.
func (*StatusDetailsDie) Kind ¶
func (d *StatusDetailsDie) Kind(v string) *StatusDetailsDie
The kind attribute of the resource associated with the status StatusReason.
On some operations may differ from the requested resource Kind.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (*StatusDetailsDie) Name ¶
func (d *StatusDetailsDie) Name(v string) *StatusDetailsDie
The name attribute of the resource associated with the status StatusReason
(when there is a single name which can be described).
func (*StatusDetailsDie) RetryAfterSeconds ¶
func (d *StatusDetailsDie) RetryAfterSeconds(v int32) *StatusDetailsDie
If specified, the time in seconds before the operation should be retried. Some errors may indicate
the client must take an alternate action - for those errors this field may indicate how long to wait
before taking the alternate action.
func (*StatusDetailsDie) UID ¶
func (d *StatusDetailsDie) UID(v types.UID) *StatusDetailsDie
UID of the resource.
(when there is a single resource which can be described).
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
type StatusDie ¶
type StatusDie struct {
// contains filtered or unexported fields
}
func (*StatusDie) APIVersion ¶
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 (*StatusDie) DeepCopy ¶
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*StatusDie) Details ¶
func (d *StatusDie) Details(v *metav1.StatusDetails) *StatusDie
Extended data associated with the reason. Each reason may define its
own extended details. This field is optional and the data returned
is not guaranteed to conform to any schema except that defined by
the reason type.
func (*StatusDie) DetailsDie ¶ added in v0.13.0
func (d *StatusDie) DetailsDie(fn func(d *StatusDetailsDie)) *StatusDie
DetailsDie mutates Details as a die.
Extended data associated with the reason. Each reason may define its
own extended details. This field is optional and the data returned
is not guaranteed to conform to any schema except that defined by
the reason type.
func (*StatusDie) DieDiff ¶ added in v0.13.0
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*StatusDie) DieFeedJSON ¶
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*StatusDie) DieFeedPtr ¶
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*StatusDie) DieFeedRawExtension ¶
func (d *StatusDie) DieFeedRawExtension(raw runtime.RawExtension) *StatusDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*StatusDie) DieFeedYAML ¶
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*StatusDie) DieFeedYAMLFile ¶
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*StatusDie) DieImmutable ¶
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*StatusDie) DiePatch ¶ added in v0.13.0
DiePatch generates a patch between the current value of the die and the sealed value.
func (*StatusDie) DieRelease ¶
DieRelease returns the resource managed by the die.
func (*StatusDie) DieReleaseJSON ¶
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*StatusDie) DieReleasePtr ¶
DieReleasePtr returns a pointer to the resource managed by the die.
func (*StatusDie) DieReleaseRawExtension ¶
func (d *StatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*StatusDie) DieReleaseYAML ¶
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*StatusDie) DieSeal ¶ added in v0.13.0
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*StatusDie) DieSealFeed ¶ added in v0.13.0
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 (*StatusDie) DieSealFeedPtr ¶ added in v0.13.0
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 (*StatusDie) DieSealRelease ¶ added in v0.13.0
DieSealRelease returns the sealed resource managed by the die.
func (*StatusDie) DieSealReleasePtr ¶ added in v0.13.0
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*StatusDie) DieStamp ¶
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*StatusDie) DieStampAt ¶
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 (*StatusDie) DieWith ¶
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*StatusDie) Kind ¶
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 (*StatusDie) ListMeta ¶
Standard list metadata.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (*StatusDie) ListMetaDie ¶
func (d *StatusDie) ListMetaDie(fn func(d *ListMetaDie)) *StatusDie
ListMetaDie mutates ListMeta as a die.
Standard list metadata.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (*StatusDie) Reason ¶
func (d *StatusDie) Reason(v metav1.StatusReason) *StatusDie
A machine-readable description of why this operation is in the
"Failure" status. If this value is empty there
is no information available. A Reason clarifies an HTTP status
code but does not override it.
func (*StatusDie) Status ¶
Status of the operation.
One of: "Success" or "Failure".
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
type TypeMetaDie ¶
type TypeMetaDie struct {
// contains filtered or unexported fields
}
func (*TypeMetaDie) APIVersion ¶
func (d *TypeMetaDie) APIVersion(v string) *TypeMetaDie
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 (*TypeMetaDie) DeepCopy ¶
func (d *TypeMetaDie) DeepCopy() *TypeMetaDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*TypeMetaDie) DieDiff ¶ added in v0.13.0
func (d *TypeMetaDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*TypeMetaDie) DieFeed ¶
func (d *TypeMetaDie) DieFeed(r metav1.TypeMeta) *TypeMetaDie
DieFeed returns a new die with the provided resource.
func (*TypeMetaDie) DieFeedJSON ¶ added in v0.13.0
func (d *TypeMetaDie) DieFeedJSON(j []byte) *TypeMetaDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*TypeMetaDie) DieFeedPtr ¶
func (d *TypeMetaDie) DieFeedPtr(r *metav1.TypeMeta) *TypeMetaDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*TypeMetaDie) DieFeedRawExtension ¶
func (d *TypeMetaDie) DieFeedRawExtension(raw runtime.RawExtension) *TypeMetaDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TypeMetaDie) DieFeedYAML ¶ added in v0.13.0
func (d *TypeMetaDie) DieFeedYAML(y []byte) *TypeMetaDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*TypeMetaDie) DieFeedYAMLFile ¶ added in v0.13.0
func (d *TypeMetaDie) DieFeedYAMLFile(name string) *TypeMetaDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*TypeMetaDie) DieImmutable ¶
func (d *TypeMetaDie) DieImmutable(immutable bool) *TypeMetaDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*TypeMetaDie) DiePatch ¶ added in v0.13.0
func (d *TypeMetaDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*TypeMetaDie) DieRelease ¶
func (d *TypeMetaDie) DieRelease() metav1.TypeMeta
DieRelease returns the resource managed by the die.
func (*TypeMetaDie) DieReleaseJSON ¶ added in v0.13.0
func (d *TypeMetaDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*TypeMetaDie) DieReleasePtr ¶
func (d *TypeMetaDie) DieReleasePtr() *metav1.TypeMeta
DieReleasePtr returns a pointer to the resource managed by the die.
func (*TypeMetaDie) DieReleaseRawExtension ¶
func (d *TypeMetaDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*TypeMetaDie) DieReleaseYAML ¶ added in v0.13.0
func (d *TypeMetaDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*TypeMetaDie) DieSeal ¶ added in v0.13.0
func (d *TypeMetaDie) DieSeal() *TypeMetaDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*TypeMetaDie) DieSealFeed ¶ added in v0.13.0
func (d *TypeMetaDie) DieSealFeed(r metav1.TypeMeta) *TypeMetaDie
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 (*TypeMetaDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *TypeMetaDie) DieSealFeedPtr(r *metav1.TypeMeta) *TypeMetaDie
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 (*TypeMetaDie) DieSealRelease ¶ added in v0.13.0
func (d *TypeMetaDie) DieSealRelease() metav1.TypeMeta
DieSealRelease returns the sealed resource managed by the die.
func (*TypeMetaDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *TypeMetaDie) DieSealReleasePtr() *metav1.TypeMeta
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*TypeMetaDie) DieStamp ¶
func (d *TypeMetaDie) DieStamp(fn func(r *metav1.TypeMeta)) *TypeMetaDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*TypeMetaDie) DieStampAt ¶ added in v0.13.0
func (d *TypeMetaDie) DieStampAt(jp string, fn interface{}) *TypeMetaDie
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 (*TypeMetaDie) DieWith ¶ added in v0.13.0
func (d *TypeMetaDie) DieWith(fns ...func(d *TypeMetaDie)) *TypeMetaDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*TypeMetaDie) Group ¶ added in v0.13.0
func (d *TypeMetaDie) Group(v string) *TypeMetaDie
Group defines the group component of the API version.
func (*TypeMetaDie) Kind ¶
func (d *TypeMetaDie) Kind(v string) *TypeMetaDie
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 (*TypeMetaDie) Version ¶ added in v0.13.0
func (d *TypeMetaDie) Version(v string) *TypeMetaDie
Version defines the version component of the API version.