Documentation ¶
Index ¶
- Variables
- func CreateConditionHealthyFalse(reason, message string) *diemetav1.ConditionDie
- func CreateConditionHealthyTrue(reason, message string) *diemetav1.ConditionDie
- func CreateConditionHealthyUnknown(reason, message string) *diemetav1.ConditionDie
- func CreateConditionReadyFalse(reason, message string) *diemetav1.ConditionDie
- func CreateConditionReadyTrue(reason, message string) *diemetav1.ConditionDie
- func CreateConditionReadyUnknown(reason, message string) *diemetav1.ConditionDie
- func CreateConditionResourceHealthyFalse(reason, message string) *diemetav1.ConditionDie
- func CreateConditionResourceHealthyTrue(reason, message string) *diemetav1.ConditionDie
- func CreateConditionResourceHealthyUnknown(reason, message string) *diemetav1.ConditionDie
- func CreateConditionResourceReadyFalse(reason, message string) *diemetav1.ConditionDie
- func CreateConditionResourceReadyTrue(reason, message string) *diemetav1.ConditionDie
- func CreateConditionResourceReadyUnknown(reason, message string) *diemetav1.ConditionDie
- type ClusterSupplyChainDie
- func (d *ClusterSupplyChainDie) APIVersion(v string) *ClusterSupplyChainDie
- func (d *ClusterSupplyChainDie) DeepCopy() *ClusterSupplyChainDie
- func (d *ClusterSupplyChainDie) DeepCopyObject() runtime.Object
- func (d *ClusterSupplyChainDie) DieFeed(r cartographerv1alpha1.ClusterSupplyChain) *ClusterSupplyChainDie
- func (d *ClusterSupplyChainDie) DieFeedPtr(r *cartographerv1alpha1.ClusterSupplyChain) *ClusterSupplyChainDie
- func (d *ClusterSupplyChainDie) DieFeedRawExtension(raw runtime.RawExtension) *ClusterSupplyChainDie
- func (d *ClusterSupplyChainDie) DieImmutable(immutable bool) *ClusterSupplyChainDie
- func (d *ClusterSupplyChainDie) DieRelease() cartographerv1alpha1.ClusterSupplyChain
- func (d *ClusterSupplyChainDie) DieReleasePtr() *cartographerv1alpha1.ClusterSupplyChain
- func (d *ClusterSupplyChainDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ClusterSupplyChainDie) DieReleaseUnstructured() *unstructured.Unstructured
- func (d *ClusterSupplyChainDie) DieStamp(fn func(r *cartographerv1alpha1.ClusterSupplyChain)) *ClusterSupplyChainDie
- func (d *ClusterSupplyChainDie) GetObjectKind() schema.ObjectKind
- func (d *ClusterSupplyChainDie) Kind(v string) *ClusterSupplyChainDie
- func (d *ClusterSupplyChainDie) MarshalJSON() ([]byte, error)
- func (d *ClusterSupplyChainDie) MetadataDie(fn func(d *v1.ObjectMetaDie)) *ClusterSupplyChainDie
- func (d *ClusterSupplyChainDie) Spec(v cartographerv1alpha1.SupplyChainSpec) *ClusterSupplyChainDie
- func (d *ClusterSupplyChainDie) SpecDie(fn func(d *SupplyChainSpecDie)) *ClusterSupplyChainDie
- func (d *ClusterSupplyChainDie) Status(v cartographerv1alpha1.SupplyChainStatus) *ClusterSupplyChainDie
- func (d *ClusterSupplyChainDie) StatusDie(fn func(d *SupplyChainStatusDie)) *ClusterSupplyChainDie
- func (d *ClusterSupplyChainDie) UnmarshalJSON(b []byte) error
- type DeliverableDie
- func (d *DeliverableDie) APIVersion(v string) *DeliverableDie
- func (d *DeliverableDie) ConditionsHealthyReadyTrueDie() *DeliverableDie
- func (d *DeliverableDie) DeepCopy() *DeliverableDie
- func (d *DeliverableDie) DeepCopyObject() runtime.Object
- func (d *DeliverableDie) DieFeed(r cartographerv1alpha1.Deliverable) *DeliverableDie
- func (d *DeliverableDie) DieFeedPtr(r *cartographerv1alpha1.Deliverable) *DeliverableDie
- func (d *DeliverableDie) DieFeedRawExtension(raw runtime.RawExtension) *DeliverableDie
- func (d *DeliverableDie) DieImmutable(immutable bool) *DeliverableDie
- func (d *DeliverableDie) DieRelease() cartographerv1alpha1.Deliverable
- func (d *DeliverableDie) DieReleasePtr() *cartographerv1alpha1.Deliverable
- func (d *DeliverableDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *DeliverableDie) DieReleaseUnstructured() *unstructured.Unstructured
- func (d *DeliverableDie) DieStamp(fn func(r *cartographerv1alpha1.Deliverable)) *DeliverableDie
- func (d *DeliverableDie) GetObjectKind() schema.ObjectKind
- func (d *DeliverableDie) Kind(v string) *DeliverableDie
- func (d *DeliverableDie) MarshalJSON() ([]byte, error)
- func (d *DeliverableDie) MetadataDie(fn func(d *v1.ObjectMetaDie)) *DeliverableDie
- func (d *DeliverableDie) Spec(v cartographerv1alpha1.DeliverableSpec) *DeliverableDie
- func (d *DeliverableDie) SpecDie(fn func(d *DeliverableSpecDie)) *DeliverableDie
- func (d *DeliverableDie) Status(v cartographerv1alpha1.DeliverableStatus) *DeliverableDie
- func (d *DeliverableDie) StatusDie(fn func(d *DeliverableStatusDie)) *DeliverableDie
- func (d *DeliverableDie) UnmarshalJSON(b []byte) error
- type DeliverableSpecDie
- func (d *DeliverableSpecDie) DeepCopy() *DeliverableSpecDie
- func (d *DeliverableSpecDie) DieFeed(r cartographerv1alpha1.DeliverableSpec) *DeliverableSpecDie
- func (d *DeliverableSpecDie) DieFeedPtr(r *cartographerv1alpha1.DeliverableSpec) *DeliverableSpecDie
- func (d *DeliverableSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *DeliverableSpecDie
- func (d *DeliverableSpecDie) DieImmutable(immutable bool) *DeliverableSpecDie
- func (d *DeliverableSpecDie) DieRelease() cartographerv1alpha1.DeliverableSpec
- func (d *DeliverableSpecDie) DieReleasePtr() *cartographerv1alpha1.DeliverableSpec
- func (d *DeliverableSpecDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *DeliverableSpecDie) DieStamp(fn func(r *cartographerv1alpha1.DeliverableSpec)) *DeliverableSpecDie
- func (d *DeliverableSpecDie) Params(v ...cartographerv1alpha1.Param) *DeliverableSpecDie
- func (d *DeliverableSpecDie) ServiceAccountName(v string) *DeliverableSpecDie
- func (d *DeliverableSpecDie) Source(v *cartographerv1alpha1.Source) *DeliverableSpecDie
- type DeliverableStatusDie
- func (d *DeliverableStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *DeliverableStatusDie
- func (d *DeliverableStatusDie) ConditionsResourceReadyHealthyTrueDie() *DeliverableStatusDie
- func (d *DeliverableStatusDie) DeepCopy() *DeliverableStatusDie
- func (d *DeliverableStatusDie) DeliveryRef(v cartographerv1alpha1.ObjectReference) *DeliverableStatusDie
- func (d *DeliverableStatusDie) DieFeed(r cartographerv1alpha1.DeliverableStatus) *DeliverableStatusDie
- func (d *DeliverableStatusDie) DieFeedPtr(r *cartographerv1alpha1.DeliverableStatus) *DeliverableStatusDie
- func (d *DeliverableStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *DeliverableStatusDie
- func (d *DeliverableStatusDie) DieImmutable(immutable bool) *DeliverableStatusDie
- func (d *DeliverableStatusDie) DieRelease() cartographerv1alpha1.DeliverableStatus
- func (d *DeliverableStatusDie) DieReleasePtr() *cartographerv1alpha1.DeliverableStatus
- func (d *DeliverableStatusDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *DeliverableStatusDie) DieStamp(fn func(r *cartographerv1alpha1.DeliverableStatus)) *DeliverableStatusDie
- func (d *DeliverableStatusDie) OwnerStatus(v cartographerv1alpha1.OwnerStatus) *DeliverableStatusDie
- func (d *DeliverableStatusDie) Resources(v ...cartographerv1alpha1.RealizedResource) *DeliverableStatusDie
- type RealizedResourceDie
- func (d *RealizedResourceDie) Conditions(v ...metav1.Condition) *RealizedResourceDie
- func (d *RealizedResourceDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *RealizedResourceDie
- func (d *RealizedResourceDie) ConditionsHealthyReadyTrueDie() *RealizedResourceDie
- func (d *RealizedResourceDie) ConditionsResourceHealthyReadyTrueDie() *RealizedResourceDie
- func (d *RealizedResourceDie) DeepCopy() *RealizedResourceDie
- func (d *RealizedResourceDie) DieFeed(r cartographerv1alpha1.RealizedResource) *RealizedResourceDie
- func (d *RealizedResourceDie) DieFeedPtr(r *cartographerv1alpha1.RealizedResource) *RealizedResourceDie
- func (d *RealizedResourceDie) DieFeedRawExtension(raw runtime.RawExtension) *RealizedResourceDie
- func (d *RealizedResourceDie) DieImmutable(immutable bool) *RealizedResourceDie
- func (d *RealizedResourceDie) DieRelease() cartographerv1alpha1.RealizedResource
- func (d *RealizedResourceDie) DieReleasePtr() *cartographerv1alpha1.RealizedResource
- func (d *RealizedResourceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *RealizedResourceDie) DieStamp(fn func(r *cartographerv1alpha1.RealizedResource)) *RealizedResourceDie
- func (d *RealizedResourceDie) Inputs(v ...cartographerv1alpha1.Input) *RealizedResourceDie
- func (d *RealizedResourceDie) Name(v string) *RealizedResourceDie
- func (d *RealizedResourceDie) Outputs(v ...cartographerv1alpha1.Output) *RealizedResourceDie
- func (d *RealizedResourceDie) StampedRef(v *cartographerv1alpha1.StampedRef) *RealizedResourceDie
- func (d *RealizedResourceDie) TemplateRef(v *corev1.ObjectReference) *RealizedResourceDie
- type SupplyChainSpecDie
- func (d *SupplyChainSpecDie) DeepCopy() *SupplyChainSpecDie
- func (d *SupplyChainSpecDie) DieFeed(r cartographerv1alpha1.SupplyChainSpec) *SupplyChainSpecDie
- func (d *SupplyChainSpecDie) DieFeedPtr(r *cartographerv1alpha1.SupplyChainSpec) *SupplyChainSpecDie
- func (d *SupplyChainSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *SupplyChainSpecDie
- func (d *SupplyChainSpecDie) DieImmutable(immutable bool) *SupplyChainSpecDie
- func (d *SupplyChainSpecDie) DieRelease() cartographerv1alpha1.SupplyChainSpec
- func (d *SupplyChainSpecDie) DieReleasePtr() *cartographerv1alpha1.SupplyChainSpec
- func (d *SupplyChainSpecDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *SupplyChainSpecDie) DieStamp(fn func(r *cartographerv1alpha1.SupplyChainSpec)) *SupplyChainSpecDie
- func (d *SupplyChainSpecDie) Params(v ...cartographerv1alpha1.DelegatableParam) *SupplyChainSpecDie
- func (d *SupplyChainSpecDie) Resources(v ...cartographerv1alpha1.SupplyChainResource) *SupplyChainSpecDie
- func (d *SupplyChainSpecDie) Selector(v map[string]string) *SupplyChainSpecDie
- func (d *SupplyChainSpecDie) SelectorMatchExpressions(v ...metav1.LabelSelectorRequirement) *SupplyChainSpecDie
- func (d *SupplyChainSpecDie) SelectorMatchFields(v ...cartographerv1alpha1.FieldSelectorRequirement) *SupplyChainSpecDie
- func (d *SupplyChainSpecDie) ServiceAccountRef(v cartographerv1alpha1.ServiceAccountRef) *SupplyChainSpecDie
- type SupplyChainStatusDie
- func (d *SupplyChainStatusDie) Conditions(v ...metav1.Condition) *SupplyChainStatusDie
- func (d *SupplyChainStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *SupplyChainStatusDie
- func (d *SupplyChainStatusDie) DeepCopy() *SupplyChainStatusDie
- func (d *SupplyChainStatusDie) DieFeed(r cartographerv1alpha1.SupplyChainStatus) *SupplyChainStatusDie
- func (d *SupplyChainStatusDie) DieFeedPtr(r *cartographerv1alpha1.SupplyChainStatus) *SupplyChainStatusDie
- func (d *SupplyChainStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *SupplyChainStatusDie
- func (d *SupplyChainStatusDie) DieImmutable(immutable bool) *SupplyChainStatusDie
- func (d *SupplyChainStatusDie) DieRelease() cartographerv1alpha1.SupplyChainStatus
- func (d *SupplyChainStatusDie) DieReleasePtr() *cartographerv1alpha1.SupplyChainStatus
- func (d *SupplyChainStatusDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *SupplyChainStatusDie) DieStamp(fn func(r *cartographerv1alpha1.SupplyChainStatus)) *SupplyChainStatusDie
- func (d *SupplyChainStatusDie) ObservedGeneration(v int64) *SupplyChainStatusDie
- type WorkloadDie
- func (d *WorkloadDie) APIVersion(v string) *WorkloadDie
- func (d *WorkloadDie) DeepCopy() *WorkloadDie
- func (d *WorkloadDie) DeepCopyObject() runtime.Object
- func (d *WorkloadDie) DieFeed(r cartographerv1alpha1.Workload) *WorkloadDie
- func (d *WorkloadDie) DieFeedPtr(r *cartographerv1alpha1.Workload) *WorkloadDie
- func (d *WorkloadDie) DieFeedRawExtension(raw runtime.RawExtension) *WorkloadDie
- func (d *WorkloadDie) DieImmutable(immutable bool) *WorkloadDie
- func (d *WorkloadDie) DieRelease() cartographerv1alpha1.Workload
- func (d *WorkloadDie) DieReleasePtr() *cartographerv1alpha1.Workload
- func (d *WorkloadDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *WorkloadDie) DieReleaseUnstructured() *unstructured.Unstructured
- func (d *WorkloadDie) DieStamp(fn func(r *cartographerv1alpha1.Workload)) *WorkloadDie
- func (d *WorkloadDie) GetObjectKind() schema.ObjectKind
- func (d *WorkloadDie) Kind(v string) *WorkloadDie
- func (d *WorkloadDie) MarshalJSON() ([]byte, error)
- func (d *WorkloadDie) MetadataDie(fn func(d *v1.ObjectMetaDie)) *WorkloadDie
- func (d *WorkloadDie) Spec(v cartographerv1alpha1.WorkloadSpec) *WorkloadDie
- func (d *WorkloadDie) SpecDie(fn func(d *WorkloadSpecDie)) *WorkloadDie
- func (d *WorkloadDie) Status(v cartographerv1alpha1.WorkloadStatus) *WorkloadDie
- func (d *WorkloadDie) StatusDie(fn func(d *WorkloadStatusDie)) *WorkloadDie
- func (d *WorkloadDie) UnmarshalJSON(b []byte) error
- type WorkloadSpecDie
- func (d *WorkloadSpecDie) Build(v *cartographerv1alpha1.WorkloadBuild) *WorkloadSpecDie
- func (d *WorkloadSpecDie) DeepCopy() *WorkloadSpecDie
- func (d *WorkloadSpecDie) DieFeed(r cartographerv1alpha1.WorkloadSpec) *WorkloadSpecDie
- func (d *WorkloadSpecDie) DieFeedPtr(r *cartographerv1alpha1.WorkloadSpec) *WorkloadSpecDie
- func (d *WorkloadSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *WorkloadSpecDie
- func (d *WorkloadSpecDie) DieImmutable(immutable bool) *WorkloadSpecDie
- func (d *WorkloadSpecDie) DieRelease() cartographerv1alpha1.WorkloadSpec
- func (d *WorkloadSpecDie) DieReleasePtr() *cartographerv1alpha1.WorkloadSpec
- func (d *WorkloadSpecDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *WorkloadSpecDie) DieStamp(fn func(r *cartographerv1alpha1.WorkloadSpec)) *WorkloadSpecDie
- func (d *WorkloadSpecDie) Env(v ...corev1.EnvVar) *WorkloadSpecDie
- func (d *WorkloadSpecDie) EnvDie(name string, fn func(d *diecorev1.EnvVarDie)) *WorkloadSpecDie
- func (d *WorkloadSpecDie) Image(v string) *WorkloadSpecDie
- func (d *WorkloadSpecDie) Params(v ...cartographerv1alpha1.Param) *WorkloadSpecDie
- func (d *WorkloadSpecDie) Resources(v *corev1.ResourceRequirements) *WorkloadSpecDie
- func (d *WorkloadSpecDie) ServiceAccountName(v *string) *WorkloadSpecDie
- func (d *WorkloadSpecDie) ServiceClaims(v ...cartographerv1alpha1.WorkloadServiceClaim) *WorkloadSpecDie
- func (d *WorkloadSpecDie) Source(v *cartographerv1alpha1.Source) *WorkloadSpecDie
- type WorkloadStatusDie
- func (d *WorkloadStatusDie) Conditions(v ...metav1.Condition) *WorkloadStatusDie
- func (d *WorkloadStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *WorkloadStatusDie
- func (d *WorkloadStatusDie) DeepCopy() *WorkloadStatusDie
- func (d *WorkloadStatusDie) DieFeed(r cartographerv1alpha1.WorkloadStatus) *WorkloadStatusDie
- func (d *WorkloadStatusDie) DieFeedPtr(r *cartographerv1alpha1.WorkloadStatus) *WorkloadStatusDie
- func (d *WorkloadStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *WorkloadStatusDie
- func (d *WorkloadStatusDie) DieImmutable(immutable bool) *WorkloadStatusDie
- func (d *WorkloadStatusDie) DieRelease() cartographerv1alpha1.WorkloadStatus
- func (d *WorkloadStatusDie) DieReleasePtr() *cartographerv1alpha1.WorkloadStatus
- func (d *WorkloadStatusDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *WorkloadStatusDie) DieStamp(fn func(r *cartographerv1alpha1.WorkloadStatus)) *WorkloadStatusDie
- func (d *WorkloadStatusDie) ObservedGeneration(v int64) *WorkloadStatusDie
- func (d *WorkloadStatusDie) Resources(v ...cartographerv1alpha1.RealizedResource) *WorkloadStatusDie
- func (d *WorkloadStatusDie) SupplyChainRef(v cartographerv1alpha1.ObjectReference) *WorkloadStatusDie
Constants ¶
This section is empty.
Variables ¶
var ( ConditionReadyBlank = diemetav1.ConditionBlank.Type(cartov1alpha1.ConditionReady) ConditionHealthyBlank = diemetav1.ConditionBlank.Type(cartov1alpha1.ResourcesHealthy) ConditionResourceReadyBlank = diemetav1.ConditionBlank.Type(cartov1alpha1.ConditionResourceReady) ConditionResourceHealthyBlank = diemetav1.ConditionBlank.Type(cartov1alpha1.ConditionResourceHealthy) )
var ( WorkloadConditionReadyBlank = diemetav1.ConditionBlank.Type(cartov1alpha1.WorkloadConditionReady) WorkloadConditionHealthyBlank = diemetav1.ConditionBlank.Type(cartov1alpha1.ResourcesHealthy) WorkloadConditionResourceSubmittedBlank = diemetav1.ConditionBlank.Type(cartov1alpha1.ConditionResourceSubmitted) WorkloadConditionResourceReadyBlank = diemetav1.ConditionBlank.Type(cartov1alpha1.ConditionResourceReady) WorkloadConditionResourceHealthyBlank = diemetav1.ConditionBlank.Type(cartov1alpha1.ConditionResourceHealthy) )
var ClusterSupplyChainBlank = (&ClusterSupplyChainDie{}).DieFeed(cartographerv1alpha1.ClusterSupplyChain{})
var (
ClusterSupplyChainConditionReadyBlank = diemetav1.ConditionBlank.Type(cartov1alpha1.SupplyChainReady)
)
var DeliverableBlank = (&DeliverableDie{}).DieFeed(cartographerv1alpha1.Deliverable{})
var DeliverableSpecBlank = (&DeliverableSpecDie{}).DieFeed(cartographerv1alpha1.DeliverableSpec{})
var DeliverableStatusBlank = (&DeliverableStatusDie{}).DieFeed(cartographerv1alpha1.DeliverableStatus{})
var RealizedResourceBlank = (&RealizedResourceDie{}).DieFeed(cartographerv1alpha1.RealizedResource{})
var SupplyChainSpecBlank = (&SupplyChainSpecDie{}).DieFeed(cartographerv1alpha1.SupplyChainSpec{})
var SupplyChainStatusBlank = (&SupplyChainStatusDie{}).DieFeed(cartographerv1alpha1.SupplyChainStatus{})
var WorkloadBlank = (&WorkloadDie{}).DieFeed(cartographerv1alpha1.Workload{})
var WorkloadSpecBlank = (&WorkloadSpecDie{}).DieFeed(cartographerv1alpha1.WorkloadSpec{})
var WorkloadStatusBlank = (&WorkloadStatusDie{}).DieFeed(cartographerv1alpha1.WorkloadStatus{})
Functions ¶
func CreateConditionHealthyFalse ¶ added in v0.9.0
func CreateConditionHealthyFalse(reason, message string) *diemetav1.ConditionDie
func CreateConditionHealthyTrue ¶ added in v0.9.0
func CreateConditionHealthyTrue(reason, message string) *diemetav1.ConditionDie
func CreateConditionHealthyUnknown ¶ added in v0.9.0
func CreateConditionHealthyUnknown(reason, message string) *diemetav1.ConditionDie
func CreateConditionReadyFalse ¶ added in v0.9.0
func CreateConditionReadyFalse(reason, message string) *diemetav1.ConditionDie
func CreateConditionReadyTrue ¶ added in v0.9.0
func CreateConditionReadyTrue(reason, message string) *diemetav1.ConditionDie
func CreateConditionReadyUnknown ¶ added in v0.9.0
func CreateConditionReadyUnknown(reason, message string) *diemetav1.ConditionDie
func CreateConditionResourceHealthyFalse ¶ added in v0.9.0
func CreateConditionResourceHealthyFalse(reason, message string) *diemetav1.ConditionDie
func CreateConditionResourceHealthyTrue ¶ added in v0.9.0
func CreateConditionResourceHealthyTrue(reason, message string) *diemetav1.ConditionDie
func CreateConditionResourceHealthyUnknown ¶ added in v0.9.0
func CreateConditionResourceHealthyUnknown(reason, message string) *diemetav1.ConditionDie
func CreateConditionResourceReadyFalse ¶ added in v0.9.0
func CreateConditionResourceReadyFalse(reason, message string) *diemetav1.ConditionDie
func CreateConditionResourceReadyTrue ¶ added in v0.9.0
func CreateConditionResourceReadyTrue(reason, message string) *diemetav1.ConditionDie
func CreateConditionResourceReadyUnknown ¶ added in v0.9.0
func CreateConditionResourceReadyUnknown(reason, message string) *diemetav1.ConditionDie
Types ¶
type ClusterSupplyChainDie ¶
type ClusterSupplyChainDie struct { v1.FrozenObjectMeta // contains filtered or unexported fields }
func (*ClusterSupplyChainDie) APIVersion ¶ added in v0.8.0
func (d *ClusterSupplyChainDie) APIVersion(v string) *ClusterSupplyChainDie
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 (*ClusterSupplyChainDie) DeepCopy ¶
func (d *ClusterSupplyChainDie) DeepCopy() *ClusterSupplyChainDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ClusterSupplyChainDie) DeepCopyObject ¶
func (d *ClusterSupplyChainDie) DeepCopyObject() runtime.Object
func (*ClusterSupplyChainDie) DieFeed ¶
func (d *ClusterSupplyChainDie) DieFeed(r cartographerv1alpha1.ClusterSupplyChain) *ClusterSupplyChainDie
DieFeed returns a new die with the provided resource.
func (*ClusterSupplyChainDie) DieFeedPtr ¶
func (d *ClusterSupplyChainDie) DieFeedPtr(r *cartographerv1alpha1.ClusterSupplyChain) *ClusterSupplyChainDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ClusterSupplyChainDie) DieFeedRawExtension ¶ added in v0.8.0
func (d *ClusterSupplyChainDie) DieFeedRawExtension(raw runtime.RawExtension) *ClusterSupplyChainDie
DieFeedRawExtension returns the resource managed by the die as an raw extension.
func (*ClusterSupplyChainDie) DieImmutable ¶
func (d *ClusterSupplyChainDie) DieImmutable(immutable bool) *ClusterSupplyChainDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ClusterSupplyChainDie) DieRelease ¶
func (d *ClusterSupplyChainDie) DieRelease() cartographerv1alpha1.ClusterSupplyChain
DieRelease returns the resource managed by the die.
func (*ClusterSupplyChainDie) DieReleasePtr ¶
func (d *ClusterSupplyChainDie) DieReleasePtr() *cartographerv1alpha1.ClusterSupplyChain
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ClusterSupplyChainDie) DieReleaseRawExtension ¶ added in v0.8.0
func (d *ClusterSupplyChainDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension.
func (*ClusterSupplyChainDie) DieReleaseUnstructured ¶
func (d *ClusterSupplyChainDie) DieReleaseUnstructured() *unstructured.Unstructured
DieReleaseUnstructured returns the resource managed by the die as an unstructured object.
func (*ClusterSupplyChainDie) DieStamp ¶
func (d *ClusterSupplyChainDie) DieStamp(fn func(r *cartographerv1alpha1.ClusterSupplyChain)) *ClusterSupplyChainDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ClusterSupplyChainDie) GetObjectKind ¶
func (d *ClusterSupplyChainDie) GetObjectKind() schema.ObjectKind
func (*ClusterSupplyChainDie) Kind ¶ added in v0.8.0
func (d *ClusterSupplyChainDie) Kind(v string) *ClusterSupplyChainDie
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 (*ClusterSupplyChainDie) MarshalJSON ¶
func (d *ClusterSupplyChainDie) MarshalJSON() ([]byte, error)
func (*ClusterSupplyChainDie) MetadataDie ¶
func (d *ClusterSupplyChainDie) MetadataDie(fn func(d *v1.ObjectMetaDie)) *ClusterSupplyChainDie
MetadataDie stamps the resource's ObjectMeta field with a mutable die.
func (*ClusterSupplyChainDie) Spec ¶
func (d *ClusterSupplyChainDie) Spec(v cartographerv1alpha1.SupplyChainSpec) *ClusterSupplyChainDie
func (*ClusterSupplyChainDie) SpecDie ¶
func (d *ClusterSupplyChainDie) SpecDie(fn func(d *SupplyChainSpecDie)) *ClusterSupplyChainDie
SpecDie stamps the resource's spec field with a mutable die.
func (*ClusterSupplyChainDie) Status ¶
func (d *ClusterSupplyChainDie) Status(v cartographerv1alpha1.SupplyChainStatus) *ClusterSupplyChainDie
func (*ClusterSupplyChainDie) StatusDie ¶
func (d *ClusterSupplyChainDie) StatusDie(fn func(d *SupplyChainStatusDie)) *ClusterSupplyChainDie
StatusDie stamps the resource's status field with a mutable die.
func (*ClusterSupplyChainDie) UnmarshalJSON ¶
func (d *ClusterSupplyChainDie) UnmarshalJSON(b []byte) error
type DeliverableDie ¶ added in v0.9.0
type DeliverableDie struct { v1.FrozenObjectMeta // contains filtered or unexported fields }
func (*DeliverableDie) APIVersion ¶ added in v0.9.0
func (d *DeliverableDie) APIVersion(v string) *DeliverableDie
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 (*DeliverableDie) ConditionsHealthyReadyTrueDie ¶ added in v0.9.0
func (d *DeliverableDie) ConditionsHealthyReadyTrueDie() *DeliverableDie
func (*DeliverableDie) DeepCopy ¶ added in v0.9.0
func (d *DeliverableDie) DeepCopy() *DeliverableDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*DeliverableDie) DeepCopyObject ¶ added in v0.9.0
func (d *DeliverableDie) DeepCopyObject() runtime.Object
func (*DeliverableDie) DieFeed ¶ added in v0.9.0
func (d *DeliverableDie) DieFeed(r cartographerv1alpha1.Deliverable) *DeliverableDie
DieFeed returns a new die with the provided resource.
func (*DeliverableDie) DieFeedPtr ¶ added in v0.9.0
func (d *DeliverableDie) DieFeedPtr(r *cartographerv1alpha1.Deliverable) *DeliverableDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*DeliverableDie) DieFeedRawExtension ¶ added in v0.9.0
func (d *DeliverableDie) DieFeedRawExtension(raw runtime.RawExtension) *DeliverableDie
DieFeedRawExtension returns the resource managed by the die as an raw extension.
func (*DeliverableDie) DieImmutable ¶ added in v0.9.0
func (d *DeliverableDie) DieImmutable(immutable bool) *DeliverableDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*DeliverableDie) DieRelease ¶ added in v0.9.0
func (d *DeliverableDie) DieRelease() cartographerv1alpha1.Deliverable
DieRelease returns the resource managed by the die.
func (*DeliverableDie) DieReleasePtr ¶ added in v0.9.0
func (d *DeliverableDie) DieReleasePtr() *cartographerv1alpha1.Deliverable
DieReleasePtr returns a pointer to the resource managed by the die.
func (*DeliverableDie) DieReleaseRawExtension ¶ added in v0.9.0
func (d *DeliverableDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension.
func (*DeliverableDie) DieReleaseUnstructured ¶ added in v0.9.0
func (d *DeliverableDie) DieReleaseUnstructured() *unstructured.Unstructured
DieReleaseUnstructured returns the resource managed by the die as an unstructured object.
func (*DeliverableDie) DieStamp ¶ added in v0.9.0
func (d *DeliverableDie) DieStamp(fn func(r *cartographerv1alpha1.Deliverable)) *DeliverableDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*DeliverableDie) GetObjectKind ¶ added in v0.9.0
func (d *DeliverableDie) GetObjectKind() schema.ObjectKind
func (*DeliverableDie) Kind ¶ added in v0.9.0
func (d *DeliverableDie) Kind(v string) *DeliverableDie
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 (*DeliverableDie) MarshalJSON ¶ added in v0.9.0
func (d *DeliverableDie) MarshalJSON() ([]byte, error)
func (*DeliverableDie) MetadataDie ¶ added in v0.9.0
func (d *DeliverableDie) MetadataDie(fn func(d *v1.ObjectMetaDie)) *DeliverableDie
MetadataDie stamps the resource's ObjectMeta field with a mutable die.
func (*DeliverableDie) Spec ¶ added in v0.9.0
func (d *DeliverableDie) Spec(v cartographerv1alpha1.DeliverableSpec) *DeliverableDie
Spec describes the deliverable. More info: https://cartographer.sh/docs/latest/reference/workload/#deliverable
func (*DeliverableDie) SpecDie ¶ added in v0.9.0
func (d *DeliverableDie) SpecDie(fn func(d *DeliverableSpecDie)) *DeliverableDie
SpecDie stamps the resource's spec field with a mutable die.
func (*DeliverableDie) Status ¶ added in v0.9.0
func (d *DeliverableDie) Status(v cartographerv1alpha1.DeliverableStatus) *DeliverableDie
Status conforms to the Kubernetes conventions: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties wokeignore:rule=master
func (*DeliverableDie) StatusDie ¶ added in v0.9.0
func (d *DeliverableDie) StatusDie(fn func(d *DeliverableStatusDie)) *DeliverableDie
StatusDie stamps the resource's status field with a mutable die.
func (*DeliverableDie) UnmarshalJSON ¶ added in v0.9.0
func (d *DeliverableDie) UnmarshalJSON(b []byte) error
type DeliverableSpecDie ¶ added in v0.9.0
type DeliverableSpecDie struct {
// contains filtered or unexported fields
}
func (*DeliverableSpecDie) DeepCopy ¶ added in v0.9.0
func (d *DeliverableSpecDie) DeepCopy() *DeliverableSpecDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*DeliverableSpecDie) DieFeed ¶ added in v0.9.0
func (d *DeliverableSpecDie) DieFeed(r cartographerv1alpha1.DeliverableSpec) *DeliverableSpecDie
DieFeed returns a new die with the provided resource.
func (*DeliverableSpecDie) DieFeedPtr ¶ added in v0.9.0
func (d *DeliverableSpecDie) DieFeedPtr(r *cartographerv1alpha1.DeliverableSpec) *DeliverableSpecDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*DeliverableSpecDie) DieFeedRawExtension ¶ added in v0.9.0
func (d *DeliverableSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *DeliverableSpecDie
DieFeedRawExtension returns the resource managed by the die as an raw extension.
func (*DeliverableSpecDie) DieImmutable ¶ added in v0.9.0
func (d *DeliverableSpecDie) DieImmutable(immutable bool) *DeliverableSpecDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*DeliverableSpecDie) DieRelease ¶ added in v0.9.0
func (d *DeliverableSpecDie) DieRelease() cartographerv1alpha1.DeliverableSpec
DieRelease returns the resource managed by the die.
func (*DeliverableSpecDie) DieReleasePtr ¶ added in v0.9.0
func (d *DeliverableSpecDie) DieReleasePtr() *cartographerv1alpha1.DeliverableSpec
DieReleasePtr returns a pointer to the resource managed by the die.
func (*DeliverableSpecDie) DieReleaseRawExtension ¶ added in v0.9.0
func (d *DeliverableSpecDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension.
func (*DeliverableSpecDie) DieStamp ¶ added in v0.9.0
func (d *DeliverableSpecDie) DieStamp(fn func(r *cartographerv1alpha1.DeliverableSpec)) *DeliverableSpecDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*DeliverableSpecDie) Params ¶ added in v0.9.0
func (d *DeliverableSpecDie) Params(v ...cartographerv1alpha1.Param) *DeliverableSpecDie
Additional parameters. See: https://cartographer.sh/docs/latest/architecture/#parameter-hierarchy
func (*DeliverableSpecDie) ServiceAccountName ¶ added in v0.9.0
func (d *DeliverableSpecDie) ServiceAccountName(v string) *DeliverableSpecDie
ServiceAccountName refers to the Service account with permissions to create resources submitted by the supply chain.
If not set, Cartographer will use serviceAccountName from delivery.
If that is also not set, Cartographer will use the default service account in the deliverable's namespace.
func (*DeliverableSpecDie) Source ¶ added in v0.9.0
func (d *DeliverableSpecDie) Source(v *cartographerv1alpha1.Source) *DeliverableSpecDie
The location of the source code for the workload. Specify one of `spec.source` or `spec.image`
type DeliverableStatusDie ¶ added in v0.9.0
type DeliverableStatusDie struct {
// contains filtered or unexported fields
}
func (*DeliverableStatusDie) ConditionsDie ¶ added in v0.9.0
func (d *DeliverableStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *DeliverableStatusDie
func (*DeliverableStatusDie) ConditionsResourceReadyHealthyTrueDie ¶ added in v0.9.0
func (d *DeliverableStatusDie) ConditionsResourceReadyHealthyTrueDie() *DeliverableStatusDie
func (*DeliverableStatusDie) DeepCopy ¶ added in v0.9.0
func (d *DeliverableStatusDie) DeepCopy() *DeliverableStatusDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*DeliverableStatusDie) DeliveryRef ¶ added in v0.9.0
func (d *DeliverableStatusDie) DeliveryRef(v cartographerv1alpha1.ObjectReference) *DeliverableStatusDie
DeliveryRef is the Delivery resource that was used when this status was set.
func (*DeliverableStatusDie) DieFeed ¶ added in v0.9.0
func (d *DeliverableStatusDie) DieFeed(r cartographerv1alpha1.DeliverableStatus) *DeliverableStatusDie
DieFeed returns a new die with the provided resource.
func (*DeliverableStatusDie) DieFeedPtr ¶ added in v0.9.0
func (d *DeliverableStatusDie) DieFeedPtr(r *cartographerv1alpha1.DeliverableStatus) *DeliverableStatusDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*DeliverableStatusDie) DieFeedRawExtension ¶ added in v0.9.0
func (d *DeliverableStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *DeliverableStatusDie
DieFeedRawExtension returns the resource managed by the die as an raw extension.
func (*DeliverableStatusDie) DieImmutable ¶ added in v0.9.0
func (d *DeliverableStatusDie) DieImmutable(immutable bool) *DeliverableStatusDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*DeliverableStatusDie) DieRelease ¶ added in v0.9.0
func (d *DeliverableStatusDie) DieRelease() cartographerv1alpha1.DeliverableStatus
DieRelease returns the resource managed by the die.
func (*DeliverableStatusDie) DieReleasePtr ¶ added in v0.9.0
func (d *DeliverableStatusDie) DieReleasePtr() *cartographerv1alpha1.DeliverableStatus
DieReleasePtr returns a pointer to the resource managed by the die.
func (*DeliverableStatusDie) DieReleaseRawExtension ¶ added in v0.9.0
func (d *DeliverableStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension.
func (*DeliverableStatusDie) DieStamp ¶ added in v0.9.0
func (d *DeliverableStatusDie) DieStamp(fn func(r *cartographerv1alpha1.DeliverableStatus)) *DeliverableStatusDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*DeliverableStatusDie) OwnerStatus ¶ added in v0.9.0
func (d *DeliverableStatusDie) OwnerStatus(v cartographerv1alpha1.OwnerStatus) *DeliverableStatusDie
func (*DeliverableStatusDie) Resources ¶ added in v0.9.0
func (d *DeliverableStatusDie) Resources(v ...cartographerv1alpha1.RealizedResource) *DeliverableStatusDie
Resources contain references to the objects created by the Delivery and the templates used to create them. It also contains Inputs and Outputs that were passed between the templates as the Delivery was processed.
type RealizedResourceDie ¶
type RealizedResourceDie struct {
// contains filtered or unexported fields
}
func (*RealizedResourceDie) Conditions ¶
func (d *RealizedResourceDie) Conditions(v ...metav1.Condition) *RealizedResourceDie
Conditions describing this resource's reconcile state. The top level condition is of type `Ready`, and follows these Kubernetes conventions: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties wokeignore:rule=master
func (*RealizedResourceDie) ConditionsDie ¶
func (d *RealizedResourceDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *RealizedResourceDie
func (*RealizedResourceDie) ConditionsHealthyReadyTrueDie ¶ added in v0.9.0
func (d *RealizedResourceDie) ConditionsHealthyReadyTrueDie() *RealizedResourceDie
func (*RealizedResourceDie) ConditionsResourceHealthyReadyTrueDie ¶ added in v0.9.0
func (d *RealizedResourceDie) ConditionsResourceHealthyReadyTrueDie() *RealizedResourceDie
func (*RealizedResourceDie) DeepCopy ¶
func (d *RealizedResourceDie) DeepCopy() *RealizedResourceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*RealizedResourceDie) DieFeed ¶
func (d *RealizedResourceDie) DieFeed(r cartographerv1alpha1.RealizedResource) *RealizedResourceDie
DieFeed returns a new die with the provided resource.
func (*RealizedResourceDie) DieFeedPtr ¶
func (d *RealizedResourceDie) DieFeedPtr(r *cartographerv1alpha1.RealizedResource) *RealizedResourceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*RealizedResourceDie) DieFeedRawExtension ¶ added in v0.8.0
func (d *RealizedResourceDie) DieFeedRawExtension(raw runtime.RawExtension) *RealizedResourceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension.
func (*RealizedResourceDie) DieImmutable ¶
func (d *RealizedResourceDie) DieImmutable(immutable bool) *RealizedResourceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*RealizedResourceDie) DieRelease ¶
func (d *RealizedResourceDie) DieRelease() cartographerv1alpha1.RealizedResource
DieRelease returns the resource managed by the die.
func (*RealizedResourceDie) DieReleasePtr ¶
func (d *RealizedResourceDie) DieReleasePtr() *cartographerv1alpha1.RealizedResource
DieReleasePtr returns a pointer to the resource managed by the die.
func (*RealizedResourceDie) DieReleaseRawExtension ¶ added in v0.8.0
func (d *RealizedResourceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension.
func (*RealizedResourceDie) DieStamp ¶
func (d *RealizedResourceDie) DieStamp(fn func(r *cartographerv1alpha1.RealizedResource)) *RealizedResourceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*RealizedResourceDie) Inputs ¶
func (d *RealizedResourceDie) Inputs(v ...cartographerv1alpha1.Input) *RealizedResourceDie
Inputs are references to resources that were used to template the object in StampedRef
func (*RealizedResourceDie) Name ¶
func (d *RealizedResourceDie) Name(v string) *RealizedResourceDie
Name is the name of the resource in the blueprint
func (*RealizedResourceDie) Outputs ¶
func (d *RealizedResourceDie) Outputs(v ...cartographerv1alpha1.Output) *RealizedResourceDie
Outputs are values from the object in StampedRef that can be consumed by other resources
func (*RealizedResourceDie) StampedRef ¶
func (d *RealizedResourceDie) StampedRef(v *cartographerv1alpha1.StampedRef) *RealizedResourceDie
StampedRef is a reference to the object that was created by the resource
func (*RealizedResourceDie) TemplateRef ¶
func (d *RealizedResourceDie) TemplateRef(v *corev1.ObjectReference) *RealizedResourceDie
TemplateRef is a reference to the template used to create the object in StampedRef
type SupplyChainSpecDie ¶
type SupplyChainSpecDie struct {
// contains filtered or unexported fields
}
func (*SupplyChainSpecDie) DeepCopy ¶
func (d *SupplyChainSpecDie) DeepCopy() *SupplyChainSpecDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*SupplyChainSpecDie) DieFeed ¶
func (d *SupplyChainSpecDie) DieFeed(r cartographerv1alpha1.SupplyChainSpec) *SupplyChainSpecDie
DieFeed returns a new die with the provided resource.
func (*SupplyChainSpecDie) DieFeedPtr ¶
func (d *SupplyChainSpecDie) DieFeedPtr(r *cartographerv1alpha1.SupplyChainSpec) *SupplyChainSpecDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*SupplyChainSpecDie) DieFeedRawExtension ¶ added in v0.8.0
func (d *SupplyChainSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *SupplyChainSpecDie
DieFeedRawExtension returns the resource managed by the die as an raw extension.
func (*SupplyChainSpecDie) DieImmutable ¶
func (d *SupplyChainSpecDie) DieImmutable(immutable bool) *SupplyChainSpecDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*SupplyChainSpecDie) DieRelease ¶
func (d *SupplyChainSpecDie) DieRelease() cartographerv1alpha1.SupplyChainSpec
DieRelease returns the resource managed by the die.
func (*SupplyChainSpecDie) DieReleasePtr ¶
func (d *SupplyChainSpecDie) DieReleasePtr() *cartographerv1alpha1.SupplyChainSpec
DieReleasePtr returns a pointer to the resource managed by the die.
func (*SupplyChainSpecDie) DieReleaseRawExtension ¶ added in v0.8.0
func (d *SupplyChainSpecDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension.
func (*SupplyChainSpecDie) DieStamp ¶
func (d *SupplyChainSpecDie) DieStamp(fn func(r *cartographerv1alpha1.SupplyChainSpec)) *SupplyChainSpecDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*SupplyChainSpecDie) Params ¶
func (d *SupplyChainSpecDie) Params(v ...cartographerv1alpha1.DelegatableParam) *SupplyChainSpecDie
func (*SupplyChainSpecDie) Resources ¶
func (d *SupplyChainSpecDie) Resources(v ...cartographerv1alpha1.SupplyChainResource) *SupplyChainSpecDie
func (*SupplyChainSpecDie) Selector ¶
func (d *SupplyChainSpecDie) Selector(v map[string]string) *SupplyChainSpecDie
func (*SupplyChainSpecDie) SelectorMatchExpressions ¶
func (d *SupplyChainSpecDie) SelectorMatchExpressions(v ...metav1.LabelSelectorRequirement) *SupplyChainSpecDie
func (*SupplyChainSpecDie) SelectorMatchFields ¶
func (d *SupplyChainSpecDie) SelectorMatchFields(v ...cartographerv1alpha1.FieldSelectorRequirement) *SupplyChainSpecDie
func (*SupplyChainSpecDie) ServiceAccountRef ¶
func (d *SupplyChainSpecDie) ServiceAccountRef(v cartographerv1alpha1.ServiceAccountRef) *SupplyChainSpecDie
type SupplyChainStatusDie ¶
type SupplyChainStatusDie struct {
// contains filtered or unexported fields
}
func (*SupplyChainStatusDie) Conditions ¶
func (d *SupplyChainStatusDie) Conditions(v ...metav1.Condition) *SupplyChainStatusDie
func (*SupplyChainStatusDie) ConditionsDie ¶
func (d *SupplyChainStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *SupplyChainStatusDie
func (*SupplyChainStatusDie) DeepCopy ¶
func (d *SupplyChainStatusDie) DeepCopy() *SupplyChainStatusDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*SupplyChainStatusDie) DieFeed ¶
func (d *SupplyChainStatusDie) DieFeed(r cartographerv1alpha1.SupplyChainStatus) *SupplyChainStatusDie
DieFeed returns a new die with the provided resource.
func (*SupplyChainStatusDie) DieFeedPtr ¶
func (d *SupplyChainStatusDie) DieFeedPtr(r *cartographerv1alpha1.SupplyChainStatus) *SupplyChainStatusDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*SupplyChainStatusDie) DieFeedRawExtension ¶ added in v0.8.0
func (d *SupplyChainStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *SupplyChainStatusDie
DieFeedRawExtension returns the resource managed by the die as an raw extension.
func (*SupplyChainStatusDie) DieImmutable ¶
func (d *SupplyChainStatusDie) DieImmutable(immutable bool) *SupplyChainStatusDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*SupplyChainStatusDie) DieRelease ¶
func (d *SupplyChainStatusDie) DieRelease() cartographerv1alpha1.SupplyChainStatus
DieRelease returns the resource managed by the die.
func (*SupplyChainStatusDie) DieReleasePtr ¶
func (d *SupplyChainStatusDie) DieReleasePtr() *cartographerv1alpha1.SupplyChainStatus
DieReleasePtr returns a pointer to the resource managed by the die.
func (*SupplyChainStatusDie) DieReleaseRawExtension ¶ added in v0.8.0
func (d *SupplyChainStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension.
func (*SupplyChainStatusDie) DieStamp ¶
func (d *SupplyChainStatusDie) DieStamp(fn func(r *cartographerv1alpha1.SupplyChainStatus)) *SupplyChainStatusDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*SupplyChainStatusDie) ObservedGeneration ¶
func (d *SupplyChainStatusDie) ObservedGeneration(v int64) *SupplyChainStatusDie
type WorkloadDie ¶
type WorkloadDie struct { v1.FrozenObjectMeta // contains filtered or unexported fields }
func (*WorkloadDie) APIVersion ¶ added in v0.8.0
func (d *WorkloadDie) APIVersion(v string) *WorkloadDie
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 (*WorkloadDie) DeepCopy ¶
func (d *WorkloadDie) DeepCopy() *WorkloadDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*WorkloadDie) DeepCopyObject ¶
func (d *WorkloadDie) DeepCopyObject() runtime.Object
func (*WorkloadDie) DieFeed ¶
func (d *WorkloadDie) DieFeed(r cartographerv1alpha1.Workload) *WorkloadDie
DieFeed returns a new die with the provided resource.
func (*WorkloadDie) DieFeedPtr ¶
func (d *WorkloadDie) DieFeedPtr(r *cartographerv1alpha1.Workload) *WorkloadDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*WorkloadDie) DieFeedRawExtension ¶ added in v0.8.0
func (d *WorkloadDie) DieFeedRawExtension(raw runtime.RawExtension) *WorkloadDie
DieFeedRawExtension returns the resource managed by the die as an raw extension.
func (*WorkloadDie) DieImmutable ¶
func (d *WorkloadDie) DieImmutable(immutable bool) *WorkloadDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*WorkloadDie) DieRelease ¶
func (d *WorkloadDie) DieRelease() cartographerv1alpha1.Workload
DieRelease returns the resource managed by the die.
func (*WorkloadDie) DieReleasePtr ¶
func (d *WorkloadDie) DieReleasePtr() *cartographerv1alpha1.Workload
DieReleasePtr returns a pointer to the resource managed by the die.
func (*WorkloadDie) DieReleaseRawExtension ¶ added in v0.8.0
func (d *WorkloadDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension.
func (*WorkloadDie) DieReleaseUnstructured ¶
func (d *WorkloadDie) DieReleaseUnstructured() *unstructured.Unstructured
DieReleaseUnstructured returns the resource managed by the die as an unstructured object.
func (*WorkloadDie) DieStamp ¶
func (d *WorkloadDie) DieStamp(fn func(r *cartographerv1alpha1.Workload)) *WorkloadDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*WorkloadDie) GetObjectKind ¶
func (d *WorkloadDie) GetObjectKind() schema.ObjectKind
func (*WorkloadDie) Kind ¶ added in v0.8.0
func (d *WorkloadDie) Kind(v string) *WorkloadDie
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 (*WorkloadDie) MarshalJSON ¶
func (d *WorkloadDie) MarshalJSON() ([]byte, error)
func (*WorkloadDie) MetadataDie ¶
func (d *WorkloadDie) MetadataDie(fn func(d *v1.ObjectMetaDie)) *WorkloadDie
MetadataDie stamps the resource's ObjectMeta field with a mutable die.
func (*WorkloadDie) Spec ¶
func (d *WorkloadDie) Spec(v cartographerv1alpha1.WorkloadSpec) *WorkloadDie
func (*WorkloadDie) SpecDie ¶
func (d *WorkloadDie) SpecDie(fn func(d *WorkloadSpecDie)) *WorkloadDie
SpecDie stamps the resource's spec field with a mutable die.
func (*WorkloadDie) Status ¶
func (d *WorkloadDie) Status(v cartographerv1alpha1.WorkloadStatus) *WorkloadDie
func (*WorkloadDie) StatusDie ¶
func (d *WorkloadDie) StatusDie(fn func(d *WorkloadStatusDie)) *WorkloadDie
StatusDie stamps the resource's status field with a mutable die.
func (*WorkloadDie) UnmarshalJSON ¶
func (d *WorkloadDie) UnmarshalJSON(b []byte) error
type WorkloadSpecDie ¶
type WorkloadSpecDie struct {
// contains filtered or unexported fields
}
func (*WorkloadSpecDie) Build ¶
func (d *WorkloadSpecDie) Build(v *cartographerv1alpha1.WorkloadBuild) *WorkloadSpecDie
func (*WorkloadSpecDie) DeepCopy ¶
func (d *WorkloadSpecDie) DeepCopy() *WorkloadSpecDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*WorkloadSpecDie) DieFeed ¶
func (d *WorkloadSpecDie) DieFeed(r cartographerv1alpha1.WorkloadSpec) *WorkloadSpecDie
DieFeed returns a new die with the provided resource.
func (*WorkloadSpecDie) DieFeedPtr ¶
func (d *WorkloadSpecDie) DieFeedPtr(r *cartographerv1alpha1.WorkloadSpec) *WorkloadSpecDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*WorkloadSpecDie) DieFeedRawExtension ¶ added in v0.8.0
func (d *WorkloadSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *WorkloadSpecDie
DieFeedRawExtension returns the resource managed by the die as an raw extension.
func (*WorkloadSpecDie) DieImmutable ¶
func (d *WorkloadSpecDie) DieImmutable(immutable bool) *WorkloadSpecDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*WorkloadSpecDie) DieRelease ¶
func (d *WorkloadSpecDie) DieRelease() cartographerv1alpha1.WorkloadSpec
DieRelease returns the resource managed by the die.
func (*WorkloadSpecDie) DieReleasePtr ¶
func (d *WorkloadSpecDie) DieReleasePtr() *cartographerv1alpha1.WorkloadSpec
DieReleasePtr returns a pointer to the resource managed by the die.
func (*WorkloadSpecDie) DieReleaseRawExtension ¶ added in v0.8.0
func (d *WorkloadSpecDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension.
func (*WorkloadSpecDie) DieStamp ¶
func (d *WorkloadSpecDie) DieStamp(fn func(r *cartographerv1alpha1.WorkloadSpec)) *WorkloadSpecDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*WorkloadSpecDie) Env ¶
func (d *WorkloadSpecDie) Env(v ...corev1.EnvVar) *WorkloadSpecDie
func (*WorkloadSpecDie) EnvDie ¶
func (d *WorkloadSpecDie) EnvDie(name string, fn func(d *diecorev1.EnvVarDie)) *WorkloadSpecDie
func (*WorkloadSpecDie) Image ¶
func (d *WorkloadSpecDie) Image(v string) *WorkloadSpecDie
Image is a pre-built image in a registry. It is an alternative to defining source code.
func (*WorkloadSpecDie) Params ¶
func (d *WorkloadSpecDie) Params(v ...cartographerv1alpha1.Param) *WorkloadSpecDie
func (*WorkloadSpecDie) Resources ¶
func (d *WorkloadSpecDie) Resources(v *corev1.ResourceRequirements) *WorkloadSpecDie
func (*WorkloadSpecDie) ServiceAccountName ¶
func (d *WorkloadSpecDie) ServiceAccountName(v *string) *WorkloadSpecDie
func (*WorkloadSpecDie) ServiceClaims ¶
func (d *WorkloadSpecDie) ServiceClaims(v ...cartographerv1alpha1.WorkloadServiceClaim) *WorkloadSpecDie
func (*WorkloadSpecDie) Source ¶
func (d *WorkloadSpecDie) Source(v *cartographerv1alpha1.Source) *WorkloadSpecDie
type WorkloadStatusDie ¶
type WorkloadStatusDie struct {
// contains filtered or unexported fields
}
func (*WorkloadStatusDie) Conditions ¶
func (d *WorkloadStatusDie) Conditions(v ...metav1.Condition) *WorkloadStatusDie
Conditions describing this resource's reconcile state. The top level condition is of type `Ready`, and follows these Kubernetes conventions: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties wokeignore:rule=master
func (*WorkloadStatusDie) ConditionsDie ¶
func (d *WorkloadStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *WorkloadStatusDie
func (*WorkloadStatusDie) DeepCopy ¶
func (d *WorkloadStatusDie) DeepCopy() *WorkloadStatusDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*WorkloadStatusDie) DieFeed ¶
func (d *WorkloadStatusDie) DieFeed(r cartographerv1alpha1.WorkloadStatus) *WorkloadStatusDie
DieFeed returns a new die with the provided resource.
func (*WorkloadStatusDie) DieFeedPtr ¶
func (d *WorkloadStatusDie) DieFeedPtr(r *cartographerv1alpha1.WorkloadStatus) *WorkloadStatusDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*WorkloadStatusDie) DieFeedRawExtension ¶ added in v0.8.0
func (d *WorkloadStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *WorkloadStatusDie
DieFeedRawExtension returns the resource managed by the die as an raw extension.
func (*WorkloadStatusDie) DieImmutable ¶
func (d *WorkloadStatusDie) DieImmutable(immutable bool) *WorkloadStatusDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*WorkloadStatusDie) DieRelease ¶
func (d *WorkloadStatusDie) DieRelease() cartographerv1alpha1.WorkloadStatus
DieRelease returns the resource managed by the die.
func (*WorkloadStatusDie) DieReleasePtr ¶
func (d *WorkloadStatusDie) DieReleasePtr() *cartographerv1alpha1.WorkloadStatus
DieReleasePtr returns a pointer to the resource managed by the die.
func (*WorkloadStatusDie) DieReleaseRawExtension ¶ added in v0.8.0
func (d *WorkloadStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension.
func (*WorkloadStatusDie) DieStamp ¶
func (d *WorkloadStatusDie) DieStamp(fn func(r *cartographerv1alpha1.WorkloadStatus)) *WorkloadStatusDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*WorkloadStatusDie) ObservedGeneration ¶
func (d *WorkloadStatusDie) ObservedGeneration(v int64) *WorkloadStatusDie
ObservedGeneration refers to the metadata.Generation of the spec that resulted in the current `status`.
func (*WorkloadStatusDie) Resources ¶
func (d *WorkloadStatusDie) Resources(v ...cartographerv1alpha1.RealizedResource) *WorkloadStatusDie
Resources contain references to the objects created by the Supply Chain and the templates used to create them. It also contains Inputs and Outputs that were passed between the templates as the Supply Chain was processed.
func (*WorkloadStatusDie) SupplyChainRef ¶
func (d *WorkloadStatusDie) SupplyChainRef(v cartographerv1alpha1.ObjectReference) *WorkloadStatusDie
SupplyChainRef is the Supply Chain resource that was used when this status was set.