Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) CreateMPIJob(job *v1.MPIJob) error
- func (m *MockClient) CreatePaddleJob(job *v1.PaddleJob) error
- func (m *MockClient) CreatePytorchJob(job *v1.PyTorchJob) error
- func (m *MockClient) CreateTFJob(job *v1.TFJob) error
- func (m *MockClient) CreateXGBoostJob(job *v1.XGBoostJob) error
- func (m *MockClient) DeleteMPIJob(namespace, name string) error
- func (m *MockClient) DeletePaddleJob(namespace, name string) error
- func (m *MockClient) DeletePytorchJob(namespace, name string) error
- func (m *MockClient) DeleteTFJob(namespace, name string) error
- func (m *MockClient) DeleteXGBoostJob(namespace, name string) error
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) GetMPIJob(namespace, name string) (*v1.MPIJob, error)
- func (m *MockClient) GetPaddleJob(namespace, name string) (*v1.PaddleJob, error)
- func (m *MockClient) GetPytorchJob(namespace, name string) (*v1.PyTorchJob, error)
- func (m *MockClient) GetTFJob(namespace, name string) (*v1.TFJob, error)
- func (m *MockClient) GetXGBoostJob(namespace, name string) (*v1.XGBoostJob, error)
- func (m *MockClient) UpdateMPIJob(namespace, name string, job *v1.MPIJob, data []byte) error
- func (m *MockClient) UpdatePaddleJob(namespace, name string, job *v1.PaddleJob, data []byte) error
- func (m *MockClient) UpdatePytorchJob(namespace, name string, job *v1.PyTorchJob, data []byte) error
- func (m *MockClient) UpdateTFJob(namespace, name string, job *v1.TFJob, data []byte) error
- func (m *MockClient) UpdateXGBoostJob(namespace, name string, job *v1.XGBoostJob, data []byte) error
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) CreateMPIJob(job interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreatePaddleJob(job interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreatePytorchJob(job interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreateTFJob(job interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreateXGBoostJob(job interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteMPIJob(namespace, name interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeletePaddleJob(namespace, name interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeletePytorchJob(namespace, name interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteTFJob(namespace, name interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteXGBoostJob(namespace, name interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetMPIJob(namespace, name interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPaddleJob(namespace, name interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPytorchJob(namespace, name interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetTFJob(namespace, name interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetXGBoostJob(namespace, name interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateMPIJob(namespace, name, job, data interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdatePaddleJob(namespace, name, job, data interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdatePytorchJob(namespace, name, job, data interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateTFJob(namespace, name, job, data interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateXGBoostJob(namespace, name, job, data interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface.
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance.
func (*MockClient) CreateMPIJob ¶
func (m *MockClient) CreateMPIJob(job *v1.MPIJob) error
CreateMPIJob mocks base method.
func (*MockClient) CreatePaddleJob ¶
func (m *MockClient) CreatePaddleJob(job *v1.PaddleJob) error
CreatePaddleJob mocks base method.
func (*MockClient) CreatePytorchJob ¶
func (m *MockClient) CreatePytorchJob(job *v1.PyTorchJob) error
CreatePytorchJob mocks base method.
func (*MockClient) CreateTFJob ¶
func (m *MockClient) CreateTFJob(job *v1.TFJob) error
CreateTFJob mocks base method.
func (*MockClient) CreateXGBoostJob ¶
func (m *MockClient) CreateXGBoostJob(job *v1.XGBoostJob) error
CreateXGBoostJob mocks base method.
func (*MockClient) DeleteMPIJob ¶
func (m *MockClient) DeleteMPIJob(namespace, name string) error
DeleteMPIJob mocks base method.
func (*MockClient) DeletePaddleJob ¶
func (m *MockClient) DeletePaddleJob(namespace, name string) error
DeletePaddleJob mocks base method.
func (*MockClient) DeletePytorchJob ¶
func (m *MockClient) DeletePytorchJob(namespace, name string) error
DeletePytorchJob mocks base method.
func (*MockClient) DeleteTFJob ¶
func (m *MockClient) DeleteTFJob(namespace, name string) error
DeleteTFJob mocks base method.
func (*MockClient) DeleteXGBoostJob ¶
func (m *MockClient) DeleteXGBoostJob(namespace, name string) error
DeleteXGBoostJob mocks base method.
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) GetMPIJob ¶
func (m *MockClient) GetMPIJob(namespace, name string) (*v1.MPIJob, error)
GetMPIJob mocks base method.
func (*MockClient) GetPaddleJob ¶
func (m *MockClient) GetPaddleJob(namespace, name string) (*v1.PaddleJob, error)
GetPaddleJob mocks base method.
func (*MockClient) GetPytorchJob ¶
func (m *MockClient) GetPytorchJob(namespace, name string) (*v1.PyTorchJob, error)
GetPytorchJob mocks base method.
func (*MockClient) GetTFJob ¶
func (m *MockClient) GetTFJob(namespace, name string) (*v1.TFJob, error)
GetTFJob mocks base method.
func (*MockClient) GetXGBoostJob ¶
func (m *MockClient) GetXGBoostJob(namespace, name string) (*v1.XGBoostJob, error)
GetXGBoostJob mocks base method.
func (*MockClient) UpdateMPIJob ¶
UpdateMPIJob mocks base method.
func (*MockClient) UpdatePaddleJob ¶
UpdatePaddleJob mocks base method.
func (*MockClient) UpdatePytorchJob ¶
func (m *MockClient) UpdatePytorchJob(namespace, name string, job *v1.PyTorchJob, data []byte) error
UpdatePytorchJob mocks base method.
func (*MockClient) UpdateTFJob ¶
UpdateTFJob mocks base method.
func (*MockClient) UpdateXGBoostJob ¶
func (m *MockClient) UpdateXGBoostJob(namespace, name string, job *v1.XGBoostJob, data []byte) error
UpdateXGBoostJob mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) CreateMPIJob ¶
func (mr *MockClientMockRecorder) CreateMPIJob(job interface{}) *gomock.Call
CreateMPIJob indicates an expected call of CreateMPIJob.
func (*MockClientMockRecorder) CreatePaddleJob ¶
func (mr *MockClientMockRecorder) CreatePaddleJob(job interface{}) *gomock.Call
CreatePaddleJob indicates an expected call of CreatePaddleJob.
func (*MockClientMockRecorder) CreatePytorchJob ¶
func (mr *MockClientMockRecorder) CreatePytorchJob(job interface{}) *gomock.Call
CreatePytorchJob indicates an expected call of CreatePytorchJob.
func (*MockClientMockRecorder) CreateTFJob ¶
func (mr *MockClientMockRecorder) CreateTFJob(job interface{}) *gomock.Call
CreateTFJob indicates an expected call of CreateTFJob.
func (*MockClientMockRecorder) CreateXGBoostJob ¶
func (mr *MockClientMockRecorder) CreateXGBoostJob(job interface{}) *gomock.Call
CreateXGBoostJob indicates an expected call of CreateXGBoostJob.
func (*MockClientMockRecorder) DeleteMPIJob ¶
func (mr *MockClientMockRecorder) DeleteMPIJob(namespace, name interface{}) *gomock.Call
DeleteMPIJob indicates an expected call of DeleteMPIJob.
func (*MockClientMockRecorder) DeletePaddleJob ¶
func (mr *MockClientMockRecorder) DeletePaddleJob(namespace, name interface{}) *gomock.Call
DeletePaddleJob indicates an expected call of DeletePaddleJob.
func (*MockClientMockRecorder) DeletePytorchJob ¶
func (mr *MockClientMockRecorder) DeletePytorchJob(namespace, name interface{}) *gomock.Call
DeletePytorchJob indicates an expected call of DeletePytorchJob.
func (*MockClientMockRecorder) DeleteTFJob ¶
func (mr *MockClientMockRecorder) DeleteTFJob(namespace, name interface{}) *gomock.Call
DeleteTFJob indicates an expected call of DeleteTFJob.
func (*MockClientMockRecorder) DeleteXGBoostJob ¶
func (mr *MockClientMockRecorder) DeleteXGBoostJob(namespace, name interface{}) *gomock.Call
DeleteXGBoostJob indicates an expected call of DeleteXGBoostJob.
func (*MockClientMockRecorder) GetMPIJob ¶
func (mr *MockClientMockRecorder) GetMPIJob(namespace, name interface{}) *gomock.Call
GetMPIJob indicates an expected call of GetMPIJob.
func (*MockClientMockRecorder) GetPaddleJob ¶
func (mr *MockClientMockRecorder) GetPaddleJob(namespace, name interface{}) *gomock.Call
GetPaddleJob indicates an expected call of GetPaddleJob.
func (*MockClientMockRecorder) GetPytorchJob ¶
func (mr *MockClientMockRecorder) GetPytorchJob(namespace, name interface{}) *gomock.Call
GetPytorchJob indicates an expected call of GetPytorchJob.
func (*MockClientMockRecorder) GetTFJob ¶
func (mr *MockClientMockRecorder) GetTFJob(namespace, name interface{}) *gomock.Call
GetTFJob indicates an expected call of GetTFJob.
func (*MockClientMockRecorder) GetXGBoostJob ¶
func (mr *MockClientMockRecorder) GetXGBoostJob(namespace, name interface{}) *gomock.Call
GetXGBoostJob indicates an expected call of GetXGBoostJob.
func (*MockClientMockRecorder) UpdateMPIJob ¶
func (mr *MockClientMockRecorder) UpdateMPIJob(namespace, name, job, data interface{}) *gomock.Call
UpdateMPIJob indicates an expected call of UpdateMPIJob.
func (*MockClientMockRecorder) UpdatePaddleJob ¶
func (mr *MockClientMockRecorder) UpdatePaddleJob(namespace, name, job, data interface{}) *gomock.Call
UpdatePaddleJob indicates an expected call of UpdatePaddleJob.
func (*MockClientMockRecorder) UpdatePytorchJob ¶
func (mr *MockClientMockRecorder) UpdatePytorchJob(namespace, name, job, data interface{}) *gomock.Call
UpdatePytorchJob indicates an expected call of UpdatePytorchJob.
func (*MockClientMockRecorder) UpdateTFJob ¶
func (mr *MockClientMockRecorder) UpdateTFJob(namespace, name, job, data interface{}) *gomock.Call
UpdateTFJob indicates an expected call of UpdateTFJob.
func (*MockClientMockRecorder) UpdateXGBoostJob ¶
func (mr *MockClientMockRecorder) UpdateXGBoostJob(namespace, name, job, data interface{}) *gomock.Call
UpdateXGBoostJob indicates an expected call of UpdateXGBoostJob.