Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type DevicesV1beta1Client
- func (c *DevicesV1beta1Client) Nodes() NodeInterface
- func (c *DevicesV1beta1Client) PCIDeviceClaims() PCIDeviceClaimInterface
- func (c *DevicesV1beta1Client) PCIDevices() PCIDeviceInterface
- func (c *DevicesV1beta1Client) RESTClient() rest.Interface
- func (c *DevicesV1beta1Client) SRIOVNetworkDevices() SRIOVNetworkDeviceInterface
- type DevicesV1beta1Interface
- type NodeExpansion
- type NodeInterface
- type NodesGetter
- type PCIDeviceClaimExpansion
- type PCIDeviceClaimInterface
- type PCIDeviceClaimsGetter
- type PCIDeviceExpansion
- type PCIDeviceInterface
- type PCIDevicesGetter
- type SRIOVNetworkDeviceExpansion
- type SRIOVNetworkDeviceInterface
- type SRIOVNetworkDevicesGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DevicesV1beta1Client ¶
type DevicesV1beta1Client struct {
// contains filtered or unexported fields
}
DevicesV1beta1Client is used to interact with features provided by the devices.harvesterhci.io 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) Nodes ¶ added in v0.2.5
func (c *DevicesV1beta1Client) Nodes() NodeInterface
func (*DevicesV1beta1Client) PCIDeviceClaims ¶
func (c *DevicesV1beta1Client) PCIDeviceClaims() PCIDeviceClaimInterface
func (*DevicesV1beta1Client) PCIDevices ¶
func (c *DevicesV1beta1Client) PCIDevices() PCIDeviceInterface
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.
func (*DevicesV1beta1Client) SRIOVNetworkDevices ¶ added in v0.2.5
func (c *DevicesV1beta1Client) SRIOVNetworkDevices() SRIOVNetworkDeviceInterface
type DevicesV1beta1Interface ¶
type DevicesV1beta1Interface interface { RESTClient() rest.Interface NodesGetter PCIDevicesGetter PCIDeviceClaimsGetter SRIOVNetworkDevicesGetter }
type NodeExpansion ¶ added in v0.2.5
type NodeExpansion interface{}
type NodeInterface ¶ added in v0.2.5
type NodeInterface interface { Create(ctx context.Context, node *v1beta1.Node, opts v1.CreateOptions) (*v1beta1.Node, error) Update(ctx context.Context, node *v1beta1.Node, opts v1.UpdateOptions) (*v1beta1.Node, 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.Node, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.NodeList, 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.Node, err error) NodeExpansion }
NodeInterface has methods to work with Node resources.
type NodesGetter ¶ added in v0.2.5
type NodesGetter interface {
Nodes() NodeInterface
}
NodesGetter has a method to return a NodeInterface. A group's client should implement this interface.
type PCIDeviceClaimExpansion ¶
type PCIDeviceClaimExpansion interface{}
type PCIDeviceClaimInterface ¶
type PCIDeviceClaimInterface interface { Create(ctx context.Context, pCIDeviceClaim *v1beta1.PCIDeviceClaim, opts v1.CreateOptions) (*v1beta1.PCIDeviceClaim, error) Update(ctx context.Context, pCIDeviceClaim *v1beta1.PCIDeviceClaim, opts v1.UpdateOptions) (*v1beta1.PCIDeviceClaim, 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.PCIDeviceClaim, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.PCIDeviceClaimList, 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.PCIDeviceClaim, err error) PCIDeviceClaimExpansion }
PCIDeviceClaimInterface has methods to work with PCIDeviceClaim resources.
type PCIDeviceClaimsGetter ¶
type PCIDeviceClaimsGetter interface {
PCIDeviceClaims() PCIDeviceClaimInterface
}
PCIDeviceClaimsGetter has a method to return a PCIDeviceClaimInterface. A group's client should implement this interface.
type PCIDeviceExpansion ¶
type PCIDeviceExpansion interface{}
type PCIDeviceInterface ¶
type PCIDeviceInterface interface { Create(ctx context.Context, pCIDevice *v1beta1.PCIDevice, opts v1.CreateOptions) (*v1beta1.PCIDevice, error) Update(ctx context.Context, pCIDevice *v1beta1.PCIDevice, opts v1.UpdateOptions) (*v1beta1.PCIDevice, 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.PCIDevice, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.PCIDeviceList, 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.PCIDevice, err error) PCIDeviceExpansion }
PCIDeviceInterface has methods to work with PCIDevice resources.
type PCIDevicesGetter ¶
type PCIDevicesGetter interface {
PCIDevices() PCIDeviceInterface
}
PCIDevicesGetter has a method to return a PCIDeviceInterface. A group's client should implement this interface.
type SRIOVNetworkDeviceExpansion ¶ added in v0.2.5
type SRIOVNetworkDeviceExpansion interface{}
type SRIOVNetworkDeviceInterface ¶ added in v0.2.5
type SRIOVNetworkDeviceInterface interface { Create(ctx context.Context, sRIOVNetworkDevice *v1beta1.SRIOVNetworkDevice, opts v1.CreateOptions) (*v1beta1.SRIOVNetworkDevice, error) Update(ctx context.Context, sRIOVNetworkDevice *v1beta1.SRIOVNetworkDevice, opts v1.UpdateOptions) (*v1beta1.SRIOVNetworkDevice, error) UpdateStatus(ctx context.Context, sRIOVNetworkDevice *v1beta1.SRIOVNetworkDevice, opts v1.UpdateOptions) (*v1beta1.SRIOVNetworkDevice, 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.SRIOVNetworkDevice, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.SRIOVNetworkDeviceList, 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.SRIOVNetworkDevice, err error) SRIOVNetworkDeviceExpansion }
SRIOVNetworkDeviceInterface has methods to work with SRIOVNetworkDevice resources.
type SRIOVNetworkDevicesGetter ¶ added in v0.2.5
type SRIOVNetworkDevicesGetter interface {
SRIOVNetworkDevices() SRIOVNetworkDeviceInterface
}
SRIOVNetworkDevicesGetter has a method to return a SRIOVNetworkDeviceInterface. A group's client should implement this interface.