Documentation ¶
Overview ¶
Package claim contains an unstructured composite resource claim.
Index ¶
- type Option
- type Unstructured
- func (c *Unstructured) GetCompositionReference() *corev1.ObjectReference
- func (c *Unstructured) GetCompositionSelector() *metav1.LabelSelector
- func (c *Unstructured) GetCondition(ct v1alpha1.ConditionType) v1alpha1.Condition
- func (c *Unstructured) GetResourceReference() *corev1.ObjectReference
- func (c *Unstructured) GetUnstructured() *unstructured.Unstructured
- func (c *Unstructured) GetWriteConnectionSecretToReference() *v1alpha1.LocalSecretReference
- func (c *Unstructured) SetCompositionReference(ref *corev1.ObjectReference)
- func (c *Unstructured) SetCompositionSelector(sel *metav1.LabelSelector)
- func (c *Unstructured) SetConditions(conditions ...v1alpha1.Condition)
- func (c *Unstructured) SetResourceReference(ref *corev1.ObjectReference)
- func (c *Unstructured) SetWriteConnectionSecretToReference(ref *v1alpha1.LocalSecretReference)
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 claim.
func WithConditions ¶
WithConditions returns an Option that sets the supplied conditions on an unstructured composite resource claim.
func WithGroupVersionKind ¶
func WithGroupVersionKind(gvk schema.GroupVersionKind) Option
WithGroupVersionKind sets the GroupVersionKind of the unstructured composite resource claim.
type Unstructured ¶
type Unstructured struct {
unstructured.Unstructured
}
An Unstructured composite resource claim.
func New ¶
func New(opts ...Option) *Unstructured
New returns a new unstructured composite resource claim.
func (*Unstructured) GetCompositionReference ¶
func (c *Unstructured) GetCompositionReference() *corev1.ObjectReference
GetCompositionReference of this composite resource claim.
func (*Unstructured) GetCompositionSelector ¶
func (c *Unstructured) GetCompositionSelector() *metav1.LabelSelector
GetCompositionSelector of this composite resource claim.
func (*Unstructured) GetCondition ¶
func (c *Unstructured) GetCondition(ct v1alpha1.ConditionType) v1alpha1.Condition
GetCondition of this composite resource claim.
func (*Unstructured) GetResourceReference ¶
func (c *Unstructured) GetResourceReference() *corev1.ObjectReference
GetResourceReference of this composite resource claim.
func (*Unstructured) GetUnstructured ¶
func (c *Unstructured) GetUnstructured() *unstructured.Unstructured
GetUnstructured returns the underlying *unstructured.Unstructured.
func (*Unstructured) GetWriteConnectionSecretToReference ¶
func (c *Unstructured) GetWriteConnectionSecretToReference() *v1alpha1.LocalSecretReference
GetWriteConnectionSecretToReference of this composite resource claim.
func (*Unstructured) SetCompositionReference ¶
func (c *Unstructured) SetCompositionReference(ref *corev1.ObjectReference)
SetCompositionReference of this composite resource claim.
func (*Unstructured) SetCompositionSelector ¶
func (c *Unstructured) SetCompositionSelector(sel *metav1.LabelSelector)
SetCompositionSelector of this composite resource claim.
func (*Unstructured) SetConditions ¶
func (c *Unstructured) SetConditions(conditions ...v1alpha1.Condition)
SetConditions of this composite resource claim.
func (*Unstructured) SetResourceReference ¶
func (c *Unstructured) SetResourceReference(ref *corev1.ObjectReference)
SetResourceReference of this composite resource claim.
func (*Unstructured) SetWriteConnectionSecretToReference ¶
func (c *Unstructured) SetWriteConnectionSecretToReference(ref *v1alpha1.LocalSecretReference)
SetWriteConnectionSecretToReference of this composite resource claim.