testexecutions

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package testexecutions is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	Get(name string) (*testexecutionv1.TestExecution, error)
	Create(testExecution *testexecutionv1.TestExecution) (*testexecutionv1.TestExecution, error)
	Update(testExecution *testexecutionv1.TestExecution) (*testexecutionv1.TestExecution, error)
	Delete(name string) error
	UpdateStatus(testЕxecution *testexecutionv1.TestExecution) 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.TestExecution) (*v1.TestExecution, error)

Create mocks base method.

func (*MockInterface) Delete

func (m *MockInterface) Delete(arg0 string) error

Delete mocks base method.

func (*MockInterface) EXPECT

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

func (*MockInterface) Get

func (m *MockInterface) Get(arg0 string) (*v1.TestExecution, error)

Get mocks base method.

func (*MockInterface) Update

func (m *MockInterface) Update(arg0 *v1.TestExecution) (*v1.TestExecution, error)

Update mocks base method.

func (*MockInterface) UpdateStatus

func (m *MockInterface) UpdateStatus(arg0 *v1.TestExecution) 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 Option

type Option struct {
	Secrets map[string]string
}

Option contain test execution options

type TestExecutionsClient

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

TestExecutionsClient client for getting test executions CRs

func NewClient

func NewClient(client client.Client, namespace string) *TestExecutionsClient

NewClient returns new client instance, needs kubernetes client to be passed as dependecy

func (TestExecutionsClient) Create

Create creates new test execution CRD

func (TestExecutionsClient) Delete

func (s TestExecutionsClient) Delete(name string) error

Delete deletes test execution by name

func (TestExecutionsClient) Get

Get gets test execution by name in given namespace

func (TestExecutionsClient) Update

Update updates test execution

func (TestExecutionsClient) UpdateStatus

func (s TestExecutionsClient) UpdateStatus(testExecution *testexecutionv1.TestExecution) error

UpdateStatus updates existing test execution status

Jump to

Keyboard shortcuts

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