Documentation ¶
Index ¶
- Constants
- type NodeCache
- type NodeClient
- func (c NodeClient) Create(node *v1.Node) (*v1.Node, error)
- func (c NodeClient) Delete(_ string, _ *metav1.DeleteOptions) error
- func (c NodeClient) Get(name string, options metav1.GetOptions) (*v1.Node, error)
- func (c NodeClient) List(metav1.ListOptions) (*v1.NodeList, error)
- func (c NodeClient) Patch(_ string, _ types.PatchType, _ []byte, _ ...string) (result *v1.Node, err error)
- func (c NodeClient) Update(node *v1.Node) (*v1.Node, error)
- func (c NodeClient) UpdateStatus(*v1.Node) (*v1.Node, error)
- func (c NodeClient) Watch(metav1.ListOptions) (watch.Interface, error)
- type PCIDeviceClaimsCache
- func (p PCIDeviceClaimsCache) AddIndexer(_ string, _ pcidevicesv1beta1ctl.PCIDeviceClaimIndexer)
- func (p PCIDeviceClaimsCache) Get(name string) (*pcidevicev1beta1.PCIDeviceClaim, error)
- func (p PCIDeviceClaimsCache) GetByIndex(_, _ string) ([]*pcidevicev1beta1.PCIDeviceClaim, error)
- func (p PCIDeviceClaimsCache) List(labels.Selector) ([]*pcidevicev1beta1.PCIDeviceClaim, error)
- type PCIDeviceClaimsClient
- func (p PCIDeviceClaimsClient) Create(d *pcidevicev1beta1.PCIDeviceClaim) (*pcidevicev1beta1.PCIDeviceClaim, error)
- func (p PCIDeviceClaimsClient) Delete(name string, options *metav1.DeleteOptions) error
- func (p PCIDeviceClaimsClient) Get(name string, options metav1.GetOptions) (*pcidevicev1beta1.PCIDeviceClaim, error)
- func (p PCIDeviceClaimsClient) List(opts metav1.ListOptions) (*pcidevicev1beta1.PCIDeviceClaimList, error)
- func (p PCIDeviceClaimsClient) Patch(_ string, _ types.PatchType, _ []byte, _ ...string) (result *pcidevicev1beta1.PCIDeviceClaim, err error)
- func (p PCIDeviceClaimsClient) Update(d *pcidevicev1beta1.PCIDeviceClaim) (*pcidevicev1beta1.PCIDeviceClaim, error)
- func (p PCIDeviceClaimsClient) UpdateStatus(d *pcidevicev1beta1.PCIDeviceClaim) (*pcidevicev1beta1.PCIDeviceClaim, error)
- func (p PCIDeviceClaimsClient) Watch(metav1.ListOptions) (watch.Interface, error)
- type PCIDevicesCache
- func (p PCIDevicesCache) AddIndexer(_ string, _ pcidevicesv1beta1ctl.PCIDeviceIndexer)
- func (p PCIDevicesCache) Get(name string) (*pcidevicev1beta1.PCIDevice, error)
- func (p PCIDevicesCache) GetByIndex(indexName, key string) ([]*pcidevicev1beta1.PCIDevice, error)
- func (p PCIDevicesCache) List(labels.Selector) ([]*pcidevicev1beta1.PCIDevice, error)
- type PCIDevicesClient
- func (p PCIDevicesClient) Create(d *pcidevicev1beta1.PCIDevice) (*pcidevicev1beta1.PCIDevice, error)
- func (p PCIDevicesClient) Delete(name string, options *metav1.DeleteOptions) error
- func (p PCIDevicesClient) Get(name string, options metav1.GetOptions) (*pcidevicev1beta1.PCIDevice, error)
- func (p PCIDevicesClient) List(opts metav1.ListOptions) (*pcidevicev1beta1.PCIDeviceList, error)
- func (p PCIDevicesClient) Patch(_ string, _ types.PatchType, _ []byte, _ ...string) (result *pcidevicev1beta1.PCIDevice, err error)
- func (p PCIDevicesClient) Update(d *pcidevicev1beta1.PCIDevice) (*pcidevicev1beta1.PCIDevice, error)
- func (p PCIDevicesClient) UpdateStatus(d *pcidevicev1beta1.PCIDevice) (*pcidevicev1beta1.PCIDevice, error)
- func (p PCIDevicesClient) Watch(metav1.ListOptions) (watch.Interface, error)
- type SriovDevicesCache
- func (s SriovDevicesCache) AddIndexer(_ string, _ pcidevicesv1beta1ctl.SRIOVNetworkDeviceIndexer)
- func (s SriovDevicesCache) Get(name string) (*pcidevicev1beta1.SRIOVNetworkDevice, error)
- func (s SriovDevicesCache) GetByIndex(indexName, key string) ([]*pcidevicev1beta1.SRIOVNetworkDevice, error)
- func (s SriovDevicesCache) List(selector labels.Selector) ([]*pcidevicev1beta1.SRIOVNetworkDevice, error)
- type SriovDevicesClient
- func (s SriovDevicesClient) Create(d *pcidevicev1beta1.SRIOVNetworkDevice) (*pcidevicev1beta1.SRIOVNetworkDevice, error)
- func (s SriovDevicesClient) Delete(name string, options *metav1.DeleteOptions) error
- func (s SriovDevicesClient) Get(name string, options metav1.GetOptions) (*pcidevicev1beta1.SRIOVNetworkDevice, error)
- func (s SriovDevicesClient) List(opts metav1.ListOptions) (*pcidevicev1beta1.SRIOVNetworkDeviceList, error)
- func (s SriovDevicesClient) Patch(_ string, _ types.PatchType, _ []byte, _ ...string) (*pcidevicev1beta1.SRIOVNetworkDevice, error)
- func (s SriovDevicesClient) Update(d *pcidevicev1beta1.SRIOVNetworkDevice) (*pcidevicev1beta1.SRIOVNetworkDevice, error)
- func (s SriovDevicesClient) UpdateStatus(d *pcidevicev1beta1.SRIOVNetworkDevice) (*pcidevicev1beta1.SRIOVNetworkDevice, error)
- func (s SriovDevicesClient) Watch(metav1.ListOptions) (watch.Interface, error)
- type VirtualMachineCache
- func (c VirtualMachineCache) AddIndexer(_ string, _ kubevirtctlv1.VirtualMachineIndexer)
- func (c VirtualMachineCache) Get(namespace, name string) (*kubevirtv1api.VirtualMachine, error)
- func (c VirtualMachineCache) GetByIndex(indexName, key string) ([]*kubevirtv1api.VirtualMachine, error)
- func (c VirtualMachineCache) List(namespace string, selector labels.Selector) ([]*kubevirtv1api.VirtualMachine, error)
- type VirtualMachineClient
- func (c VirtualMachineClient) Create(virtualMachine *kubevirtv1api.VirtualMachine) (*kubevirtv1api.VirtualMachine, error)
- func (c VirtualMachineClient) Delete(_, _ string, _ *metav1.DeleteOptions) error
- func (c VirtualMachineClient) Get(namespace, name string, options metav1.GetOptions) (*kubevirtv1api.VirtualMachine, error)
- func (c VirtualMachineClient) List(_ string, _ metav1.ListOptions) (*kubevirtv1api.VirtualMachineList, error)
- func (c VirtualMachineClient) Patch(_, _ string, _ types.PatchType, _ []byte, _ ...string) (result *kubevirtv1api.VirtualMachine, err error)
- func (c VirtualMachineClient) Update(virtualMachine *kubevirtv1api.VirtualMachine) (*kubevirtv1api.VirtualMachine, error)
- func (c VirtualMachineClient) UpdateStatus(*kubevirtv1api.VirtualMachine) (*kubevirtv1api.VirtualMachine, error)
- func (c VirtualMachineClient) Watch(_ string, _ metav1.ListOptions) (watch.Interface, error)
- type VlanConfigCache
- func (c VlanConfigCache) AddIndexer(_ string, _ ctlnetworkv1beta1.VlanConfigIndexer)
- func (c VlanConfigCache) Get(name string) (*v1beta1.VlanConfig, error)
- func (c VlanConfigCache) GetByIndex(_, _ string) ([]*v1beta1.VlanConfig, error)
- func (c VlanConfigCache) List(selector labels.Selector) ([]*v1beta1.VlanConfig, error)
Constants ¶
View Source
const (
IommuGroupByNode = "pcidevice.harvesterhci.io/iommu-by-node"
)
View Source
const (
VMByPCIDeviceClaim = "harvesterhci.io/vm-by-pcideviceclaim"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeCache ¶
type NodeCache func() corev1type.NodeInterface
func (NodeCache) AddIndexer ¶
func (c NodeCache) AddIndexer(_ string, _ ctlcorev1.NodeIndexer)
type NodeClient ¶
type NodeClient func() corev1type.NodeInterface
func (NodeClient) Delete ¶
func (c NodeClient) Delete(_ string, _ *metav1.DeleteOptions) error
func (NodeClient) Get ¶
func (c NodeClient) Get(name string, options metav1.GetOptions) (*v1.Node, error)
func (NodeClient) List ¶
func (c NodeClient) List(metav1.ListOptions) (*v1.NodeList, error)
func (NodeClient) UpdateStatus ¶
func (NodeClient) Watch ¶
func (c NodeClient) Watch(metav1.ListOptions) (watch.Interface, error)
type PCIDeviceClaimsCache ¶
type PCIDeviceClaimsCache func() v1beta1.PCIDeviceClaimInterface
func (PCIDeviceClaimsCache) AddIndexer ¶
func (p PCIDeviceClaimsCache) AddIndexer(_ string, _ pcidevicesv1beta1ctl.PCIDeviceClaimIndexer)
func (PCIDeviceClaimsCache) Get ¶
func (p PCIDeviceClaimsCache) Get(name string) (*pcidevicev1beta1.PCIDeviceClaim, error)
func (PCIDeviceClaimsCache) GetByIndex ¶
func (p PCIDeviceClaimsCache) GetByIndex(_, _ string) ([]*pcidevicev1beta1.PCIDeviceClaim, error)
func (PCIDeviceClaimsCache) List ¶
func (p PCIDeviceClaimsCache) List(labels.Selector) ([]*pcidevicev1beta1.PCIDeviceClaim, error)
type PCIDeviceClaimsClient ¶
type PCIDeviceClaimsClient func() v1beta1.PCIDeviceClaimInterface
func (PCIDeviceClaimsClient) Create ¶
func (p PCIDeviceClaimsClient) Create(d *pcidevicev1beta1.PCIDeviceClaim) (*pcidevicev1beta1.PCIDeviceClaim, error)
func (PCIDeviceClaimsClient) Delete ¶
func (p PCIDeviceClaimsClient) Delete(name string, options *metav1.DeleteOptions) error
func (PCIDeviceClaimsClient) Get ¶
func (p PCIDeviceClaimsClient) Get(name string, options metav1.GetOptions) (*pcidevicev1beta1.PCIDeviceClaim, error)
func (PCIDeviceClaimsClient) List ¶
func (p PCIDeviceClaimsClient) List(opts metav1.ListOptions) (*pcidevicev1beta1.PCIDeviceClaimList, error)
func (PCIDeviceClaimsClient) Patch ¶
func (p PCIDeviceClaimsClient) Patch(_ string, _ types.PatchType, _ []byte, _ ...string) (result *pcidevicev1beta1.PCIDeviceClaim, err error)
func (PCIDeviceClaimsClient) Update ¶
func (p PCIDeviceClaimsClient) Update(d *pcidevicev1beta1.PCIDeviceClaim) (*pcidevicev1beta1.PCIDeviceClaim, error)
func (PCIDeviceClaimsClient) UpdateStatus ¶
func (p PCIDeviceClaimsClient) UpdateStatus(d *pcidevicev1beta1.PCIDeviceClaim) (*pcidevicev1beta1.PCIDeviceClaim, error)
func (PCIDeviceClaimsClient) Watch ¶
func (p PCIDeviceClaimsClient) Watch(metav1.ListOptions) (watch.Interface, error)
type PCIDevicesCache ¶
type PCIDevicesCache func() v1beta1.PCIDeviceInterface
func (PCIDevicesCache) AddIndexer ¶
func (p PCIDevicesCache) AddIndexer(_ string, _ pcidevicesv1beta1ctl.PCIDeviceIndexer)
func (PCIDevicesCache) Get ¶
func (p PCIDevicesCache) Get(name string) (*pcidevicev1beta1.PCIDevice, error)
func (PCIDevicesCache) GetByIndex ¶
func (p PCIDevicesCache) GetByIndex(indexName, key string) ([]*pcidevicev1beta1.PCIDevice, error)
func (PCIDevicesCache) List ¶
func (p PCIDevicesCache) List(labels.Selector) ([]*pcidevicev1beta1.PCIDevice, error)
type PCIDevicesClient ¶
type PCIDevicesClient func() v1beta1.PCIDeviceInterface
func (PCIDevicesClient) Create ¶
func (p PCIDevicesClient) Create(d *pcidevicev1beta1.PCIDevice) (*pcidevicev1beta1.PCIDevice, error)
func (PCIDevicesClient) Delete ¶
func (p PCIDevicesClient) Delete(name string, options *metav1.DeleteOptions) error
func (PCIDevicesClient) Get ¶
func (p PCIDevicesClient) Get(name string, options metav1.GetOptions) (*pcidevicev1beta1.PCIDevice, error)
func (PCIDevicesClient) List ¶
func (p PCIDevicesClient) List(opts metav1.ListOptions) (*pcidevicev1beta1.PCIDeviceList, error)
func (PCIDevicesClient) Patch ¶
func (p PCIDevicesClient) Patch(_ string, _ types.PatchType, _ []byte, _ ...string) (result *pcidevicev1beta1.PCIDevice, err error)
func (PCIDevicesClient) Update ¶
func (p PCIDevicesClient) Update(d *pcidevicev1beta1.PCIDevice) (*pcidevicev1beta1.PCIDevice, error)
func (PCIDevicesClient) UpdateStatus ¶
func (p PCIDevicesClient) UpdateStatus(d *pcidevicev1beta1.PCIDevice) (*pcidevicev1beta1.PCIDevice, error)
func (PCIDevicesClient) Watch ¶
func (p PCIDevicesClient) Watch(metav1.ListOptions) (watch.Interface, error)
type SriovDevicesCache ¶ added in v0.2.5
type SriovDevicesCache func() v1beta1.SRIOVNetworkDeviceInterface
func (SriovDevicesCache) AddIndexer ¶ added in v0.2.5
func (s SriovDevicesCache) AddIndexer(_ string, _ pcidevicesv1beta1ctl.SRIOVNetworkDeviceIndexer)
func (SriovDevicesCache) Get ¶ added in v0.2.5
func (s SriovDevicesCache) Get(name string) (*pcidevicev1beta1.SRIOVNetworkDevice, error)
func (SriovDevicesCache) GetByIndex ¶ added in v0.2.5
func (s SriovDevicesCache) GetByIndex(indexName, key string) ([]*pcidevicev1beta1.SRIOVNetworkDevice, error)
func (SriovDevicesCache) List ¶ added in v0.2.5
func (s SriovDevicesCache) List(selector labels.Selector) ([]*pcidevicev1beta1.SRIOVNetworkDevice, error)
type SriovDevicesClient ¶ added in v0.2.5
type SriovDevicesClient func() v1beta1.SRIOVNetworkDeviceInterface
func (SriovDevicesClient) Create ¶ added in v0.2.5
func (s SriovDevicesClient) Create(d *pcidevicev1beta1.SRIOVNetworkDevice) (*pcidevicev1beta1.SRIOVNetworkDevice, error)
func (SriovDevicesClient) Delete ¶ added in v0.2.5
func (s SriovDevicesClient) Delete(name string, options *metav1.DeleteOptions) error
func (SriovDevicesClient) Get ¶ added in v0.2.5
func (s SriovDevicesClient) Get(name string, options metav1.GetOptions) (*pcidevicev1beta1.SRIOVNetworkDevice, error)
func (SriovDevicesClient) List ¶ added in v0.2.5
func (s SriovDevicesClient) List(opts metav1.ListOptions) (*pcidevicev1beta1.SRIOVNetworkDeviceList, error)
func (SriovDevicesClient) Patch ¶ added in v0.2.5
func (s SriovDevicesClient) Patch(_ string, _ types.PatchType, _ []byte, _ ...string) (*pcidevicev1beta1.SRIOVNetworkDevice, error)
func (SriovDevicesClient) Update ¶ added in v0.2.5
func (s SriovDevicesClient) Update(d *pcidevicev1beta1.SRIOVNetworkDevice) (*pcidevicev1beta1.SRIOVNetworkDevice, error)
func (SriovDevicesClient) UpdateStatus ¶ added in v0.2.5
func (s SriovDevicesClient) UpdateStatus(d *pcidevicev1beta1.SRIOVNetworkDevice) (*pcidevicev1beta1.SRIOVNetworkDevice, error)
func (SriovDevicesClient) Watch ¶ added in v0.2.5
func (s SriovDevicesClient) Watch(metav1.ListOptions) (watch.Interface, error)
type VirtualMachineCache ¶ added in v0.2.5
type VirtualMachineCache func(string) kubevirtv1.VirtualMachineInterface
func (VirtualMachineCache) AddIndexer ¶ added in v0.2.5
func (c VirtualMachineCache) AddIndexer(_ string, _ kubevirtctlv1.VirtualMachineIndexer)
func (VirtualMachineCache) Get ¶ added in v0.2.5
func (c VirtualMachineCache) Get(namespace, name string) (*kubevirtv1api.VirtualMachine, error)
func (VirtualMachineCache) GetByIndex ¶ added in v0.2.5
func (c VirtualMachineCache) GetByIndex(indexName, key string) ([]*kubevirtv1api.VirtualMachine, error)
func (VirtualMachineCache) List ¶ added in v0.2.5
func (c VirtualMachineCache) List(namespace string, selector labels.Selector) ([]*kubevirtv1api.VirtualMachine, error)
type VirtualMachineClient ¶ added in v0.2.5
type VirtualMachineClient func(string) kubevirtv1.VirtualMachineInterface
func (VirtualMachineClient) Create ¶ added in v0.2.5
func (c VirtualMachineClient) Create(virtualMachine *kubevirtv1api.VirtualMachine) (*kubevirtv1api.VirtualMachine, error)
func (VirtualMachineClient) Delete ¶ added in v0.2.5
func (c VirtualMachineClient) Delete(_, _ string, _ *metav1.DeleteOptions) error
func (VirtualMachineClient) Get ¶ added in v0.2.5
func (c VirtualMachineClient) Get(namespace, name string, options metav1.GetOptions) (*kubevirtv1api.VirtualMachine, error)
func (VirtualMachineClient) List ¶ added in v0.2.5
func (c VirtualMachineClient) List(_ string, _ metav1.ListOptions) (*kubevirtv1api.VirtualMachineList, error)
func (VirtualMachineClient) Patch ¶ added in v0.2.5
func (c VirtualMachineClient) Patch(_, _ string, _ types.PatchType, _ []byte, _ ...string) (result *kubevirtv1api.VirtualMachine, err error)
func (VirtualMachineClient) Update ¶ added in v0.2.5
func (c VirtualMachineClient) Update(virtualMachine *kubevirtv1api.VirtualMachine) (*kubevirtv1api.VirtualMachine, error)
func (VirtualMachineClient) UpdateStatus ¶ added in v0.2.5
func (c VirtualMachineClient) UpdateStatus(*kubevirtv1api.VirtualMachine) (*kubevirtv1api.VirtualMachine, error)
func (VirtualMachineClient) Watch ¶ added in v0.2.5
func (c VirtualMachineClient) Watch(_ string, _ metav1.ListOptions) (watch.Interface, error)
type VlanConfigCache ¶
type VlanConfigCache func() clientv1beta1.VlanConfigInterface
func (VlanConfigCache) AddIndexer ¶
func (c VlanConfigCache) AddIndexer(_ string, _ ctlnetworkv1beta1.VlanConfigIndexer)
func (VlanConfigCache) Get ¶
func (c VlanConfigCache) Get(name string) (*v1beta1.VlanConfig, error)
func (VlanConfigCache) GetByIndex ¶
func (c VlanConfigCache) GetByIndex(_, _ string) ([]*v1beta1.VlanConfig, error)
func (VlanConfigCache) List ¶
func (c VlanConfigCache) List(selector labels.Selector) ([]*v1beta1.VlanConfig, error)
Click to show internal directories.
Click to hide internal directories.