Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeNodePredictions
- func (c *FakeNodePredictions) Create(ctx context.Context, nodePrediction *v1alpha1.NodePrediction, ...) (result *v1alpha1.NodePrediction, err error)
- func (c *FakeNodePredictions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNodePredictions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeNodePredictions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NodePrediction, err error)
- func (c *FakeNodePredictions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NodePredictionList, err error)
- func (c *FakeNodePredictions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.NodePrediction, err error)
- func (c *FakeNodePredictions) Update(ctx context.Context, nodePrediction *v1alpha1.NodePrediction, ...) (result *v1alpha1.NodePrediction, err error)
- func (c *FakeNodePredictions) UpdateStatus(ctx context.Context, nodePrediction *v1alpha1.NodePrediction, ...) (*v1alpha1.NodePrediction, error)
- func (c *FakeNodePredictions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePodGroupPredictions
- func (c *FakePodGroupPredictions) Create(ctx context.Context, podGroupPrediction *v1alpha1.PodGroupPrediction, ...) (result *v1alpha1.PodGroupPrediction, err error)
- func (c *FakePodGroupPredictions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePodGroupPredictions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePodGroupPredictions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PodGroupPrediction, err error)
- func (c *FakePodGroupPredictions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PodGroupPredictionList, err error)
- func (c *FakePodGroupPredictions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.PodGroupPrediction, err error)
- func (c *FakePodGroupPredictions) Update(ctx context.Context, podGroupPrediction *v1alpha1.PodGroupPrediction, ...) (result *v1alpha1.PodGroupPrediction, err error)
- func (c *FakePodGroupPredictions) UpdateStatus(ctx context.Context, podGroupPrediction *v1alpha1.PodGroupPrediction, ...) (*v1alpha1.PodGroupPrediction, error)
- func (c *FakePodGroupPredictions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePredictionV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeNodePredictions ¶
type FakeNodePredictions struct {
Fake *FakePredictionV1alpha1
}
FakeNodePredictions implements NodePredictionInterface
func (*FakeNodePredictions) Create ¶
func (c *FakeNodePredictions) Create(ctx context.Context, nodePrediction *v1alpha1.NodePrediction, opts v1.CreateOptions) (result *v1alpha1.NodePrediction, err error)
Create takes the representation of a nodePrediction and creates it. Returns the server's representation of the nodePrediction, and an error, if there is any.
func (*FakeNodePredictions) Delete ¶
func (c *FakeNodePredictions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the nodePrediction and deletes it. Returns an error if one occurs.
func (*FakeNodePredictions) DeleteCollection ¶
func (c *FakeNodePredictions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNodePredictions) Get ¶
func (c *FakeNodePredictions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NodePrediction, err error)
Get takes name of the nodePrediction, and returns the corresponding nodePrediction object, and an error if there is any.
func (*FakeNodePredictions) List ¶
func (c *FakeNodePredictions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NodePredictionList, err error)
List takes label and field selectors, and returns the list of NodePredictions that match those selectors.
func (*FakeNodePredictions) Patch ¶
func (c *FakeNodePredictions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NodePrediction, err error)
Patch applies the patch and returns the patched nodePrediction.
func (*FakeNodePredictions) Update ¶
func (c *FakeNodePredictions) Update(ctx context.Context, nodePrediction *v1alpha1.NodePrediction, opts v1.UpdateOptions) (result *v1alpha1.NodePrediction, err error)
Update takes the representation of a nodePrediction and updates it. Returns the server's representation of the nodePrediction, and an error, if there is any.
func (*FakeNodePredictions) UpdateStatus ¶
func (c *FakeNodePredictions) UpdateStatus(ctx context.Context, nodePrediction *v1alpha1.NodePrediction, opts v1.UpdateOptions) (*v1alpha1.NodePrediction, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeNodePredictions) Watch ¶
func (c *FakeNodePredictions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested nodePredictions.
type FakePodGroupPredictions ¶
type FakePodGroupPredictions struct { Fake *FakePredictionV1alpha1 // contains filtered or unexported fields }
FakePodGroupPredictions implements PodGroupPredictionInterface
func (*FakePodGroupPredictions) Create ¶
func (c *FakePodGroupPredictions) Create(ctx context.Context, podGroupPrediction *v1alpha1.PodGroupPrediction, opts v1.CreateOptions) (result *v1alpha1.PodGroupPrediction, err error)
Create takes the representation of a podGroupPrediction and creates it. Returns the server's representation of the podGroupPrediction, and an error, if there is any.
func (*FakePodGroupPredictions) Delete ¶
func (c *FakePodGroupPredictions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the podGroupPrediction and deletes it. Returns an error if one occurs.
func (*FakePodGroupPredictions) DeleteCollection ¶
func (c *FakePodGroupPredictions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePodGroupPredictions) Get ¶
func (c *FakePodGroupPredictions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PodGroupPrediction, err error)
Get takes name of the podGroupPrediction, and returns the corresponding podGroupPrediction object, and an error if there is any.
func (*FakePodGroupPredictions) List ¶
func (c *FakePodGroupPredictions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PodGroupPredictionList, err error)
List takes label and field selectors, and returns the list of PodGroupPredictions that match those selectors.
func (*FakePodGroupPredictions) Patch ¶
func (c *FakePodGroupPredictions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.PodGroupPrediction, err error)
Patch applies the patch and returns the patched podGroupPrediction.
func (*FakePodGroupPredictions) Update ¶
func (c *FakePodGroupPredictions) Update(ctx context.Context, podGroupPrediction *v1alpha1.PodGroupPrediction, opts v1.UpdateOptions) (result *v1alpha1.PodGroupPrediction, err error)
Update takes the representation of a podGroupPrediction and updates it. Returns the server's representation of the podGroupPrediction, and an error, if there is any.
func (*FakePodGroupPredictions) UpdateStatus ¶
func (c *FakePodGroupPredictions) UpdateStatus(ctx context.Context, podGroupPrediction *v1alpha1.PodGroupPrediction, opts v1.UpdateOptions) (*v1alpha1.PodGroupPrediction, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePodGroupPredictions) Watch ¶
func (c *FakePodGroupPredictions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested podGroupPredictions.
type FakePredictionV1alpha1 ¶
func (*FakePredictionV1alpha1) NodePredictions ¶
func (c *FakePredictionV1alpha1) NodePredictions() v1alpha1.NodePredictionInterface
func (*FakePredictionV1alpha1) PodGroupPredictions ¶
func (c *FakePredictionV1alpha1) PodGroupPredictions(namespace string) v1alpha1.PodGroupPredictionInterface
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.