v1

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 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 added in v1.0.21

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 added in v1.0.20

func (s TestSuitesClient) DeleteByLabels(selector string) error

DeleteByLabels deletes TestSuites by labels

func (TestSuitesClient) ErrIsNotFound added in v1.0.23

func (s TestSuitesClient) ErrIsNotFound(err error) bool

func (TestSuitesClient) Get

Get returns TestSuite

func (TestSuitesClient) GetCurrentSecretUUID added in v1.3.0

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

GetCurrentSecretUUID returns current secret uuid

func (TestSuitesClient) GetSecretTestSuiteVars added in v1.3.0

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 added in v0.10.3

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

ListLabelslists labels for TestSuites

func (TestSuitesClient) LoadTestVariablesSecret added in v1.0.21

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

func (TestSuitesClient) Update

Update updates existing TestSuite

func (TestSuitesClient) UpdateTestsuiteSecrets added in v1.0.21

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