v1

package
v1.20.1 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

This package has the automatically generated typed clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CanaryConfigExpansion

type CanaryConfigExpansion interface{}

type CanaryConfigInterface

type CanaryConfigInterface interface {
	Create(ctx context.Context, _canaryConfig *v1.CanaryConfig, opts metav1.CreateOptions) (*v1.CanaryConfig, error)
	Update(ctx context.Context, _canaryConfig *v1.CanaryConfig, opts metav1.UpdateOptions) (*v1.CanaryConfig, error)
	UpdateStatus(ctx context.Context, _canaryConfig *v1.CanaryConfig, opts metav1.UpdateOptions) (*v1.CanaryConfig, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.CanaryConfig, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.CanaryConfigList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.CanaryConfig, err error)
	CanaryConfigExpansion
}

CanaryConfigInterface has methods to work with CanaryConfig resources.

type CanaryConfigsGetter

type CanaryConfigsGetter interface {
	CanaryConfigs(namespace string) CanaryConfigInterface
}

CanaryConfigsGetter has a method to return a CanaryConfigInterface. A group's client should implement this interface.

type CoreV1Client

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

CoreV1Client is used to interact with features provided by the fission.io group.

func New

func New(c rest.Interface) *CoreV1Client

New creates a new CoreV1Client for the given RESTClient.

func NewForConfig

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

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

func NewForConfigAndClient added in v1.17.0

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

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

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

func (*CoreV1Client) CanaryConfigs

func (c *CoreV1Client) CanaryConfigs(namespace string) CanaryConfigInterface

func (*CoreV1Client) Environments

func (c *CoreV1Client) Environments(namespace string) EnvironmentInterface

func (*CoreV1Client) Functions

func (c *CoreV1Client) Functions(namespace string) FunctionInterface

func (*CoreV1Client) HTTPTriggers

func (c *CoreV1Client) HTTPTriggers(namespace string) HTTPTriggerInterface

func (*CoreV1Client) KubernetesWatchTriggers

func (c *CoreV1Client) KubernetesWatchTriggers(namespace string) KubernetesWatchTriggerInterface

func (*CoreV1Client) MessageQueueTriggers

func (c *CoreV1Client) MessageQueueTriggers(namespace string) MessageQueueTriggerInterface

func (*CoreV1Client) Packages

func (c *CoreV1Client) Packages(namespace string) PackageInterface

func (*CoreV1Client) RESTClient

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

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

func (*CoreV1Client) TimeTriggers

func (c *CoreV1Client) TimeTriggers(namespace string) TimeTriggerInterface

type EnvironmentExpansion

type EnvironmentExpansion interface{}

type EnvironmentInterface

type EnvironmentInterface interface {
	Create(ctx context.Context, _environment *v1.Environment, opts metav1.CreateOptions) (*v1.Environment, error)
	Update(ctx context.Context, _environment *v1.Environment, opts metav1.UpdateOptions) (*v1.Environment, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Environment, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.EnvironmentList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Environment, err error)
	EnvironmentExpansion
}

EnvironmentInterface has methods to work with Environment resources.

type EnvironmentsGetter

type EnvironmentsGetter interface {
	Environments(namespace string) EnvironmentInterface
}

EnvironmentsGetter has a method to return a EnvironmentInterface. A group's client should implement this interface.

type FunctionExpansion

type FunctionExpansion interface{}

type FunctionInterface

type FunctionInterface interface {
	Create(ctx context.Context, _function *v1.Function, opts metav1.CreateOptions) (*v1.Function, error)
	Update(ctx context.Context, _function *v1.Function, opts metav1.UpdateOptions) (*v1.Function, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Function, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.FunctionList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Function, err error)
	FunctionExpansion
}

FunctionInterface has methods to work with Function resources.

type FunctionsGetter

type FunctionsGetter interface {
	Functions(namespace string) FunctionInterface
}

FunctionsGetter has a method to return a FunctionInterface. A group's client should implement this interface.

type HTTPTriggerExpansion

type HTTPTriggerExpansion interface{}

type HTTPTriggerInterface

type HTTPTriggerInterface interface {
	Create(ctx context.Context, _hTTPTrigger *v1.HTTPTrigger, opts metav1.CreateOptions) (*v1.HTTPTrigger, error)
	Update(ctx context.Context, _hTTPTrigger *v1.HTTPTrigger, opts metav1.UpdateOptions) (*v1.HTTPTrigger, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.HTTPTrigger, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.HTTPTriggerList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.HTTPTrigger, err error)
	HTTPTriggerExpansion
}

HTTPTriggerInterface has methods to work with HTTPTrigger resources.

type HTTPTriggersGetter

type HTTPTriggersGetter interface {
	HTTPTriggers(namespace string) HTTPTriggerInterface
}

HTTPTriggersGetter has a method to return a HTTPTriggerInterface. A group's client should implement this interface.

type KubernetesWatchTriggerExpansion

type KubernetesWatchTriggerExpansion interface{}

type KubernetesWatchTriggerInterface

type KubernetesWatchTriggerInterface interface {
	Create(ctx context.Context, _kubernetesWatchTrigger *v1.KubernetesWatchTrigger, opts metav1.CreateOptions) (*v1.KubernetesWatchTrigger, error)
	Update(ctx context.Context, _kubernetesWatchTrigger *v1.KubernetesWatchTrigger, opts metav1.UpdateOptions) (*v1.KubernetesWatchTrigger, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.KubernetesWatchTrigger, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.KubernetesWatchTriggerList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.KubernetesWatchTrigger, err error)
	KubernetesWatchTriggerExpansion
}

KubernetesWatchTriggerInterface has methods to work with KubernetesWatchTrigger resources.

type KubernetesWatchTriggersGetter

type KubernetesWatchTriggersGetter interface {
	KubernetesWatchTriggers(namespace string) KubernetesWatchTriggerInterface
}

KubernetesWatchTriggersGetter has a method to return a KubernetesWatchTriggerInterface. A group's client should implement this interface.

type MessageQueueTriggerExpansion

type MessageQueueTriggerExpansion interface{}

type MessageQueueTriggerInterface

type MessageQueueTriggerInterface interface {
	Create(ctx context.Context, _messageQueueTrigger *v1.MessageQueueTrigger, opts metav1.CreateOptions) (*v1.MessageQueueTrigger, error)
	Update(ctx context.Context, _messageQueueTrigger *v1.MessageQueueTrigger, opts metav1.UpdateOptions) (*v1.MessageQueueTrigger, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.MessageQueueTrigger, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.MessageQueueTriggerList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.MessageQueueTrigger, err error)
	MessageQueueTriggerExpansion
}

MessageQueueTriggerInterface has methods to work with MessageQueueTrigger resources.

type MessageQueueTriggersGetter

type MessageQueueTriggersGetter interface {
	MessageQueueTriggers(namespace string) MessageQueueTriggerInterface
}

MessageQueueTriggersGetter has a method to return a MessageQueueTriggerInterface. A group's client should implement this interface.

type PackageExpansion

type PackageExpansion interface{}

type PackageInterface

type PackageInterface interface {
	Create(ctx context.Context, _package *v1.Package, opts metav1.CreateOptions) (*v1.Package, error)
	Update(ctx context.Context, _package *v1.Package, opts metav1.UpdateOptions) (*v1.Package, error)
	UpdateStatus(ctx context.Context, _package *v1.Package, opts metav1.UpdateOptions) (*v1.Package, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Package, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.PackageList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Package, err error)
	PackageExpansion
}

PackageInterface has methods to work with Package resources.

type PackagesGetter

type PackagesGetter interface {
	Packages(namespace string) PackageInterface
}

PackagesGetter has a method to return a PackageInterface. A group's client should implement this interface.

type TimeTriggerExpansion

type TimeTriggerExpansion interface{}

type TimeTriggerInterface

type TimeTriggerInterface interface {
	Create(ctx context.Context, _timeTrigger *v1.TimeTrigger, opts metav1.CreateOptions) (*v1.TimeTrigger, error)
	Update(ctx context.Context, _timeTrigger *v1.TimeTrigger, opts metav1.UpdateOptions) (*v1.TimeTrigger, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.TimeTrigger, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.TimeTriggerList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.TimeTrigger, err error)
	TimeTriggerExpansion
}

TimeTriggerInterface has methods to work with TimeTrigger resources.

type TimeTriggersGetter

type TimeTriggersGetter interface {
	TimeTriggers(namespace string) TimeTriggerInterface
}

TimeTriggersGetter has a method to return a TimeTriggerInterface. A group's client should implement this interface.

Directories

Path Synopsis
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

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