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