v2

package
v1.5.0-beta004 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestSuitesClient

type TestSuitesClient struct {
	Client    client.Client
	Namespace string
}

TestSuitesClient implements methods to work with TestSuites

func NewClient

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

NewClient creates new TestSuite client

func (TestSuitesClient) Create

Create creates new TestSuite

func (TestSuitesClient) CreateTestsuiteSecrets

func (s TestSuitesClient) CreateTestsuiteSecrets(testsuite *testsuitev2.TestSuite) error

CreateTestsuiteSecrets creates corresponding TestSuite vars secrets

func (TestSuitesClient) Delete

func (s TestSuitesClient) Delete(name string) error

Delete deletes existing TestSuite

func (TestSuitesClient) DeleteAll

func (s TestSuitesClient) DeleteAll() error

DeleteAll delete all TestSuites

func (TestSuitesClient) DeleteByLabels

func (s TestSuitesClient) DeleteByLabels(selector string) error

DeleteByLabels deletes TestSuites by labels

func (TestSuitesClient) ErrIsNotFound

func (s TestSuitesClient) ErrIsNotFound(err error) bool

func (TestSuitesClient) Get

Get returns TestSuite

func (TestSuitesClient) GetCurrentSecretUUID

func (s TestSuitesClient) GetCurrentSecretUUID(testSuiteName string) (string, error)

GetCurrentSecretUUID returns current secret uuid

func (TestSuitesClient) GetSecretTestSuiteVars

func (s TestSuitesClient) GetSecretTestSuiteVars(testSuiteName, secretUUID string) (map[string]string, error)

GetSecretTestSuiteVars returns secret test suite vars

func (TestSuitesClient) List

func (s TestSuitesClient) List(selector string) (*testsuitev2.TestSuiteList, error)

List lists TestSuites

func (TestSuitesClient) ListLabels

func (s TestSuitesClient) ListLabels() (map[string][]string, error)

ListLabelslists labels for TestSuites

func (TestSuitesClient) LoadTestVariablesSecret

func (s TestSuitesClient) LoadTestVariablesSecret(testsuite *testsuitev2.TestSuite) (*corev1.Secret, error)

func (TestSuitesClient) Update

Update updates existing TestSuite

func (TestSuitesClient) UpdateTestsuiteSecrets

func (s TestSuitesClient) UpdateTestsuiteSecrets(testsuite *testsuitev2.TestSuite) error

Jump to

Keyboard shortcuts

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