mock

package
v0.0.0-...-f5bbbf4 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockNodes

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

MockNodes is a mock of Nodes interface

func NewMockNodes

func NewMockNodes(ctrl *gomock.Controller) *MockNodes

NewMockNodes creates a new mock instance

func (*MockNodes) Create

func (m *MockNodes) Create(ctx context.Context, name string, config *proxynode.Config, allowedTenants []string, userInfo *entities.UserInfo) error

Create mocks base method

func (*MockNodes) EXPECT

func (m *MockNodes) EXPECT() *MockNodesMockRecorder

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

func (*MockNodes) Get

func (m *MockNodes) Get(ctx context.Context, name string, userInfo *entities.UserInfo) (*proxynode.Node, error)

Get mocks base method

func (*MockNodes) List

func (m *MockNodes) List(ctx context.Context, userInfo *entities.UserInfo) ([]string, error)

List mocks base method

type MockNodesMockRecorder

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

MockNodesMockRecorder is the mock recorder for MockNodes

func (*MockNodesMockRecorder) Create

func (mr *MockNodesMockRecorder) Create(ctx, name, config, allowedTenants, userInfo interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockNodesMockRecorder) Get

func (mr *MockNodesMockRecorder) Get(ctx, name, userInfo interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockNodesMockRecorder) List

func (mr *MockNodesMockRecorder) List(ctx, userInfo interface{}) *gomock.Call

List indicates an expected call of List

Jump to

Keyboard shortcuts

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