store

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package store is a generated GoMock package.

Index

Constants

View Source
const (
	ModuleName       = "ModuleName"
	ProjectName      = "ProjectName"
	WorkingDirectory = "WorkingDirectory"
	ProjectFullPath  = "ProjectFullPath"
	Dependencies     = "Dependencies"
	Inline           = "Inline"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStore

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

MockStore is a mock of Store interface.

func NewMockStore

func NewMockStore(ctrl *gomock.Controller) *MockStore

NewMockStore creates a new mock instance.

func (*MockStore) AddCustomValues added in v1.10.0

func (m *MockStore) AddCustomValues(key map[string]any)

AddCustomValues mocks base method.

func (*MockStore) AddDependency added in v1.4.0

func (m *MockStore) AddDependency(dependency any)

AddDependency mocks base method.

func (*MockStore) AddValues added in v1.4.0

func (m *MockStore) AddValues(key map[string]any)

AddValues mocks base method.

func (*MockStore) EXPECT

func (m *MockStore) EXPECT() *MockStoreMockRecorder

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

func (*MockStore) GetCustomValues added in v1.10.0

func (m *MockStore) GetCustomValues() map[string]any

GetCustomValues mocks base method.

func (*MockStore) GetValue

func (m *MockStore) GetValue(key string) string

GetValue mocks base method.

func (*MockStore) GetValues added in v1.4.0

func (m *MockStore) GetValues() map[string]any

GetValues mocks base method.

func (*MockStore) SetValue

func (m *MockStore) SetValue(key, value string)

SetValue mocks base method.

type MockStoreMockRecorder

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

MockStoreMockRecorder is the mock recorder for MockStore.

func (*MockStoreMockRecorder) AddCustomValues added in v1.10.0

func (mr *MockStoreMockRecorder) AddCustomValues(key interface{}) *gomock.Call

AddCustomValues indicates an expected call of AddCustomValues.

func (*MockStoreMockRecorder) AddDependency added in v1.4.0

func (mr *MockStoreMockRecorder) AddDependency(dependency interface{}) *gomock.Call

AddDependency indicates an expected call of AddDependency.

func (*MockStoreMockRecorder) AddValues added in v1.4.0

func (mr *MockStoreMockRecorder) AddValues(key interface{}) *gomock.Call

AddValues indicates an expected call of AddValues.

func (*MockStoreMockRecorder) GetCustomValues added in v1.10.0

func (mr *MockStoreMockRecorder) GetCustomValues() *gomock.Call

GetCustomValues indicates an expected call of GetCustomValues.

func (*MockStoreMockRecorder) GetValue

func (mr *MockStoreMockRecorder) GetValue(key interface{}) *gomock.Call

GetValue indicates an expected call of GetValue.

func (*MockStoreMockRecorder) GetValues added in v1.4.0

func (mr *MockStoreMockRecorder) GetValues() *gomock.Call

GetValues indicates an expected call of GetValues.

func (*MockStoreMockRecorder) SetValue

func (mr *MockStoreMockRecorder) SetValue(key, value interface{}) *gomock.Call

SetValue indicates an expected call of SetValue.

type Store

type Store interface {
	SetValue(key, value string)
	GetValue(key string) string
	AddValues(key map[string]any)
	GetValues() map[string]any
	AddCustomValues(key map[string]any)
	GetCustomValues() map[string]any
	AddDependency(dependency any)
}

func GetInstance

func GetInstance() Store

Jump to

Keyboard shortcuts

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