Documentation ¶
Index ¶
- type TestsClient
- func (s TestsClient) Create(test *testsv2.Test) (*testsv2.Test, error)
- func (s TestsClient) Delete(name string) error
- func (s TestsClient) DeleteAll() error
- func (s TestsClient) DeleteByLabels(selector string) error
- func (s TestsClient) Get(name string) (*testsv2.Test, error)
- func (s TestsClient) List(selector string) (*testsv2.TestList, error)
- func (s TestsClient) ListLabels() (map[string][]string, error)
- func (s TestsClient) Update(test *testsv2.Test) (*testsv2.Test, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestsClient ¶
TestClient implements methods to work with Test
func NewClient ¶
func NewClient(client client.Client, namespace string) *TestsClient
NewClent creates new Test client
func (TestsClient) Delete ¶
func (s TestsClient) Delete(name string) error
Delete deletes existing Test
func (TestsClient) DeleteByLabels ¶ added in v1.0.20
func (s TestsClient) DeleteByLabels(selector string) error
DeleteByLabels deletes tests by labels
func (TestsClient) Get ¶
func (s TestsClient) Get(name string) (*testsv2.Test, error)
Get returns Test
func (TestsClient) List ¶
func (s TestsClient) List(selector string) (*testsv2.TestList, error)
List lists Tests
func (TestsClient) ListLabels ¶ added in v0.10.3
func (s TestsClient) ListLabels() (map[string][]string, error)
ListLabels labels for Tests
Click to show internal directories.
Click to hide internal directories.