Documentation
¶
Index ¶
- type Fake
- func (f *Fake[T]) List(ctx context.Context) (*differ.LocalRemoteResources[T], error)
- func (f *Fake[T]) Stream(ctx context.Context) (*loader.StreamConn[T], error)
- func (f *Fake[T]) WithList(fn func(context.Context) (*differ.LocalRemoteResources[T], error)) *Fake[T]
- func (f *Fake[T]) WithStream(fn func(context.Context) (*loader.StreamConn[T], error)) *Fake[T]
- type FakeT
- func (f *FakeT) Components() loader.Loader[compapi.Component]
- func (f *FakeT) Run(ctx context.Context) error
- func (f *FakeT) Subscriptions() loader.Loader[subapi.Subscription]
- func (f *FakeT) WithComponents(fake *Fake[compapi.Component]) *FakeT
- func (f *FakeT) WithRun(fn func(context.Context) error) *FakeT
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fake ¶
func (*Fake[T]) WithStream ¶
type FakeT ¶
type FakeT struct {
// contains filtered or unexported fields
}
func (*FakeT) Subscriptions ¶ added in v1.14.0
func (f *FakeT) Subscriptions() loader.Loader[subapi.Subscription]
func (*FakeT) WithComponents ¶ added in v1.14.0
Click to show internal directories.
Click to hide internal directories.