Documentation ¶
Overview ¶
Package composite contains an unstructured composite resource.
Index ¶
- type Option
- type Unstructured
- func (c *Unstructured) GetClaimReference() *corev1.ObjectReference
- func (c *Unstructured) GetCompositionReference() *corev1.ObjectReference
- func (c *Unstructured) GetCompositionSelector() *metav1.LabelSelector
- func (c *Unstructured) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (c *Unstructured) GetConnectionDetailsLastPublishedTime() *metav1.Time
- func (c *Unstructured) GetResourceReferences() []corev1.ObjectReference
- func (c *Unstructured) GetUnstructured() *unstructured.Unstructured
- func (c *Unstructured) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (c *Unstructured) SetClaimReference(ref *corev1.ObjectReference)
- func (c *Unstructured) SetCompositionReference(ref *corev1.ObjectReference)
- func (c *Unstructured) SetCompositionSelector(sel *metav1.LabelSelector)
- func (c *Unstructured) SetConditions(conditions ...xpv1.Condition)
- func (c *Unstructured) SetConnectionDetailsLastPublishedTime(t *metav1.Time)
- func (c *Unstructured) SetResourceReferences(refs []corev1.ObjectReference)
- func (c *Unstructured) SetWriteConnectionSecretToReference(ref *xpv1.SecretReference)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Unstructured)
An Option modifies an unstructured composite resource.
func WithConditions ¶
WithConditions returns an Option that sets the supplied conditions on an unstructured composite resource.
func WithGroupVersionKind ¶
func WithGroupVersionKind(gvk schema.GroupVersionKind) Option
WithGroupVersionKind sets the GroupVersionKind of the unstructured composite resource.
type Unstructured ¶
type Unstructured struct {
unstructured.Unstructured
}
An Unstructured composed resource.
func (*Unstructured) GetClaimReference ¶ added in v0.10.0
func (c *Unstructured) GetClaimReference() *corev1.ObjectReference
GetClaimReference of this Composite resource.
func (*Unstructured) GetCompositionReference ¶
func (c *Unstructured) GetCompositionReference() *corev1.ObjectReference
GetCompositionReference of this Composite resource.
func (*Unstructured) GetCompositionSelector ¶
func (c *Unstructured) GetCompositionSelector() *metav1.LabelSelector
GetCompositionSelector of this Composite resource.
func (*Unstructured) GetCondition ¶
func (c *Unstructured) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Composite resource.
func (*Unstructured) GetConnectionDetailsLastPublishedTime ¶ added in v0.11.0
func (c *Unstructured) GetConnectionDetailsLastPublishedTime() *metav1.Time
GetConnectionDetailsLastPublishedTime of this Composite resource.
func (*Unstructured) GetResourceReferences ¶
func (c *Unstructured) GetResourceReferences() []corev1.ObjectReference
GetResourceReferences of this Composite resource.
func (*Unstructured) GetUnstructured ¶
func (c *Unstructured) GetUnstructured() *unstructured.Unstructured
GetUnstructured returns the underlying *unstructured.Unstructured.
func (*Unstructured) GetWriteConnectionSecretToReference ¶
func (c *Unstructured) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Composite resource.
func (*Unstructured) SetClaimReference ¶ added in v0.10.0
func (c *Unstructured) SetClaimReference(ref *corev1.ObjectReference)
SetClaimReference of this Composite resource.
func (*Unstructured) SetCompositionReference ¶
func (c *Unstructured) SetCompositionReference(ref *corev1.ObjectReference)
SetCompositionReference of this Composite resource.
func (*Unstructured) SetCompositionSelector ¶
func (c *Unstructured) SetCompositionSelector(sel *metav1.LabelSelector)
SetCompositionSelector of this Composite resource.
func (*Unstructured) SetConditions ¶
func (c *Unstructured) SetConditions(conditions ...xpv1.Condition)
SetConditions of this Composite resource.
func (*Unstructured) SetConnectionDetailsLastPublishedTime ¶ added in v0.11.0
func (c *Unstructured) SetConnectionDetailsLastPublishedTime(t *metav1.Time)
SetConnectionDetailsLastPublishedTime of this Composite resource.
func (*Unstructured) SetResourceReferences ¶
func (c *Unstructured) SetResourceReferences(refs []corev1.ObjectReference)
SetResourceReferences of this Composite resource.
func (*Unstructured) SetWriteConnectionSecretToReference ¶
func (c *Unstructured) SetWriteConnectionSecretToReference(ref *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Composite resource.