Documentation
¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: github.com/unikorn-cloud/region/pkg/providers/types (interfaces: ImageQuery)
Generated by this command:
mockgen -destination=queryinterfaces.go -package=mock github.com/unikorn-cloud/region/pkg/providers/types ImageQuery
Package mock is a generated GoMock package.
Index ¶
- type MockImageQuery
- func (m *MockImageQuery) AvailableToOrganization(arg0 ...string) types.ImageQuery
- func (m *MockImageQuery) EXPECT() *MockImageQueryMockRecorder
- func (m *MockImageQuery) List(arg0 context.Context) (types.ImageList, error)
- func (m *MockImageQuery) OwnedByOrganization(arg0 ...string) types.ImageQuery
- func (m *MockImageQuery) StatusIn(arg0 ...types.ImageStatus) types.ImageQuery
- type MockImageQueryMockRecorder
- func (mr *MockImageQueryMockRecorder) AvailableToOrganization(arg0 ...any) *gomock.Call
- func (mr *MockImageQueryMockRecorder) List(arg0 any) *gomock.Call
- func (mr *MockImageQueryMockRecorder) OwnedByOrganization(arg0 ...any) *gomock.Call
- func (mr *MockImageQueryMockRecorder) StatusIn(arg0 ...any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockImageQuery ¶ added in v1.14.0
type MockImageQuery struct {
// contains filtered or unexported fields
}
MockImageQuery is a mock of ImageQuery interface.
func NewMockImageQuery ¶ added in v1.14.0
func NewMockImageQuery(ctrl *gomock.Controller) *MockImageQuery
NewMockImageQuery creates a new mock instance.
func (*MockImageQuery) AvailableToOrganization ¶ added in v1.14.0
func (m *MockImageQuery) AvailableToOrganization(arg0 ...string) types.ImageQuery
AvailableToOrganization mocks base method.
func (*MockImageQuery) EXPECT ¶ added in v1.14.0
func (m *MockImageQuery) EXPECT() *MockImageQueryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockImageQuery) OwnedByOrganization ¶ added in v1.14.0
func (m *MockImageQuery) OwnedByOrganization(arg0 ...string) types.ImageQuery
OwnedByOrganization mocks base method.
func (*MockImageQuery) StatusIn ¶ added in v1.14.0
func (m *MockImageQuery) StatusIn(arg0 ...types.ImageStatus) types.ImageQuery
StatusIn mocks base method.
type MockImageQueryMockRecorder ¶ added in v1.14.0
type MockImageQueryMockRecorder struct {
// contains filtered or unexported fields
}
MockImageQueryMockRecorder is the mock recorder for MockImageQuery.
func (*MockImageQueryMockRecorder) AvailableToOrganization ¶ added in v1.14.0
func (mr *MockImageQueryMockRecorder) AvailableToOrganization(arg0 ...any) *gomock.Call
AvailableToOrganization indicates an expected call of AvailableToOrganization.
func (*MockImageQueryMockRecorder) List ¶ added in v1.14.0
func (mr *MockImageQueryMockRecorder) List(arg0 any) *gomock.Call
List indicates an expected call of List.
func (*MockImageQueryMockRecorder) OwnedByOrganization ¶ added in v1.14.0
func (mr *MockImageQueryMockRecorder) OwnedByOrganization(arg0 ...any) *gomock.Call
OwnedByOrganization indicates an expected call of OwnedByOrganization.