mocks
mock_metadata
import "github.com/cloudfoundry/go-cf-api/internal/apicommon/v3/metadata/mocks"
Package mock_metadata is a generated GoMock package.
Package mock_metadata is a generated GoMock package.
Index
- type MockLabelSelectorFilters
- type MockLabelSelectorFiltersMockRecorder
- type MockLabelSelectorParser
- type MockLabelSelectorParserMockRecorder
type MockLabelSelectorFilters
MockLabelSelectorFilters is a mock of LabelSelectorFilters interface.
type MockLabelSelectorFilters struct {
ctrl *gomock.Controller
recorder *MockLabelSelectorFiltersMockRecorder
}
func NewMockLabelSelectorFilters
func NewMockLabelSelectorFilters(ctrl *gomock.Controller) *MockLabelSelectorFilters
NewMockLabelSelectorFilters creates a new mock instance.
func (*MockLabelSelectorFilters) EXPECT
func (m *MockLabelSelectorFilters) EXPECT() *MockLabelSelectorFiltersMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLabelSelectorFilters) Filters
func (m *MockLabelSelectorFilters) Filters(resourceTable, labelsTable string) []qm.QueryMod
Filters mocks base method.
type MockLabelSelectorFiltersMockRecorder
MockLabelSelectorFiltersMockRecorder is the mock recorder for MockLabelSelectorFilters.
type MockLabelSelectorFiltersMockRecorder struct {
mock *MockLabelSelectorFilters
}
func (*MockLabelSelectorFiltersMockRecorder) Filters
func (mr *MockLabelSelectorFiltersMockRecorder) Filters(resourceTable, labelsTable interface{}) *gomock.Call
Filters indicates an expected call of Filters.
type MockLabelSelectorParser
MockLabelSelectorParser is a mock of LabelSelectorParser interface.
type MockLabelSelectorParser struct {
ctrl *gomock.Controller
recorder *MockLabelSelectorParserMockRecorder
}
func NewMockLabelSelectorParser
func NewMockLabelSelectorParser(ctrl *gomock.Controller) *MockLabelSelectorParser
NewMockLabelSelectorParser creates a new mock instance.
func (*MockLabelSelectorParser) EXPECT
func (m *MockLabelSelectorParser) EXPECT() *MockLabelSelectorParserMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLabelSelectorParser) Parse
func (m *MockLabelSelectorParser) Parse(labelSelector string) (metadata.LabelSelectorFilters, error)
Parse mocks base method.
type MockLabelSelectorParserMockRecorder
MockLabelSelectorParserMockRecorder is the mock recorder for MockLabelSelectorParser.
type MockLabelSelectorParserMockRecorder struct {
mock *MockLabelSelectorParser
}
func (*MockLabelSelectorParserMockRecorder) Parse
func (mr *MockLabelSelectorParserMockRecorder) Parse(labelSelector interface{}) *gomock.Call
Parse indicates an expected call of Parse.
Generated by gomarkdoc