fake

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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeTestSuites added in v1.13.0

type FakeTestSuites struct {
	Fake *FakeTestsV3
	// contains filtered or unexported fields
}

FakeTestSuites implements TestSuiteInterface

func (*FakeTestSuites) List added in v1.13.0

func (c *FakeTestSuites) List(ctx context.Context, opts v1.ListOptions) (result *testsuitev3.TestSuiteList, err error)

List takes label and field selectors, and returns the list of TestSuites that match those selectors.

func (*FakeTestSuites) Watch added in v1.13.0

Watch returns a watch.Interface that watches the requested testSuites.

type FakeTests

type FakeTests struct {
	Fake *FakeTestsV3
	// contains filtered or unexported fields
}

FakeTests implements TestInterface

func (*FakeTests) List

func (c *FakeTests) List(ctx context.Context, opts v1.ListOptions) (result *testsv3.TestList, err error)

List takes label and field selectors, and returns the list of Tests that match those selectors.

func (*FakeTests) Watch

func (c *FakeTests) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested tests.

type FakeTestsV3

type FakeTestsV3 struct {
	*testing.Fake
}

func (*FakeTestsV3) RESTClient

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

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

func (*FakeTestsV3) TestSuites added in v1.13.0

func (c *FakeTestsV3) TestSuites(namespace string) v3.TestSuiteInterface

func (*FakeTestsV3) Tests

func (c *FakeTestsV3) Tests(namespace string) v3.TestInterface

Jump to

Keyboard shortcuts

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