Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type APIAccessExpansion
- type APIAccessInterface
- type APIAccessesGetter
- type APIExpansion
- type APIInterface
- type APIPortalExpansion
- type APIPortalInterface
- type APIPortalsGetter
- type APIRateLimitExpansion
- type APIRateLimitInterface
- type APIRateLimitsGetter
- type APIVersionExpansion
- type APIVersionInterface
- type APIVersionsGetter
- type APIsGetter
- type AccessControlPoliciesGetter
- type AccessControlPolicyExpansion
- type AccessControlPolicyInterface
- type HubV1alpha1Client
- func (c *HubV1alpha1Client) APIAccesses(namespace string) APIAccessInterface
- func (c *HubV1alpha1Client) APIPortals(namespace string) APIPortalInterface
- func (c *HubV1alpha1Client) APIRateLimits(namespace string) APIRateLimitInterface
- func (c *HubV1alpha1Client) APIVersions(namespace string) APIVersionInterface
- func (c *HubV1alpha1Client) APIs(namespace string) APIInterface
- func (c *HubV1alpha1Client) AccessControlPolicies() AccessControlPolicyInterface
- func (c *HubV1alpha1Client) RESTClient() rest.Interface
- type HubV1alpha1Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIAccessExpansion ¶
type APIAccessExpansion interface{}
type APIAccessInterface ¶
type APIAccessInterface interface { Create(ctx context.Context, aPIAccess *v1alpha1.APIAccess, opts v1.CreateOptions) (*v1alpha1.APIAccess, error) Update(ctx context.Context, aPIAccess *v1alpha1.APIAccess, opts v1.UpdateOptions) (*v1alpha1.APIAccess, error) UpdateStatus(ctx context.Context, aPIAccess *v1alpha1.APIAccess, opts v1.UpdateOptions) (*v1alpha1.APIAccess, 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) (*v1alpha1.APIAccess, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.APIAccessList, 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 *v1alpha1.APIAccess, err error) APIAccessExpansion }
APIAccessInterface has methods to work with APIAccess resources.
type APIAccessesGetter ¶
type APIAccessesGetter interface {
APIAccesses(namespace string) APIAccessInterface
}
APIAccessesGetter has a method to return a APIAccessInterface. A group's client should implement this interface.
type APIExpansion ¶
type APIExpansion interface{}
type APIInterface ¶
type APIInterface interface { Create(ctx context.Context, aPI *v1alpha1.API, opts v1.CreateOptions) (*v1alpha1.API, error) Update(ctx context.Context, aPI *v1alpha1.API, opts v1.UpdateOptions) (*v1alpha1.API, error) UpdateStatus(ctx context.Context, aPI *v1alpha1.API, opts v1.UpdateOptions) (*v1alpha1.API, 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) (*v1alpha1.API, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.APIList, 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 *v1alpha1.API, err error) APIExpansion }
APIInterface has methods to work with API resources.
type APIPortalExpansion ¶
type APIPortalExpansion interface{}
type APIPortalInterface ¶
type APIPortalInterface interface { Create(ctx context.Context, aPIPortal *v1alpha1.APIPortal, opts v1.CreateOptions) (*v1alpha1.APIPortal, error) Update(ctx context.Context, aPIPortal *v1alpha1.APIPortal, opts v1.UpdateOptions) (*v1alpha1.APIPortal, error) UpdateStatus(ctx context.Context, aPIPortal *v1alpha1.APIPortal, opts v1.UpdateOptions) (*v1alpha1.APIPortal, 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) (*v1alpha1.APIPortal, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.APIPortalList, 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 *v1alpha1.APIPortal, err error) APIPortalExpansion }
APIPortalInterface has methods to work with APIPortal resources.
type APIPortalsGetter ¶
type APIPortalsGetter interface {
APIPortals(namespace string) APIPortalInterface
}
APIPortalsGetter has a method to return a APIPortalInterface. A group's client should implement this interface.
type APIRateLimitExpansion ¶
type APIRateLimitExpansion interface{}
type APIRateLimitInterface ¶
type APIRateLimitInterface interface { Create(ctx context.Context, aPIRateLimit *v1alpha1.APIRateLimit, opts v1.CreateOptions) (*v1alpha1.APIRateLimit, error) Update(ctx context.Context, aPIRateLimit *v1alpha1.APIRateLimit, opts v1.UpdateOptions) (*v1alpha1.APIRateLimit, error) UpdateStatus(ctx context.Context, aPIRateLimit *v1alpha1.APIRateLimit, opts v1.UpdateOptions) (*v1alpha1.APIRateLimit, 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) (*v1alpha1.APIRateLimit, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.APIRateLimitList, 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 *v1alpha1.APIRateLimit, err error) APIRateLimitExpansion }
APIRateLimitInterface has methods to work with APIRateLimit resources.
type APIRateLimitsGetter ¶
type APIRateLimitsGetter interface {
APIRateLimits(namespace string) APIRateLimitInterface
}
APIRateLimitsGetter has a method to return a APIRateLimitInterface. A group's client should implement this interface.
type APIVersionExpansion ¶
type APIVersionExpansion interface{}
type APIVersionInterface ¶
type APIVersionInterface interface { Create(ctx context.Context, aPIVersion *v1alpha1.APIVersion, opts v1.CreateOptions) (*v1alpha1.APIVersion, error) Update(ctx context.Context, aPIVersion *v1alpha1.APIVersion, opts v1.UpdateOptions) (*v1alpha1.APIVersion, error) UpdateStatus(ctx context.Context, aPIVersion *v1alpha1.APIVersion, opts v1.UpdateOptions) (*v1alpha1.APIVersion, 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) (*v1alpha1.APIVersion, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.APIVersionList, 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 *v1alpha1.APIVersion, err error) APIVersionExpansion }
APIVersionInterface has methods to work with APIVersion resources.
type APIVersionsGetter ¶
type APIVersionsGetter interface {
APIVersions(namespace string) APIVersionInterface
}
APIVersionsGetter has a method to return a APIVersionInterface. A group's client should implement this interface.
type APIsGetter ¶
type APIsGetter interface {
APIs(namespace string) APIInterface
}
APIsGetter has a method to return a APIInterface. A group's client should implement this interface.
type AccessControlPoliciesGetter ¶
type AccessControlPoliciesGetter interface {
AccessControlPolicies() AccessControlPolicyInterface
}
AccessControlPoliciesGetter has a method to return a AccessControlPolicyInterface. A group's client should implement this interface.
type AccessControlPolicyExpansion ¶
type AccessControlPolicyExpansion interface{}
type AccessControlPolicyInterface ¶
type AccessControlPolicyInterface interface { Create(ctx context.Context, accessControlPolicy *v1alpha1.AccessControlPolicy, opts v1.CreateOptions) (*v1alpha1.AccessControlPolicy, error) Update(ctx context.Context, accessControlPolicy *v1alpha1.AccessControlPolicy, opts v1.UpdateOptions) (*v1alpha1.AccessControlPolicy, error) UpdateStatus(ctx context.Context, accessControlPolicy *v1alpha1.AccessControlPolicy, opts v1.UpdateOptions) (*v1alpha1.AccessControlPolicy, 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) (*v1alpha1.AccessControlPolicy, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.AccessControlPolicyList, 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 *v1alpha1.AccessControlPolicy, err error) AccessControlPolicyExpansion }
AccessControlPolicyInterface has methods to work with AccessControlPolicy resources.
type HubV1alpha1Client ¶
type HubV1alpha1Client struct {
// contains filtered or unexported fields
}
HubV1alpha1Client is used to interact with features provided by the hub.traefik.io group.
func New ¶
func New(c rest.Interface) *HubV1alpha1Client
New creates a new HubV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*HubV1alpha1Client, error)
NewForConfig creates a new HubV1alpha1Client 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 HubV1alpha1Client 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) *HubV1alpha1Client
NewForConfigOrDie creates a new HubV1alpha1Client for the given config and panics if there is an error in the config.
func (*HubV1alpha1Client) APIAccesses ¶
func (c *HubV1alpha1Client) APIAccesses(namespace string) APIAccessInterface
func (*HubV1alpha1Client) APIPortals ¶
func (c *HubV1alpha1Client) APIPortals(namespace string) APIPortalInterface
func (*HubV1alpha1Client) APIRateLimits ¶
func (c *HubV1alpha1Client) APIRateLimits(namespace string) APIRateLimitInterface
func (*HubV1alpha1Client) APIVersions ¶
func (c *HubV1alpha1Client) APIVersions(namespace string) APIVersionInterface
func (*HubV1alpha1Client) APIs ¶
func (c *HubV1alpha1Client) APIs(namespace string) APIInterface
func (*HubV1alpha1Client) AccessControlPolicies ¶
func (c *HubV1alpha1Client) AccessControlPolicies() AccessControlPolicyInterface
func (*HubV1alpha1Client) RESTClient ¶
func (c *HubV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type HubV1alpha1Interface ¶
type HubV1alpha1Interface interface { RESTClient() rest.Interface APIsGetter APIAccessesGetter APIPortalsGetter APIRateLimitsGetter APIVersionsGetter AccessControlPoliciesGetter }