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 *v1alpha1.Backend, opts v1.CreateOptions) (*v1alpha1.Backend, error) Update(ctx context.Context, backend *v1alpha1.Backend, opts v1.UpdateOptions) (*v1alpha1.Backend, 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.Backend, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.BackendList, 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.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 CoreV1alpha1Client ¶
type CoreV1alpha1Client struct {
// contains filtered or unexported fields
}
CoreV1alpha1Client is used to interact with features provided by the core.haproxy.org group.
func New ¶
func New(c rest.Interface) *CoreV1alpha1Client
New creates a new CoreV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*CoreV1alpha1Client, error)
NewForConfig creates a new CoreV1alpha1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient ¶ added in v1.11.0
NewForConfigAndClient creates a new CoreV1alpha1Client 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) *CoreV1alpha1Client
NewForConfigOrDie creates a new CoreV1alpha1Client for the given config and panics if there is an error in the config.
func (*CoreV1alpha1Client) Backends ¶
func (c *CoreV1alpha1Client) Backends(namespace string) BackendInterface
func (*CoreV1alpha1Client) Defaults ¶
func (c *CoreV1alpha1Client) Defaults(namespace string) DefaultsInterface
func (*CoreV1alpha1Client) Globals ¶
func (c *CoreV1alpha1Client) Globals(namespace string) GlobalInterface
func (*CoreV1alpha1Client) RESTClient ¶
func (c *CoreV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type CoreV1alpha1Interface ¶
type CoreV1alpha1Interface interface { RESTClient() rest.Interface BackendsGetter DefaultsGetter GlobalsGetter }
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 *v1alpha1.Defaults, opts v1.CreateOptions) (*v1alpha1.Defaults, error) Update(ctx context.Context, defaults *v1alpha1.Defaults, opts v1.UpdateOptions) (*v1alpha1.Defaults, 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.Defaults, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.DefaultsList, 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.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 *v1alpha1.Global, opts v1.CreateOptions) (*v1alpha1.Global, error) Update(ctx context.Context, global *v1alpha1.Global, opts v1.UpdateOptions) (*v1alpha1.Global, 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.Global, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.GlobalList, 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.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.