Documentation ¶
Index ¶
- type TestSuitesClient
- func (s TestSuitesClient) Create(testsuite *testsuitev1.TestSuite) (*testsuitev1.TestSuite, error)
- func (s TestSuitesClient) CreateTestsuiteSecrets(testsuite *testsuitev1.TestSuite) error
- func (s TestSuitesClient) Delete(name string) error
- func (s TestSuitesClient) DeleteAll() error
- func (s TestSuitesClient) DeleteByLabels(selector string) error
- func (s TestSuitesClient) ErrIsNotFound(err error) bool
- func (s TestSuitesClient) Get(name string) (*testsuitev1.TestSuite, error)
- func (s TestSuitesClient) GetCurrentSecretUUID(testSuiteName string) (string, error)
- func (s TestSuitesClient) GetSecretTestSuiteVars(testSuiteName, secretUUID string) (map[string]string, error)
- func (s TestSuitesClient) List(selector string) (*testsuitev1.TestSuiteList, error)
- func (s TestSuitesClient) ListLabels() (map[string][]string, error)
- func (s TestSuitesClient) LoadTestVariablesSecret(testsuite *testsuitev1.TestSuite) (*corev1.Secret, error)
- func (s TestSuitesClient) Update(testsuite *testsuitev1.TestSuite) (*testsuitev1.TestSuite, error)
- func (s TestSuitesClient) UpdateTestsuiteSecrets(testsuite *testsuitev1.TestSuite) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestSuitesClient ¶
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 ¶
func (s TestSuitesClient) Create(testsuite *testsuitev1.TestSuite) (*testsuitev1.TestSuite, error)
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 ¶
func (s TestSuitesClient) Get(name string) (*testsuitev1.TestSuite, error)
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 ¶
func (s TestSuitesClient) Update(testsuite *testsuitev1.TestSuite) (*testsuitev1.TestSuite, error)
Update updates existing TestSuite
func (TestSuitesClient) UpdateTestsuiteSecrets ¶
func (s TestSuitesClient) UpdateTestsuiteSecrets(testsuite *testsuitev1.TestSuite) error
Click to show internal directories.
Click to hide internal directories.