Documentation ¶
Overview ¶
Package v1alpha1 is a generated GoMock package.
Index ¶
- type MockRecordGetter
- type MockRecordGetterMockRecorder
- type MockRecordInterface
- func (m *MockRecordInterface) Aggregate(ctx context.Context, aggs v1alpha1.AggregateQuery, opts *v1alpha1.ListOptions) (*v1alpha1.AggregateResult, error)
- func (m *MockRecordInterface) Delete(ctx context.Context, cluster, uid string, opts *v1alpha1.DeleteOption) error
- func (m *MockRecordInterface) DeleteBatch(ctx context.Context, conditions []v1alpha1.Condition, ...) error
- func (m *MockRecordInterface) EXPECT() *MockRecordInterfaceMockRecorder
- func (m *MockRecordInterface) ListRecords(ctx context.Context, query v1alpha1.Query, opts *v1alpha1.ListOptions) (*v1alpha1.RecordList, error)
- func (m *MockRecordInterface) ListRelatedRecords(ctx context.Context, query v1alpha1.Query, opts *v1alpha1.ListOptions) (*v1alpha1.RecordList, error)
- func (m *MockRecordInterface) Upsert(ctx context.Context, record *v1alpha1.Record) error
- type MockRecordInterfaceMockRecorder
- func (mr *MockRecordInterfaceMockRecorder) Aggregate(ctx, aggs, opts interface{}) *gomock.Call
- func (mr *MockRecordInterfaceMockRecorder) Delete(ctx, cluster, uid, opts interface{}) *gomock.Call
- func (mr *MockRecordInterfaceMockRecorder) DeleteBatch(ctx, conditions, opts interface{}) *gomock.Call
- func (mr *MockRecordInterfaceMockRecorder) ListRecords(ctx, query, opts interface{}) *gomock.Call
- func (mr *MockRecordInterfaceMockRecorder) ListRelatedRecords(ctx, query, opts interface{}) *gomock.Call
- func (mr *MockRecordInterfaceMockRecorder) Upsert(ctx, record interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRecordGetter ¶
type MockRecordGetter struct {
// contains filtered or unexported fields
}
MockRecordGetter is a mock of RecordGetter interface.
func NewMockRecordGetter ¶
func NewMockRecordGetter(ctrl *gomock.Controller) *MockRecordGetter
NewMockRecordGetter creates a new mock instance.
func (*MockRecordGetter) EXPECT ¶
func (m *MockRecordGetter) EXPECT() *MockRecordGetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRecordGetter) Record ¶
func (m *MockRecordGetter) Record(pluginName string) v1alpha10.RecordInterface
Record mocks base method.
type MockRecordGetterMockRecorder ¶
type MockRecordGetterMockRecorder struct {
// contains filtered or unexported fields
}
MockRecordGetterMockRecorder is the mock recorder for MockRecordGetter.
func (*MockRecordGetterMockRecorder) Record ¶
func (mr *MockRecordGetterMockRecorder) Record(pluginName interface{}) *gomock.Call
Record indicates an expected call of Record.
type MockRecordInterface ¶
type MockRecordInterface struct {
// contains filtered or unexported fields
}
MockRecordInterface is a mock of RecordInterface interface.
func NewMockRecordInterface ¶
func NewMockRecordInterface(ctrl *gomock.Controller) *MockRecordInterface
NewMockRecordInterface creates a new mock instance.
func (*MockRecordInterface) Aggregate ¶
func (m *MockRecordInterface) Aggregate(ctx context.Context, aggs v1alpha1.AggregateQuery, opts *v1alpha1.ListOptions) (*v1alpha1.AggregateResult, error)
Aggregate mocks base method.
func (*MockRecordInterface) Delete ¶
func (m *MockRecordInterface) Delete(ctx context.Context, cluster, uid string, opts *v1alpha1.DeleteOption) error
Delete mocks base method.
func (*MockRecordInterface) DeleteBatch ¶
func (m *MockRecordInterface) DeleteBatch(ctx context.Context, conditions []v1alpha1.Condition, opts *v1alpha1.DeleteOption) error
DeleteBatch mocks base method.
func (*MockRecordInterface) EXPECT ¶
func (m *MockRecordInterface) EXPECT() *MockRecordInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRecordInterface) ListRecords ¶
func (m *MockRecordInterface) ListRecords(ctx context.Context, query v1alpha1.Query, opts *v1alpha1.ListOptions) (*v1alpha1.RecordList, error)
ListRecords mocks base method.
func (*MockRecordInterface) ListRelatedRecords ¶
func (m *MockRecordInterface) ListRelatedRecords(ctx context.Context, query v1alpha1.Query, opts *v1alpha1.ListOptions) (*v1alpha1.RecordList, error)
ListRelatedRecords mocks base method.
type MockRecordInterfaceMockRecorder ¶
type MockRecordInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockRecordInterfaceMockRecorder is the mock recorder for MockRecordInterface.
func (*MockRecordInterfaceMockRecorder) Aggregate ¶
func (mr *MockRecordInterfaceMockRecorder) Aggregate(ctx, aggs, opts interface{}) *gomock.Call
Aggregate indicates an expected call of Aggregate.
func (*MockRecordInterfaceMockRecorder) Delete ¶
func (mr *MockRecordInterfaceMockRecorder) Delete(ctx, cluster, uid, opts interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockRecordInterfaceMockRecorder) DeleteBatch ¶
func (mr *MockRecordInterfaceMockRecorder) DeleteBatch(ctx, conditions, opts interface{}) *gomock.Call
DeleteBatch indicates an expected call of DeleteBatch.
func (*MockRecordInterfaceMockRecorder) ListRecords ¶
func (mr *MockRecordInterfaceMockRecorder) ListRecords(ctx, query, opts interface{}) *gomock.Call
ListRecords indicates an expected call of ListRecords.
func (*MockRecordInterfaceMockRecorder) ListRelatedRecords ¶
func (mr *MockRecordInterfaceMockRecorder) ListRelatedRecords(ctx, query, opts interface{}) *gomock.Call
ListRelatedRecords indicates an expected call of ListRelatedRecords.
func (*MockRecordInterfaceMockRecorder) Upsert ¶
func (mr *MockRecordInterfaceMockRecorder) Upsert(ctx, record interface{}) *gomock.Call
Upsert indicates an expected call of Upsert.