Versions in this module Expand all Collapse all v0 v0.0.1 May 22, 2024 Changes in this version + const ExternalResourceTagKeyKind + const ExternalResourceTagKeyName + const ExternalResourceTagKeyProvider + const SecretTypeConnection + func Apply(ctx context.Context, c client.Client, o client.Object, ao ...ApplyOption) error + func CommonCredentialExtractor(ctx context.Context, source xpv1.CredentialsSource, client client.Client, ...) ([]byte, error) + func ConnectionSecretFor(o ConnectionSecretOwner, kind schema.GroupVersionKind) *corev1.Secret + func DesiredStateChanged() predicate.Predicate + func ExtractEnv(_ context.Context, e EnvLookupFn, s xpv1.CommonCredentialSelectors) ([]byte, error) + func ExtractFs(_ context.Context, fs afero.Fs, s xpv1.CommonCredentialSelectors) ([]byte, error) + func ExtractSecret(ctx context.Context, client client.Client, s xpv1.CommonCredentialSelectors) ([]byte, error) + func GetExternalTags(mg Managed) map[string]string + func GetKind(obj runtime.Object, ot runtime.ObjectTyper) (schema.GroupVersionKind, error) + func Ignore(is ErrorIs, err error) error + func IgnoreAny(err error, is ...ErrorIs) error + func IgnoreNotFound(err error) error + func IsAPIError(err error) bool + func IsAPIErrorWrapped(err error) bool + func IsConditionTrue(c xpv1.Condition) bool + func IsMissingReference(err error) bool + func IsNotAllowed(err error) bool + func IsNotControllable(err error) bool + func LocalConnectionSecretFor(o LocalConnectionSecretOwner, kind schema.GroupVersionKind) *corev1.Secret + func MustCreateObject(kind schema.GroupVersionKind, oc runtime.ObjectCreater) runtime.Object + func MustGetKind(obj runtime.Object, ot runtime.ObjectTyper) schema.GroupVersionKind + func NewNotAllowed(message string) error + func NewPredicates(fn PredicateFn) predicate.Funcs + type APIConnectionPropagator struct + func NewAPIConnectionPropagator(c client.Client, t runtime.ObjectTyper) *APIConnectionPropagator + func (a *APIConnectionPropagator) PropagateConnection(ctx context.Context, to LocalConnectionSecretOwner, from ConnectionSecretOwner) error + type APIFinalizer struct + func NewAPIFinalizer(c client.Client, finalizer string) *APIFinalizer + func (a *APIFinalizer) AddFinalizer(ctx context.Context, obj Object) error + func (a *APIFinalizer) RemoveFinalizer(ctx context.Context, obj Object) error + type APIManagedConnectionPropagator struct + Propagator ConnectionPropagator + func (a *APIManagedConnectionPropagator) PropagateConnection(ctx context.Context, to LocalConnectionSecretOwner, mg Managed) error + type APIPatchingApplicator struct + func NewAPIPatchingApplicator(c client.Client) *APIPatchingApplicator + func (a *APIPatchingApplicator) Apply(ctx context.Context, o client.Object, ao ...ApplyOption) error + type APIUpdatingApplicator struct + func NewAPIUpdatingApplicator(c client.Client) *APIUpdatingApplicator + func (a *APIUpdatingApplicator) Apply(ctx context.Context, o client.Object, ao ...ApplyOption) error + type AnnotationChangedPredicate struct + func (a AnnotationChangedPredicate) Update(e event.UpdateEvent) bool + type Applicator interface + Apply func(context.Context, client.Object, ...ApplyOption) error + type ApplicatorWithRetry struct + func NewApplicatorWithRetry(applicator Applicator, shouldRetry shouldRetryFunc, backoff *wait.Backoff) *ApplicatorWithRetry + func (awr *ApplicatorWithRetry) Apply(ctx context.Context, c client.Object, opts ...ApplyOption) error + type ApplyFn func(context.Context, client.Object, ...ApplyOption) error + func (fn ApplyFn) Apply(ctx context.Context, o client.Object, ao ...ApplyOption) error + type ApplyOption func(ctx context.Context, current, desired runtime.Object) error + func AllowUpdateIf(fn func(current, desired runtime.Object) bool) ApplyOption + func ConnectionSecretMustBeControllableBy(u types.UID) ApplyOption + func MustBeControllableBy(u types.UID) ApplyOption + func UpdateFn(fn func(current, desired runtime.Object)) ApplyOption + type AttributeReferencer interface + Assign func(res CanReference, value string) error + Build func(ctx context.Context, res CanReference, r client.Reader) (value string, err error) + GetStatus func(ctx context.Context, res CanReference, r client.Reader) ([]ReferenceStatus, error) + type CanReference runtime.Object + type ClaimReferencer interface + GetClaimReference func() *corev1.ObjectReference + SetClaimReference func(r *corev1.ObjectReference) + type ClientApplicator struct + type Composed interface + type ComposedResourcesReferencer interface + GetResourceReferences func() []corev1.ObjectReference + SetResourceReferences func([]corev1.ObjectReference) + type Composite interface + type CompositeClaim interface + type CompositeClaimKind schema.GroupVersionKind + type CompositeKind schema.GroupVersionKind + type CompositeResourceDeleter interface + GetCompositeDeletePolicy func() *xpv1.CompositeDeletePolicy + SetCompositeDeletePolicy func(policy *xpv1.CompositeDeletePolicy) + type CompositeResourceReferencer interface + GetResourceReference func() *corev1.ObjectReference + SetResourceReference func(r *corev1.ObjectReference) + type CompositionReferencer interface + GetCompositionReference func() *corev1.ObjectReference + SetCompositionReference func(*corev1.ObjectReference) + type CompositionRevisionReferencer interface + GetCompositionRevisionReference func() *corev1.ObjectReference + SetCompositionRevisionReference func(*corev1.ObjectReference) + type CompositionRevisionSelector interface + GetCompositionRevisionSelector func() *metav1.LabelSelector + SetCompositionRevisionSelector func(selector *metav1.LabelSelector) + type CompositionSelector interface + GetCompositionSelector func() *metav1.LabelSelector + SetCompositionSelector func(*metav1.LabelSelector) + type CompositionUpdater interface + GetCompositionUpdatePolicy func() *xpv1.UpdatePolicy + SetCompositionUpdatePolicy func(*xpv1.UpdatePolicy) + type Conditioned interface + GetCondition func(xpv1.ConditionType) xpv1.Condition + SetConditions func(c ...xpv1.Condition) + type ConnectionDetailsPublishedTimer interface + GetConnectionDetailsLastPublishedTime func() *metav1.Time + SetConnectionDetailsLastPublishedTime func(t *metav1.Time) + type ConnectionDetailsPublisherTo interface + GetPublishConnectionDetailsTo func() *xpv1.PublishConnectionDetailsTo + SetPublishConnectionDetailsTo func(r *xpv1.PublishConnectionDetailsTo) + type ConnectionPropagator interface + PropagateConnection func(ctx context.Context, to LocalConnectionSecretOwner, from ConnectionSecretOwner) error + type ConnectionPropagatorFn func(ctx context.Context, to LocalConnectionSecretOwner, from ConnectionSecretOwner) error + type ConnectionSecretOwner interface + type ConnectionSecretWriterTo interface + GetWriteConnectionSecretToReference func() *xpv1.SecretReference + SetWriteConnectionSecretToReference func(r *xpv1.SecretReference) + type EnqueueRequestForProviderConfig struct + func (e *EnqueueRequestForProviderConfig) Create(evt event.CreateEvent, q workqueue.RateLimitingInterface) + func (e *EnqueueRequestForProviderConfig) Delete(evt event.DeleteEvent, q workqueue.RateLimitingInterface) + func (e *EnqueueRequestForProviderConfig) Generic(evt event.GenericEvent, q workqueue.RateLimitingInterface) + func (e *EnqueueRequestForProviderConfig) Update(evt event.UpdateEvent, q workqueue.RateLimitingInterface) + type EnvLookupFn func(string) string + type EnvironmentConfigReferencer interface + GetEnvironmentConfigReferences func() []corev1.ObjectReference + SetEnvironmentConfigReferences func([]corev1.ObjectReference) + type ErrorIs func(err error) bool + type Finalizer interface + AddFinalizer func(ctx context.Context, obj Object) error + RemoveFinalizer func(ctx context.Context, obj Object) error + func NewNopFinalizer() Finalizer + type FinalizerFns struct + AddFinalizerFn func(ctx context.Context, obj Object) error + RemoveFinalizerFn func(ctx context.Context, obj Object) error + func (f FinalizerFns) AddFinalizer(ctx context.Context, obj Object) error + func (f FinalizerFns) RemoveFinalizer(ctx context.Context, obj Object) error + type LateInitializer struct + func NewLateInitializer() *LateInitializer + func (li *LateInitializer) IsChanged() bool + func (li *LateInitializer) LateInitializeBoolPtr(org *bool, from *bool) *bool + func (li *LateInitializer) LateInitializeInt64Ptr(org *int64, from *int64) *int64 + func (li *LateInitializer) LateInitializeStringPtr(org *string, from *string) *string + func (li *LateInitializer) LateInitializeTimePtr(org *metav1.Time, from *time.Time) *metav1.Time + func (li *LateInitializer) SetChanged() + type LocalConnectionSecretOwner interface + type LocalConnectionSecretWriterTo interface + GetWriteConnectionSecretToReference func() *xpv1.LocalSecretReference + SetWriteConnectionSecretToReference func(r *xpv1.LocalSecretReference) + type Manageable interface + GetManagementPolicy func() xpv1.ManagementPolicy + SetManagementPolicy func(p xpv1.ManagementPolicy) + type Managed interface + type ManagedConnectionPropagator interface + PropagateConnection func(ctx context.Context, o LocalConnectionSecretOwner, mg Managed) error + type ManagedConnectionPropagatorFn func(ctx context.Context, o LocalConnectionSecretOwner, mg Managed) error + func (fn ManagedConnectionPropagatorFn) PropagateConnection(ctx context.Context, o LocalConnectionSecretOwner, mg Managed) error + type ManagedKind schema.GroupVersionKind + type ManagedList interface + GetItems func() []Managed + type ManagedResourceReferencer interface + GetResourceReference func() *corev1.ObjectReference + SetResourceReference func(r *corev1.ObjectReference) + type Object interface + type Orphanable interface + GetDeletionPolicy func() xpv1.DeletionPolicy + SetDeletionPolicy func(p xpv1.DeletionPolicy) + type PredicateFn func(obj runtime.Object) bool + func AllOf(fn ...PredicateFn) PredicateFn + func AnyOf(fn ...PredicateFn) PredicateFn + func HasManagedResourceReferenceKind(k ManagedKind) PredicateFn + func IsControlledByKind(k schema.GroupVersionKind) PredicateFn + func IsManagedKind(k ManagedKind, ot runtime.ObjectTyper) PredicateFn + func IsNamed(name string) PredicateFn + func IsPropagated() PredicateFn + func IsPropagator() PredicateFn + type ProviderConfig interface + type ProviderConfigKinds struct + Config schema.GroupVersionKind + Usage schema.GroupVersionKind + UsageList schema.GroupVersionKind + type ProviderConfigReferencer interface + GetProviderConfigReference func() *xpv1.Reference + SetProviderConfigReference func(p *xpv1.Reference) + type ProviderConfigUsage interface + type ProviderConfigUsageList interface + GetItems func() []ProviderConfigUsage + type ProviderConfigUsageTracker struct + func NewProviderConfigUsageTracker(c client.Client, of ProviderConfigUsage) *ProviderConfigUsageTracker + func (u *ProviderConfigUsageTracker) Track(ctx context.Context, mg Managed) error + type ProviderReferencer interface + GetProviderReference func() *xpv1.Reference + SetProviderReference func(p *xpv1.Reference) + type ReferenceStatus struct + Name string + Status ReferenceStatusType + func (r ReferenceStatus) String() string + type ReferenceStatusType int + const ReferenceNotFound + const ReferenceNotReady + const ReferenceReady + const ReferenceStatusUnknown + func (t ReferenceStatusType) String() string + type RequiredProviderConfigReferencer interface + GetProviderConfigReference func() xpv1.Reference + SetProviderConfigReference func(p xpv1.Reference) + type RequiredTypedResourceReferencer interface + GetResourceReference func() xpv1.TypedReference + SetResourceReference func(r xpv1.TypedReference) + type Tracker interface + Track func(ctx context.Context, mg Managed) error + type TrackerFn func(ctx context.Context, mg Managed) error + func (fn TrackerFn) Track(ctx context.Context, mg Managed) error + type UserCounter interface + GetUsers func() int64 + SetUsers func(i int64)