Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type ConfigurationV1Client
- func (c *ConfigurationV1Client) KongClusterPlugins() KongClusterPluginInterface
- func (c *ConfigurationV1Client) KongConsumers(namespace string) KongConsumerInterface
- func (c *ConfigurationV1Client) KongIngresses(namespace string) KongIngressInterface
- func (c *ConfigurationV1Client) KongPlugins(namespace string) KongPluginInterface
- func (c *ConfigurationV1Client) RESTClient() rest.Interface
- type ConfigurationV1Interface
- type KongClusterPluginExpansion
- type KongClusterPluginInterface
- type KongClusterPluginsGetter
- type KongConsumerExpansion
- type KongConsumerInterface
- type KongConsumersGetter
- type KongIngressExpansion
- type KongIngressInterface
- type KongIngressesGetter
- type KongPluginExpansion
- type KongPluginInterface
- type KongPluginsGetter
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.konghq.com group.
func New ¶
func New(c rest.Interface) *ConfigurationV1Client
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. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient ¶
NewForConfigAndClient creates a new ConfigurationV1Client 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) *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 ConfigurationV1Interface ¶
type ConfigurationV1Interface interface { RESTClient() rest.Interface KongClusterPluginsGetter KongConsumersGetter KongIngressesGetter KongPluginsGetter }
type KongClusterPluginExpansion ¶
type KongClusterPluginExpansion interface{}
type KongClusterPluginInterface ¶
type KongClusterPluginInterface interface { Create(ctx context.Context, kongClusterPlugin *configurationv1.KongClusterPlugin, opts metav1.CreateOptions) (*configurationv1.KongClusterPlugin, error) Update(ctx context.Context, kongClusterPlugin *configurationv1.KongClusterPlugin, opts metav1.UpdateOptions) (*configurationv1.KongClusterPlugin, error) // Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus(). UpdateStatus(ctx context.Context, kongClusterPlugin *configurationv1.KongClusterPlugin, opts metav1.UpdateOptions) (*configurationv1.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) (*configurationv1.KongClusterPlugin, error) List(ctx context.Context, opts metav1.ListOptions) (*configurationv1.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 *configurationv1.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 *configurationv1.KongConsumer, opts metav1.CreateOptions) (*configurationv1.KongConsumer, error) Update(ctx context.Context, kongConsumer *configurationv1.KongConsumer, opts metav1.UpdateOptions) (*configurationv1.KongConsumer, error) // Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus(). UpdateStatus(ctx context.Context, kongConsumer *configurationv1.KongConsumer, opts metav1.UpdateOptions) (*configurationv1.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) (*configurationv1.KongConsumer, error) List(ctx context.Context, opts metav1.ListOptions) (*configurationv1.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 *configurationv1.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 *configurationv1.KongIngress, opts metav1.CreateOptions) (*configurationv1.KongIngress, error) Update(ctx context.Context, kongIngress *configurationv1.KongIngress, opts metav1.UpdateOptions) (*configurationv1.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) (*configurationv1.KongIngress, error) List(ctx context.Context, opts metav1.ListOptions) (*configurationv1.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 *configurationv1.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 *configurationv1.KongPlugin, opts metav1.CreateOptions) (*configurationv1.KongPlugin, error) Update(ctx context.Context, kongPlugin *configurationv1.KongPlugin, opts metav1.UpdateOptions) (*configurationv1.KongPlugin, error) // Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus(). UpdateStatus(ctx context.Context, kongPlugin *configurationv1.KongPlugin, opts metav1.UpdateOptions) (*configurationv1.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) (*configurationv1.KongPlugin, error) List(ctx context.Context, opts metav1.ListOptions) (*configurationv1.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 *configurationv1.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.