Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeTenantV1alpha2
- type FakeWorkspaceTemplates
- func (c *FakeWorkspaceTemplates) Create(workspaceTemplate *v1alpha2.WorkspaceTemplate) (result *v1alpha2.WorkspaceTemplate, err error)
- func (c *FakeWorkspaceTemplates) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeWorkspaceTemplates) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeWorkspaceTemplates) Get(name string, options v1.GetOptions) (result *v1alpha2.WorkspaceTemplate, err error)
- func (c *FakeWorkspaceTemplates) List(opts v1.ListOptions) (result *v1alpha2.WorkspaceTemplateList, err error)
- func (c *FakeWorkspaceTemplates) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.WorkspaceTemplate, err error)
- func (c *FakeWorkspaceTemplates) Update(workspaceTemplate *v1alpha2.WorkspaceTemplate) (result *v1alpha2.WorkspaceTemplate, err error)
- func (c *FakeWorkspaceTemplates) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeTenantV1alpha2 ¶
func (*FakeTenantV1alpha2) RESTClient ¶
func (c *FakeTenantV1alpha2) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeTenantV1alpha2) WorkspaceTemplates ¶
func (c *FakeTenantV1alpha2) WorkspaceTemplates() v1alpha2.WorkspaceTemplateInterface
type FakeWorkspaceTemplates ¶
type FakeWorkspaceTemplates struct {
Fake *FakeTenantV1alpha2
}
FakeWorkspaceTemplates implements WorkspaceTemplateInterface
func (*FakeWorkspaceTemplates) Create ¶
func (c *FakeWorkspaceTemplates) Create(workspaceTemplate *v1alpha2.WorkspaceTemplate) (result *v1alpha2.WorkspaceTemplate, err error)
Create takes the representation of a workspaceTemplate and creates it. Returns the server's representation of the workspaceTemplate, and an error, if there is any.
func (*FakeWorkspaceTemplates) Delete ¶
func (c *FakeWorkspaceTemplates) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the workspaceTemplate and deletes it. Returns an error if one occurs.
func (*FakeWorkspaceTemplates) DeleteCollection ¶
func (c *FakeWorkspaceTemplates) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeWorkspaceTemplates) Get ¶
func (c *FakeWorkspaceTemplates) Get(name string, options v1.GetOptions) (result *v1alpha2.WorkspaceTemplate, err error)
Get takes name of the workspaceTemplate, and returns the corresponding workspaceTemplate object, and an error if there is any.
func (*FakeWorkspaceTemplates) List ¶
func (c *FakeWorkspaceTemplates) List(opts v1.ListOptions) (result *v1alpha2.WorkspaceTemplateList, err error)
List takes label and field selectors, and returns the list of WorkspaceTemplates that match those selectors.
func (*FakeWorkspaceTemplates) Patch ¶
func (c *FakeWorkspaceTemplates) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.WorkspaceTemplate, err error)
Patch applies the patch and returns the patched workspaceTemplate.
func (*FakeWorkspaceTemplates) Update ¶
func (c *FakeWorkspaceTemplates) Update(workspaceTemplate *v1alpha2.WorkspaceTemplate) (result *v1alpha2.WorkspaceTemplate, err error)
Update takes the representation of a workspaceTemplate and updates it. Returns the server's representation of the workspaceTemplate, and an error, if there is any.
func (*FakeWorkspaceTemplates) Watch ¶
func (c *FakeWorkspaceTemplates) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested workspaceTemplates.