Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeDiskioV1alpha1
- type FakeNodeDiskDevices
- func (c *FakeNodeDiskDevices) Create(ctx context.Context, nodeDiskDevice *v1alpha1.NodeDiskDevice, ...) (result *v1alpha1.NodeDiskDevice, err error)
- func (c *FakeNodeDiskDevices) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNodeDiskDevices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeNodeDiskDevices) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NodeDiskDevice, err error)
- func (c *FakeNodeDiskDevices) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NodeDiskDeviceList, err error)
- func (c *FakeNodeDiskDevices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.NodeDiskDevice, err error)
- func (c *FakeNodeDiskDevices) Update(ctx context.Context, nodeDiskDevice *v1alpha1.NodeDiskDevice, ...) (result *v1alpha1.NodeDiskDevice, err error)
- func (c *FakeNodeDiskDevices) UpdateStatus(ctx context.Context, nodeDiskDevice *v1alpha1.NodeDiskDevice, ...) (*v1alpha1.NodeDiskDevice, error)
- func (c *FakeNodeDiskDevices) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeNodeDiskIOStatses
- func (c *FakeNodeDiskIOStatses) Create(ctx context.Context, nodeDiskIOStats *v1alpha1.NodeDiskIOStats, ...) (result *v1alpha1.NodeDiskIOStats, err error)
- func (c *FakeNodeDiskIOStatses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNodeDiskIOStatses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeNodeDiskIOStatses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NodeDiskIOStats, err error)
- func (c *FakeNodeDiskIOStatses) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NodeDiskIOStatsList, err error)
- func (c *FakeNodeDiskIOStatses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.NodeDiskIOStats, err error)
- func (c *FakeNodeDiskIOStatses) Update(ctx context.Context, nodeDiskIOStats *v1alpha1.NodeDiskIOStats, ...) (result *v1alpha1.NodeDiskIOStats, err error)
- func (c *FakeNodeDiskIOStatses) UpdateStatus(ctx context.Context, nodeDiskIOStats *v1alpha1.NodeDiskIOStats, ...) (*v1alpha1.NodeDiskIOStats, error)
- func (c *FakeNodeDiskIOStatses) 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 FakeDiskioV1alpha1 ¶
func (*FakeDiskioV1alpha1) NodeDiskDevices ¶
func (c *FakeDiskioV1alpha1) NodeDiskDevices(namespace string) v1alpha1.NodeDiskDeviceInterface
func (*FakeDiskioV1alpha1) NodeDiskIOStatses ¶
func (c *FakeDiskioV1alpha1) NodeDiskIOStatses(namespace string) v1alpha1.NodeDiskIOStatsInterface
func (*FakeDiskioV1alpha1) RESTClient ¶
func (c *FakeDiskioV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeNodeDiskDevices ¶
type FakeNodeDiskDevices struct { Fake *FakeDiskioV1alpha1 // contains filtered or unexported fields }
FakeNodeDiskDevices implements NodeDiskDeviceInterface
func (*FakeNodeDiskDevices) Create ¶
func (c *FakeNodeDiskDevices) Create(ctx context.Context, nodeDiskDevice *v1alpha1.NodeDiskDevice, opts v1.CreateOptions) (result *v1alpha1.NodeDiskDevice, err error)
Create takes the representation of a nodeDiskDevice and creates it. Returns the server's representation of the nodeDiskDevice, and an error, if there is any.
func (*FakeNodeDiskDevices) Delete ¶
func (c *FakeNodeDiskDevices) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the nodeDiskDevice and deletes it. Returns an error if one occurs.
func (*FakeNodeDiskDevices) DeleteCollection ¶
func (c *FakeNodeDiskDevices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNodeDiskDevices) Get ¶
func (c *FakeNodeDiskDevices) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NodeDiskDevice, err error)
Get takes name of the nodeDiskDevice, and returns the corresponding nodeDiskDevice object, and an error if there is any.
func (*FakeNodeDiskDevices) List ¶
func (c *FakeNodeDiskDevices) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NodeDiskDeviceList, err error)
List takes label and field selectors, and returns the list of NodeDiskDevices that match those selectors.
func (*FakeNodeDiskDevices) Patch ¶
func (c *FakeNodeDiskDevices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NodeDiskDevice, err error)
Patch applies the patch and returns the patched nodeDiskDevice.
func (*FakeNodeDiskDevices) Update ¶
func (c *FakeNodeDiskDevices) Update(ctx context.Context, nodeDiskDevice *v1alpha1.NodeDiskDevice, opts v1.UpdateOptions) (result *v1alpha1.NodeDiskDevice, err error)
Update takes the representation of a nodeDiskDevice and updates it. Returns the server's representation of the nodeDiskDevice, and an error, if there is any.
func (*FakeNodeDiskDevices) UpdateStatus ¶
func (c *FakeNodeDiskDevices) UpdateStatus(ctx context.Context, nodeDiskDevice *v1alpha1.NodeDiskDevice, opts v1.UpdateOptions) (*v1alpha1.NodeDiskDevice, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeNodeDiskDevices) Watch ¶
func (c *FakeNodeDiskDevices) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested nodeDiskDevices.
type FakeNodeDiskIOStatses ¶
type FakeNodeDiskIOStatses struct { Fake *FakeDiskioV1alpha1 // contains filtered or unexported fields }
FakeNodeDiskIOStatses implements NodeDiskIOStatsInterface
func (*FakeNodeDiskIOStatses) Create ¶
func (c *FakeNodeDiskIOStatses) Create(ctx context.Context, nodeDiskIOStats *v1alpha1.NodeDiskIOStats, opts v1.CreateOptions) (result *v1alpha1.NodeDiskIOStats, err error)
Create takes the representation of a nodeDiskIOStats and creates it. Returns the server's representation of the nodeDiskIOStats, and an error, if there is any.
func (*FakeNodeDiskIOStatses) Delete ¶
func (c *FakeNodeDiskIOStatses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the nodeDiskIOStats and deletes it. Returns an error if one occurs.
func (*FakeNodeDiskIOStatses) DeleteCollection ¶
func (c *FakeNodeDiskIOStatses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNodeDiskIOStatses) Get ¶
func (c *FakeNodeDiskIOStatses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NodeDiskIOStats, err error)
Get takes name of the nodeDiskIOStats, and returns the corresponding nodeDiskIOStats object, and an error if there is any.
func (*FakeNodeDiskIOStatses) List ¶
func (c *FakeNodeDiskIOStatses) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NodeDiskIOStatsList, err error)
List takes label and field selectors, and returns the list of NodeDiskIOStatses that match those selectors.
func (*FakeNodeDiskIOStatses) Patch ¶
func (c *FakeNodeDiskIOStatses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NodeDiskIOStats, err error)
Patch applies the patch and returns the patched nodeDiskIOStats.
func (*FakeNodeDiskIOStatses) Update ¶
func (c *FakeNodeDiskIOStatses) Update(ctx context.Context, nodeDiskIOStats *v1alpha1.NodeDiskIOStats, opts v1.UpdateOptions) (result *v1alpha1.NodeDiskIOStats, err error)
Update takes the representation of a nodeDiskIOStats and updates it. Returns the server's representation of the nodeDiskIOStats, and an error, if there is any.
func (*FakeNodeDiskIOStatses) UpdateStatus ¶
func (c *FakeNodeDiskIOStatses) UpdateStatus(ctx context.Context, nodeDiskIOStats *v1alpha1.NodeDiskIOStats, opts v1.UpdateOptions) (*v1alpha1.NodeDiskIOStats, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeNodeDiskIOStatses) Watch ¶
func (c *FakeNodeDiskIOStatses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested nodeDiskIOStatses.