mock_v1

package
v0.1.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_v1 is a generated GoMock package.

Index

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

EXPECT returns an object that allows the caller to indicate expected use

func (*MockClientset) Jobs

func (m *MockClientset) Jobs() v1.JobClient

Jobs mocks base method

type MockClientsetMockRecorder

type MockClientsetMockRecorder struct {
	// contains filtered or unexported fields
}

MockClientsetMockRecorder is the mock recorder for MockClientset

func (*MockClientsetMockRecorder) Jobs

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

EXPECT returns an object that allows the caller to indicate expected use

func (*MockJobClient) GetJob

func (m *MockJobClient) GetJob(ctx context.Context, key client.ObjectKey) (*v10.Job, error)

GetJob mocks base method

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.PatchOption) 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.UpdateOption) 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

EXPECT returns an object that allows the caller to indicate expected use

func (*MockJobReader) GetJob

func (m *MockJobReader) GetJob(ctx context.Context, key client.ObjectKey) (*v10.Job, error)

GetJob mocks base method

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

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.PatchOption) error

PatchJobStatus mocks base method

func (*MockJobStatusWriter) UpdateJobStatus

func (m *MockJobStatusWriter) UpdateJobStatus(ctx context.Context, obj *v10.Job, opts ...client.UpdateOption) 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

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

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL