Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type ApisixClusterConfigExpansion
- type ApisixClusterConfigInterface
- type ApisixClusterConfigsGetter
- type ApisixConsumerExpansion
- type ApisixConsumerInterface
- type ApisixConsumersGetter
- type ApisixRouteExpansion
- type ApisixRouteInterface
- type ApisixRoutesGetter
- type ApisixV2alpha1Client
- func (c *ApisixV2alpha1Client) ApisixClusterConfigs() ApisixClusterConfigInterface
- func (c *ApisixV2alpha1Client) ApisixConsumers(namespace string) ApisixConsumerInterface
- func (c *ApisixV2alpha1Client) ApisixRoutes(namespace string) ApisixRouteInterface
- func (c *ApisixV2alpha1Client) RESTClient() rest.Interface
- type ApisixV2alpha1Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApisixClusterConfigExpansion ¶ added in v1.0.0
type ApisixClusterConfigExpansion interface{}
type ApisixClusterConfigInterface ¶ added in v1.0.0
type ApisixClusterConfigInterface interface { Create(ctx context.Context, apisixClusterConfig *v2alpha1.ApisixClusterConfig, opts v1.CreateOptions) (*v2alpha1.ApisixClusterConfig, error) Update(ctx context.Context, apisixClusterConfig *v2alpha1.ApisixClusterConfig, opts v1.UpdateOptions) (*v2alpha1.ApisixClusterConfig, error) UpdateStatus(ctx context.Context, apisixClusterConfig *v2alpha1.ApisixClusterConfig, opts v1.UpdateOptions) (*v2alpha1.ApisixClusterConfig, 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) (*v2alpha1.ApisixClusterConfig, error) List(ctx context.Context, opts v1.ListOptions) (*v2alpha1.ApisixClusterConfigList, 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 *v2alpha1.ApisixClusterConfig, err error) ApisixClusterConfigExpansion }
ApisixClusterConfigInterface has methods to work with ApisixClusterConfig resources.
type ApisixClusterConfigsGetter ¶ added in v1.0.0
type ApisixClusterConfigsGetter interface {
ApisixClusterConfigs() ApisixClusterConfigInterface
}
ApisixClusterConfigsGetter has a method to return a ApisixClusterConfigInterface. A group's client should implement this interface.
type ApisixConsumerExpansion ¶ added in v1.0.0
type ApisixConsumerExpansion interface{}
type ApisixConsumerInterface ¶ added in v1.0.0
type ApisixConsumerInterface interface { Create(ctx context.Context, apisixConsumer *v2alpha1.ApisixConsumer, opts v1.CreateOptions) (*v2alpha1.ApisixConsumer, error) Update(ctx context.Context, apisixConsumer *v2alpha1.ApisixConsumer, opts v1.UpdateOptions) (*v2alpha1.ApisixConsumer, error) UpdateStatus(ctx context.Context, apisixConsumer *v2alpha1.ApisixConsumer, opts v1.UpdateOptions) (*v2alpha1.ApisixConsumer, 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) (*v2alpha1.ApisixConsumer, error) List(ctx context.Context, opts v1.ListOptions) (*v2alpha1.ApisixConsumerList, 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 *v2alpha1.ApisixConsumer, err error) ApisixConsumerExpansion }
ApisixConsumerInterface has methods to work with ApisixConsumer resources.
type ApisixConsumersGetter ¶ added in v1.0.0
type ApisixConsumersGetter interface {
ApisixConsumers(namespace string) ApisixConsumerInterface
}
ApisixConsumersGetter has a method to return a ApisixConsumerInterface. A group's client should implement this interface.
type ApisixRouteExpansion ¶
type ApisixRouteExpansion interface{}
type ApisixRouteInterface ¶
type ApisixRouteInterface interface { Create(ctx context.Context, apisixRoute *v2alpha1.ApisixRoute, opts v1.CreateOptions) (*v2alpha1.ApisixRoute, error) Update(ctx context.Context, apisixRoute *v2alpha1.ApisixRoute, opts v1.UpdateOptions) (*v2alpha1.ApisixRoute, error) UpdateStatus(ctx context.Context, apisixRoute *v2alpha1.ApisixRoute, opts v1.UpdateOptions) (*v2alpha1.ApisixRoute, 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) (*v2alpha1.ApisixRoute, error) List(ctx context.Context, opts v1.ListOptions) (*v2alpha1.ApisixRouteList, 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 *v2alpha1.ApisixRoute, err error) ApisixRouteExpansion }
ApisixRouteInterface has methods to work with ApisixRoute resources.
type ApisixRoutesGetter ¶
type ApisixRoutesGetter interface {
ApisixRoutes(namespace string) ApisixRouteInterface
}
ApisixRoutesGetter has a method to return a ApisixRouteInterface. A group's client should implement this interface.
type ApisixV2alpha1Client ¶
type ApisixV2alpha1Client struct {
// contains filtered or unexported fields
}
ApisixV2alpha1Client is used to interact with features provided by the apisix.apache.org group.
func New ¶
func New(c rest.Interface) *ApisixV2alpha1Client
New creates a new ApisixV2alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*ApisixV2alpha1Client, error)
NewForConfig creates a new ApisixV2alpha1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *ApisixV2alpha1Client
NewForConfigOrDie creates a new ApisixV2alpha1Client for the given config and panics if there is an error in the config.
func (*ApisixV2alpha1Client) ApisixClusterConfigs ¶ added in v1.0.0
func (c *ApisixV2alpha1Client) ApisixClusterConfigs() ApisixClusterConfigInterface
func (*ApisixV2alpha1Client) ApisixConsumers ¶ added in v1.0.0
func (c *ApisixV2alpha1Client) ApisixConsumers(namespace string) ApisixConsumerInterface
func (*ApisixV2alpha1Client) ApisixRoutes ¶
func (c *ApisixV2alpha1Client) ApisixRoutes(namespace string) ApisixRouteInterface
func (*ApisixV2alpha1Client) RESTClient ¶
func (c *ApisixV2alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type ApisixV2alpha1Interface ¶
type ApisixV2alpha1Interface interface { RESTClient() rest.Interface ApisixClusterConfigsGetter ApisixConsumersGetter ApisixRoutesGetter }