Documentation ¶
Overview ¶
Package testsuiteexecutions is a generated GoMock package.
Index ¶
- type Interface
- type MockInterface
- func (m *MockInterface) Create(arg0 *v1.TestSuiteExecution) (*v1.TestSuiteExecution, error)
- func (m *MockInterface) Delete(arg0 string) error
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) Get(arg0 string) (*v1.TestSuiteExecution, error)
- func (m *MockInterface) Update(arg0 *v1.TestSuiteExecution) (*v1.TestSuiteExecution, error)
- func (m *MockInterface) UpdateStatus(arg0 *v1.TestSuiteExecution) error
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Delete(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Update(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) UpdateStatus(arg0 interface{}) *gomock.Call
- type TestSuiteExecutionsClient
- func (s TestSuiteExecutionsClient) Create(testSuiteExecution *testsuiteexecutionv1.TestSuiteExecution) (*testsuiteexecutionv1.TestSuiteExecution, error)
- func (s TestSuiteExecutionsClient) Delete(name string) error
- func (s TestSuiteExecutionsClient) Get(name string) (*testsuiteexecutionv1.TestSuiteExecution, error)
- func (s TestSuiteExecutionsClient) Update(testSuiteExecution *testsuiteexecutionv1.TestSuiteExecution) (*testsuiteexecutionv1.TestSuiteExecution, error)
- func (s TestSuiteExecutionsClient) UpdateStatus(testSuiteExecution *testsuiteexecutionv1.TestSuiteExecution) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { Get(name string) (*testsuiteexecutionv1.TestSuiteExecution, error) Create(testSuiteExecution *testsuiteexecutionv1.TestSuiteExecution) (*testsuiteexecutionv1.TestSuiteExecution, error) Update(testSuiteExecution *testsuiteexecutionv1.TestSuiteExecution) (*testsuiteexecutionv1.TestSuiteExecution, error) Delete(name string) error UpdateStatus(testSuiteЕxecution *testsuiteexecutionv1.TestSuiteExecution) error }
type MockInterface ¶
type MockInterface struct {
// contains filtered or unexported fields
}
MockInterface is a mock of Interface interface.
func NewMockInterface ¶
func NewMockInterface(ctrl *gomock.Controller) *MockInterface
NewMockInterface creates a new mock instance.
func (*MockInterface) Create ¶
func (m *MockInterface) Create(arg0 *v1.TestSuiteExecution) (*v1.TestSuiteExecution, error)
Create mocks base method.
func (*MockInterface) Delete ¶
func (m *MockInterface) Delete(arg0 string) error
Delete mocks base method.
func (*MockInterface) EXPECT ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInterface) Get ¶
func (m *MockInterface) Get(arg0 string) (*v1.TestSuiteExecution, error)
Get mocks base method.
func (*MockInterface) Update ¶
func (m *MockInterface) Update(arg0 *v1.TestSuiteExecution) (*v1.TestSuiteExecution, error)
Update mocks base method.
func (*MockInterface) UpdateStatus ¶
func (m *MockInterface) UpdateStatus(arg0 *v1.TestSuiteExecution) error
UpdateStatus mocks base method.
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface.
func (*MockInterfaceMockRecorder) Create ¶
func (mr *MockInterfaceMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockInterfaceMockRecorder) Delete ¶
func (mr *MockInterfaceMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockInterfaceMockRecorder) Get ¶
func (mr *MockInterfaceMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockInterfaceMockRecorder) Update ¶
func (mr *MockInterfaceMockRecorder) Update(arg0 interface{}) *gomock.Call
Update indicates an expected call of Update.
func (*MockInterfaceMockRecorder) UpdateStatus ¶
func (mr *MockInterfaceMockRecorder) UpdateStatus(arg0 interface{}) *gomock.Call
UpdateStatus indicates an expected call of UpdateStatus.
type TestSuiteExecutionsClient ¶
type TestSuiteExecutionsClient struct {
// contains filtered or unexported fields
}
TestSuiteExecutionsClient client for getting test suite executions CRs
func NewClient ¶
func NewClient(client client.Client, namespace string) *TestSuiteExecutionsClient
NewClient returns new client instance, needs kubernetes client to be passed as dependecy
func (TestSuiteExecutionsClient) Create ¶
func (s TestSuiteExecutionsClient) Create(testSuiteExecution *testsuiteexecutionv1.TestSuiteExecution) (*testsuiteexecutionv1.TestSuiteExecution, error)
Create creates new test suite execution CRD
func (TestSuiteExecutionsClient) Delete ¶
func (s TestSuiteExecutionsClient) Delete(name string) error
Delete deletes test suite execution by name
func (TestSuiteExecutionsClient) Get ¶
func (s TestSuiteExecutionsClient) Get(name string) (*testsuiteexecutionv1.TestSuiteExecution, error)
Get gets test suite execution by name in given namespace
func (TestSuiteExecutionsClient) Update ¶
func (s TestSuiteExecutionsClient) Update(testSuiteExecution *testsuiteexecutionv1.TestSuiteExecution) (*testsuiteexecutionv1.TestSuiteExecution, error)
Update updates test suite execution
func (TestSuiteExecutionsClient) UpdateStatus ¶
func (s TestSuiteExecutionsClient) UpdateStatus(testSuiteExecution *testsuiteexecutionv1.TestSuiteExecution) error
UpdateStatus updates existing test suite execution status