Documentation ¶
Overview ¶
Package vmsmock is a generated GoMock package.
Package vmsmock is a generated GoMock package.
Index ¶
- type Factory
- type FactoryMockRecorder
- type Manager
- func (m *Manager) Alias(arg0 ids.ID, arg1 string) error
- func (m *Manager) Aliases(arg0 ids.ID) ([]string, error)
- func (m *Manager) EXPECT() *ManagerMockRecorder
- func (m *Manager) GetFactory(arg0 ids.ID) (vms.Factory, error)
- func (m *Manager) ListFactories() ([]ids.ID, error)
- func (m *Manager) Lookup(arg0 string) (ids.ID, error)
- func (m *Manager) PrimaryAlias(arg0 ids.ID) (string, error)
- func (m *Manager) PrimaryAliasOrDefault(arg0 ids.ID) string
- func (m *Manager) RegisterFactory(arg0 context.Context, arg1 ids.ID, arg2 vms.Factory) error
- func (m *Manager) RemoveAliases(arg0 ids.ID)
- func (m *Manager) Versions() (map[string]string, error)
- type ManagerMockRecorder
- func (mr *ManagerMockRecorder) Alias(arg0, arg1 any) *gomock.Call
- func (mr *ManagerMockRecorder) Aliases(arg0 any) *gomock.Call
- func (mr *ManagerMockRecorder) GetFactory(arg0 any) *gomock.Call
- func (mr *ManagerMockRecorder) ListFactories() *gomock.Call
- func (mr *ManagerMockRecorder) Lookup(arg0 any) *gomock.Call
- func (mr *ManagerMockRecorder) PrimaryAlias(arg0 any) *gomock.Call
- func (mr *ManagerMockRecorder) PrimaryAliasOrDefault(arg0 any) *gomock.Call
- func (mr *ManagerMockRecorder) RegisterFactory(arg0, arg1, arg2 any) *gomock.Call
- func (mr *ManagerMockRecorder) RemoveAliases(arg0 any) *gomock.Call
- func (mr *ManagerMockRecorder) Versions() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
Factory is a mock of Factory interface.
func NewFactory ¶
func NewFactory(ctrl *gomock.Controller) *Factory
NewFactory creates a new mock instance.
func (*Factory) EXPECT ¶
func (m *Factory) EXPECT() *FactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type FactoryMockRecorder ¶
type FactoryMockRecorder struct {
// contains filtered or unexported fields
}
FactoryMockRecorder is the mock recorder for Factory.
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager is a mock of Manager interface.
func NewManager ¶
func NewManager(ctrl *gomock.Controller) *Manager
NewManager creates a new mock instance.
func (*Manager) EXPECT ¶
func (m *Manager) EXPECT() *ManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*Manager) GetFactory ¶
GetFactory mocks base method.
func (*Manager) ListFactories ¶
ListFactories mocks base method.
func (*Manager) PrimaryAlias ¶
PrimaryAlias mocks base method.
func (*Manager) PrimaryAliasOrDefault ¶
PrimaryAliasOrDefault mocks base method.
func (*Manager) RegisterFactory ¶
RegisterFactory mocks base method.
func (*Manager) RemoveAliases ¶
RemoveAliases mocks base method.
type ManagerMockRecorder ¶
type ManagerMockRecorder struct {
// contains filtered or unexported fields
}
ManagerMockRecorder is the mock recorder for Manager.
func (*ManagerMockRecorder) Alias ¶
func (mr *ManagerMockRecorder) Alias(arg0, arg1 any) *gomock.Call
Alias indicates an expected call of Alias.
func (*ManagerMockRecorder) Aliases ¶
func (mr *ManagerMockRecorder) Aliases(arg0 any) *gomock.Call
Aliases indicates an expected call of Aliases.
func (*ManagerMockRecorder) GetFactory ¶
func (mr *ManagerMockRecorder) GetFactory(arg0 any) *gomock.Call
GetFactory indicates an expected call of GetFactory.
func (*ManagerMockRecorder) ListFactories ¶
func (mr *ManagerMockRecorder) ListFactories() *gomock.Call
ListFactories indicates an expected call of ListFactories.
func (*ManagerMockRecorder) Lookup ¶
func (mr *ManagerMockRecorder) Lookup(arg0 any) *gomock.Call
Lookup indicates an expected call of Lookup.
func (*ManagerMockRecorder) PrimaryAlias ¶
func (mr *ManagerMockRecorder) PrimaryAlias(arg0 any) *gomock.Call
PrimaryAlias indicates an expected call of PrimaryAlias.
func (*ManagerMockRecorder) PrimaryAliasOrDefault ¶
func (mr *ManagerMockRecorder) PrimaryAliasOrDefault(arg0 any) *gomock.Call
PrimaryAliasOrDefault indicates an expected call of PrimaryAliasOrDefault.
func (*ManagerMockRecorder) RegisterFactory ¶
func (mr *ManagerMockRecorder) RegisterFactory(arg0, arg1, arg2 any) *gomock.Call
RegisterFactory indicates an expected call of RegisterFactory.
func (*ManagerMockRecorder) RemoveAliases ¶
func (mr *ManagerMockRecorder) RemoveAliases(arg0 any) *gomock.Call
RemoveAliases indicates an expected call of RemoveAliases.
func (*ManagerMockRecorder) Versions ¶
func (mr *ManagerMockRecorder) Versions() *gomock.Call
Versions indicates an expected call of Versions.