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