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