Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event[T differ.Resource] struct { Type operatorv1pb.ResourceEventType Resource T }
Event is a component event.
type Interface ¶
type Interface interface { Run(context.Context) error Components() Loader[compapi.Component] Subscriptions() Loader[subapi.Subscription] }
Interface is an interface for loading and watching for changes to components a source.
type Loader ¶
type Loader[T differ.Resource] interface { List(context.Context) (*differ.LocalRemoteResources[T], error) Stream(context.Context) (*StreamConn[T], error) }
Loader is an interface for loading and watching for changes to a resource from a source.
type StreamConn ¶
Click to show internal directories.
Click to hide internal directories.