Versions in this module Expand all Collapse all v0 v0.0.1 May 22, 2024 Changes in this version + func ControllersMustMatch(s *xpv1.Selector) bool + func FromFloatPtrValue(v *float64) string + func FromFloatPtrValues(v []*float64) []string + func FromPtrValue(v *string) string + func FromPtrValues(v []*string) []string + func ToFloatPtrValue(v string) *float64 + func ToFloatPtrValues(v []string) []*float64 + func ToPtrValue(v string) *string + func ToPtrValues(v []string) []*string + type APIResolver struct + func NewAPIResolver(c client.Reader, from resource.Managed) *APIResolver + func (r *APIResolver) Resolve(ctx context.Context, req ResolutionRequest) (ResolutionResponse, error) + func (r *APIResolver) ResolveMultiple(ctx context.Context, req MultiResolutionRequest) (MultiResolutionResponse, error) + type ExtractValueFn func(resource.Managed) string + func ExternalName() ExtractValueFn + type MultiResolutionRequest struct + CurrentValues []string + Extract ExtractValueFn + References []xpv1.Reference + Selector *xpv1.Selector + To To + func (rr *MultiResolutionRequest) IsNoOp() bool + type MultiResolutionResponse struct + ResolvedReferences []xpv1.Reference + ResolvedValues []string + func (rr MultiResolutionResponse) Validate() error + type ResolutionRequest struct + CurrentValue string + Extract ExtractValueFn + Reference *xpv1.Reference + Selector *xpv1.Selector + To To + func (rr *ResolutionRequest) IsNoOp() bool + type ResolutionResponse struct + ResolvedReference *xpv1.Reference + ResolvedValue string + func (rr ResolutionResponse) Validate() error + type To struct + List resource.ManagedList + Managed resource.Managed