v1

package
v1.16.29 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecutorExpansion

type ExecutorExpansion interface{}

type ExecutorGetter

type ExecutorGetter interface {
	Executor(namespace string) ExecutorInterface
}

ExecutorGetter has a method to return a ExecutorInterface. A group's client should implement this interface.

type ExecutorInterface

type ExecutorInterface interface {
	List(ctx context.Context, opts v1.ListOptions) (*executorv1.ExecutorList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	ExecutorExpansion
}

ExecutorInterface has methods to work with Executor resources.

type ExecutorV1Client

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

ExecutorV1Client is used to interact with features provided by the executor.testkube.io group.

func New

New creates a new ExecutorV1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new ExecutorV1Client 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) (*ExecutorV1Client, error)

NewForConfigAndClient creates a new ExecutorV1Client 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) *ExecutorV1Client

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

func (*ExecutorV1Client) Executor

func (c *ExecutorV1Client) Executor(namespace string) ExecutorInterface

func (*ExecutorV1Client) RESTClient

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

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

func (*ExecutorV1Client) Webhook

func (c *ExecutorV1Client) Webhook(namespace string) WebhookInterface

type ExecutorV1Interface

type ExecutorV1Interface interface {
	RESTClient() rest.Interface
	ExecutorGetter
	WebhookGetter
}

type WebhookExpansion

type WebhookExpansion interface{}

type WebhookGetter

type WebhookGetter interface {
	Webhook(namespace string) WebhookInterface
}

WebhookGetter has a method to return a WebhookInterface. A group's client should implement this interface.

type WebhookInterface

type WebhookInterface interface {
	List(ctx context.Context, opts v1.ListOptions) (*executorv1.WebhookList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	WebhookExpansion
}

WebhookInterface has methods to work with Webhook resources.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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