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 ApisV1Client ¶
type ApisV1Client struct {
// contains filtered or unexported fields
}
ApisV1Client is used to interact with features provided by the apis group.
func New ¶
func New(c rest.Interface) *ApisV1Client
New creates a new ApisV1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*ApisV1Client, error)
NewForConfig creates a new ApisV1Client 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 ApisV1Client 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) *ApisV1Client
NewForConfigOrDie creates a new ApisV1Client for the given config and panics if there is an error in the config.
func (*ApisV1Client) Consumers ¶
func (c *ApisV1Client) Consumers(namespace string) ConsumerInterface
func (*ApisV1Client) HTTPFilterPolicies ¶
func (c *ApisV1Client) HTTPFilterPolicies(namespace string) HTTPFilterPolicyInterface
func (*ApisV1Client) RESTClient ¶
func (c *ApisV1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*ApisV1Client) ServiceRegistries ¶
func (c *ApisV1Client) ServiceRegistries(namespace string) ServiceRegistryInterface
type ApisV1Interface ¶
type ApisV1Interface interface { RESTClient() rest.Interface ConsumersGetter HTTPFilterPoliciesGetter ServiceRegistriesGetter }
type ConsumerExpansion ¶
type ConsumerExpansion interface{}
type ConsumerInterface ¶
type ConsumerInterface interface { Create(ctx context.Context, consumer *v1.Consumer, opts metav1.CreateOptions) (*v1.Consumer, error) Update(ctx context.Context, consumer *v1.Consumer, opts metav1.UpdateOptions) (*v1.Consumer, error) UpdateStatus(ctx context.Context, consumer *v1.Consumer, opts metav1.UpdateOptions) (*v1.Consumer, 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.Consumer, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.ConsumerList, 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.Consumer, err error) ConsumerExpansion }
ConsumerInterface has methods to work with Consumer resources.
type ConsumersGetter ¶
type ConsumersGetter interface {
Consumers(namespace string) ConsumerInterface
}
ConsumersGetter has a method to return a ConsumerInterface. A group's client should implement this interface.
type HTTPFilterPoliciesGetter ¶
type HTTPFilterPoliciesGetter interface {
HTTPFilterPolicies(namespace string) HTTPFilterPolicyInterface
}
HTTPFilterPoliciesGetter has a method to return a HTTPFilterPolicyInterface. A group's client should implement this interface.
type HTTPFilterPolicyExpansion ¶
type HTTPFilterPolicyExpansion interface{}
type HTTPFilterPolicyInterface ¶
type HTTPFilterPolicyInterface interface { Create(ctx context.Context, hTTPFilterPolicy *v1.HTTPFilterPolicy, opts metav1.CreateOptions) (*v1.HTTPFilterPolicy, error) Update(ctx context.Context, hTTPFilterPolicy *v1.HTTPFilterPolicy, opts metav1.UpdateOptions) (*v1.HTTPFilterPolicy, error) UpdateStatus(ctx context.Context, hTTPFilterPolicy *v1.HTTPFilterPolicy, opts metav1.UpdateOptions) (*v1.HTTPFilterPolicy, 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.HTTPFilterPolicy, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.HTTPFilterPolicyList, 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.HTTPFilterPolicy, err error) HTTPFilterPolicyExpansion }
HTTPFilterPolicyInterface has methods to work with HTTPFilterPolicy resources.
type ServiceRegistriesGetter ¶
type ServiceRegistriesGetter interface {
ServiceRegistries(namespace string) ServiceRegistryInterface
}
ServiceRegistriesGetter has a method to return a ServiceRegistryInterface. A group's client should implement this interface.
type ServiceRegistryExpansion ¶
type ServiceRegistryExpansion interface{}
type ServiceRegistryInterface ¶
type ServiceRegistryInterface interface { Create(ctx context.Context, serviceRegistry *v1.ServiceRegistry, opts metav1.CreateOptions) (*v1.ServiceRegistry, error) Update(ctx context.Context, serviceRegistry *v1.ServiceRegistry, opts metav1.UpdateOptions) (*v1.ServiceRegistry, error) UpdateStatus(ctx context.Context, serviceRegistry *v1.ServiceRegistry, opts metav1.UpdateOptions) (*v1.ServiceRegistry, 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.ServiceRegistry, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.ServiceRegistryList, 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.ServiceRegistry, err error) ServiceRegistryExpansion }
ServiceRegistryInterface has methods to work with ServiceRegistry resources.