mock_resource

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2022 License: Unlicense Imports: 3 Imported by: 0

Documentation

Overview

Package mock_resource is a generated GoMock package.

Package mock_resource is a generated GoMock package.

Package mock_resource is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockManager

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

MockManager is a mock of Manager interface.

func NewMockManager

func NewMockManager(ctrl *gomock.Controller) *MockManager

NewMockManager creates a new mock instance.

func (*MockManager) Add

func (m *MockManager) Add(arg0 string, arg1 resource.Resource)

Add mocks base method.

func (*MockManager) Clear

func (m *MockManager) Clear()

Clear mocks base method.

func (*MockManager) EXPECT

func (m *MockManager) EXPECT() *MockManagerMockRecorder

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

func (*MockManager) FilePartialPaths

func (m *MockManager) FilePartialPaths(arg0 string) []string

FilePartialPaths mocks base method.

func (*MockManager) Get

func (m *MockManager) Get(arg0 string) (resource.Resource, error)

Get mocks base method.

func (*MockManager) Initialize

func (m *MockManager) Initialize() error

Initialize mocks base method.

func (*MockManager) TypeNames

func (m *MockManager) TypeNames() []string

TypeNames mocks base method.

type MockManagerMockRecorder

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

MockManagerMockRecorder is the mock recorder for MockManager.

func (*MockManagerMockRecorder) Add

func (mr *MockManagerMockRecorder) Add(arg0, arg1 interface{}) *gomock.Call

Add indicates an expected call of Add.

func (*MockManagerMockRecorder) Clear

func (mr *MockManagerMockRecorder) Clear() *gomock.Call

Clear indicates an expected call of Clear.

func (*MockManagerMockRecorder) FilePartialPaths

func (mr *MockManagerMockRecorder) FilePartialPaths(arg0 interface{}) *gomock.Call

FilePartialPaths indicates an expected call of FilePartialPaths.

func (*MockManagerMockRecorder) Get

func (mr *MockManagerMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockManagerMockRecorder) Initialize

func (mr *MockManagerMockRecorder) Initialize() *gomock.Call

Initialize indicates an expected call of Initialize.

func (*MockManagerMockRecorder) TypeNames

func (mr *MockManagerMockRecorder) TypeNames() *gomock.Call

TypeNames indicates an expected call of TypeNames.

type MockResource

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

MockResource is a mock of Resource interface.

func NewMockResource

func NewMockResource(ctrl *gomock.Controller) *MockResource

NewMockResource creates a new mock instance.

func (*MockResource) EXPECT

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

func (*MockResource) Initialize

func (m *MockResource) Initialize(arg0 resource.Manager) error

Initialize mocks base method.

type MockResourceMockRecorder

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

MockResourceMockRecorder is the mock recorder for MockResource.

func (*MockResourceMockRecorder) Initialize

func (mr *MockResourceMockRecorder) Initialize(arg0 interface{}) *gomock.Call

Initialize indicates an expected call of Initialize.

type MockType

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

MockType is a mock of Type interface.

func NewMockType

func NewMockType(ctrl *gomock.Controller) *MockType

NewMockType creates a new mock instance.

func (*MockType) EXPECT

func (m *MockType) EXPECT() *MockTypeMockRecorder

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

func (*MockType) Load

func (m *MockType) Load(arg0 string) (resource.Resource, error)

Load mocks base method.

func (*MockType) Name

func (m *MockType) Name() string

Name mocks base method.

type MockTypeMockRecorder

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

MockTypeMockRecorder is the mock recorder for MockType.

func (*MockTypeMockRecorder) Load

func (mr *MockTypeMockRecorder) Load(arg0 interface{}) *gomock.Call

Load indicates an expected call of Load.

func (*MockTypeMockRecorder) Name

func (mr *MockTypeMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name.

Jump to

Keyboard shortcuts

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