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.
type Client ¶
type Client interface {
Get(ctx context.Context, comp *CompositionRef, res *resource.Ref) (*resource.Resource, bool)
}
Client provides read/write access to a collection of reconstituted resources.
type CompositionRef ¶
CompositionRef refers to a specific generation of a composition.
func NewCompositionRef ¶
func NewCompositionRef(comp *apiv1.Composition) *CompositionRef
type ManifestRef ¶
type ManifestRef struct { Slice types.NamespacedName Index int // position of this manifest within the slice }
ManifestRef references a particular resource manifest within a resource slice.
func (*ManifestRef) FindStatus ¶ added in v0.0.2
func (m *ManifestRef) FindStatus(slice *apiv1.ResourceSlice) *apiv1.ResourceState
type Reconciler ¶
Reconciler is implemented by types that can reconcile individual, reconstituted resources.
type Request ¶
type Request struct { Resource resource.Ref Manifest ManifestRef 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
Click to show internal directories.
Click to hide internal directories.