Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeDevicesV1beta1
- func (c *FakeDevicesV1beta1) Nodes() v1beta1.NodeInterface
- func (c *FakeDevicesV1beta1) PCIDeviceClaims() v1beta1.PCIDeviceClaimInterface
- func (c *FakeDevicesV1beta1) PCIDevices() v1beta1.PCIDeviceInterface
- func (c *FakeDevicesV1beta1) RESTClient() rest.Interface
- func (c *FakeDevicesV1beta1) SRIOVNetworkDevices() v1beta1.SRIOVNetworkDeviceInterface
- type FakeNodes
- func (c *FakeNodes) Create(ctx context.Context, node *v1beta1.Node, opts v1.CreateOptions) (result *v1beta1.Node, err error)
- func (c *FakeNodes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNodes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeNodes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.Node, err error)
- func (c *FakeNodes) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.NodeList, err error)
- func (c *FakeNodes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.Node, err error)
- func (c *FakeNodes) Update(ctx context.Context, node *v1beta1.Node, opts v1.UpdateOptions) (result *v1beta1.Node, err error)
- func (c *FakeNodes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePCIDeviceClaims
- func (c *FakePCIDeviceClaims) Create(ctx context.Context, pCIDeviceClaim *v1beta1.PCIDeviceClaim, ...) (result *v1beta1.PCIDeviceClaim, err error)
- func (c *FakePCIDeviceClaims) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePCIDeviceClaims) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePCIDeviceClaims) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.PCIDeviceClaim, err error)
- func (c *FakePCIDeviceClaims) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.PCIDeviceClaimList, err error)
- func (c *FakePCIDeviceClaims) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.PCIDeviceClaim, err error)
- func (c *FakePCIDeviceClaims) Update(ctx context.Context, pCIDeviceClaim *v1beta1.PCIDeviceClaim, ...) (result *v1beta1.PCIDeviceClaim, err error)
- func (c *FakePCIDeviceClaims) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePCIDevices
- func (c *FakePCIDevices) Create(ctx context.Context, pCIDevice *v1beta1.PCIDevice, opts v1.CreateOptions) (result *v1beta1.PCIDevice, err error)
- func (c *FakePCIDevices) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePCIDevices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePCIDevices) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.PCIDevice, err error)
- func (c *FakePCIDevices) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.PCIDeviceList, err error)
- func (c *FakePCIDevices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.PCIDevice, err error)
- func (c *FakePCIDevices) Update(ctx context.Context, pCIDevice *v1beta1.PCIDevice, opts v1.UpdateOptions) (result *v1beta1.PCIDevice, err error)
- func (c *FakePCIDevices) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSRIOVNetworkDevices
- func (c *FakeSRIOVNetworkDevices) Create(ctx context.Context, sRIOVNetworkDevice *v1beta1.SRIOVNetworkDevice, ...) (result *v1beta1.SRIOVNetworkDevice, err error)
- func (c *FakeSRIOVNetworkDevices) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSRIOVNetworkDevices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSRIOVNetworkDevices) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.SRIOVNetworkDevice, err error)
- func (c *FakeSRIOVNetworkDevices) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.SRIOVNetworkDeviceList, err error)
- func (c *FakeSRIOVNetworkDevices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.SRIOVNetworkDevice, err error)
- func (c *FakeSRIOVNetworkDevices) Update(ctx context.Context, sRIOVNetworkDevice *v1beta1.SRIOVNetworkDevice, ...) (result *v1beta1.SRIOVNetworkDevice, err error)
- func (c *FakeSRIOVNetworkDevices) UpdateStatus(ctx context.Context, sRIOVNetworkDevice *v1beta1.SRIOVNetworkDevice, ...) (*v1beta1.SRIOVNetworkDevice, error)
- func (c *FakeSRIOVNetworkDevices) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeDevicesV1beta1 ¶
func (*FakeDevicesV1beta1) Nodes ¶ added in v0.2.5
func (c *FakeDevicesV1beta1) Nodes() v1beta1.NodeInterface
func (*FakeDevicesV1beta1) PCIDeviceClaims ¶
func (c *FakeDevicesV1beta1) PCIDeviceClaims() v1beta1.PCIDeviceClaimInterface
func (*FakeDevicesV1beta1) PCIDevices ¶
func (c *FakeDevicesV1beta1) PCIDevices() v1beta1.PCIDeviceInterface
func (*FakeDevicesV1beta1) RESTClient ¶
func (c *FakeDevicesV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeDevicesV1beta1) SRIOVNetworkDevices ¶ added in v0.2.5
func (c *FakeDevicesV1beta1) SRIOVNetworkDevices() v1beta1.SRIOVNetworkDeviceInterface
type FakeNodes ¶ added in v0.2.5
type FakeNodes struct {
Fake *FakeDevicesV1beta1
}
FakeNodes implements NodeInterface
func (*FakeNodes) Create ¶ added in v0.2.5
func (c *FakeNodes) Create(ctx context.Context, node *v1beta1.Node, opts v1.CreateOptions) (result *v1beta1.Node, err error)
Create takes the representation of a node and creates it. Returns the server's representation of the node, and an error, if there is any.
func (*FakeNodes) Delete ¶ added in v0.2.5
Delete takes name of the node and deletes it. Returns an error if one occurs.
func (*FakeNodes) DeleteCollection ¶ added in v0.2.5
func (c *FakeNodes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNodes) Get ¶ added in v0.2.5
func (c *FakeNodes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.Node, err error)
Get takes name of the node, and returns the corresponding node object, and an error if there is any.
func (*FakeNodes) List ¶ added in v0.2.5
func (c *FakeNodes) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.NodeList, err error)
List takes label and field selectors, and returns the list of Nodes that match those selectors.
func (*FakeNodes) Patch ¶ added in v0.2.5
func (c *FakeNodes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.Node, err error)
Patch applies the patch and returns the patched node.
func (*FakeNodes) Update ¶ added in v0.2.5
func (c *FakeNodes) Update(ctx context.Context, node *v1beta1.Node, opts v1.UpdateOptions) (result *v1beta1.Node, err error)
Update takes the representation of a node and updates it. Returns the server's representation of the node, and an error, if there is any.
type FakePCIDeviceClaims ¶
type FakePCIDeviceClaims struct {
Fake *FakeDevicesV1beta1
}
FakePCIDeviceClaims implements PCIDeviceClaimInterface
func (*FakePCIDeviceClaims) Create ¶
func (c *FakePCIDeviceClaims) Create(ctx context.Context, pCIDeviceClaim *v1beta1.PCIDeviceClaim, opts v1.CreateOptions) (result *v1beta1.PCIDeviceClaim, err error)
Create takes the representation of a pCIDeviceClaim and creates it. Returns the server's representation of the pCIDeviceClaim, and an error, if there is any.
func (*FakePCIDeviceClaims) Delete ¶
func (c *FakePCIDeviceClaims) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the pCIDeviceClaim and deletes it. Returns an error if one occurs.
func (*FakePCIDeviceClaims) DeleteCollection ¶
func (c *FakePCIDeviceClaims) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePCIDeviceClaims) Get ¶
func (c *FakePCIDeviceClaims) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.PCIDeviceClaim, err error)
Get takes name of the pCIDeviceClaim, and returns the corresponding pCIDeviceClaim object, and an error if there is any.
func (*FakePCIDeviceClaims) List ¶
func (c *FakePCIDeviceClaims) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.PCIDeviceClaimList, err error)
List takes label and field selectors, and returns the list of PCIDeviceClaims that match those selectors.
func (*FakePCIDeviceClaims) Patch ¶
func (c *FakePCIDeviceClaims) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.PCIDeviceClaim, err error)
Patch applies the patch and returns the patched pCIDeviceClaim.
func (*FakePCIDeviceClaims) Update ¶
func (c *FakePCIDeviceClaims) Update(ctx context.Context, pCIDeviceClaim *v1beta1.PCIDeviceClaim, opts v1.UpdateOptions) (result *v1beta1.PCIDeviceClaim, err error)
Update takes the representation of a pCIDeviceClaim and updates it. Returns the server's representation of the pCIDeviceClaim, and an error, if there is any.
func (*FakePCIDeviceClaims) Watch ¶
func (c *FakePCIDeviceClaims) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested pCIDeviceClaims.
type FakePCIDevices ¶
type FakePCIDevices struct {
Fake *FakeDevicesV1beta1
}
FakePCIDevices implements PCIDeviceInterface
func (*FakePCIDevices) Create ¶
func (c *FakePCIDevices) Create(ctx context.Context, pCIDevice *v1beta1.PCIDevice, opts v1.CreateOptions) (result *v1beta1.PCIDevice, err error)
Create takes the representation of a pCIDevice and creates it. Returns the server's representation of the pCIDevice, and an error, if there is any.
func (*FakePCIDevices) Delete ¶
func (c *FakePCIDevices) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the pCIDevice and deletes it. Returns an error if one occurs.
func (*FakePCIDevices) DeleteCollection ¶
func (c *FakePCIDevices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePCIDevices) Get ¶
func (c *FakePCIDevices) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.PCIDevice, err error)
Get takes name of the pCIDevice, and returns the corresponding pCIDevice object, and an error if there is any.
func (*FakePCIDevices) List ¶
func (c *FakePCIDevices) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.PCIDeviceList, err error)
List takes label and field selectors, and returns the list of PCIDevices that match those selectors.
func (*FakePCIDevices) Patch ¶
func (c *FakePCIDevices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.PCIDevice, err error)
Patch applies the patch and returns the patched pCIDevice.
func (*FakePCIDevices) Update ¶
func (c *FakePCIDevices) Update(ctx context.Context, pCIDevice *v1beta1.PCIDevice, opts v1.UpdateOptions) (result *v1beta1.PCIDevice, err error)
Update takes the representation of a pCIDevice and updates it. Returns the server's representation of the pCIDevice, and an error, if there is any.
func (*FakePCIDevices) Watch ¶
func (c *FakePCIDevices) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested pCIDevices.
type FakeSRIOVNetworkDevices ¶ added in v0.2.5
type FakeSRIOVNetworkDevices struct {
Fake *FakeDevicesV1beta1
}
FakeSRIOVNetworkDevices implements SRIOVNetworkDeviceInterface
func (*FakeSRIOVNetworkDevices) Create ¶ added in v0.2.5
func (c *FakeSRIOVNetworkDevices) Create(ctx context.Context, sRIOVNetworkDevice *v1beta1.SRIOVNetworkDevice, opts v1.CreateOptions) (result *v1beta1.SRIOVNetworkDevice, err error)
Create takes the representation of a sRIOVNetworkDevice and creates it. Returns the server's representation of the sRIOVNetworkDevice, and an error, if there is any.
func (*FakeSRIOVNetworkDevices) Delete ¶ added in v0.2.5
func (c *FakeSRIOVNetworkDevices) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the sRIOVNetworkDevice and deletes it. Returns an error if one occurs.
func (*FakeSRIOVNetworkDevices) DeleteCollection ¶ added in v0.2.5
func (c *FakeSRIOVNetworkDevices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSRIOVNetworkDevices) Get ¶ added in v0.2.5
func (c *FakeSRIOVNetworkDevices) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.SRIOVNetworkDevice, err error)
Get takes name of the sRIOVNetworkDevice, and returns the corresponding sRIOVNetworkDevice object, and an error if there is any.
func (*FakeSRIOVNetworkDevices) List ¶ added in v0.2.5
func (c *FakeSRIOVNetworkDevices) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.SRIOVNetworkDeviceList, err error)
List takes label and field selectors, and returns the list of SRIOVNetworkDevices that match those selectors.
func (*FakeSRIOVNetworkDevices) Patch ¶ added in v0.2.5
func (c *FakeSRIOVNetworkDevices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.SRIOVNetworkDevice, err error)
Patch applies the patch and returns the patched sRIOVNetworkDevice.
func (*FakeSRIOVNetworkDevices) Update ¶ added in v0.2.5
func (c *FakeSRIOVNetworkDevices) Update(ctx context.Context, sRIOVNetworkDevice *v1beta1.SRIOVNetworkDevice, opts v1.UpdateOptions) (result *v1beta1.SRIOVNetworkDevice, err error)
Update takes the representation of a sRIOVNetworkDevice and updates it. Returns the server's representation of the sRIOVNetworkDevice, and an error, if there is any.
func (*FakeSRIOVNetworkDevices) UpdateStatus ¶ added in v0.2.5
func (c *FakeSRIOVNetworkDevices) UpdateStatus(ctx context.Context, sRIOVNetworkDevice *v1beta1.SRIOVNetworkDevice, opts v1.UpdateOptions) (*v1beta1.SRIOVNetworkDevice, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSRIOVNetworkDevices) Watch ¶ added in v0.2.5
func (c *FakeSRIOVNetworkDevices) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested sRIOVNetworkDevices.