v1

package
v1.15.2-beta1 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 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 *testsuitev1.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) (*testsuitev1.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 *testsuitev1.TestSuite) (*corev1.Secret, error)

func (TestSuitesClient) Update

Update updates existing TestSuite

func (TestSuitesClient) UpdateTestsuiteSecrets

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

Jump to

Keyboard shortcuts

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