Help us shape the future of Go! Take the 2026 Go Developer Survey

vmsmock

package
v1.36.184 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2026 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 log.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(ctx context.Context, vmID ids.ID, alias string) error

Alias mocks base method.

func (*Manager) Aliases

func (m *Manager) Aliases(ctx context.Context, vmID 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(ctx context.Context, vmID ids.ID) (manager.Factory, error)

GetFactory mocks base method.

func (*Manager) ListFactories

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

ListFactories mocks base method.

func (*Manager) Lookup

func (m *Manager) Lookup(ctx context.Context, alias string) (ids.ID, error)

Lookup mocks base method.

func (*Manager) PrimaryAlias

func (m *Manager) PrimaryAlias(ctx context.Context, vmID ids.ID) (string, error)

PrimaryAlias mocks base method.

func (*Manager) RegisterFactory

func (m *Manager) RegisterFactory(ctx context.Context, vmID ids.ID, factory manager.Factory) error

RegisterFactory mocks base method.

func (*Manager) Versions

func (m *Manager) Versions(ctx context.Context) (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(ctx, vmID, alias any) *gomock.Call

Alias indicates an expected call of Alias.

func (*ManagerMockRecorder) Aliases

func (mr *ManagerMockRecorder) Aliases(ctx, vmID any) *gomock.Call

Aliases indicates an expected call of Aliases.

func (*ManagerMockRecorder) GetFactory

func (mr *ManagerMockRecorder) GetFactory(ctx, vmID any) *gomock.Call

GetFactory indicates an expected call of GetFactory.

func (*ManagerMockRecorder) ListFactories

func (mr *ManagerMockRecorder) ListFactories(ctx any) *gomock.Call

ListFactories indicates an expected call of ListFactories.

func (*ManagerMockRecorder) Lookup

func (mr *ManagerMockRecorder) Lookup(ctx, alias any) *gomock.Call

Lookup indicates an expected call of Lookup.

func (*ManagerMockRecorder) PrimaryAlias

func (mr *ManagerMockRecorder) PrimaryAlias(ctx, vmID any) *gomock.Call

PrimaryAlias indicates an expected call of PrimaryAlias.

func (*ManagerMockRecorder) RegisterFactory

func (mr *ManagerMockRecorder) RegisterFactory(ctx, vmID, factory any) *gomock.Call

RegisterFactory indicates an expected call of RegisterFactory.

func (*ManagerMockRecorder) Versions

func (mr *ManagerMockRecorder) Versions(ctx any) *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