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