Documentation ¶
Index ¶
- type KVMock
- type ProviderMock
- func (provider *ProviderMock) Add(count int)
- func (provider *ProviderMock) GetGroups(ctx context.Context) (map[string][]string, error)
- func (provider *ProviderMock) GetState(ctx context.Context, name string) (instance.State, error)
- func (provider *ProviderMock) NotifyInstanceStopped(ctx context.Context, instance chan<- string)
- func (provider *ProviderMock) Wait()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProviderMock ¶
func NewProviderMock ¶
func NewProviderMock() *ProviderMock
func NewProviderMockWithStoppedInstancesEvents ¶
func NewProviderMockWithStoppedInstancesEvents(stoppedInstances []string) *ProviderMock
func (*ProviderMock) Add ¶
func (provider *ProviderMock) Add(count int)
func (*ProviderMock) NotifyInstanceStopped ¶
func (provider *ProviderMock) NotifyInstanceStopped(ctx context.Context, instance chan<- string)
func (*ProviderMock) Wait ¶
func (provider *ProviderMock) Wait()
Click to show internal directories.
Click to hide internal directories.