v1alpha1

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PodIntentConditionReadyBlank              = diemetav1.ConditionBlank.Type(conventionsv1alpha1.PodIntentConditionReady)
	PodIntentConditionConventionsAppliedBlank = diemetav1.ConditionBlank.Type(conventionsv1alpha1.PodIntentConditionConventionsApplied)
)
View Source
var ClusterPodConventionBlank = (&ClusterPodConventionDie{}).DieFeed(conventionsv1alpha1.ClusterPodConvention{})
View Source
var ClusterPodConventionSpecBlank = (&ClusterPodConventionSpecDie{}).DieFeed(conventionsv1alpha1.ClusterPodConventionSpec{})
View Source
var ClusterPodConventionWebhookBlank = (&ClusterPodConventionWebhookDie{}).DieFeed(conventionsv1alpha1.ClusterPodConventionWebhook{})
View Source
var PodIntentBlank = (&PodIntentDie{}).DieFeed(conventionsv1alpha1.PodIntent{})
View Source
var PodIntentSpecBlank = (&PodIntentSpecDie{}).DieFeed(conventionsv1alpha1.PodIntentSpec{})
View Source
var PodIntentStatusBlank = (&PodIntentStatusDie{}).DieFeed(conventionsv1alpha1.PodIntentStatus{})

Functions

This section is empty.

Types

type ClusterPodConventionDie

type ClusterPodConventionDie struct {
	v1.FrozenObjectMeta
	// contains filtered or unexported fields
}

func (*ClusterPodConventionDie) APIVersion added in v0.2.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 (*ClusterPodConventionDie) DeepCopy

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

func (*ClusterPodConventionDie) DeepCopyObject

func (d *ClusterPodConventionDie) DeepCopyObject() runtime.Object

func (*ClusterPodConventionDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ClusterPodConventionDie) DieFeedJSON added in v0.5.0

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ClusterPodConventionDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ClusterPodConventionDie) DieFeedRawExtension added in v0.2.0

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ClusterPodConventionDie) DieFeedYAML added in v0.5.0

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ClusterPodConventionDie) DieFeedYAMLFile added in v0.5.0

func (d *ClusterPodConventionDie) DieFeedYAMLFile(name string) *ClusterPodConventionDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ClusterPodConventionDie) DieImmutable

func (d *ClusterPodConventionDie) DieImmutable(immutable bool) *ClusterPodConventionDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ClusterPodConventionDie) DieRelease

DieRelease returns the resource managed by the die.

func (*ClusterPodConventionDie) DieReleaseJSON added in v0.5.0

func (d *ClusterPodConventionDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ClusterPodConventionDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ClusterPodConventionDie) DieReleaseRawExtension added in v0.2.0

func (d *ClusterPodConventionDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ClusterPodConventionDie) DieReleaseUnstructured

func (d *ClusterPodConventionDie) DieReleaseUnstructured() *unstructured.Unstructured

DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.

func (*ClusterPodConventionDie) DieReleaseYAML added in v0.5.0

func (d *ClusterPodConventionDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ClusterPodConventionDie) DieStamp

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

func (*ClusterPodConventionDie) DieStampAt added in v0.5.0

func (d *ClusterPodConventionDie) DieStampAt(jp string, fn interface{}) *ClusterPodConventionDie

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 (*ClusterPodConventionDie) DieWith added in v0.6.0

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ClusterPodConventionDie) GetObjectKind

func (d *ClusterPodConventionDie) GetObjectKind() schema.ObjectKind

func (*ClusterPodConventionDie) Kind added in v0.2.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 (*ClusterPodConventionDie) MarshalJSON

func (d *ClusterPodConventionDie) MarshalJSON() ([]byte, error)

func (*ClusterPodConventionDie) MetadataDie

func (d *ClusterPodConventionDie) MetadataDie(fn func(d *v1.ObjectMetaDie)) *ClusterPodConventionDie

MetadataDie stamps the resource's ObjectMeta field with a mutable die.

func (*ClusterPodConventionDie) SpecDie

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

func (*ClusterPodConventionDie) UnmarshalJSON

func (d *ClusterPodConventionDie) UnmarshalJSON(b []byte) error

type ClusterPodConventionSpecDie

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

func (*ClusterPodConventionSpecDie) DeepCopy

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

func (*ClusterPodConventionSpecDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ClusterPodConventionSpecDie) DieFeedJSON added in v0.5.0

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ClusterPodConventionSpecDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ClusterPodConventionSpecDie) DieFeedRawExtension added in v0.2.0

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ClusterPodConventionSpecDie) DieFeedYAML added in v0.5.0

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ClusterPodConventionSpecDie) DieFeedYAMLFile added in v0.5.0

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ClusterPodConventionSpecDie) DieImmutable

func (d *ClusterPodConventionSpecDie) DieImmutable(immutable bool) *ClusterPodConventionSpecDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ClusterPodConventionSpecDie) DieRelease

DieRelease returns the resource managed by the die.

func (*ClusterPodConventionSpecDie) DieReleaseJSON added in v0.5.0

func (d *ClusterPodConventionSpecDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ClusterPodConventionSpecDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ClusterPodConventionSpecDie) DieReleaseRawExtension added in v0.2.0

func (d *ClusterPodConventionSpecDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ClusterPodConventionSpecDie) DieReleaseYAML added in v0.5.0

func (d *ClusterPodConventionSpecDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ClusterPodConventionSpecDie) DieStamp

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

func (*ClusterPodConventionSpecDie) DieStampAt added in v0.5.0

func (d *ClusterPodConventionSpecDie) DieStampAt(jp string, fn interface{}) *ClusterPodConventionSpecDie

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 (*ClusterPodConventionSpecDie) DieWith added in v0.6.0

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ClusterPodConventionSpecDie) Priority

func (*ClusterPodConventionSpecDie) SelectorTarget added in v0.2.0

func (*ClusterPodConventionSpecDie) Selectors

Label selector for workloads.

It must match the workload's pod template's labels.

func (*ClusterPodConventionSpecDie) SelectorsDie

func (*ClusterPodConventionSpecDie) WebookDie

type ClusterPodConventionWebhookCertificateDie added in v0.1.0

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

func (*ClusterPodConventionWebhookCertificateDie) DeepCopy added in v0.1.0

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

func (*ClusterPodConventionWebhookCertificateDie) DieFeed added in v0.1.0

DieFeed returns a new die with the provided resource.

func (*ClusterPodConventionWebhookCertificateDie) DieFeedJSON added in v0.5.0

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ClusterPodConventionWebhookCertificateDie) DieFeedPtr added in v0.1.0

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ClusterPodConventionWebhookCertificateDie) DieFeedRawExtension added in v0.2.0

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ClusterPodConventionWebhookCertificateDie) DieFeedYAML added in v0.5.0

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ClusterPodConventionWebhookCertificateDie) DieFeedYAMLFile added in v0.5.0

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ClusterPodConventionWebhookCertificateDie) DieImmutable added in v0.1.0

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ClusterPodConventionWebhookCertificateDie) DieRelease added in v0.1.0

DieRelease returns the resource managed by the die.

func (*ClusterPodConventionWebhookCertificateDie) DieReleaseJSON added in v0.5.0

func (d *ClusterPodConventionWebhookCertificateDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ClusterPodConventionWebhookCertificateDie) DieReleasePtr added in v0.1.0

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ClusterPodConventionWebhookCertificateDie) DieReleaseRawExtension added in v0.2.0

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ClusterPodConventionWebhookCertificateDie) DieReleaseYAML added in v0.5.0

func (d *ClusterPodConventionWebhookCertificateDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ClusterPodConventionWebhookCertificateDie) DieStamp added in v0.1.0

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

func (*ClusterPodConventionWebhookCertificateDie) DieStampAt added in v0.5.0

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 (*ClusterPodConventionWebhookCertificateDie) DieWith added in v0.6.0

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ClusterPodConventionWebhookCertificateDie) Name added in v0.1.0

func (*ClusterPodConventionWebhookCertificateDie) Namespace added in v0.1.0

type ClusterPodConventionWebhookDie

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

func (*ClusterPodConventionWebhookDie) Certificate added in v0.1.0

Certificate references a cert-manager Certificate resource whose CA should be trusted.

func (*ClusterPodConventionWebhookDie) CertificateDie added in v0.1.0

func (*ClusterPodConventionWebhookDie) ClientConfig

ClientConfig defines how to communicate with the convention.

func (*ClusterPodConventionWebhookDie) ClientConfigDie

func (*ClusterPodConventionWebhookDie) DeepCopy

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

func (*ClusterPodConventionWebhookDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ClusterPodConventionWebhookDie) DieFeedJSON added in v0.5.0

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ClusterPodConventionWebhookDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ClusterPodConventionWebhookDie) DieFeedRawExtension added in v0.2.0

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ClusterPodConventionWebhookDie) DieFeedYAML added in v0.5.0

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ClusterPodConventionWebhookDie) DieFeedYAMLFile added in v0.5.0

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ClusterPodConventionWebhookDie) DieImmutable

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ClusterPodConventionWebhookDie) DieRelease

DieRelease returns the resource managed by the die.

func (*ClusterPodConventionWebhookDie) DieReleaseJSON added in v0.5.0

func (d *ClusterPodConventionWebhookDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ClusterPodConventionWebhookDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ClusterPodConventionWebhookDie) DieReleaseRawExtension added in v0.2.0

func (d *ClusterPodConventionWebhookDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ClusterPodConventionWebhookDie) DieReleaseYAML added in v0.5.0

func (d *ClusterPodConventionWebhookDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ClusterPodConventionWebhookDie) DieStamp

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

func (*ClusterPodConventionWebhookDie) DieStampAt added in v0.5.0

func (d *ClusterPodConventionWebhookDie) DieStampAt(jp string, fn interface{}) *ClusterPodConventionWebhookDie

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 (*ClusterPodConventionWebhookDie) DieWith added in v0.6.0

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

type PodIntentDie

type PodIntentDie struct {
	v1.FrozenObjectMeta
	// contains filtered or unexported fields
}

func (*PodIntentDie) APIVersion added in v0.2.0

func (d *PodIntentDie) APIVersion(v string) *PodIntentDie

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

func (d *PodIntentDie) DeepCopy() *PodIntentDie

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

func (*PodIntentDie) DeepCopyObject

func (d *PodIntentDie) DeepCopyObject() runtime.Object

func (*PodIntentDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*PodIntentDie) DieFeedJSON added in v0.5.0

func (d *PodIntentDie) DieFeedJSON(j []byte) *PodIntentDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*PodIntentDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*PodIntentDie) DieFeedRawExtension added in v0.2.0

func (d *PodIntentDie) DieFeedRawExtension(raw runtime.RawExtension) *PodIntentDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PodIntentDie) DieFeedYAML added in v0.5.0

func (d *PodIntentDie) DieFeedYAML(y []byte) *PodIntentDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*PodIntentDie) DieFeedYAMLFile added in v0.5.0

func (d *PodIntentDie) DieFeedYAMLFile(name string) *PodIntentDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*PodIntentDie) DieImmutable

func (d *PodIntentDie) DieImmutable(immutable bool) *PodIntentDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*PodIntentDie) DieRelease

func (d *PodIntentDie) DieRelease() conventionsv1alpha1.PodIntent

DieRelease returns the resource managed by the die.

func (*PodIntentDie) DieReleaseJSON added in v0.5.0

func (d *PodIntentDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*PodIntentDie) DieReleasePtr

func (d *PodIntentDie) DieReleasePtr() *conventionsv1alpha1.PodIntent

DieReleasePtr returns a pointer to the resource managed by the die.

func (*PodIntentDie) DieReleaseRawExtension added in v0.2.0

func (d *PodIntentDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PodIntentDie) DieReleaseUnstructured

func (d *PodIntentDie) DieReleaseUnstructured() *unstructured.Unstructured

DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.

func (*PodIntentDie) DieReleaseYAML added in v0.5.0

func (d *PodIntentDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*PodIntentDie) DieStamp

func (d *PodIntentDie) DieStamp(fn func(r *conventionsv1alpha1.PodIntent)) *PodIntentDie

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

func (*PodIntentDie) DieStampAt added in v0.5.0

func (d *PodIntentDie) DieStampAt(jp string, fn interface{}) *PodIntentDie

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 (*PodIntentDie) DieWith added in v0.6.0

func (d *PodIntentDie) DieWith(fns ...func(d *PodIntentDie)) *PodIntentDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*PodIntentDie) GetObjectKind

func (d *PodIntentDie) GetObjectKind() schema.ObjectKind

func (*PodIntentDie) Kind added in v0.2.0

func (d *PodIntentDie) Kind(v string) *PodIntentDie

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 (*PodIntentDie) MarshalJSON

func (d *PodIntentDie) MarshalJSON() ([]byte, error)

func (*PodIntentDie) MetadataDie

func (d *PodIntentDie) MetadataDie(fn func(d *v1.ObjectMetaDie)) *PodIntentDie

MetadataDie stamps the resource's ObjectMeta field with a mutable die.

func (*PodIntentDie) Spec

func (*PodIntentDie) SpecDie

func (d *PodIntentDie) SpecDie(fn func(d *PodIntentSpecDie)) *PodIntentDie

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

func (*PodIntentDie) Status

func (*PodIntentDie) StatusDie

func (d *PodIntentDie) StatusDie(fn func(d *PodIntentStatusDie)) *PodIntentDie

StatusDie stamps the resource's status field with a mutable die.

func (*PodIntentDie) UnmarshalJSON

func (d *PodIntentDie) UnmarshalJSON(b []byte) error

type PodIntentSpecDie

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

func (*PodIntentSpecDie) DeepCopy

func (d *PodIntentSpecDie) DeepCopy() *PodIntentSpecDie

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

func (*PodIntentSpecDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*PodIntentSpecDie) DieFeedJSON added in v0.5.0

func (d *PodIntentSpecDie) DieFeedJSON(j []byte) *PodIntentSpecDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*PodIntentSpecDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*PodIntentSpecDie) DieFeedRawExtension added in v0.2.0

func (d *PodIntentSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *PodIntentSpecDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PodIntentSpecDie) DieFeedYAML added in v0.5.0

func (d *PodIntentSpecDie) DieFeedYAML(y []byte) *PodIntentSpecDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*PodIntentSpecDie) DieFeedYAMLFile added in v0.5.0

func (d *PodIntentSpecDie) DieFeedYAMLFile(name string) *PodIntentSpecDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*PodIntentSpecDie) DieImmutable

func (d *PodIntentSpecDie) DieImmutable(immutable bool) *PodIntentSpecDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*PodIntentSpecDie) DieRelease

DieRelease returns the resource managed by the die.

func (*PodIntentSpecDie) DieReleaseJSON added in v0.5.0

func (d *PodIntentSpecDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*PodIntentSpecDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*PodIntentSpecDie) DieReleaseRawExtension added in v0.2.0

func (d *PodIntentSpecDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PodIntentSpecDie) DieReleaseYAML added in v0.5.0

func (d *PodIntentSpecDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*PodIntentSpecDie) DieStamp

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

func (*PodIntentSpecDie) DieStampAt added in v0.5.0

func (d *PodIntentSpecDie) DieStampAt(jp string, fn interface{}) *PodIntentSpecDie

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 (*PodIntentSpecDie) DieWith added in v0.6.0

func (d *PodIntentSpecDie) DieWith(fns ...func(d *PodIntentSpecDie)) *PodIntentSpecDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*PodIntentSpecDie) ImagePullSecrets

func (d *PodIntentSpecDie) ImagePullSecrets(v ...corev1.LocalObjectReference) *PodIntentSpecDie

ImagePullSecrets contains the names of the Kubernetes Secrets containing registry login

information to resolve image metadata.

func (*PodIntentSpecDie) ImagePullSecretsDie

func (d *PodIntentSpecDie) ImagePullSecretsDie(pullSecrets ...*diecorev1.LocalObjectReferenceDie) *PodIntentSpecDie

func (*PodIntentSpecDie) ServiceAccountName

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

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:

https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#add-imagepullsecrets-to-a-service-account

func (*PodIntentSpecDie) Template

Template defines the workload pod temple

func (*PodIntentSpecDie) TemplateDie

func (d *PodIntentSpecDie) TemplateDie(fn func(d *diecorev1.PodTemplateSpecDie)) *PodIntentSpecDie

type PodIntentStatusDie

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

func (*PodIntentStatusDie) ConditionsDie

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

func (*PodIntentStatusDie) DeepCopy

func (d *PodIntentStatusDie) DeepCopy() *PodIntentStatusDie

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

func (*PodIntentStatusDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*PodIntentStatusDie) DieFeedJSON added in v0.5.0

func (d *PodIntentStatusDie) DieFeedJSON(j []byte) *PodIntentStatusDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*PodIntentStatusDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*PodIntentStatusDie) DieFeedRawExtension added in v0.2.0

func (d *PodIntentStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *PodIntentStatusDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PodIntentStatusDie) DieFeedYAML added in v0.5.0

func (d *PodIntentStatusDie) DieFeedYAML(y []byte) *PodIntentStatusDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*PodIntentStatusDie) DieFeedYAMLFile added in v0.5.0

func (d *PodIntentStatusDie) DieFeedYAMLFile(name string) *PodIntentStatusDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*PodIntentStatusDie) DieImmutable

func (d *PodIntentStatusDie) DieImmutable(immutable bool) *PodIntentStatusDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*PodIntentStatusDie) DieRelease

DieRelease returns the resource managed by the die.

func (*PodIntentStatusDie) DieReleaseJSON added in v0.5.0

func (d *PodIntentStatusDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*PodIntentStatusDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*PodIntentStatusDie) DieReleaseRawExtension added in v0.2.0

func (d *PodIntentStatusDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*PodIntentStatusDie) DieReleaseYAML added in v0.5.0

func (d *PodIntentStatusDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*PodIntentStatusDie) DieStamp

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

func (*PodIntentStatusDie) DieStampAt added in v0.5.0

func (d *PodIntentStatusDie) DieStampAt(jp string, fn interface{}) *PodIntentStatusDie

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 (*PodIntentStatusDie) DieWith added in v0.6.0

func (d *PodIntentStatusDie) DieWith(fns ...func(d *PodIntentStatusDie)) *PodIntentStatusDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*PodIntentStatusDie) ObservedGeneration

func (d *PodIntentStatusDie) ObservedGeneration(generation int64) *PodIntentStatusDie

func (*PodIntentStatusDie) Status

func (*PodIntentStatusDie) Template

func (*PodIntentStatusDie) TemplateDie

Jump to

Keyboard shortcuts

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