Documentation ¶
Overview ¶
Package composed contains an unstructured composed resource.
Index ¶
- type Option
- type Unstructured
- func (cr *Unstructured) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (cr *Unstructured) GetUnstructured() *unstructured.Unstructured
- func (cr *Unstructured) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (cr *Unstructured) SetConditions(c ...xpv1.Condition)
- func (cr *Unstructured) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) GetCondition ¶
func (cr *Unstructured) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition 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) SetConditions ¶
func (cr *Unstructured) SetConditions(c ...xpv1.Condition)
SetConditions of this Composed resource.
func (*Unstructured) SetWriteConnectionSecretToReference ¶
func (cr *Unstructured) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Composed resource.