composite

package
v0.19.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2023 License: Apache-2.0 Imports: 6 Imported by: 10

Documentation

Overview

Package composite contains an unstructured composite resource.

Index

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

func WithConditions(c ...xpv1.Condition) Option

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 New

func New(opts ...Option) *Unstructured

New returns a new 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) GetCompositionRevisionReference added in v0.15.0

func (c *Unstructured) GetCompositionRevisionReference() *corev1.ObjectReference

GetCompositionRevisionReference of this Composite resource.

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.

func (*Unstructured) GetCompositionUpdatePolicy added in v0.15.0

func (c *Unstructured) GetCompositionUpdatePolicy() *xpv1.UpdatePolicy

GetCompositionUpdatePolicy 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) GetEnvironmentConfigReferences added in v0.18.0

func (c *Unstructured) GetEnvironmentConfigReferences() []corev1.ObjectReference

GetEnvironmentConfigReferences of this Composite resource.

func (*Unstructured) GetPublishConnectionDetailsTo added in v0.16.0

func (c *Unstructured) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo 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) SetCompositionRevisionReference added in v0.15.0

func (c *Unstructured) SetCompositionRevisionReference(ref *corev1.ObjectReference)

SetCompositionRevisionReference of this Composite resource.

func (*Unstructured) SetCompositionRevisionSelector added in v0.19.0

func (c *Unstructured) SetCompositionRevisionSelector(sel *metav1.LabelSelector)

SetCompositionRevisionSelector of this resource claim.

func (*Unstructured) SetCompositionSelector

func (c *Unstructured) SetCompositionSelector(sel *metav1.LabelSelector)

SetCompositionSelector of this Composite resource.

func (*Unstructured) SetCompositionUpdatePolicy added in v0.15.0

func (c *Unstructured) SetCompositionUpdatePolicy(p *xpv1.UpdatePolicy)

SetCompositionUpdatePolicy 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) SetEnvironmentConfigReferences added in v0.18.0

func (c *Unstructured) SetEnvironmentConfigReferences(refs []corev1.ObjectReference)

SetEnvironmentConfigReferences of this Composite resource.

func (*Unstructured) SetPublishConnectionDetailsTo added in v0.16.0

func (c *Unstructured) SetPublishConnectionDetailsTo(ref *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL