Documentation ¶
Index ¶
- type MockClient
- func (m *MockClient) Create(job *batch.Job) (*batch.Job, error)
- func (m *MockClient) Delete(name string, options *api.DeleteOptions) error
- func (m *MockClient) Get(name string) (*batch.Job, error)
- func (m *MockClient) List(opts api.ListOptions) (*batch.JobList, error)
- func (m *MockClient) Update(job *batch.Job) (*batch.Job, error)
- func (m *MockClient) UpdateStatus(job *batch.Job) (*batch.Job, error)
- func (m *MockClient) Watch(opts api.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
func NewMockClient ¶
func NewMockClient() *MockClient
func (*MockClient) Delete ¶
func (m *MockClient) Delete(name string, options *api.DeleteOptions) error
func (*MockClient) List ¶
func (m *MockClient) List(opts api.ListOptions) (*batch.JobList, error)
func (*MockClient) UpdateStatus ¶
func (*MockClient) Watch ¶
func (m *MockClient) Watch(opts api.ListOptions) (watch.Interface, error)
Click to show internal directories.
Click to hide internal directories.