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 DeviceExpansion ¶
type DeviceExpansion interface{}
type DeviceInterface ¶
type DeviceInterface interface { Create(ctx context.Context, device *v1beta1.Device, opts v1.CreateOptions) (*v1beta1.Device, error) Update(ctx context.Context, device *v1beta1.Device, opts v1.UpdateOptions) (*v1beta1.Device, error) UpdateStatus(ctx context.Context, device *v1beta1.Device, opts v1.UpdateOptions) (*v1beta1.Device, 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) (*v1beta1.Device, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.DeviceList, 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 *v1beta1.Device, err error) DeviceExpansion }
DeviceInterface has methods to work with Device resources.
type DeviceModelExpansion ¶
type DeviceModelExpansion interface{}
type DeviceModelInterface ¶
type DeviceModelInterface interface { Create(ctx context.Context, deviceModel *v1beta1.DeviceModel, opts v1.CreateOptions) (*v1beta1.DeviceModel, error) Update(ctx context.Context, deviceModel *v1beta1.DeviceModel, opts v1.UpdateOptions) (*v1beta1.DeviceModel, 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) (*v1beta1.DeviceModel, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.DeviceModelList, 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 *v1beta1.DeviceModel, err error) DeviceModelExpansion }
DeviceModelInterface has methods to work with DeviceModel resources.
type DeviceModelsGetter ¶
type DeviceModelsGetter interface {
DeviceModels(namespace string) DeviceModelInterface
}
DeviceModelsGetter has a method to return a DeviceModelInterface. A group's client should implement this interface.
type DevicesGetter ¶
type DevicesGetter interface {
Devices(namespace string) DeviceInterface
}
DevicesGetter has a method to return a DeviceInterface. A group's client should implement this interface.
type DevicesV1beta1Client ¶
type DevicesV1beta1Client struct {
// contains filtered or unexported fields
}
DevicesV1beta1Client is used to interact with features provided by the devices group.
func New ¶
func New(c rest.Interface) *DevicesV1beta1Client
New creates a new DevicesV1beta1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*DevicesV1beta1Client, error)
NewForConfig creates a new DevicesV1beta1Client 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 DevicesV1beta1Client 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) *DevicesV1beta1Client
NewForConfigOrDie creates a new DevicesV1beta1Client for the given config and panics if there is an error in the config.
func (*DevicesV1beta1Client) DeviceModels ¶
func (c *DevicesV1beta1Client) DeviceModels(namespace string) DeviceModelInterface
func (*DevicesV1beta1Client) Devices ¶
func (c *DevicesV1beta1Client) Devices(namespace string) DeviceInterface
func (*DevicesV1beta1Client) RESTClient ¶
func (c *DevicesV1beta1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type DevicesV1beta1Interface ¶
type DevicesV1beta1Interface interface { RESTClient() rest.Interface DevicesGetter DeviceModelsGetter }