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) GetCurrentSnaphsotUUID(testSuiteName string) (string, error)
- func (s TestSuitesClient) GetSnaphsotTestSuiteVars(testSuiteName, snapshotUUID 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 ¶ 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 ¶
func (s TestSuitesClient) Get(name string) (*testsuitev1.TestSuite, error)
Get returns TestSuite
func (TestSuitesClient) GetCurrentSnaphsotUUID ¶
func (s TestSuitesClient) GetCurrentSnaphsotUUID(testSuiteName string) (string, error)
GetCurrentSnaphsotUUID returns current snapshot uuid
func (TestSuitesClient) GetSnaphsotTestSuiteVars ¶
func (s TestSuitesClient) GetSnaphsotTestSuiteVars(testSuiteName, snapshotUUID string) (map[string]string, error)
GetSnaphsotTestSuiteVars returns snapshot 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 ¶
func (s TestSuitesClient) Update(testsuite *testsuitev1.TestSuite) (*testsuitev1.TestSuite, error)
Update updates existing TestSuite
func (TestSuitesClient) UpdateTestsuiteSecrets ¶ added in v1.0.21
func (s TestSuitesClient) UpdateTestsuiteSecrets(testsuite *testsuitev1.TestSuite) error
Click to show internal directories.
Click to hide internal directories.