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