Documentation ¶
Overview ¶
Package claim contains an unstructured composite resource claim.
Index ¶
- type Option
- type Reference
- type Unstructured
- func (in *Unstructured) DeepCopy() *Unstructured
- func (in *Unstructured) DeepCopyInto(out *Unstructured)
- func (in *Unstructured) DeepCopyObject() runtime.Object
- func (c *Unstructured) GetCompositeDeletePolicy() *xpv1.CompositeDeletePolicy
- func (c *Unstructured) GetCompositionReference() *corev1.ObjectReference
- func (c *Unstructured) GetCompositionRevisionReference() *corev1.ObjectReference
- func (c *Unstructured) GetCompositionRevisionSelector() *metav1.LabelSelector
- func (c *Unstructured) GetCompositionSelector() *metav1.LabelSelector
- func (c *Unstructured) GetCompositionUpdatePolicy() *xpv1.UpdatePolicy
- func (c *Unstructured) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (c *Unstructured) GetConnectionDetailsLastPublishedTime() *metav1.Time
- func (c *Unstructured) GetObservedGeneration() int64
- func (c *Unstructured) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (c *Unstructured) GetReference() *Reference
- func (c *Unstructured) GetResourceReference() *corev1.ObjectReference
- func (c *Unstructured) GetUnstructured() *unstructured.Unstructured
- func (c *Unstructured) GetWriteConnectionSecretToReference() *xpv1.LocalSecretReference
- func (c *Unstructured) SetCompositeDeletePolicy(p *xpv1.CompositeDeletePolicy)
- func (c *Unstructured) SetCompositionReference(ref *corev1.ObjectReference)
- func (c *Unstructured) SetCompositionRevisionReference(ref *corev1.ObjectReference)
- func (c *Unstructured) SetCompositionRevisionSelector(ref *metav1.LabelSelector)
- func (c *Unstructured) SetCompositionSelector(sel *metav1.LabelSelector)
- func (c *Unstructured) SetCompositionUpdatePolicy(p *xpv1.UpdatePolicy)
- func (c *Unstructured) SetConditions(conditions ...xpv1.Condition)
- func (c *Unstructured) SetConnectionDetailsLastPublishedTime(t *metav1.Time)
- func (c *Unstructured) SetObservedGeneration(generation int64)
- func (c *Unstructured) SetPublishConnectionDetailsTo(ref *xpv1.PublishConnectionDetailsTo)
- func (c *Unstructured) SetResourceReference(ref *corev1.ObjectReference)
- func (c *Unstructured) SetWriteConnectionSecretToReference(ref *xpv1.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 Reference ¶ added in v1.14.0
type Reference struct { // APIVersion of the referenced claim. APIVersion string `json:"apiVersion"` // Kind of the referenced claim. Kind string `json:"kind"` // Name of the referenced claim. Name string `json:"name"` // Namespace of the referenced claim. Namespace string `json:"namespace"` }
Reference to a 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) 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) GetCompositeDeletePolicy ¶ added in v0.19.0
func (c *Unstructured) GetCompositeDeletePolicy() *xpv1.CompositeDeletePolicy
GetCompositeDeletePolicy of this resource claim.
func (*Unstructured) GetCompositionReference ¶
func (c *Unstructured) GetCompositionReference() *corev1.ObjectReference
GetCompositionReference of this composite resource claim.
func (*Unstructured) GetCompositionRevisionReference ¶ added in v0.15.0
func (c *Unstructured) GetCompositionRevisionReference() *corev1.ObjectReference
GetCompositionRevisionReference of this resource claim.
func (*Unstructured) GetCompositionRevisionSelector ¶ added in v0.19.0
func (c *Unstructured) GetCompositionRevisionSelector() *metav1.LabelSelector
GetCompositionRevisionSelector of this resource claim.
func (*Unstructured) GetCompositionSelector ¶
func (c *Unstructured) GetCompositionSelector() *metav1.LabelSelector
GetCompositionSelector of this composite resource claim.
func (*Unstructured) GetCompositionUpdatePolicy ¶ added in v0.15.0
func (c *Unstructured) GetCompositionUpdatePolicy() *xpv1.UpdatePolicy
GetCompositionUpdatePolicy of this resource claim.
func (*Unstructured) GetCondition ¶
func (c *Unstructured) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this composite resource claim.
func (*Unstructured) GetConnectionDetailsLastPublishedTime ¶ added in v0.11.0
func (c *Unstructured) GetConnectionDetailsLastPublishedTime() *metav1.Time
GetConnectionDetailsLastPublishedTime of this composite resource claim.
func (*Unstructured) GetObservedGeneration ¶ added in v1.16.0
func (c *Unstructured) GetObservedGeneration() int64
GetObservedGeneration of this composite resource claim.
func (*Unstructured) GetPublishConnectionDetailsTo ¶ added in v0.16.0
func (c *Unstructured) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this composite resource claim.
func (*Unstructured) GetReference ¶ added in v1.14.0
func (c *Unstructured) GetReference() *Reference
GetReference returns reference to this 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() *xpv1.LocalSecretReference
GetWriteConnectionSecretToReference of this composite resource claim.
func (*Unstructured) SetCompositeDeletePolicy ¶ added in v0.19.0
func (c *Unstructured) SetCompositeDeletePolicy(p *xpv1.CompositeDeletePolicy)
SetCompositeDeletePolicy of this resource claim.
func (*Unstructured) SetCompositionReference ¶
func (c *Unstructured) SetCompositionReference(ref *corev1.ObjectReference)
SetCompositionReference of this composite resource claim.
func (*Unstructured) SetCompositionRevisionReference ¶ added in v0.15.0
func (c *Unstructured) SetCompositionRevisionReference(ref *corev1.ObjectReference)
SetCompositionRevisionReference of this resource claim.
func (*Unstructured) SetCompositionRevisionSelector ¶ added in v0.19.0
func (c *Unstructured) SetCompositionRevisionSelector(ref *metav1.LabelSelector)
SetCompositionRevisionSelector of this resource claim.
func (*Unstructured) SetCompositionSelector ¶
func (c *Unstructured) SetCompositionSelector(sel *metav1.LabelSelector)
SetCompositionSelector of this composite resource claim.
func (*Unstructured) SetCompositionUpdatePolicy ¶ added in v0.15.0
func (c *Unstructured) SetCompositionUpdatePolicy(p *xpv1.UpdatePolicy)
SetCompositionUpdatePolicy of this resource claim.
func (*Unstructured) SetConditions ¶
func (c *Unstructured) SetConditions(conditions ...xpv1.Condition)
SetConditions of this composite resource claim.
func (*Unstructured) SetConnectionDetailsLastPublishedTime ¶ added in v0.11.0
func (c *Unstructured) SetConnectionDetailsLastPublishedTime(t *metav1.Time)
SetConnectionDetailsLastPublishedTime of this composite resource claim.
func (*Unstructured) SetObservedGeneration ¶ added in v1.16.0
func (c *Unstructured) SetObservedGeneration(generation int64)
SetObservedGeneration of this composite resource claim.
func (*Unstructured) SetPublishConnectionDetailsTo ¶ added in v0.16.0
func (c *Unstructured) SetPublishConnectionDetailsTo(ref *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo 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 *xpv1.LocalSecretReference)
SetWriteConnectionSecretToReference of this composite resource claim.