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 BackendExpansion ¶
type BackendExpansion interface{}
type BackendInterface ¶
type BackendInterface interface { Create(ctx context.Context, backend *v1.Backend, opts metav1.CreateOptions) (*v1.Backend, error) Update(ctx context.Context, backend *v1.Backend, opts metav1.UpdateOptions) (*v1.Backend, 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.Backend, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.BackendList, 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.Backend, err error) BackendExpansion }
BackendInterface has methods to work with Backend resources.
type BackendsGetter ¶
type BackendsGetter interface {
Backends(namespace string) BackendInterface
}
BackendsGetter has a method to return a BackendInterface. A group's client should implement this interface.
type DefaultsExpansion ¶
type DefaultsExpansion interface{}
type DefaultsGetter ¶
type DefaultsGetter interface {
Defaults(namespace string) DefaultsInterface
}
DefaultsGetter has a method to return a DefaultsInterface. A group's client should implement this interface.
type DefaultsInterface ¶
type DefaultsInterface interface { Create(ctx context.Context, defaults *v1.Defaults, opts metav1.CreateOptions) (*v1.Defaults, error) Update(ctx context.Context, defaults *v1.Defaults, opts metav1.UpdateOptions) (*v1.Defaults, 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.Defaults, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.DefaultsList, 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.Defaults, err error) DefaultsExpansion }
DefaultsInterface has methods to work with Defaults resources.
type GlobalExpansion ¶
type GlobalExpansion interface{}
type GlobalInterface ¶
type GlobalInterface interface { Create(ctx context.Context, global *v1.Global, opts metav1.CreateOptions) (*v1.Global, error) Update(ctx context.Context, global *v1.Global, opts metav1.UpdateOptions) (*v1.Global, 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.Global, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.GlobalList, 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.Global, err error) GlobalExpansion }
GlobalInterface has methods to work with Global resources.
type GlobalsGetter ¶
type GlobalsGetter interface {
Globals(namespace string) GlobalInterface
}
GlobalsGetter has a method to return a GlobalInterface. A group's client should implement this interface.
type IngressV1Client ¶
type IngressV1Client struct {
// contains filtered or unexported fields
}
IngressV1Client is used to interact with features provided by the ingress.v1.haproxy.org group.
func New ¶
func New(c rest.Interface) *IngressV1Client
New creates a new IngressV1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*IngressV1Client, error)
NewForConfig creates a new IngressV1Client 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 IngressV1Client 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) *IngressV1Client
NewForConfigOrDie creates a new IngressV1Client for the given config and panics if there is an error in the config.
func (*IngressV1Client) Backends ¶
func (c *IngressV1Client) Backends(namespace string) BackendInterface
func (*IngressV1Client) Defaults ¶
func (c *IngressV1Client) Defaults(namespace string) DefaultsInterface
func (*IngressV1Client) Globals ¶
func (c *IngressV1Client) Globals(namespace string) GlobalInterface
func (*IngressV1Client) RESTClient ¶
func (c *IngressV1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type IngressV1Interface ¶
type IngressV1Interface interface { RESTClient() rest.Interface BackendsGetter DefaultsGetter GlobalsGetter }