vmsmock

package
v1.12.0-initial-poc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 3, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

Package vmsmock is a generated GoMock package.

Package vmsmock is a generated GoMock package.

Index

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.

func (*Factory) New

func (m *Factory) New(arg0 logging.Logger) (any, error)

New mocks base method.

type FactoryMockRecorder

type FactoryMockRecorder struct {
	// contains filtered or unexported fields
}

FactoryMockRecorder is the mock recorder for Factory.

func (*FactoryMockRecorder) New

func (mr *FactoryMockRecorder) New(arg0 any) *gomock.Call

New indicates an expected call of New.

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) Alias

func (m *Manager) Alias(arg0 ids.ID, arg1 string) error

Alias mocks base method.

func (*Manager) Aliases

func (m *Manager) Aliases(arg0 ids.ID) ([]string, error)

Aliases mocks base method.

func (*Manager) EXPECT

func (m *Manager) EXPECT() *ManagerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*Manager) GetFactory

func (m *Manager) GetFactory(arg0 ids.ID) (vms.Factory, error)

GetFactory mocks base method.

func (*Manager) ListFactories

func (m *Manager) ListFactories() ([]ids.ID, error)

ListFactories mocks base method.

func (*Manager) Lookup

func (m *Manager) Lookup(arg0 string) (ids.ID, error)

Lookup mocks base method.

func (*Manager) PrimaryAlias

func (m *Manager) PrimaryAlias(arg0 ids.ID) (string, error)

PrimaryAlias mocks base method.

func (*Manager) PrimaryAliasOrDefault

func (m *Manager) PrimaryAliasOrDefault(arg0 ids.ID) string

PrimaryAliasOrDefault mocks base method.

func (*Manager) RegisterFactory

func (m *Manager) RegisterFactory(arg0 context.Context, arg1 ids.ID, arg2 vms.Factory) error

RegisterFactory mocks base method.

func (*Manager) RemoveAliases

func (m *Manager) RemoveAliases(arg0 ids.ID)

RemoveAliases mocks base method.

func (*Manager) Versions

func (m *Manager) Versions() (map[string]string, error)

Versions 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL