Documentation ¶
Overview ¶
Package composed contains an unstructured composed resource.
Index ¶
- type ListOption
- type Option
- type Unstructured
- func (in *Unstructured) DeepCopy() *Unstructured
- func (in *Unstructured) DeepCopyInto(out *Unstructured)
- func (in *Unstructured) DeepCopyObject() runtime.Object
- func (cr *Unstructured) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (cr *Unstructured) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (cr *Unstructured) GetUnstructured() *unstructured.Unstructured
- func (cr *Unstructured) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (cr *Unstructured) OwnedBy(u types.UID) bool
- func (cr *Unstructured) RemoveOwnerRef(u types.UID)
- func (cr *Unstructured) SetConditions(c ...xpv1.Condition)
- func (cr *Unstructured) SetPublishConnectionDetailsTo(ref *xpv1.PublishConnectionDetailsTo)
- func (cr *Unstructured) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type UnstructuredList
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 ¶
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 (*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) 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) 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.