composite

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: Apache-2.0 Imports: 9 Imported by: 3

Documentation

Overview

Package composite contains an unstructured composite resource (XR). This resource has getters and setters for common Kubernetes object metadata, as well as common composite resource fields like spec.claimRef. It also has generic fieldpath-based getters and setters to access arbitrary data.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Unstructured

type Unstructured struct {
	unstructured.Unstructured
}

An Unstructured composed resource (XR).

func New

func New() *Unstructured

New returns a new unstructured composite resource (XR).

func (*Unstructured) DeepCopy

func (xr *Unstructured) DeepCopy() *Unstructured

DeepCopy this composite resource.

func (*Unstructured) DeepCopyInto

func (xr *Unstructured) DeepCopyInto(out *Unstructured)

DeepCopyInto the supplied composite resource.

func (*Unstructured) DeepCopyObject

func (xr *Unstructured) DeepCopyObject() runtime.Object

DeepCopyObject of this composite resource.

func (*Unstructured) GetBool

func (xr *Unstructured) GetBool(path string) (bool, error)

GetBool value of the supplied field path.

func (*Unstructured) GetClaimReference

func (xr *Unstructured) GetClaimReference() *claim.Reference

GetClaimReference of this composite resource.

func (*Unstructured) GetCompositionReference

func (xr *Unstructured) GetCompositionReference() *corev1.ObjectReference

GetCompositionReference of this composite resource.

func (*Unstructured) GetCompositionRevisionReference

func (xr *Unstructured) GetCompositionRevisionReference() *corev1.ObjectReference

GetCompositionRevisionReference of this composite resource.

func (*Unstructured) GetCompositionRevisionSelector

func (xr *Unstructured) GetCompositionRevisionSelector() *metav1.LabelSelector

GetCompositionRevisionSelector of this composite resource.

func (*Unstructured) GetCompositionSelector

func (xr *Unstructured) GetCompositionSelector() *metav1.LabelSelector

GetCompositionSelector of this composite resource.

func (*Unstructured) GetCompositionUpdatePolicy

func (xr *Unstructured) GetCompositionUpdatePolicy() *xpv1.UpdatePolicy

GetCompositionUpdatePolicy of this composite resource.

func (*Unstructured) GetCondition

func (xr *Unstructured) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this composite resource.

func (*Unstructured) GetConnectionDetailsLastPublishedTime

func (xr *Unstructured) GetConnectionDetailsLastPublishedTime() *metav1.Time

GetConnectionDetailsLastPublishedTime of this composite resource.

func (*Unstructured) GetEnvironmentConfigReferences

func (xr *Unstructured) GetEnvironmentConfigReferences() []corev1.ObjectReference

GetEnvironmentConfigReferences of this composite resource.

func (*Unstructured) GetInteger

func (xr *Unstructured) GetInteger(path string) (int64, error)

GetInteger value of the supplied field path.

func (*Unstructured) GetPublishConnectionDetailsTo

func (xr *Unstructured) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this composite resource.

func (*Unstructured) GetResourceReferences

func (xr *Unstructured) GetResourceReferences() []corev1.ObjectReference

GetResourceReferences of this composite resource.

func (*Unstructured) GetString

func (xr *Unstructured) GetString(path string) (string, error)

GetString value of the supplied field path.

func (*Unstructured) GetStringArray

func (xr *Unstructured) GetStringArray(path string) ([]string, error)

GetStringArray value of the supplied field path.

func (*Unstructured) GetStringObject

func (xr *Unstructured) GetStringObject(path string) (map[string]string, error)

GetStringObject value of the supplied field path.

func (*Unstructured) GetValue

func (xr *Unstructured) GetValue(path string) (any, error)

GetValue of the supplied field path.

func (*Unstructured) GetValueInto

func (xr *Unstructured) GetValueInto(path string, out any) error

GetValueInto the supplied type.

func (*Unstructured) GetWriteConnectionSecretToReference

func (xr *Unstructured) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this composite resource.

func (*Unstructured) MarshalJSON

func (xr *Unstructured) MarshalJSON() ([]byte, error)

MarshalJSON for this composite resource.

func (*Unstructured) SetBool

func (xr *Unstructured) SetBool(path string, value bool) error

SetBool value at the supplied field path.

func (*Unstructured) SetClaimReference

func (xr *Unstructured) SetClaimReference(ref *claim.Reference)

SetClaimReference of this composite resource.

func (*Unstructured) SetCompositionReference

func (xr *Unstructured) SetCompositionReference(ref *corev1.ObjectReference)

SetCompositionReference of this composite resource.

func (*Unstructured) SetCompositionRevisionReference

func (xr *Unstructured) SetCompositionRevisionReference(ref *corev1.ObjectReference)

SetCompositionRevisionReference of this composite resource.

func (*Unstructured) SetCompositionRevisionSelector

func (xr *Unstructured) SetCompositionRevisionSelector(sel *metav1.LabelSelector)

SetCompositionRevisionSelector of this composite resource.

func (*Unstructured) SetCompositionSelector

func (xr *Unstructured) SetCompositionSelector(sel *metav1.LabelSelector)

SetCompositionSelector of this composite resource.

func (*Unstructured) SetCompositionUpdatePolicy

func (xr *Unstructured) SetCompositionUpdatePolicy(p *xpv1.UpdatePolicy)

SetCompositionUpdatePolicy of this composite resource.

func (*Unstructured) SetConditions

func (xr *Unstructured) SetConditions(conditions ...xpv1.Condition)

SetConditions of this composite resource.

func (*Unstructured) SetConnectionDetailsLastPublishedTime

func (xr *Unstructured) SetConnectionDetailsLastPublishedTime(t *metav1.Time)

SetConnectionDetailsLastPublishedTime of this composite resource.

func (*Unstructured) SetEnvironmentConfigReferences

func (xr *Unstructured) SetEnvironmentConfigReferences(refs []corev1.ObjectReference)

SetEnvironmentConfigReferences of this composite resource.

func (*Unstructured) SetInteger

func (xr *Unstructured) SetInteger(path string, value int64) error

SetInteger value at the supplied field path.

func (*Unstructured) SetPublishConnectionDetailsTo

func (xr *Unstructured) SetPublishConnectionDetailsTo(ref *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this composite resource.

func (*Unstructured) SetResourceReferences

func (xr *Unstructured) SetResourceReferences(refs []corev1.ObjectReference)

SetResourceReferences of this composite resource.

func (*Unstructured) SetString

func (xr *Unstructured) SetString(path, value string) error

SetString value at the supplied field path.

func (*Unstructured) SetValue

func (xr *Unstructured) SetValue(path string, value any) error

SetValue at the supplied field path.

func (*Unstructured) SetWriteConnectionSecretToReference

func (xr *Unstructured) SetWriteConnectionSecretToReference(ref *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this composite resource.

Jump to

Keyboard shortcuts

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