v3

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestExpansion

type TestExpansion interface{}

type TestInterface

type TestInterface interface {
	List(ctx context.Context, opts v1.ListOptions) (*testsv3.TestList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	TestExpansion
}

TestInterface has methods to work with Test resources.

type TestSuiteExpansion added in v1.13.0

type TestSuiteExpansion interface{}

type TestSuiteInterface added in v1.13.0

type TestSuiteInterface interface {
	List(ctx context.Context, opts v1.ListOptions) (*testsuitev3.TestSuiteList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	TestSuiteExpansion
}

TestSuiteInterface has methods to work with TestSuite resources.

type TestSuitesGetter added in v1.13.0

type TestSuitesGetter interface {
	TestSuites(namespace string) TestSuiteInterface
}

TestSuitesGetter has a method to return a TestSuiteInterface. A group's client should implement this interface.

type TestsGetter

type TestsGetter interface {
	Tests(namespace string) TestInterface
}

TestsGetter has a method to return a TestInterface. A group's client should implement this interface.

type TestsV3Client

type TestsV3Client struct {
	// contains filtered or unexported fields
}

TestsV3Client is used to interact with features provided by the tests.testkube.io group.

func New

New creates a new TestsV3Client for the given RESTClient.

func NewForConfig

func NewForConfig(c *rest.Config) (*TestsV3Client, error)

NewForConfig creates a new TestsV3Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).

func NewForConfigAndClient

func NewForConfigAndClient(c *rest.Config, h *http.Client) (*TestsV3Client, error)

NewForConfigAndClient creates a new TestsV3Client for the given config and http client. Note the http client provided takes precedence over the configured transport values.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *TestsV3Client

NewForConfigOrDie creates a new TestsV3Client for the given config and panics if there is an error in the config.

func (*TestsV3Client) RESTClient

func (c *TestsV3Client) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*TestsV3Client) TestSuites added in v1.13.0

func (c *TestsV3Client) TestSuites(namespace string) TestSuiteInterface

func (*TestsV3Client) Tests

func (c *TestsV3Client) Tests(namespace string) TestInterface

type TestsV3Interface

type TestsV3Interface interface {
	RESTClient() rest.Interface
	TestsGetter
	TestSuitesGetter
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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