Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCDIConfigs
- func (c *FakeCDIConfigs) Create(cDIConfig *v1alpha1.CDIConfig) (result *v1alpha1.CDIConfig, err error)
- func (c *FakeCDIConfigs) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeCDIConfigs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeCDIConfigs) Get(name string, options v1.GetOptions) (result *v1alpha1.CDIConfig, err error)
- func (c *FakeCDIConfigs) List(opts v1.ListOptions) (result *v1alpha1.CDIConfigList, err error)
- func (c *FakeCDIConfigs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.CDIConfig, err error)
- func (c *FakeCDIConfigs) Update(cDIConfig *v1alpha1.CDIConfig) (result *v1alpha1.CDIConfig, err error)
- func (c *FakeCDIConfigs) UpdateStatus(cDIConfig *v1alpha1.CDIConfig) (*v1alpha1.CDIConfig, error)
- func (c *FakeCDIConfigs) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeCDIs
- func (c *FakeCDIs) Create(cDI *v1alpha1.CDI) (result *v1alpha1.CDI, err error)
- func (c *FakeCDIs) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeCDIs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeCDIs) Get(name string, options v1.GetOptions) (result *v1alpha1.CDI, err error)
- func (c *FakeCDIs) List(opts v1.ListOptions) (result *v1alpha1.CDIList, err error)
- func (c *FakeCDIs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.CDI, err error)
- func (c *FakeCDIs) Update(cDI *v1alpha1.CDI) (result *v1alpha1.CDI, err error)
- func (c *FakeCDIs) UpdateStatus(cDI *v1alpha1.CDI) (*v1alpha1.CDI, error)
- func (c *FakeCDIs) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeCdiV1alpha1
- type FakeDataVolumes
- func (c *FakeDataVolumes) Create(dataVolume *v1alpha1.DataVolume) (result *v1alpha1.DataVolume, err error)
- func (c *FakeDataVolumes) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeDataVolumes) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeDataVolumes) Get(name string, options v1.GetOptions) (result *v1alpha1.DataVolume, err error)
- func (c *FakeDataVolumes) List(opts v1.ListOptions) (result *v1alpha1.DataVolumeList, err error)
- func (c *FakeDataVolumes) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.DataVolume, err error)
- func (c *FakeDataVolumes) Update(dataVolume *v1alpha1.DataVolume) (result *v1alpha1.DataVolume, err error)
- func (c *FakeDataVolumes) UpdateStatus(dataVolume *v1alpha1.DataVolume) (*v1alpha1.DataVolume, error)
- func (c *FakeDataVolumes) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCDIConfigs ¶
type FakeCDIConfigs struct {
Fake *FakeCdiV1alpha1
}
FakeCDIConfigs implements CDIConfigInterface
func (*FakeCDIConfigs) Create ¶
func (c *FakeCDIConfigs) Create(cDIConfig *v1alpha1.CDIConfig) (result *v1alpha1.CDIConfig, err error)
Create takes the representation of a cDIConfig and creates it. Returns the server's representation of the cDIConfig, and an error, if there is any.
func (*FakeCDIConfigs) Delete ¶
func (c *FakeCDIConfigs) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the cDIConfig and deletes it. Returns an error if one occurs.
func (*FakeCDIConfigs) DeleteCollection ¶
func (c *FakeCDIConfigs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCDIConfigs) Get ¶
func (c *FakeCDIConfigs) Get(name string, options v1.GetOptions) (result *v1alpha1.CDIConfig, err error)
Get takes name of the cDIConfig, and returns the corresponding cDIConfig object, and an error if there is any.
func (*FakeCDIConfigs) List ¶
func (c *FakeCDIConfigs) List(opts v1.ListOptions) (result *v1alpha1.CDIConfigList, err error)
List takes label and field selectors, and returns the list of CDIConfigs that match those selectors.
func (*FakeCDIConfigs) Patch ¶
func (c *FakeCDIConfigs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.CDIConfig, err error)
Patch applies the patch and returns the patched cDIConfig.
func (*FakeCDIConfigs) Update ¶
func (c *FakeCDIConfigs) Update(cDIConfig *v1alpha1.CDIConfig) (result *v1alpha1.CDIConfig, err error)
Update takes the representation of a cDIConfig and updates it. Returns the server's representation of the cDIConfig, and an error, if there is any.
func (*FakeCDIConfigs) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeCDIConfigs) Watch ¶
func (c *FakeCDIConfigs) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested cDIConfigs.
type FakeCDIs ¶
type FakeCDIs struct {
Fake *FakeCdiV1alpha1
}
FakeCDIs implements CDIInterface
func (*FakeCDIs) Create ¶
Create takes the representation of a cDI and creates it. Returns the server's representation of the cDI, and an error, if there is any.
func (*FakeCDIs) Delete ¶
func (c *FakeCDIs) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the cDI and deletes it. Returns an error if one occurs.
func (*FakeCDIs) DeleteCollection ¶
func (c *FakeCDIs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCDIs) Get ¶
Get takes name of the cDI, and returns the corresponding cDI object, and an error if there is any.
func (*FakeCDIs) List ¶
List takes label and field selectors, and returns the list of CDIs that match those selectors.
func (*FakeCDIs) Patch ¶
func (c *FakeCDIs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.CDI, err error)
Patch applies the patch and returns the patched cDI.
func (*FakeCDIs) Update ¶
Update takes the representation of a cDI and updates it. Returns the server's representation of the cDI, and an error, if there is any.
func (*FakeCDIs) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
type FakeCdiV1alpha1 ¶
func (*FakeCdiV1alpha1) CDIConfigs ¶
func (c *FakeCdiV1alpha1) CDIConfigs() v1alpha1.CDIConfigInterface
func (*FakeCdiV1alpha1) CDIs ¶
func (c *FakeCdiV1alpha1) CDIs() v1alpha1.CDIInterface
func (*FakeCdiV1alpha1) DataVolumes ¶
func (c *FakeCdiV1alpha1) DataVolumes(namespace string) v1alpha1.DataVolumeInterface
func (*FakeCdiV1alpha1) RESTClient ¶
func (c *FakeCdiV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeDataVolumes ¶
type FakeDataVolumes struct { Fake *FakeCdiV1alpha1 // contains filtered or unexported fields }
FakeDataVolumes implements DataVolumeInterface
func (*FakeDataVolumes) Create ¶
func (c *FakeDataVolumes) Create(dataVolume *v1alpha1.DataVolume) (result *v1alpha1.DataVolume, err error)
Create takes the representation of a dataVolume and creates it. Returns the server's representation of the dataVolume, and an error, if there is any.
func (*FakeDataVolumes) Delete ¶
func (c *FakeDataVolumes) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the dataVolume and deletes it. Returns an error if one occurs.
func (*FakeDataVolumes) DeleteCollection ¶
func (c *FakeDataVolumes) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDataVolumes) Get ¶
func (c *FakeDataVolumes) Get(name string, options v1.GetOptions) (result *v1alpha1.DataVolume, err error)
Get takes name of the dataVolume, and returns the corresponding dataVolume object, and an error if there is any.
func (*FakeDataVolumes) List ¶
func (c *FakeDataVolumes) List(opts v1.ListOptions) (result *v1alpha1.DataVolumeList, err error)
List takes label and field selectors, and returns the list of DataVolumes that match those selectors.
func (*FakeDataVolumes) Patch ¶
func (c *FakeDataVolumes) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.DataVolume, err error)
Patch applies the patch and returns the patched dataVolume.
func (*FakeDataVolumes) Update ¶
func (c *FakeDataVolumes) Update(dataVolume *v1alpha1.DataVolume) (result *v1alpha1.DataVolume, err error)
Update takes the representation of a dataVolume and updates it. Returns the server's representation of the dataVolume, and an error, if there is any.
func (*FakeDataVolumes) UpdateStatus ¶
func (c *FakeDataVolumes) UpdateStatus(dataVolume *v1alpha1.DataVolume) (*v1alpha1.DataVolume, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeDataVolumes) Watch ¶
func (c *FakeDataVolumes) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested dataVolumes.