composed

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 6 Imported by: 4

Documentation

Overview

Package composed contains an unstructured composed resource.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ListOption added in v1.14.0

type ListOption func(*UnstructuredList)

An ListOption modifies an unstructured list of composed resource.

func FromReferenceToList added in v1.14.0

func FromReferenceToList(ref corev1.ObjectReference) ListOption

FromReferenceToList returns a ListOption that propagates the metadata in the supplied reference to an unstructured list composed resource.

type Option

type Option func(resource *Unstructured)

An Option modifies an unstructured composed resource.

func FromReference

func FromReference(ref corev1.ObjectReference) Option

FromReference returns an Option that propagates the metadata in the supplied reference to an unstructured composed resource.

func WithConditions

func WithConditions(c ...xpv1.Condition) Option

WithConditions returns an Option that sets the supplied conditions on an unstructured composed resource.

type Unstructured

type Unstructured struct {
	unstructured.Unstructured
}

An Unstructured composed resource.

func New

func New(opts ...Option) *Unstructured

New returns a new unstructured composed resource.

func (*Unstructured) DeepCopy added in v1.14.2

func (in *Unstructured) DeepCopy() *Unstructured

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Unstructured.

func (*Unstructured) DeepCopyInto added in v1.14.2

func (in *Unstructured) DeepCopyInto(out *Unstructured)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Unstructured) DeepCopyObject added in v1.14.2

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Unstructured) GetCondition

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

GetCondition of this Composed resource.

func (*Unstructured) GetObservedGeneration added in v1.16.0

func (cr *Unstructured) GetObservedGeneration() int64

GetObservedGeneration of this composite resource claim.

func (*Unstructured) GetPublishConnectionDetailsTo added in v0.16.0

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

GetPublishConnectionDetailsTo of this Composed resource.

func (*Unstructured) GetUnstructured

func (cr *Unstructured) GetUnstructured() *unstructured.Unstructured

GetUnstructured returns the underlying *unstructured.Unstructured.

func (*Unstructured) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Composed resource.

func (*Unstructured) OwnedBy added in v1.14.0

func (cr *Unstructured) OwnedBy(u types.UID) bool

OwnedBy returns true if the supplied UID is an owner of the composed.

func (*Unstructured) RemoveOwnerRef added in v1.14.0

func (cr *Unstructured) RemoveOwnerRef(u types.UID)

RemoveOwnerRef removes the supplied UID from the composed resource's owner.

func (*Unstructured) SetConditions

func (cr *Unstructured) SetConditions(c ...xpv1.Condition)

SetConditions of this Composed resource.

func (*Unstructured) SetObservedGeneration added in v1.16.0

func (cr *Unstructured) SetObservedGeneration(generation int64)

SetObservedGeneration of this composite resource claim.

func (*Unstructured) SetPublishConnectionDetailsTo added in v0.16.0

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

SetPublishConnectionDetailsTo of this Composed resource.

func (*Unstructured) SetWriteConnectionSecretToReference

func (cr *Unstructured) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Composed resource.

type UnstructuredList added in v1.14.0

type UnstructuredList struct {
	unstructured.UnstructuredList
}

An UnstructuredList of composed resources.

func NewList added in v1.14.0

func NewList(opts ...ListOption) *UnstructuredList

NewList returns a new unstructured list of composed resources.

func (*UnstructuredList) GetUnstructuredList added in v1.14.0

func (cr *UnstructuredList) GetUnstructuredList() *unstructured.UnstructuredList

GetUnstructuredList returns the underlying *unstructured.Unstructured.

Jump to

Keyboard shortcuts

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