v1

package
v2.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: Apache-2.0 Imports: 8 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 ConfigurationV1Client

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

ConfigurationV1Client is used to interact with features provided by the configuration group.

func New

New creates a new ConfigurationV1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new ConfigurationV1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *ConfigurationV1Client

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

func (*ConfigurationV1Client) KongClusterPlugins

func (c *ConfigurationV1Client) KongClusterPlugins() KongClusterPluginInterface

func (*ConfigurationV1Client) KongConsumers

func (c *ConfigurationV1Client) KongConsumers(namespace string) KongConsumerInterface

func (*ConfigurationV1Client) KongIngresses

func (c *ConfigurationV1Client) KongIngresses(namespace string) KongIngressInterface

func (*ConfigurationV1Client) KongPlugins

func (c *ConfigurationV1Client) KongPlugins(namespace string) KongPluginInterface

func (*ConfigurationV1Client) RESTClient

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

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

type KongClusterPluginExpansion

type KongClusterPluginExpansion interface{}

type KongClusterPluginInterface

type KongClusterPluginInterface interface {
	Create(ctx context.Context, kongClusterPlugin *v1.KongClusterPlugin, opts metav1.CreateOptions) (*v1.KongClusterPlugin, error)
	Update(ctx context.Context, kongClusterPlugin *v1.KongClusterPlugin, opts metav1.UpdateOptions) (*v1.KongClusterPlugin, 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.KongClusterPlugin, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.KongClusterPluginList, 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.KongClusterPlugin, err error)
	KongClusterPluginExpansion
}

KongClusterPluginInterface has methods to work with KongClusterPlugin resources.

type KongClusterPluginsGetter

type KongClusterPluginsGetter interface {
	KongClusterPlugins() KongClusterPluginInterface
}

KongClusterPluginsGetter has a method to return a KongClusterPluginInterface. A group's client should implement this interface.

type KongConsumerExpansion

type KongConsumerExpansion interface{}

type KongConsumerInterface

type KongConsumerInterface interface {
	Create(ctx context.Context, kongConsumer *v1.KongConsumer, opts metav1.CreateOptions) (*v1.KongConsumer, error)
	Update(ctx context.Context, kongConsumer *v1.KongConsumer, opts metav1.UpdateOptions) (*v1.KongConsumer, 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.KongConsumer, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.KongConsumerList, 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.KongConsumer, err error)
	KongConsumerExpansion
}

KongConsumerInterface has methods to work with KongConsumer resources.

type KongConsumersGetter

type KongConsumersGetter interface {
	KongConsumers(namespace string) KongConsumerInterface
}

KongConsumersGetter has a method to return a KongConsumerInterface. A group's client should implement this interface.

type KongIngressExpansion

type KongIngressExpansion interface{}

type KongIngressInterface

type KongIngressInterface interface {
	Create(ctx context.Context, kongIngress *v1.KongIngress, opts metav1.CreateOptions) (*v1.KongIngress, error)
	Update(ctx context.Context, kongIngress *v1.KongIngress, opts metav1.UpdateOptions) (*v1.KongIngress, 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.KongIngress, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.KongIngressList, 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.KongIngress, err error)
	KongIngressExpansion
}

KongIngressInterface has methods to work with KongIngress resources.

type KongIngressesGetter

type KongIngressesGetter interface {
	KongIngresses(namespace string) KongIngressInterface
}

KongIngressesGetter has a method to return a KongIngressInterface. A group's client should implement this interface.

type KongPluginExpansion

type KongPluginExpansion interface{}

type KongPluginInterface

type KongPluginInterface interface {
	Create(ctx context.Context, kongPlugin *v1.KongPlugin, opts metav1.CreateOptions) (*v1.KongPlugin, error)
	Update(ctx context.Context, kongPlugin *v1.KongPlugin, opts metav1.UpdateOptions) (*v1.KongPlugin, 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.KongPlugin, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.KongPluginList, 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.KongPlugin, err error)
	KongPluginExpansion
}

KongPluginInterface has methods to work with KongPlugin resources.

type KongPluginsGetter

type KongPluginsGetter interface {
	KongPlugins(namespace string) KongPluginInterface
}

KongPluginsGetter has a method to return a KongPluginInterface. 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