Documentation
¶
Index ¶
- type Fake
- func (f *Fake[T]) List(ctx context.Context) (*differ.LocalRemoteResources[T], error)
- func (f *Fake[T]) Stream(ctx context.Context) (<-chan *loader.Event[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) (<-chan *loader.Event[T], error)) *Fake[T]
- type FakeT
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeT ¶
type FakeT struct {
// contains filtered or unexported fields
}
func (*FakeT) Components ¶
func (f *FakeT) Components() loader.Loader[componentsapi.Component]
func (*FakeT) WithComponent ¶
func (f *FakeT) WithComponent(fake *Fake[componentsapi.Component]) *FakeT
Click to show internal directories.
Click to hide internal directories.