v1beta1

package
v2.12.4 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 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 ConfigurationV1beta1Client

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

ConfigurationV1beta1Client is used to interact with features provided by the configuration.konghq.com group.

func New

New creates a new ConfigurationV1beta1Client for the given RESTClient.

func NewForConfig

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

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

func NewForConfigAndClient added in v2.5.0

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

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

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

func (*ConfigurationV1beta1Client) KongConsumerGroups added in v2.11.0

func (c *ConfigurationV1beta1Client) KongConsumerGroups(namespace string) KongConsumerGroupInterface

func (*ConfigurationV1beta1Client) RESTClient

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

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

func (*ConfigurationV1beta1Client) TCPIngresses

func (c *ConfigurationV1beta1Client) TCPIngresses(namespace string) TCPIngressInterface

func (*ConfigurationV1beta1Client) UDPIngresses

func (c *ConfigurationV1beta1Client) UDPIngresses(namespace string) UDPIngressInterface

type ConfigurationV1beta1Interface

type ConfigurationV1beta1Interface interface {
	RESTClient() rest.Interface
	KongConsumerGroupsGetter
	TCPIngressesGetter
	UDPIngressesGetter
}

type KongConsumerGroupExpansion added in v2.11.0

type KongConsumerGroupExpansion interface{}

type KongConsumerGroupInterface added in v2.11.0

type KongConsumerGroupInterface interface {
	Create(ctx context.Context, kongConsumerGroup *v1beta1.KongConsumerGroup, opts v1.CreateOptions) (*v1beta1.KongConsumerGroup, error)
	Update(ctx context.Context, kongConsumerGroup *v1beta1.KongConsumerGroup, opts v1.UpdateOptions) (*v1beta1.KongConsumerGroup, error)
	UpdateStatus(ctx context.Context, kongConsumerGroup *v1beta1.KongConsumerGroup, opts v1.UpdateOptions) (*v1beta1.KongConsumerGroup, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.KongConsumerGroup, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.KongConsumerGroupList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.KongConsumerGroup, err error)
	KongConsumerGroupExpansion
}

KongConsumerGroupInterface has methods to work with KongConsumerGroup resources.

type KongConsumerGroupsGetter added in v2.11.0

type KongConsumerGroupsGetter interface {
	KongConsumerGroups(namespace string) KongConsumerGroupInterface
}

KongConsumerGroupsGetter has a method to return a KongConsumerGroupInterface. A group's client should implement this interface.

type TCPIngressExpansion

type TCPIngressExpansion interface{}

type TCPIngressInterface

type TCPIngressInterface interface {
	Create(ctx context.Context, tCPIngress *v1beta1.TCPIngress, opts v1.CreateOptions) (*v1beta1.TCPIngress, error)
	Update(ctx context.Context, tCPIngress *v1beta1.TCPIngress, opts v1.UpdateOptions) (*v1beta1.TCPIngress, error)
	UpdateStatus(ctx context.Context, tCPIngress *v1beta1.TCPIngress, opts v1.UpdateOptions) (*v1beta1.TCPIngress, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.TCPIngress, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.TCPIngressList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.TCPIngress, err error)
	TCPIngressExpansion
}

TCPIngressInterface has methods to work with TCPIngress resources.

type TCPIngressesGetter

type TCPIngressesGetter interface {
	TCPIngresses(namespace string) TCPIngressInterface
}

TCPIngressesGetter has a method to return a TCPIngressInterface. A group's client should implement this interface.

type UDPIngressExpansion

type UDPIngressExpansion interface{}

type UDPIngressInterface

type UDPIngressInterface interface {
	Create(ctx context.Context, uDPIngress *v1beta1.UDPIngress, opts v1.CreateOptions) (*v1beta1.UDPIngress, error)
	Update(ctx context.Context, uDPIngress *v1beta1.UDPIngress, opts v1.UpdateOptions) (*v1beta1.UDPIngress, error)
	UpdateStatus(ctx context.Context, uDPIngress *v1beta1.UDPIngress, opts v1.UpdateOptions) (*v1beta1.UDPIngress, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.UDPIngress, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.UDPIngressList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.UDPIngress, err error)
	UDPIngressExpansion
}

UDPIngressInterface has methods to work with UDPIngress resources.

type UDPIngressesGetter

type UDPIngressesGetter interface {
	UDPIngresses(namespace string) UDPIngressInterface
}

UDPIngressesGetter has a method to return a UDPIngressInterface. 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