v1beta1

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: MIT 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

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

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

func (*ConfigurationV1beta1Client) KongUpstreamPolicies

func (c *ConfigurationV1beta1Client) KongUpstreamPolicies(namespace string) KongUpstreamPolicyInterface

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 KongConsumerGroupExpansion

type KongConsumerGroupExpansion interface{}

type KongConsumerGroupInterface

type KongConsumerGroupInterface interface {
	Create(ctx context.Context, kongConsumerGroup *configurationv1beta1.KongConsumerGroup, opts v1.CreateOptions) (*configurationv1beta1.KongConsumerGroup, error)
	Update(ctx context.Context, kongConsumerGroup *configurationv1beta1.KongConsumerGroup, opts v1.UpdateOptions) (*configurationv1beta1.KongConsumerGroup, error)
	// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
	UpdateStatus(ctx context.Context, kongConsumerGroup *configurationv1beta1.KongConsumerGroup, opts v1.UpdateOptions) (*configurationv1beta1.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) (*configurationv1beta1.KongConsumerGroup, error)
	List(ctx context.Context, opts v1.ListOptions) (*configurationv1beta1.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 *configurationv1beta1.KongConsumerGroup, err error)
	KongConsumerGroupExpansion
}

KongConsumerGroupInterface has methods to work with KongConsumerGroup resources.

type KongConsumerGroupsGetter

type KongConsumerGroupsGetter interface {
	KongConsumerGroups(namespace string) KongConsumerGroupInterface
}

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

type KongUpstreamPoliciesGetter

type KongUpstreamPoliciesGetter interface {
	KongUpstreamPolicies(namespace string) KongUpstreamPolicyInterface
}

KongUpstreamPoliciesGetter has a method to return a KongUpstreamPolicyInterface. A group's client should implement this interface.

type KongUpstreamPolicyExpansion

type KongUpstreamPolicyExpansion interface{}

type KongUpstreamPolicyInterface

type KongUpstreamPolicyInterface interface {
	Create(ctx context.Context, kongUpstreamPolicy *configurationv1beta1.KongUpstreamPolicy, opts v1.CreateOptions) (*configurationv1beta1.KongUpstreamPolicy, error)
	Update(ctx context.Context, kongUpstreamPolicy *configurationv1beta1.KongUpstreamPolicy, opts v1.UpdateOptions) (*configurationv1beta1.KongUpstreamPolicy, error)
	// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
	UpdateStatus(ctx context.Context, kongUpstreamPolicy *configurationv1beta1.KongUpstreamPolicy, opts v1.UpdateOptions) (*configurationv1beta1.KongUpstreamPolicy, 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) (*configurationv1beta1.KongUpstreamPolicy, error)
	List(ctx context.Context, opts v1.ListOptions) (*configurationv1beta1.KongUpstreamPolicyList, 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 *configurationv1beta1.KongUpstreamPolicy, err error)
	KongUpstreamPolicyExpansion
}

KongUpstreamPolicyInterface has methods to work with KongUpstreamPolicy resources.

type TCPIngressExpansion

type TCPIngressExpansion interface{}

type TCPIngressInterface

type TCPIngressInterface interface {
	Create(ctx context.Context, tCPIngress *configurationv1beta1.TCPIngress, opts v1.CreateOptions) (*configurationv1beta1.TCPIngress, error)
	Update(ctx context.Context, tCPIngress *configurationv1beta1.TCPIngress, opts v1.UpdateOptions) (*configurationv1beta1.TCPIngress, error)
	// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
	UpdateStatus(ctx context.Context, tCPIngress *configurationv1beta1.TCPIngress, opts v1.UpdateOptions) (*configurationv1beta1.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) (*configurationv1beta1.TCPIngress, error)
	List(ctx context.Context, opts v1.ListOptions) (*configurationv1beta1.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 *configurationv1beta1.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 *configurationv1beta1.UDPIngress, opts v1.CreateOptions) (*configurationv1beta1.UDPIngress, error)
	Update(ctx context.Context, uDPIngress *configurationv1beta1.UDPIngress, opts v1.UpdateOptions) (*configurationv1beta1.UDPIngress, error)
	// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
	UpdateStatus(ctx context.Context, uDPIngress *configurationv1beta1.UDPIngress, opts v1.UpdateOptions) (*configurationv1beta1.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) (*configurationv1beta1.UDPIngress, error)
	List(ctx context.Context, opts v1.ListOptions) (*configurationv1beta1.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 *configurationv1beta1.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