Documentation
¶
Overview ¶
Package metadata is a generated GoMock package.
Index ¶
- type MockMetadata
- func (m *MockMetadata) Clone() metadata.Metadata
- func (m *MockMetadata) EXPECT() *MockMetadataMockRecorder
- func (m *MockMetadata) Get(arg0 string) (string, bool)
- func (m *MockMetadata) GetAuthor() string
- func (m *MockMetadata) GetDeprecated() string
- func (m *MockMetadata) GetDoc() string
- func (m *MockMetadata) GetExample() string
- func (m *MockMetadata) GetProtocol() string
- func (m *MockMetadata) GetSince() string
- func (m *MockMetadata) GetTags() string
- func (m *MockMetadata) GetVersion() string
- func (m *MockMetadata) GetVisibility() string
- func (m *MockMetadata) List() map[string]string
- func (m *MockMetadata) Merge(arg0 metadata.Metadata, arg1 bool) metadata.Metadata
- func (m *MockMetadata) Set(arg0, arg1 string) error
- func (m *MockMetadata) SetAuthor(arg0 string) metadata.Metadata
- func (m *MockMetadata) SetDeprecated(arg0 string) metadata.Metadata
- func (m *MockMetadata) SetDoc(arg0 string) metadata.Metadata
- func (m *MockMetadata) SetExample(arg0 string) metadata.Metadata
- func (m *MockMetadata) SetProtocol(arg0 string) metadata.Metadata
- func (m *MockMetadata) SetSince(arg0 string) metadata.Metadata
- func (m *MockMetadata) SetTags(arg0 string) metadata.Metadata
- func (m *MockMetadata) SetTagsFromSlice(arg0 []string) metadata.Metadata
- func (m *MockMetadata) SetVersion(arg0 string) metadata.Metadata
- func (m *MockMetadata) SetVisibility(arg0 string) metadata.Metadata
- func (m *MockMetadata) Tags() []string
- func (m *MockMetadata) TagsNormalised() []string
- type MockMetadataMockRecorder
- func (mr *MockMetadataMockRecorder) Clone() *gomock.Call
- func (mr *MockMetadataMockRecorder) Get(arg0 any) *gomock.Call
- func (mr *MockMetadataMockRecorder) GetAuthor() *gomock.Call
- func (mr *MockMetadataMockRecorder) GetDeprecated() *gomock.Call
- func (mr *MockMetadataMockRecorder) GetDoc() *gomock.Call
- func (mr *MockMetadataMockRecorder) GetExample() *gomock.Call
- func (mr *MockMetadataMockRecorder) GetProtocol() *gomock.Call
- func (mr *MockMetadataMockRecorder) GetSince() *gomock.Call
- func (mr *MockMetadataMockRecorder) GetTags() *gomock.Call
- func (mr *MockMetadataMockRecorder) GetVersion() *gomock.Call
- func (mr *MockMetadataMockRecorder) GetVisibility() *gomock.Call
- func (mr *MockMetadataMockRecorder) List() *gomock.Call
- func (mr *MockMetadataMockRecorder) Merge(arg0, arg1 any) *gomock.Call
- func (mr *MockMetadataMockRecorder) Set(arg0, arg1 any) *gomock.Call
- func (mr *MockMetadataMockRecorder) SetAuthor(arg0 any) *gomock.Call
- func (mr *MockMetadataMockRecorder) SetDeprecated(arg0 any) *gomock.Call
- func (mr *MockMetadataMockRecorder) SetDoc(arg0 any) *gomock.Call
- func (mr *MockMetadataMockRecorder) SetExample(arg0 any) *gomock.Call
- func (mr *MockMetadataMockRecorder) SetProtocol(arg0 any) *gomock.Call
- func (mr *MockMetadataMockRecorder) SetSince(arg0 any) *gomock.Call
- func (mr *MockMetadataMockRecorder) SetTags(arg0 any) *gomock.Call
- func (mr *MockMetadataMockRecorder) SetTagsFromSlice(arg0 any) *gomock.Call
- func (mr *MockMetadataMockRecorder) SetVersion(arg0 any) *gomock.Call
- func (mr *MockMetadataMockRecorder) SetVisibility(arg0 any) *gomock.Call
- func (mr *MockMetadataMockRecorder) Tags() *gomock.Call
- func (mr *MockMetadataMockRecorder) TagsNormalised() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockMetadata ¶
type MockMetadata struct {
// contains filtered or unexported fields
}
MockMetadata is a mock of Metadata interface.
func NewMockMetadata ¶
func NewMockMetadata(ctrl *gomock.Controller) *MockMetadata
NewMockMetadata creates a new mock instance.
func (*MockMetadata) Clone ¶
func (m *MockMetadata) Clone() metadata.Metadata
Clone mocks base method.
func (*MockMetadata) EXPECT ¶
func (m *MockMetadata) EXPECT() *MockMetadataMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMetadata) Get ¶
func (m *MockMetadata) Get(arg0 string) (string, bool)
Get mocks base method.
func (*MockMetadata) GetAuthor ¶
func (m *MockMetadata) GetAuthor() string
GetAuthor mocks base method.
func (*MockMetadata) GetDeprecated ¶
func (m *MockMetadata) GetDeprecated() string
GetDeprecated mocks base method.
func (*MockMetadata) GetExample ¶
func (m *MockMetadata) GetExample() string
GetExample mocks base method.
func (*MockMetadata) GetProtocol ¶
func (m *MockMetadata) GetProtocol() string
GetProtocol mocks base method.
func (*MockMetadata) GetSince ¶
func (m *MockMetadata) GetSince() string
GetSince mocks base method.
func (*MockMetadata) GetVersion ¶
func (m *MockMetadata) GetVersion() string
GetVersion mocks base method.
func (*MockMetadata) GetVisibility ¶
func (m *MockMetadata) GetVisibility() string
GetVisibility mocks base method.
func (*MockMetadata) Set ¶
func (m *MockMetadata) Set(arg0, arg1 string) error
Set mocks base method.
func (*MockMetadata) SetAuthor ¶
func (m *MockMetadata) SetAuthor(arg0 string) metadata.Metadata
SetAuthor mocks base method.
func (*MockMetadata) SetDeprecated ¶
func (m *MockMetadata) SetDeprecated(arg0 string) metadata.Metadata
SetDeprecated mocks base method.
func (*MockMetadata) SetDoc ¶
func (m *MockMetadata) SetDoc(arg0 string) metadata.Metadata
SetDoc mocks base method.
func (*MockMetadata) SetExample ¶
func (m *MockMetadata) SetExample(arg0 string) metadata.Metadata
SetExample mocks base method.
func (*MockMetadata) SetProtocol ¶
func (m *MockMetadata) SetProtocol(arg0 string) metadata.Metadata
SetProtocol mocks base method.
func (*MockMetadata) SetSince ¶
func (m *MockMetadata) SetSince(arg0 string) metadata.Metadata
SetSince mocks base method.
func (*MockMetadata) SetTags ¶
func (m *MockMetadata) SetTags(arg0 string) metadata.Metadata
SetTags mocks base method.
func (*MockMetadata) SetTagsFromSlice ¶
func (m *MockMetadata) SetTagsFromSlice(arg0 []string) metadata.Metadata
SetTagsFromSlice mocks base method.
func (*MockMetadata) SetVersion ¶
func (m *MockMetadata) SetVersion(arg0 string) metadata.Metadata
SetVersion mocks base method.
func (*MockMetadata) SetVisibility ¶
func (m *MockMetadata) SetVisibility(arg0 string) metadata.Metadata
SetVisibility mocks base method.
func (*MockMetadata) TagsNormalised ¶
func (m *MockMetadata) TagsNormalised() []string
TagsNormalised mocks base method.
type MockMetadataMockRecorder ¶
type MockMetadataMockRecorder struct {
// contains filtered or unexported fields
}
MockMetadataMockRecorder is the mock recorder for MockMetadata.
func (*MockMetadataMockRecorder) Clone ¶
func (mr *MockMetadataMockRecorder) Clone() *gomock.Call
Clone indicates an expected call of Clone.
func (*MockMetadataMockRecorder) Get ¶
func (mr *MockMetadataMockRecorder) Get(arg0 any) *gomock.Call
Get indicates an expected call of Get.
func (*MockMetadataMockRecorder) GetAuthor ¶
func (mr *MockMetadataMockRecorder) GetAuthor() *gomock.Call
GetAuthor indicates an expected call of GetAuthor.
func (*MockMetadataMockRecorder) GetDeprecated ¶
func (mr *MockMetadataMockRecorder) GetDeprecated() *gomock.Call
GetDeprecated indicates an expected call of GetDeprecated.
func (*MockMetadataMockRecorder) GetDoc ¶
func (mr *MockMetadataMockRecorder) GetDoc() *gomock.Call
GetDoc indicates an expected call of GetDoc.
func (*MockMetadataMockRecorder) GetExample ¶
func (mr *MockMetadataMockRecorder) GetExample() *gomock.Call
GetExample indicates an expected call of GetExample.
func (*MockMetadataMockRecorder) GetProtocol ¶
func (mr *MockMetadataMockRecorder) GetProtocol() *gomock.Call
GetProtocol indicates an expected call of GetProtocol.
func (*MockMetadataMockRecorder) GetSince ¶
func (mr *MockMetadataMockRecorder) GetSince() *gomock.Call
GetSince indicates an expected call of GetSince.
func (*MockMetadataMockRecorder) GetTags ¶
func (mr *MockMetadataMockRecorder) GetTags() *gomock.Call
GetTags indicates an expected call of GetTags.
func (*MockMetadataMockRecorder) GetVersion ¶
func (mr *MockMetadataMockRecorder) GetVersion() *gomock.Call
GetVersion indicates an expected call of GetVersion.
func (*MockMetadataMockRecorder) GetVisibility ¶
func (mr *MockMetadataMockRecorder) GetVisibility() *gomock.Call
GetVisibility indicates an expected call of GetVisibility.
func (*MockMetadataMockRecorder) List ¶
func (mr *MockMetadataMockRecorder) List() *gomock.Call
List indicates an expected call of List.
func (*MockMetadataMockRecorder) Merge ¶
func (mr *MockMetadataMockRecorder) Merge(arg0, arg1 any) *gomock.Call
Merge indicates an expected call of Merge.
func (*MockMetadataMockRecorder) Set ¶
func (mr *MockMetadataMockRecorder) Set(arg0, arg1 any) *gomock.Call
Set indicates an expected call of Set.
func (*MockMetadataMockRecorder) SetAuthor ¶
func (mr *MockMetadataMockRecorder) SetAuthor(arg0 any) *gomock.Call
SetAuthor indicates an expected call of SetAuthor.
func (*MockMetadataMockRecorder) SetDeprecated ¶
func (mr *MockMetadataMockRecorder) SetDeprecated(arg0 any) *gomock.Call
SetDeprecated indicates an expected call of SetDeprecated.
func (*MockMetadataMockRecorder) SetDoc ¶
func (mr *MockMetadataMockRecorder) SetDoc(arg0 any) *gomock.Call
SetDoc indicates an expected call of SetDoc.
func (*MockMetadataMockRecorder) SetExample ¶
func (mr *MockMetadataMockRecorder) SetExample(arg0 any) *gomock.Call
SetExample indicates an expected call of SetExample.
func (*MockMetadataMockRecorder) SetProtocol ¶
func (mr *MockMetadataMockRecorder) SetProtocol(arg0 any) *gomock.Call
SetProtocol indicates an expected call of SetProtocol.
func (*MockMetadataMockRecorder) SetSince ¶
func (mr *MockMetadataMockRecorder) SetSince(arg0 any) *gomock.Call
SetSince indicates an expected call of SetSince.
func (*MockMetadataMockRecorder) SetTags ¶
func (mr *MockMetadataMockRecorder) SetTags(arg0 any) *gomock.Call
SetTags indicates an expected call of SetTags.
func (*MockMetadataMockRecorder) SetTagsFromSlice ¶
func (mr *MockMetadataMockRecorder) SetTagsFromSlice(arg0 any) *gomock.Call
SetTagsFromSlice indicates an expected call of SetTagsFromSlice.
func (*MockMetadataMockRecorder) SetVersion ¶
func (mr *MockMetadataMockRecorder) SetVersion(arg0 any) *gomock.Call
SetVersion indicates an expected call of SetVersion.
func (*MockMetadataMockRecorder) SetVisibility ¶
func (mr *MockMetadataMockRecorder) SetVisibility(arg0 any) *gomock.Call
SetVisibility indicates an expected call of SetVisibility.
func (*MockMetadataMockRecorder) Tags ¶
func (mr *MockMetadataMockRecorder) Tags() *gomock.Call
Tags indicates an expected call of Tags.
func (*MockMetadataMockRecorder) TagsNormalised ¶
func (mr *MockMetadataMockRecorder) TagsNormalised() *gomock.Call
TagsNormalised indicates an expected call of TagsNormalised.