v1alpha1

package
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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)
)
View Source
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)
)
View Source
var ClusterSupplyChainBlank = (&ClusterSupplyChainDie{}).DieFeed(cartographerv1alpha1.ClusterSupplyChain{})
View Source
var (
	ClusterSupplyChainConditionReadyBlank = diemetav1.ConditionBlank.Type(cartov1alpha1.SupplyChainReady)
)
View Source
var DeliverableBlank = (&DeliverableDie{}).DieFeed(cartographerv1alpha1.Deliverable{})
View Source
var DeliverableSpecBlank = (&DeliverableSpecDie{}).DieFeed(cartographerv1alpha1.DeliverableSpec{})
View Source
var DeliverableStatusBlank = (&DeliverableStatusDie{}).DieFeed(cartographerv1alpha1.DeliverableStatus{})
View Source
var RealizedResourceBlank = (&RealizedResourceDie{}).DieFeed(cartographerv1alpha1.RealizedResource{})
View Source
var SupplyChainSpecBlank = (&SupplyChainSpecDie{}).DieFeed(cartographerv1alpha1.SupplyChainSpec{})
View Source
var SupplyChainStatusBlank = (&SupplyChainStatusDie{}).DieFeed(cartographerv1alpha1.SupplyChainStatus{})
View Source
var WorkloadBlank = (&WorkloadDie{}).DieFeed(cartographerv1alpha1.Workload{})
View Source
var WorkloadSpecBlank = (&WorkloadSpecDie{}).DieFeed(cartographerv1alpha1.WorkloadSpec{})
View Source
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

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

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

DieFeed returns a new die with the provided resource.

func (*ClusterSupplyChainDie) DieFeedPtr

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

DieRelease returns the resource managed by the die.

func (*ClusterSupplyChainDie) DieReleasePtr

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

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

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 (*ClusterSupplyChainDie) SpecDie

SpecDie stamps the resource's spec field with a mutable die.

func (*ClusterSupplyChainDie) Status

func (*ClusterSupplyChainDie) StatusDie

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

DieFeed returns a new die with the provided resource.

func (*DeliverableDie) DieFeedPtr added in v0.9.0

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

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

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

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

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

DieFeed returns a new die with the provided resource.

func (*DeliverableSpecDie) DieFeedPtr added in v0.9.0

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

DieRelease returns the resource managed by the die.

func (*DeliverableSpecDie) DieReleasePtr added in v0.9.0

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

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

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

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

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*DeliverableStatusDie) DeliveryRef added in v0.9.0

DeliveryRef is the Delivery resource that was used when this status was set.

func (*DeliverableStatusDie) DieFeed added in v0.9.0

DieFeed returns a new die with the provided resource.

func (*DeliverableStatusDie) DieFeedPtr added in v0.9.0

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

DieRelease returns the resource managed by the die.

func (*DeliverableStatusDie) DieReleasePtr added in v0.9.0

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

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 (*DeliverableStatusDie) Resources added in v0.9.0

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

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

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*RealizedResourceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*RealizedResourceDie) DieFeedPtr

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

DieRelease returns the resource managed by the die.

func (*RealizedResourceDie) DieReleasePtr

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

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*RealizedResourceDie) Inputs

Inputs are references to resources that were used to template the object in StampedRef

func (*RealizedResourceDie) Name

Name is the name of the resource in the blueprint

func (*RealizedResourceDie) Outputs

Outputs are values from the object in StampedRef that can be consumed by other resources

func (*RealizedResourceDie) StampedRef

StampedRef is a reference to the object that was created by the resource

func (*RealizedResourceDie) TemplateRef

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

DieFeed returns a new die with the provided resource.

func (*SupplyChainSpecDie) DieFeedPtr

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

DieRelease returns the resource managed by the die.

func (*SupplyChainSpecDie) DieReleasePtr

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

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*SupplyChainSpecDie) Params

func (*SupplyChainSpecDie) Resources

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 (*SupplyChainSpecDie) ServiceAccountRef

type SupplyChainStatusDie

type SupplyChainStatusDie struct {
	// contains filtered or unexported fields
}

func (*SupplyChainStatusDie) Conditions

func (*SupplyChainStatusDie) ConditionsDie

func (d *SupplyChainStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *SupplyChainStatusDie

func (*SupplyChainStatusDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*SupplyChainStatusDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*SupplyChainStatusDie) DieFeedPtr

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

DieRelease returns the resource managed by the die.

func (*SupplyChainStatusDie) DieReleasePtr

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

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

DieFeed returns a new die with the provided resource.

func (*WorkloadDie) DieFeedPtr

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 (*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 (*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 (*WorkloadSpecDie) DeepCopy

func (d *WorkloadSpecDie) DeepCopy() *WorkloadSpecDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*WorkloadSpecDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*WorkloadSpecDie) DieFeedPtr

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

DieRelease returns the resource managed by the die.

func (*WorkloadSpecDie) DieReleasePtr

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

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*WorkloadSpecDie) Env

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 (*WorkloadSpecDie) Resources

func (*WorkloadSpecDie) ServiceAccountName

func (d *WorkloadSpecDie) ServiceAccountName(v *string) *WorkloadSpecDie

func (*WorkloadSpecDie) ServiceClaims

func (*WorkloadSpecDie) Source

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

DieFeed returns a new die with the provided resource.

func (*WorkloadStatusDie) DieFeedPtr

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

DieRelease returns the resource managed by the die.

func (*WorkloadStatusDie) DieReleasePtr

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

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

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

SupplyChainRef is the Supply Chain resource that was used when this status was set.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL