v1beta1

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 9 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 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

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

func NewForConfigAndClient(c *rest.Config, h *http.Client) (*DevicesV1beta1Client, error)

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 (*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 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.

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