Documentation ¶
Overview ¶
Package mock_v1 is a generated GoMock package.
Index ¶
- type MockClientset
- type MockClientsetMockRecorder
- type MockJobClient
- func (m *MockJobClient) CreateJob(ctx context.Context, obj *v10.Job, opts ...client.CreateOption) error
- func (m *MockJobClient) DeleteAllOfJob(ctx context.Context, opts ...client.DeleteAllOfOption) error
- func (m *MockJobClient) DeleteJob(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error
- func (m *MockJobClient) EXPECT() *MockJobClientMockRecorder
- func (m *MockJobClient) GetJob(ctx context.Context, key client.ObjectKey) (*v10.Job, error)
- func (m *MockJobClient) ListJob(ctx context.Context, opts ...client.ListOption) (*v10.JobList, error)
- func (m *MockJobClient) PatchJob(ctx context.Context, obj *v10.Job, patch client.Patch, ...) error
- func (m *MockJobClient) PatchJobStatus(ctx context.Context, obj *v10.Job, patch client.Patch, ...) error
- func (m *MockJobClient) UpdateJob(ctx context.Context, obj *v10.Job, opts ...client.UpdateOption) error
- func (m *MockJobClient) UpdateJobStatus(ctx context.Context, obj *v10.Job, opts ...client.SubResourceUpdateOption) error
- func (m *MockJobClient) UpsertJob(ctx context.Context, obj *v10.Job, transitionFuncs ...v1.JobTransitionFunction) error
- type MockJobClientMockRecorder
- func (mr *MockJobClientMockRecorder) CreateJob(ctx, obj interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockJobClientMockRecorder) DeleteAllOfJob(ctx interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockJobClientMockRecorder) DeleteJob(ctx, key interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockJobClientMockRecorder) GetJob(ctx, key interface{}) *gomock.Call
- func (mr *MockJobClientMockRecorder) ListJob(ctx interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockJobClientMockRecorder) PatchJob(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockJobClientMockRecorder) PatchJobStatus(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockJobClientMockRecorder) UpdateJob(ctx, obj interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockJobClientMockRecorder) UpdateJobStatus(ctx, obj interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockJobClientMockRecorder) UpsertJob(ctx, obj interface{}, transitionFuncs ...interface{}) *gomock.Call
- type MockJobReader
- type MockJobReaderMockRecorder
- type MockJobStatusWriter
- func (m *MockJobStatusWriter) EXPECT() *MockJobStatusWriterMockRecorder
- func (m *MockJobStatusWriter) PatchJobStatus(ctx context.Context, obj *v10.Job, patch client.Patch, ...) error
- func (m *MockJobStatusWriter) UpdateJobStatus(ctx context.Context, obj *v10.Job, opts ...client.SubResourceUpdateOption) error
- type MockJobStatusWriterMockRecorder
- type MockJobWriter
- func (m *MockJobWriter) CreateJob(ctx context.Context, obj *v10.Job, opts ...client.CreateOption) error
- func (m *MockJobWriter) DeleteAllOfJob(ctx context.Context, opts ...client.DeleteAllOfOption) error
- func (m *MockJobWriter) DeleteJob(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error
- func (m *MockJobWriter) EXPECT() *MockJobWriterMockRecorder
- func (m *MockJobWriter) PatchJob(ctx context.Context, obj *v10.Job, patch client.Patch, ...) error
- func (m *MockJobWriter) UpdateJob(ctx context.Context, obj *v10.Job, opts ...client.UpdateOption) error
- func (m *MockJobWriter) UpsertJob(ctx context.Context, obj *v10.Job, transitionFuncs ...v1.JobTransitionFunction) error
- type MockJobWriterMockRecorder
- func (mr *MockJobWriterMockRecorder) CreateJob(ctx, obj interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockJobWriterMockRecorder) DeleteAllOfJob(ctx interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockJobWriterMockRecorder) DeleteJob(ctx, key interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockJobWriterMockRecorder) PatchJob(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockJobWriterMockRecorder) UpdateJob(ctx, obj interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockJobWriterMockRecorder) UpsertJob(ctx, obj interface{}, transitionFuncs ...interface{}) *gomock.Call
- type MockMulticlusterClientset
- type MockMulticlusterClientsetMockRecorder
- type MockMulticlusterJobClient
- type MockMulticlusterJobClientMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClientset ¶
type MockClientset struct {
// contains filtered or unexported fields
}
MockClientset is a mock of Clientset interface.
func NewMockClientset ¶
func NewMockClientset(ctrl *gomock.Controller) *MockClientset
NewMockClientset creates a new mock instance.
func (*MockClientset) EXPECT ¶
func (m *MockClientset) EXPECT() *MockClientsetMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockClientsetMockRecorder ¶
type MockClientsetMockRecorder struct {
// contains filtered or unexported fields
}
MockClientsetMockRecorder is the mock recorder for MockClientset.
func (*MockClientsetMockRecorder) Jobs ¶
func (mr *MockClientsetMockRecorder) Jobs() *gomock.Call
Jobs indicates an expected call of Jobs.
type MockJobClient ¶
type MockJobClient struct {
// contains filtered or unexported fields
}
MockJobClient is a mock of JobClient interface.
func NewMockJobClient ¶
func NewMockJobClient(ctrl *gomock.Controller) *MockJobClient
NewMockJobClient creates a new mock instance.
func (*MockJobClient) CreateJob ¶
func (m *MockJobClient) CreateJob(ctx context.Context, obj *v10.Job, opts ...client.CreateOption) error
CreateJob mocks base method.
func (*MockJobClient) DeleteAllOfJob ¶
func (m *MockJobClient) DeleteAllOfJob(ctx context.Context, opts ...client.DeleteAllOfOption) error
DeleteAllOfJob mocks base method.
func (*MockJobClient) DeleteJob ¶
func (m *MockJobClient) DeleteJob(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error
DeleteJob mocks base method.
func (*MockJobClient) EXPECT ¶
func (m *MockJobClient) EXPECT() *MockJobClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockJobClient) ListJob ¶
func (m *MockJobClient) ListJob(ctx context.Context, opts ...client.ListOption) (*v10.JobList, error)
ListJob mocks base method.
func (*MockJobClient) PatchJob ¶
func (m *MockJobClient) PatchJob(ctx context.Context, obj *v10.Job, patch client.Patch, opts ...client.PatchOption) error
PatchJob mocks base method.
func (*MockJobClient) PatchJobStatus ¶
func (m *MockJobClient) PatchJobStatus(ctx context.Context, obj *v10.Job, patch client.Patch, opts ...client.SubResourcePatchOption) error
PatchJobStatus mocks base method.
func (*MockJobClient) UpdateJob ¶
func (m *MockJobClient) UpdateJob(ctx context.Context, obj *v10.Job, opts ...client.UpdateOption) error
UpdateJob mocks base method.
func (*MockJobClient) UpdateJobStatus ¶
func (m *MockJobClient) UpdateJobStatus(ctx context.Context, obj *v10.Job, opts ...client.SubResourceUpdateOption) error
UpdateJobStatus mocks base method.
func (*MockJobClient) UpsertJob ¶
func (m *MockJobClient) UpsertJob(ctx context.Context, obj *v10.Job, transitionFuncs ...v1.JobTransitionFunction) error
UpsertJob mocks base method.
type MockJobClientMockRecorder ¶
type MockJobClientMockRecorder struct {
// contains filtered or unexported fields
}
MockJobClientMockRecorder is the mock recorder for MockJobClient.
func (*MockJobClientMockRecorder) CreateJob ¶
func (mr *MockJobClientMockRecorder) CreateJob(ctx, obj interface{}, opts ...interface{}) *gomock.Call
CreateJob indicates an expected call of CreateJob.
func (*MockJobClientMockRecorder) DeleteAllOfJob ¶
func (mr *MockJobClientMockRecorder) DeleteAllOfJob(ctx interface{}, opts ...interface{}) *gomock.Call
DeleteAllOfJob indicates an expected call of DeleteAllOfJob.
func (*MockJobClientMockRecorder) DeleteJob ¶
func (mr *MockJobClientMockRecorder) DeleteJob(ctx, key interface{}, opts ...interface{}) *gomock.Call
DeleteJob indicates an expected call of DeleteJob.
func (*MockJobClientMockRecorder) GetJob ¶
func (mr *MockJobClientMockRecorder) GetJob(ctx, key interface{}) *gomock.Call
GetJob indicates an expected call of GetJob.
func (*MockJobClientMockRecorder) ListJob ¶
func (mr *MockJobClientMockRecorder) ListJob(ctx interface{}, opts ...interface{}) *gomock.Call
ListJob indicates an expected call of ListJob.
func (*MockJobClientMockRecorder) PatchJob ¶
func (mr *MockJobClientMockRecorder) PatchJob(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call
PatchJob indicates an expected call of PatchJob.
func (*MockJobClientMockRecorder) PatchJobStatus ¶
func (mr *MockJobClientMockRecorder) PatchJobStatus(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call
PatchJobStatus indicates an expected call of PatchJobStatus.
func (*MockJobClientMockRecorder) UpdateJob ¶
func (mr *MockJobClientMockRecorder) UpdateJob(ctx, obj interface{}, opts ...interface{}) *gomock.Call
UpdateJob indicates an expected call of UpdateJob.
func (*MockJobClientMockRecorder) UpdateJobStatus ¶
func (mr *MockJobClientMockRecorder) UpdateJobStatus(ctx, obj interface{}, opts ...interface{}) *gomock.Call
UpdateJobStatus indicates an expected call of UpdateJobStatus.
func (*MockJobClientMockRecorder) UpsertJob ¶
func (mr *MockJobClientMockRecorder) UpsertJob(ctx, obj interface{}, transitionFuncs ...interface{}) *gomock.Call
UpsertJob indicates an expected call of UpsertJob.
type MockJobReader ¶
type MockJobReader struct {
// contains filtered or unexported fields
}
MockJobReader is a mock of JobReader interface.
func NewMockJobReader ¶
func NewMockJobReader(ctrl *gomock.Controller) *MockJobReader
NewMockJobReader creates a new mock instance.
func (*MockJobReader) EXPECT ¶
func (m *MockJobReader) EXPECT() *MockJobReaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockJobReader) ListJob ¶
func (m *MockJobReader) ListJob(ctx context.Context, opts ...client.ListOption) (*v10.JobList, error)
ListJob mocks base method.
type MockJobReaderMockRecorder ¶
type MockJobReaderMockRecorder struct {
// contains filtered or unexported fields
}
MockJobReaderMockRecorder is the mock recorder for MockJobReader.
func (*MockJobReaderMockRecorder) GetJob ¶
func (mr *MockJobReaderMockRecorder) GetJob(ctx, key interface{}) *gomock.Call
GetJob indicates an expected call of GetJob.
func (*MockJobReaderMockRecorder) ListJob ¶
func (mr *MockJobReaderMockRecorder) ListJob(ctx interface{}, opts ...interface{}) *gomock.Call
ListJob indicates an expected call of ListJob.
type MockJobStatusWriter ¶
type MockJobStatusWriter struct {
// contains filtered or unexported fields
}
MockJobStatusWriter is a mock of JobStatusWriter interface.
func NewMockJobStatusWriter ¶
func NewMockJobStatusWriter(ctrl *gomock.Controller) *MockJobStatusWriter
NewMockJobStatusWriter creates a new mock instance.
func (*MockJobStatusWriter) EXPECT ¶
func (m *MockJobStatusWriter) EXPECT() *MockJobStatusWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockJobStatusWriter) PatchJobStatus ¶
func (m *MockJobStatusWriter) PatchJobStatus(ctx context.Context, obj *v10.Job, patch client.Patch, opts ...client.SubResourcePatchOption) error
PatchJobStatus mocks base method.
func (*MockJobStatusWriter) UpdateJobStatus ¶
func (m *MockJobStatusWriter) UpdateJobStatus(ctx context.Context, obj *v10.Job, opts ...client.SubResourceUpdateOption) error
UpdateJobStatus mocks base method.
type MockJobStatusWriterMockRecorder ¶
type MockJobStatusWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockJobStatusWriterMockRecorder is the mock recorder for MockJobStatusWriter.
func (*MockJobStatusWriterMockRecorder) PatchJobStatus ¶
func (mr *MockJobStatusWriterMockRecorder) PatchJobStatus(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call
PatchJobStatus indicates an expected call of PatchJobStatus.
func (*MockJobStatusWriterMockRecorder) UpdateJobStatus ¶
func (mr *MockJobStatusWriterMockRecorder) UpdateJobStatus(ctx, obj interface{}, opts ...interface{}) *gomock.Call
UpdateJobStatus indicates an expected call of UpdateJobStatus.
type MockJobWriter ¶
type MockJobWriter struct {
// contains filtered or unexported fields
}
MockJobWriter is a mock of JobWriter interface.
func NewMockJobWriter ¶
func NewMockJobWriter(ctrl *gomock.Controller) *MockJobWriter
NewMockJobWriter creates a new mock instance.
func (*MockJobWriter) CreateJob ¶
func (m *MockJobWriter) CreateJob(ctx context.Context, obj *v10.Job, opts ...client.CreateOption) error
CreateJob mocks base method.
func (*MockJobWriter) DeleteAllOfJob ¶
func (m *MockJobWriter) DeleteAllOfJob(ctx context.Context, opts ...client.DeleteAllOfOption) error
DeleteAllOfJob mocks base method.
func (*MockJobWriter) DeleteJob ¶
func (m *MockJobWriter) DeleteJob(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error
DeleteJob mocks base method.
func (*MockJobWriter) EXPECT ¶
func (m *MockJobWriter) EXPECT() *MockJobWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockJobWriter) PatchJob ¶
func (m *MockJobWriter) PatchJob(ctx context.Context, obj *v10.Job, patch client.Patch, opts ...client.PatchOption) error
PatchJob mocks base method.
func (*MockJobWriter) UpdateJob ¶
func (m *MockJobWriter) UpdateJob(ctx context.Context, obj *v10.Job, opts ...client.UpdateOption) error
UpdateJob mocks base method.
func (*MockJobWriter) UpsertJob ¶
func (m *MockJobWriter) UpsertJob(ctx context.Context, obj *v10.Job, transitionFuncs ...v1.JobTransitionFunction) error
UpsertJob mocks base method.
type MockJobWriterMockRecorder ¶
type MockJobWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockJobWriterMockRecorder is the mock recorder for MockJobWriter.
func (*MockJobWriterMockRecorder) CreateJob ¶
func (mr *MockJobWriterMockRecorder) CreateJob(ctx, obj interface{}, opts ...interface{}) *gomock.Call
CreateJob indicates an expected call of CreateJob.
func (*MockJobWriterMockRecorder) DeleteAllOfJob ¶
func (mr *MockJobWriterMockRecorder) DeleteAllOfJob(ctx interface{}, opts ...interface{}) *gomock.Call
DeleteAllOfJob indicates an expected call of DeleteAllOfJob.
func (*MockJobWriterMockRecorder) DeleteJob ¶
func (mr *MockJobWriterMockRecorder) DeleteJob(ctx, key interface{}, opts ...interface{}) *gomock.Call
DeleteJob indicates an expected call of DeleteJob.
func (*MockJobWriterMockRecorder) PatchJob ¶
func (mr *MockJobWriterMockRecorder) PatchJob(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call
PatchJob indicates an expected call of PatchJob.
func (*MockJobWriterMockRecorder) UpdateJob ¶
func (mr *MockJobWriterMockRecorder) UpdateJob(ctx, obj interface{}, opts ...interface{}) *gomock.Call
UpdateJob indicates an expected call of UpdateJob.
func (*MockJobWriterMockRecorder) UpsertJob ¶
func (mr *MockJobWriterMockRecorder) UpsertJob(ctx, obj interface{}, transitionFuncs ...interface{}) *gomock.Call
UpsertJob indicates an expected call of UpsertJob.
type MockMulticlusterClientset ¶
type MockMulticlusterClientset struct {
// contains filtered or unexported fields
}
MockMulticlusterClientset is a mock of MulticlusterClientset interface.
func NewMockMulticlusterClientset ¶
func NewMockMulticlusterClientset(ctrl *gomock.Controller) *MockMulticlusterClientset
NewMockMulticlusterClientset creates a new mock instance.
func (*MockMulticlusterClientset) Cluster ¶
func (m *MockMulticlusterClientset) Cluster(cluster string) (v1.Clientset, error)
Cluster mocks base method.
func (*MockMulticlusterClientset) EXPECT ¶
func (m *MockMulticlusterClientset) EXPECT() *MockMulticlusterClientsetMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockMulticlusterClientsetMockRecorder ¶
type MockMulticlusterClientsetMockRecorder struct {
// contains filtered or unexported fields
}
MockMulticlusterClientsetMockRecorder is the mock recorder for MockMulticlusterClientset.
func (*MockMulticlusterClientsetMockRecorder) Cluster ¶
func (mr *MockMulticlusterClientsetMockRecorder) Cluster(cluster interface{}) *gomock.Call
Cluster indicates an expected call of Cluster.
type MockMulticlusterJobClient ¶
type MockMulticlusterJobClient struct {
// contains filtered or unexported fields
}
MockMulticlusterJobClient is a mock of MulticlusterJobClient interface.
func NewMockMulticlusterJobClient ¶
func NewMockMulticlusterJobClient(ctrl *gomock.Controller) *MockMulticlusterJobClient
NewMockMulticlusterJobClient creates a new mock instance.
func (*MockMulticlusterJobClient) Cluster ¶
func (m *MockMulticlusterJobClient) Cluster(cluster string) (v1.JobClient, error)
Cluster mocks base method.
func (*MockMulticlusterJobClient) EXPECT ¶
func (m *MockMulticlusterJobClient) EXPECT() *MockMulticlusterJobClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockMulticlusterJobClientMockRecorder ¶
type MockMulticlusterJobClientMockRecorder struct {
// contains filtered or unexported fields
}
MockMulticlusterJobClientMockRecorder is the mock recorder for MockMulticlusterJobClient.
func (*MockMulticlusterJobClientMockRecorder) Cluster ¶
func (mr *MockMulticlusterJobClientMockRecorder) Cluster(cluster interface{}) *gomock.Call
Cluster indicates an expected call of Cluster.