testsources

package
v1.5.0-beta003 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestSourcesClient

type TestSourcesClient struct {
	Client    client.Client
	Namespace string
}

TestSourcesClient client for getting test sources CRs

func NewClient

func NewClient(client client.Client, namespace string) *TestSourcesClient

NewClient returns new client instance, needs kubernetes client to be passed as dependecy

func (TestSourcesClient) Create

Create creates new TestSource CR

func (TestSourcesClient) Delete

func (s TestSourcesClient) Delete(name string) error

Delete deletes testsource by name

func (TestSourcesClient) DeleteByLabels

func (s TestSourcesClient) DeleteByLabels(selector string) error

DeleteByLabels deletes test sources by labels

func (TestSourcesClient) Get

Get gets testsource by name in given namespace

func (TestSourcesClient) List

List shows list of available test sources

func (TestSourcesClient) Update

Update updates test source

Jump to

Keyboard shortcuts

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