Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cache ¶ added in v0.0.4
type Cache struct {
// contains filtered or unexported fields
}
Cache maintains a fast index of (ResourceRef + Composition + Synthesis) -> Resource.
func (*Cache) RangeByReadinessGroup ¶ added in v0.0.7
func (c *Cache) RangeByReadinessGroup(ctx context.Context, comp *SynthesisRef, group uint, dir RangeDirection) []*Resource
type Client ¶
type Client interface { Get(ctx context.Context, syn *SynthesisRef, res *resource.Ref) (*resource.Resource, bool) RangeByReadinessGroup(ctx context.Context, syn *SynthesisRef, group uint, dir RangeDirection) []*Resource }
Client provides read/write access to a collection of reconstituted resources.
type RangeDirection ¶ added in v0.0.7
type RangeDirection bool
var ( RangeAsc RangeDirection = true RangeDesc RangeDirection = false )
type Reconciler ¶
Reconciler is implemented by types that can reconcile individual, reconstituted resources.
type Request ¶
type Request struct { Resource resource.Ref Composition types.NamespacedName }
Request is like controller-runtime reconcile.Request but for reconstituted resources. https://pkg.go.dev/sigs.k8s.io/controller-runtime/pkg/reconcile#Request
type SynthesisRef ¶ added in v0.0.6
type SynthesisRef struct {
CompositionName, Namespace, UUID string
}
SynthesisRef refers to a specific synthesis of a composition.
func NewSynthesisRef ¶ added in v0.0.6
func NewSynthesisRef(comp *apiv1.Composition) *SynthesisRef
Click to show internal directories.
Click to hide internal directories.