Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCsiV1alpha1
- type FakeNodeLocalStorageInitConfigs
- func (c *FakeNodeLocalStorageInitConfigs) Create(ctx context.Context, ...) (result *v1alpha1.NodeLocalStorageInitConfig, err error)
- func (c *FakeNodeLocalStorageInitConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNodeLocalStorageInitConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeNodeLocalStorageInitConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NodeLocalStorageInitConfig, err error)
- func (c *FakeNodeLocalStorageInitConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NodeLocalStorageInitConfigList, err error)
- func (c *FakeNodeLocalStorageInitConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.NodeLocalStorageInitConfig, err error)
- func (c *FakeNodeLocalStorageInitConfigs) Update(ctx context.Context, ...) (result *v1alpha1.NodeLocalStorageInitConfig, err error)
- func (c *FakeNodeLocalStorageInitConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeNodeLocalStorages
- func (c *FakeNodeLocalStorages) Create(ctx context.Context, nodeLocalStorage *v1alpha1.NodeLocalStorage, ...) (result *v1alpha1.NodeLocalStorage, err error)
- func (c *FakeNodeLocalStorages) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNodeLocalStorages) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeNodeLocalStorages) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NodeLocalStorage, err error)
- func (c *FakeNodeLocalStorages) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NodeLocalStorageList, err error)
- func (c *FakeNodeLocalStorages) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.NodeLocalStorage, err error)
- func (c *FakeNodeLocalStorages) Update(ctx context.Context, nodeLocalStorage *v1alpha1.NodeLocalStorage, ...) (result *v1alpha1.NodeLocalStorage, err error)
- func (c *FakeNodeLocalStorages) UpdateStatus(ctx context.Context, nodeLocalStorage *v1alpha1.NodeLocalStorage, ...) (*v1alpha1.NodeLocalStorage, error)
- func (c *FakeNodeLocalStorages) 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 FakeCsiV1alpha1 ¶
func (*FakeCsiV1alpha1) NodeLocalStorageInitConfigs ¶
func (c *FakeCsiV1alpha1) NodeLocalStorageInitConfigs() v1alpha1.NodeLocalStorageInitConfigInterface
func (*FakeCsiV1alpha1) NodeLocalStorages ¶
func (c *FakeCsiV1alpha1) NodeLocalStorages() v1alpha1.NodeLocalStorageInterface
func (*FakeCsiV1alpha1) RESTClient ¶
func (c *FakeCsiV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeNodeLocalStorageInitConfigs ¶
type FakeNodeLocalStorageInitConfigs struct {
Fake *FakeCsiV1alpha1
}
FakeNodeLocalStorageInitConfigs implements NodeLocalStorageInitConfigInterface
func (*FakeNodeLocalStorageInitConfigs) Create ¶
func (c *FakeNodeLocalStorageInitConfigs) Create(ctx context.Context, nodeLocalStorageInitConfig *v1alpha1.NodeLocalStorageInitConfig, opts v1.CreateOptions) (result *v1alpha1.NodeLocalStorageInitConfig, err error)
Create takes the representation of a nodeLocalStorageInitConfig and creates it. Returns the server's representation of the nodeLocalStorageInitConfig, and an error, if there is any.
func (*FakeNodeLocalStorageInitConfigs) Delete ¶
func (c *FakeNodeLocalStorageInitConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the nodeLocalStorageInitConfig and deletes it. Returns an error if one occurs.
func (*FakeNodeLocalStorageInitConfigs) DeleteCollection ¶
func (c *FakeNodeLocalStorageInitConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNodeLocalStorageInitConfigs) Get ¶
func (c *FakeNodeLocalStorageInitConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NodeLocalStorageInitConfig, err error)
Get takes name of the nodeLocalStorageInitConfig, and returns the corresponding nodeLocalStorageInitConfig object, and an error if there is any.
func (*FakeNodeLocalStorageInitConfigs) List ¶
func (c *FakeNodeLocalStorageInitConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NodeLocalStorageInitConfigList, err error)
List takes label and field selectors, and returns the list of NodeLocalStorageInitConfigs that match those selectors.
func (*FakeNodeLocalStorageInitConfigs) Patch ¶
func (c *FakeNodeLocalStorageInitConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NodeLocalStorageInitConfig, err error)
Patch applies the patch and returns the patched nodeLocalStorageInitConfig.
func (*FakeNodeLocalStorageInitConfigs) Update ¶
func (c *FakeNodeLocalStorageInitConfigs) Update(ctx context.Context, nodeLocalStorageInitConfig *v1alpha1.NodeLocalStorageInitConfig, opts v1.UpdateOptions) (result *v1alpha1.NodeLocalStorageInitConfig, err error)
Update takes the representation of a nodeLocalStorageInitConfig and updates it. Returns the server's representation of the nodeLocalStorageInitConfig, and an error, if there is any.
func (*FakeNodeLocalStorageInitConfigs) Watch ¶
func (c *FakeNodeLocalStorageInitConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested nodeLocalStorageInitConfigs.
type FakeNodeLocalStorages ¶
type FakeNodeLocalStorages struct {
Fake *FakeCsiV1alpha1
}
FakeNodeLocalStorages implements NodeLocalStorageInterface
func (*FakeNodeLocalStorages) Create ¶
func (c *FakeNodeLocalStorages) Create(ctx context.Context, nodeLocalStorage *v1alpha1.NodeLocalStorage, opts v1.CreateOptions) (result *v1alpha1.NodeLocalStorage, err error)
Create takes the representation of a nodeLocalStorage and creates it. Returns the server's representation of the nodeLocalStorage, and an error, if there is any.
func (*FakeNodeLocalStorages) Delete ¶
func (c *FakeNodeLocalStorages) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the nodeLocalStorage and deletes it. Returns an error if one occurs.
func (*FakeNodeLocalStorages) DeleteCollection ¶
func (c *FakeNodeLocalStorages) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNodeLocalStorages) Get ¶
func (c *FakeNodeLocalStorages) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NodeLocalStorage, err error)
Get takes name of the nodeLocalStorage, and returns the corresponding nodeLocalStorage object, and an error if there is any.
func (*FakeNodeLocalStorages) List ¶
func (c *FakeNodeLocalStorages) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NodeLocalStorageList, err error)
List takes label and field selectors, and returns the list of NodeLocalStorages that match those selectors.
func (*FakeNodeLocalStorages) Patch ¶
func (c *FakeNodeLocalStorages) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NodeLocalStorage, err error)
Patch applies the patch and returns the patched nodeLocalStorage.
func (*FakeNodeLocalStorages) Update ¶
func (c *FakeNodeLocalStorages) Update(ctx context.Context, nodeLocalStorage *v1alpha1.NodeLocalStorage, opts v1.UpdateOptions) (result *v1alpha1.NodeLocalStorage, err error)
Update takes the representation of a nodeLocalStorage and updates it. Returns the server's representation of the nodeLocalStorage, and an error, if there is any.
func (*FakeNodeLocalStorages) UpdateStatus ¶
func (c *FakeNodeLocalStorages) UpdateStatus(ctx context.Context, nodeLocalStorage *v1alpha1.NodeLocalStorage, opts v1.UpdateOptions) (*v1alpha1.NodeLocalStorage, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeNodeLocalStorages) Watch ¶
func (c *FakeNodeLocalStorages) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested nodeLocalStorages.