v1alpha2

package
v1.10.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

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 *v1alpha2.Device, opts v1.CreateOptions) (*v1alpha2.Device, error)
	Update(ctx context.Context, device *v1alpha2.Device, opts v1.UpdateOptions) (*v1alpha2.Device, error)
	UpdateStatus(ctx context.Context, device *v1alpha2.Device, opts v1.UpdateOptions) (*v1alpha2.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) (*v1alpha2.Device, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha2.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 *v1alpha2.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 *v1alpha2.DeviceModel, opts v1.CreateOptions) (*v1alpha2.DeviceModel, error)
	Update(ctx context.Context, deviceModel *v1alpha2.DeviceModel, opts v1.UpdateOptions) (*v1alpha2.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) (*v1alpha2.DeviceModel, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha2.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 *v1alpha2.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 DevicesV1alpha2Client

type DevicesV1alpha2Client struct {
	// contains filtered or unexported fields
}

DevicesV1alpha2Client is used to interact with features provided by the devices group.

func New

New creates a new DevicesV1alpha2Client for the given RESTClient.

func NewForConfig

func NewForConfig(c *rest.Config) (*DevicesV1alpha2Client, error)

NewForConfig creates a new DevicesV1alpha2Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *DevicesV1alpha2Client

NewForConfigOrDie creates a new DevicesV1alpha2Client for the given config and panics if there is an error in the config.

func (*DevicesV1alpha2Client) DeviceModels

func (c *DevicesV1alpha2Client) DeviceModels(namespace string) DeviceModelInterface

func (*DevicesV1alpha2Client) Devices

func (c *DevicesV1alpha2Client) Devices(namespace string) DeviceInterface

func (*DevicesV1alpha2Client) RESTClient

func (c *DevicesV1alpha2Client) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

type DevicesV1alpha2Interface

type DevicesV1alpha2Interface interface {
	RESTClient() rest.Interface
	DevicesGetter
	DeviceModelsGetter
}

Directories

Path Synopsis
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL