tests

package
v0.10.2-beta003 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestsClient

type TestsClient struct {
	Client client.Client
}

TestClient implements methods to work with Test

func NewClient

func NewClient(client client.Client) *TestsClient

NewClent creates new Test client

func (TestsClient) Create

func (s TestsClient) Create(test *testsv2.Test) (*testsv2.Test, error)

Create creates new Test

func (TestsClient) Delete

func (s TestsClient) Delete(namespace, name string) error

Delete deletes existing Test

func (TestsClient) DeleteAll

func (s TestsClient) DeleteAll(namespace string) error

DeleteAll deletes all Tests

func (TestsClient) Get

func (s TestsClient) Get(namespace, name string) (*testsv2.Test, error)

Get returns Test

func (TestsClient) List

func (s TestsClient) List(namespace string, selector string) (*testsv2.TestList, error)

List lists Tests

func (TestsClient) ListLabels added in v0.10.3

func (s TestsClient) ListLabels(namespace string) (map[string][]string, error)

ListLabels labels for Tests

func (TestsClient) Update

func (s TestsClient) Update(test *testsv2.Test) (*testsv2.Test, error)

Update updates existing Test

Jump to

Keyboard shortcuts

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