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