Documentation
¶
Index ¶
- Variables
- type ImageDie
- func (d *ImageDie) DeepCopy() *ImageDie
- func (d *ImageDie) DieFeed(r syncv1alpha1.Image) *ImageDie
- func (d *ImageDie) DieFeedJSON(j []byte) *ImageDie
- func (d *ImageDie) DieFeedPtr(r *syncv1alpha1.Image) *ImageDie
- func (d *ImageDie) DieFeedRawExtension(raw runtime.RawExtension) *ImageDie
- func (d *ImageDie) DieFeedYAML(y []byte) *ImageDie
- func (d *ImageDie) DieFeedYAMLFile(name string) *ImageDie
- func (d *ImageDie) DieImmutable(immutable bool) *ImageDie
- func (d *ImageDie) DieRelease() syncv1alpha1.Image
- func (d *ImageDie) DieReleaseJSON() []byte
- func (d *ImageDie) DieReleasePtr() *syncv1alpha1.Image
- func (d *ImageDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ImageDie) DieReleaseYAML() []byte
- func (d *ImageDie) DieStamp(fn func(r *syncv1alpha1.Image)) *ImageDie
- func (d *ImageDie) DieStampAt(jp string, fn interface{}) *ImageDie
- func (d *ImageDie) DieWith(fns ...func(d *ImageDie)) *ImageDie
- func (d *ImageDie) Image(v string) *ImageDie
- func (d *ImageDie) Insecure(v bool) *ImageDie
- func (d *ImageDie) IsBundleImage(v bool) *ImageDie
- func (d *ImageDie) SecretRef(v ...corev1.LocalObjectReference) *ImageDie
- func (d *ImageDie) ServiceAccountName(v string) *ImageDie
- type ImageSyncDie
- func (d *ImageSyncDie) APIVersion(v string) *ImageSyncDie
- func (d *ImageSyncDie) DeepCopy() *ImageSyncDie
- func (d *ImageSyncDie) DeepCopyObject() runtime.Object
- func (d *ImageSyncDie) DieFeed(r syncv1alpha1.ImageSync) *ImageSyncDie
- func (d *ImageSyncDie) DieFeedJSON(j []byte) *ImageSyncDie
- func (d *ImageSyncDie) DieFeedPtr(r *syncv1alpha1.ImageSync) *ImageSyncDie
- func (d *ImageSyncDie) DieFeedRawExtension(raw runtime.RawExtension) *ImageSyncDie
- func (d *ImageSyncDie) DieFeedYAML(y []byte) *ImageSyncDie
- func (d *ImageSyncDie) DieFeedYAMLFile(name string) *ImageSyncDie
- func (d *ImageSyncDie) DieImmutable(immutable bool) *ImageSyncDie
- func (d *ImageSyncDie) DieRelease() syncv1alpha1.ImageSync
- func (d *ImageSyncDie) DieReleaseJSON() []byte
- func (d *ImageSyncDie) DieReleasePtr() *syncv1alpha1.ImageSync
- func (d *ImageSyncDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ImageSyncDie) DieReleaseUnstructured() *unstructured.Unstructured
- func (d *ImageSyncDie) DieReleaseYAML() []byte
- func (d *ImageSyncDie) DieStamp(fn func(r *syncv1alpha1.ImageSync)) *ImageSyncDie
- func (d *ImageSyncDie) DieStampAt(jp string, fn interface{}) *ImageSyncDie
- func (d *ImageSyncDie) DieWith(fns ...func(d *ImageSyncDie)) *ImageSyncDie
- func (d *ImageSyncDie) GetObjectKind() schema.ObjectKind
- func (d *ImageSyncDie) Kind(v string) *ImageSyncDie
- func (d *ImageSyncDie) MarshalJSON() ([]byte, error)
- func (d *ImageSyncDie) MetadataDie(fn func(d *v1.ObjectMetaDie)) *ImageSyncDie
- func (d *ImageSyncDie) Spec(v syncv1alpha1.ImageSyncSpec) *ImageSyncDie
- func (d *ImageSyncDie) SpecDie(fn func(d *ImageSyncSpecDie)) *ImageSyncDie
- func (d *ImageSyncDie) Status(v syncv1alpha1.ImageSyncStatus) *ImageSyncDie
- func (d *ImageSyncDie) StatusDie(fn func(d *ImageSyncStatusDie)) *ImageSyncDie
- func (d *ImageSyncDie) UnmarshalJSON(b []byte) error
- type ImageSyncSpecDie
- func (d *ImageSyncSpecDie) DeepCopy() *ImageSyncSpecDie
- func (d *ImageSyncSpecDie) DestinationImage(v syncv1alpha1.Image) *ImageSyncSpecDie
- func (d *ImageSyncSpecDie) DieFeed(r syncv1alpha1.ImageSyncSpec) *ImageSyncSpecDie
- func (d *ImageSyncSpecDie) DieFeedJSON(j []byte) *ImageSyncSpecDie
- func (d *ImageSyncSpecDie) DieFeedPtr(r *syncv1alpha1.ImageSyncSpec) *ImageSyncSpecDie
- func (d *ImageSyncSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *ImageSyncSpecDie
- func (d *ImageSyncSpecDie) DieFeedYAML(y []byte) *ImageSyncSpecDie
- func (d *ImageSyncSpecDie) DieFeedYAMLFile(name string) *ImageSyncSpecDie
- func (d *ImageSyncSpecDie) DieImmutable(immutable bool) *ImageSyncSpecDie
- func (d *ImageSyncSpecDie) DieRelease() syncv1alpha1.ImageSyncSpec
- func (d *ImageSyncSpecDie) DieReleaseJSON() []byte
- func (d *ImageSyncSpecDie) DieReleasePtr() *syncv1alpha1.ImageSyncSpec
- func (d *ImageSyncSpecDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ImageSyncSpecDie) DieReleaseYAML() []byte
- func (d *ImageSyncSpecDie) DieStamp(fn func(r *syncv1alpha1.ImageSyncSpec)) *ImageSyncSpecDie
- func (d *ImageSyncSpecDie) DieStampAt(jp string, fn interface{}) *ImageSyncSpecDie
- func (d *ImageSyncSpecDie) DieWith(fns ...func(d *ImageSyncSpecDie)) *ImageSyncSpecDie
- func (d *ImageSyncSpecDie) SourceImage(v syncv1alpha1.Image) *ImageSyncSpecDie
- func (d *ImageSyncSpecDie) Timeout(v *metav1.Duration) *ImageSyncSpecDie
- type ImageSyncStatusDie
- func (d *ImageSyncStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *ImageSyncStatusDie
- func (d *ImageSyncStatusDie) DeepCopy() *ImageSyncStatusDie
- func (d *ImageSyncStatusDie) DieFeed(r syncv1alpha1.ImageSyncStatus) *ImageSyncStatusDie
- func (d *ImageSyncStatusDie) DieFeedJSON(j []byte) *ImageSyncStatusDie
- func (d *ImageSyncStatusDie) DieFeedPtr(r *syncv1alpha1.ImageSyncStatus) *ImageSyncStatusDie
- func (d *ImageSyncStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *ImageSyncStatusDie
- func (d *ImageSyncStatusDie) DieFeedYAML(y []byte) *ImageSyncStatusDie
- func (d *ImageSyncStatusDie) DieFeedYAMLFile(name string) *ImageSyncStatusDie
- func (d *ImageSyncStatusDie) DieImmutable(immutable bool) *ImageSyncStatusDie
- func (d *ImageSyncStatusDie) DieRelease() syncv1alpha1.ImageSyncStatus
- func (d *ImageSyncStatusDie) DieReleaseJSON() []byte
- func (d *ImageSyncStatusDie) DieReleasePtr() *syncv1alpha1.ImageSyncStatus
- func (d *ImageSyncStatusDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ImageSyncStatusDie) DieReleaseYAML() []byte
- func (d *ImageSyncStatusDie) DieStamp(fn func(r *syncv1alpha1.ImageSyncStatus)) *ImageSyncStatusDie
- func (d *ImageSyncStatusDie) DieStampAt(jp string, fn interface{}) *ImageSyncStatusDie
- func (d *ImageSyncStatusDie) DieWith(fns ...func(d *ImageSyncStatusDie)) *ImageSyncStatusDie
- func (d *ImageSyncStatusDie) LastSyncTime(v metav1.Time) *ImageSyncStatusDie
- func (d *ImageSyncStatusDie) ObservedGeneration(v int64) *ImageSyncStatusDie
- func (d *ImageSyncStatusDie) Status(v apis.Status) *ImageSyncStatusDie
- func (d *ImageSyncStatusDie) URL(v string) *ImageSyncStatusDie
Constants ¶
This section is empty.
Variables ¶
var ImageBlank = (&ImageDie{}).DieFeed(syncv1alpha1.Image{})
var ImageSyncBlank = (&ImageSyncDie{}).DieFeed(syncv1alpha1.ImageSync{})
var ImageSyncSpecBlank = (&ImageSyncSpecDie{}).DieFeed(syncv1alpha1.ImageSyncSpec{})
var ImageSyncStatusBlank = (&ImageSyncStatusDie{}).DieFeed(syncv1alpha1.ImageSyncStatus{})
Functions ¶
This section is empty.
Types ¶
type ImageDie ¶
type ImageDie struct {
// contains filtered or unexported fields
}
func (*ImageDie) DeepCopy ¶
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ImageDie) DieFeed ¶
func (d *ImageDie) DieFeed(r syncv1alpha1.Image) *ImageDie
DieFeed returns a new die with the provided resource.
func (*ImageDie) DieFeedJSON ¶
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ImageDie) DieFeedPtr ¶
func (d *ImageDie) DieFeedPtr(r *syncv1alpha1.Image) *ImageDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ImageDie) DieFeedRawExtension ¶
func (d *ImageDie) DieFeedRawExtension(raw runtime.RawExtension) *ImageDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ImageDie) DieFeedYAML ¶
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ImageDie) DieFeedYAMLFile ¶
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ImageDie) DieImmutable ¶
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ImageDie) DieRelease ¶
func (d *ImageDie) DieRelease() syncv1alpha1.Image
DieRelease returns the resource managed by the die.
func (*ImageDie) DieReleaseJSON ¶
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ImageDie) DieReleasePtr ¶
func (d *ImageDie) DieReleasePtr() *syncv1alpha1.Image
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ImageDie) DieReleaseRawExtension ¶
func (d *ImageDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ImageDie) DieReleaseYAML ¶
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ImageDie) DieStamp ¶
func (d *ImageDie) DieStamp(fn func(r *syncv1alpha1.Image)) *ImageDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ImageDie) 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 (*ImageDie) DieWith ¶
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ImageDie) IsBundleImage ¶
IsBundleImage allows synchronizing bundle images.
func (*ImageDie) SecretRef ¶
func (d *ImageDie) SecretRef(v ...corev1.LocalObjectReference) *ImageDie
SecretRef contains the names of the Kubernetes Secrets containing registry login
information to resolve image metadata.
func (*ImageDie) ServiceAccountName ¶
ServiceAccountName is the name of the Kubernetes ServiceAccount used to authenticate
the image pull if the service account has attached pull secrets. For more information:
type ImageSyncDie ¶
type ImageSyncDie struct { v1.FrozenObjectMeta // contains filtered or unexported fields }
func (*ImageSyncDie) APIVersion ¶
func (d *ImageSyncDie) APIVersion(v string) *ImageSyncDie
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 (*ImageSyncDie) DeepCopy ¶
func (d *ImageSyncDie) DeepCopy() *ImageSyncDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ImageSyncDie) DeepCopyObject ¶
func (d *ImageSyncDie) DeepCopyObject() runtime.Object
func (*ImageSyncDie) DieFeed ¶
func (d *ImageSyncDie) DieFeed(r syncv1alpha1.ImageSync) *ImageSyncDie
DieFeed returns a new die with the provided resource.
func (*ImageSyncDie) DieFeedJSON ¶
func (d *ImageSyncDie) DieFeedJSON(j []byte) *ImageSyncDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ImageSyncDie) DieFeedPtr ¶
func (d *ImageSyncDie) DieFeedPtr(r *syncv1alpha1.ImageSync) *ImageSyncDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ImageSyncDie) DieFeedRawExtension ¶
func (d *ImageSyncDie) DieFeedRawExtension(raw runtime.RawExtension) *ImageSyncDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ImageSyncDie) DieFeedYAML ¶
func (d *ImageSyncDie) DieFeedYAML(y []byte) *ImageSyncDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ImageSyncDie) DieFeedYAMLFile ¶
func (d *ImageSyncDie) DieFeedYAMLFile(name string) *ImageSyncDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ImageSyncDie) DieImmutable ¶
func (d *ImageSyncDie) DieImmutable(immutable bool) *ImageSyncDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ImageSyncDie) DieRelease ¶
func (d *ImageSyncDie) DieRelease() syncv1alpha1.ImageSync
DieRelease returns the resource managed by the die.
func (*ImageSyncDie) DieReleaseJSON ¶
func (d *ImageSyncDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ImageSyncDie) DieReleasePtr ¶
func (d *ImageSyncDie) DieReleasePtr() *syncv1alpha1.ImageSync
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ImageSyncDie) DieReleaseRawExtension ¶
func (d *ImageSyncDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ImageSyncDie) DieReleaseUnstructured ¶
func (d *ImageSyncDie) DieReleaseUnstructured() *unstructured.Unstructured
DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.
func (*ImageSyncDie) DieReleaseYAML ¶
func (d *ImageSyncDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ImageSyncDie) DieStamp ¶
func (d *ImageSyncDie) DieStamp(fn func(r *syncv1alpha1.ImageSync)) *ImageSyncDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ImageSyncDie) DieStampAt ¶
func (d *ImageSyncDie) DieStampAt(jp string, fn interface{}) *ImageSyncDie
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 (*ImageSyncDie) DieWith ¶
func (d *ImageSyncDie) DieWith(fns ...func(d *ImageSyncDie)) *ImageSyncDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ImageSyncDie) GetObjectKind ¶
func (d *ImageSyncDie) GetObjectKind() schema.ObjectKind
func (*ImageSyncDie) Kind ¶
func (d *ImageSyncDie) Kind(v string) *ImageSyncDie
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 (*ImageSyncDie) MarshalJSON ¶
func (d *ImageSyncDie) MarshalJSON() ([]byte, error)
func (*ImageSyncDie) MetadataDie ¶
func (d *ImageSyncDie) MetadataDie(fn func(d *v1.ObjectMetaDie)) *ImageSyncDie
MetadataDie stamps the resource's ObjectMeta field with a mutable die.
func (*ImageSyncDie) Spec ¶
func (d *ImageSyncDie) Spec(v syncv1alpha1.ImageSyncSpec) *ImageSyncDie
func (*ImageSyncDie) SpecDie ¶
func (d *ImageSyncDie) SpecDie(fn func(d *ImageSyncSpecDie)) *ImageSyncDie
SpecDie stamps the resource's spec field with a mutable die.
func (*ImageSyncDie) Status ¶
func (d *ImageSyncDie) Status(v syncv1alpha1.ImageSyncStatus) *ImageSyncDie
func (*ImageSyncDie) StatusDie ¶
func (d *ImageSyncDie) StatusDie(fn func(d *ImageSyncStatusDie)) *ImageSyncDie
StatusDie stamps the resource's status field with a mutable die.
func (*ImageSyncDie) UnmarshalJSON ¶
func (d *ImageSyncDie) UnmarshalJSON(b []byte) error
type ImageSyncSpecDie ¶
type ImageSyncSpecDie struct {
// contains filtered or unexported fields
}
func (*ImageSyncSpecDie) DeepCopy ¶
func (d *ImageSyncSpecDie) DeepCopy() *ImageSyncSpecDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ImageSyncSpecDie) DestinationImage ¶
func (d *ImageSyncSpecDie) DestinationImage(v syncv1alpha1.Image) *ImageSyncSpecDie
func (*ImageSyncSpecDie) DieFeed ¶
func (d *ImageSyncSpecDie) DieFeed(r syncv1alpha1.ImageSyncSpec) *ImageSyncSpecDie
DieFeed returns a new die with the provided resource.
func (*ImageSyncSpecDie) DieFeedJSON ¶
func (d *ImageSyncSpecDie) DieFeedJSON(j []byte) *ImageSyncSpecDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ImageSyncSpecDie) DieFeedPtr ¶
func (d *ImageSyncSpecDie) DieFeedPtr(r *syncv1alpha1.ImageSyncSpec) *ImageSyncSpecDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ImageSyncSpecDie) DieFeedRawExtension ¶
func (d *ImageSyncSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *ImageSyncSpecDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ImageSyncSpecDie) DieFeedYAML ¶
func (d *ImageSyncSpecDie) DieFeedYAML(y []byte) *ImageSyncSpecDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ImageSyncSpecDie) DieFeedYAMLFile ¶
func (d *ImageSyncSpecDie) DieFeedYAMLFile(name string) *ImageSyncSpecDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ImageSyncSpecDie) DieImmutable ¶
func (d *ImageSyncSpecDie) DieImmutable(immutable bool) *ImageSyncSpecDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ImageSyncSpecDie) DieRelease ¶
func (d *ImageSyncSpecDie) DieRelease() syncv1alpha1.ImageSyncSpec
DieRelease returns the resource managed by the die.
func (*ImageSyncSpecDie) DieReleaseJSON ¶
func (d *ImageSyncSpecDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ImageSyncSpecDie) DieReleasePtr ¶
func (d *ImageSyncSpecDie) DieReleasePtr() *syncv1alpha1.ImageSyncSpec
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ImageSyncSpecDie) DieReleaseRawExtension ¶
func (d *ImageSyncSpecDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ImageSyncSpecDie) DieReleaseYAML ¶
func (d *ImageSyncSpecDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ImageSyncSpecDie) DieStamp ¶
func (d *ImageSyncSpecDie) DieStamp(fn func(r *syncv1alpha1.ImageSyncSpec)) *ImageSyncSpecDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ImageSyncSpecDie) DieStampAt ¶
func (d *ImageSyncSpecDie) DieStampAt(jp string, fn interface{}) *ImageSyncSpecDie
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 (*ImageSyncSpecDie) DieWith ¶
func (d *ImageSyncSpecDie) DieWith(fns ...func(d *ImageSyncSpecDie)) *ImageSyncSpecDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ImageSyncSpecDie) SourceImage ¶
func (d *ImageSyncSpecDie) SourceImage(v syncv1alpha1.Image) *ImageSyncSpecDie
func (*ImageSyncSpecDie) Timeout ¶
func (d *ImageSyncSpecDie) Timeout(v *metav1.Duration) *ImageSyncSpecDie
The timeout for remote OCI Repository operations like pulling, defaults to 60s.
type ImageSyncStatusDie ¶
type ImageSyncStatusDie struct {
// contains filtered or unexported fields
}
func (*ImageSyncStatusDie) ConditionsDie ¶
func (d *ImageSyncStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *ImageSyncStatusDie
func (*ImageSyncStatusDie) DeepCopy ¶
func (d *ImageSyncStatusDie) DeepCopy() *ImageSyncStatusDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ImageSyncStatusDie) DieFeed ¶
func (d *ImageSyncStatusDie) DieFeed(r syncv1alpha1.ImageSyncStatus) *ImageSyncStatusDie
DieFeed returns a new die with the provided resource.
func (*ImageSyncStatusDie) DieFeedJSON ¶
func (d *ImageSyncStatusDie) DieFeedJSON(j []byte) *ImageSyncStatusDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ImageSyncStatusDie) DieFeedPtr ¶
func (d *ImageSyncStatusDie) DieFeedPtr(r *syncv1alpha1.ImageSyncStatus) *ImageSyncStatusDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ImageSyncStatusDie) DieFeedRawExtension ¶
func (d *ImageSyncStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *ImageSyncStatusDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ImageSyncStatusDie) DieFeedYAML ¶
func (d *ImageSyncStatusDie) DieFeedYAML(y []byte) *ImageSyncStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ImageSyncStatusDie) DieFeedYAMLFile ¶
func (d *ImageSyncStatusDie) DieFeedYAMLFile(name string) *ImageSyncStatusDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ImageSyncStatusDie) DieImmutable ¶
func (d *ImageSyncStatusDie) DieImmutable(immutable bool) *ImageSyncStatusDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ImageSyncStatusDie) DieRelease ¶
func (d *ImageSyncStatusDie) DieRelease() syncv1alpha1.ImageSyncStatus
DieRelease returns the resource managed by the die.
func (*ImageSyncStatusDie) DieReleaseJSON ¶
func (d *ImageSyncStatusDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ImageSyncStatusDie) DieReleasePtr ¶
func (d *ImageSyncStatusDie) DieReleasePtr() *syncv1alpha1.ImageSyncStatus
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ImageSyncStatusDie) DieReleaseRawExtension ¶
func (d *ImageSyncStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ImageSyncStatusDie) DieReleaseYAML ¶
func (d *ImageSyncStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ImageSyncStatusDie) DieStamp ¶
func (d *ImageSyncStatusDie) DieStamp(fn func(r *syncv1alpha1.ImageSyncStatus)) *ImageSyncStatusDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ImageSyncStatusDie) DieStampAt ¶
func (d *ImageSyncStatusDie) DieStampAt(jp string, fn interface{}) *ImageSyncStatusDie
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 (*ImageSyncStatusDie) DieWith ¶
func (d *ImageSyncStatusDie) DieWith(fns ...func(d *ImageSyncStatusDie)) *ImageSyncStatusDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ImageSyncStatusDie) LastSyncTime ¶
func (d *ImageSyncStatusDie) LastSyncTime(v metav1.Time) *ImageSyncStatusDie
LastSyncTime to the destination repository
func (*ImageSyncStatusDie) ObservedGeneration ¶
func (d *ImageSyncStatusDie) ObservedGeneration(v int64) *ImageSyncStatusDie
func (*ImageSyncStatusDie) Status ¶
func (d *ImageSyncStatusDie) Status(v apis.Status) *ImageSyncStatusDie
func (*ImageSyncStatusDie) URL ¶
func (d *ImageSyncStatusDie) URL(v string) *ImageSyncStatusDie
URL is the destination link for the latest Artifact.