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 ApisixRouteExpansion ¶
type ApisixRouteExpansion interface{}
type ApisixRouteInterface ¶
type ApisixRouteInterface interface { Create(ctx context.Context, apisixRoute *v1.ApisixRoute, opts metav1.CreateOptions) (*v1.ApisixRoute, error) Update(ctx context.Context, apisixRoute *v1.ApisixRoute, opts metav1.UpdateOptions) (*v1.ApisixRoute, 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.ApisixRoute, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.ApisixRouteList, 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.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 ApisixTlsExpansion ¶
type ApisixTlsExpansion interface{}
type ApisixTlsInterface ¶
type ApisixTlsInterface interface { Create(ctx context.Context, apisixTls *v1.ApisixTls, opts metav1.CreateOptions) (*v1.ApisixTls, error) Update(ctx context.Context, apisixTls *v1.ApisixTls, opts metav1.UpdateOptions) (*v1.ApisixTls, error) UpdateStatus(ctx context.Context, apisixTls *v1.ApisixTls, opts metav1.UpdateOptions) (*v1.ApisixTls, 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.ApisixTls, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.ApisixTlsList, 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.ApisixTls, err error) ApisixTlsExpansion }
ApisixTlsInterface has methods to work with ApisixTls resources.
type ApisixTlsesGetter ¶
type ApisixTlsesGetter interface {
ApisixTlses(namespace string) ApisixTlsInterface
}
ApisixTlsesGetter has a method to return a ApisixTlsInterface. A group's client should implement this interface.
type ApisixUpstreamExpansion ¶
type ApisixUpstreamExpansion interface{}
type ApisixUpstreamInterface ¶
type ApisixUpstreamInterface interface { Create(ctx context.Context, apisixUpstream *v1.ApisixUpstream, opts metav1.CreateOptions) (*v1.ApisixUpstream, error) Update(ctx context.Context, apisixUpstream *v1.ApisixUpstream, opts metav1.UpdateOptions) (*v1.ApisixUpstream, error) UpdateStatus(ctx context.Context, apisixUpstream *v1.ApisixUpstream, opts metav1.UpdateOptions) (*v1.ApisixUpstream, 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.ApisixUpstream, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.ApisixUpstreamList, 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.ApisixUpstream, err error) ApisixUpstreamExpansion }
ApisixUpstreamInterface has methods to work with ApisixUpstream resources.
type ApisixUpstreamsGetter ¶
type ApisixUpstreamsGetter interface {
ApisixUpstreams(namespace string) ApisixUpstreamInterface
}
ApisixUpstreamsGetter has a method to return a ApisixUpstreamInterface. A group's client should implement this interface.
type ApisixV1Client ¶
type ApisixV1Client struct {
// contains filtered or unexported fields
}
ApisixV1Client is used to interact with features provided by the apisix.apache.org group.
func New ¶
func New(c rest.Interface) *ApisixV1Client
New creates a new ApisixV1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*ApisixV1Client, error)
NewForConfig creates a new ApisixV1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *ApisixV1Client
NewForConfigOrDie creates a new ApisixV1Client for the given config and panics if there is an error in the config.
func (*ApisixV1Client) ApisixRoutes ¶
func (c *ApisixV1Client) ApisixRoutes(namespace string) ApisixRouteInterface
func (*ApisixV1Client) ApisixTlses ¶
func (c *ApisixV1Client) ApisixTlses(namespace string) ApisixTlsInterface
func (*ApisixV1Client) ApisixUpstreams ¶
func (c *ApisixV1Client) ApisixUpstreams(namespace string) ApisixUpstreamInterface
func (*ApisixV1Client) RESTClient ¶
func (c *ApisixV1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type ApisixV1Interface ¶
type ApisixV1Interface interface { RESTClient() rest.Interface ApisixRoutesGetter ApisixTlsesGetter ApisixUpstreamsGetter }