Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeClusterWorkspaceShards
- func (c *FakeClusterWorkspaceShards) Create(ctx context.Context, clusterWorkspaceShard *v1alpha1.ClusterWorkspaceShard, ...) (result *v1alpha1.ClusterWorkspaceShard, err error)
- func (c *FakeClusterWorkspaceShards) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterWorkspaceShards) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterWorkspaceShards) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterWorkspaceShard, err error)
- func (c *FakeClusterWorkspaceShards) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterWorkspaceShardList, err error)
- func (c *FakeClusterWorkspaceShards) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ClusterWorkspaceShard, err error)
- func (c *FakeClusterWorkspaceShards) Update(ctx context.Context, clusterWorkspaceShard *v1alpha1.ClusterWorkspaceShard, ...) (result *v1alpha1.ClusterWorkspaceShard, err error)
- func (c *FakeClusterWorkspaceShards) UpdateStatus(ctx context.Context, clusterWorkspaceShard *v1alpha1.ClusterWorkspaceShard, ...) (*v1alpha1.ClusterWorkspaceShard, error)
- func (c *FakeClusterWorkspaceShards) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterWorkspaceTypes
- func (c *FakeClusterWorkspaceTypes) Create(ctx context.Context, clusterWorkspaceType *v1alpha1.ClusterWorkspaceType, ...) (result *v1alpha1.ClusterWorkspaceType, err error)
- func (c *FakeClusterWorkspaceTypes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterWorkspaceTypes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterWorkspaceTypes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterWorkspaceType, err error)
- func (c *FakeClusterWorkspaceTypes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterWorkspaceTypeList, err error)
- func (c *FakeClusterWorkspaceTypes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ClusterWorkspaceType, err error)
- func (c *FakeClusterWorkspaceTypes) Update(ctx context.Context, clusterWorkspaceType *v1alpha1.ClusterWorkspaceType, ...) (result *v1alpha1.ClusterWorkspaceType, err error)
- func (c *FakeClusterWorkspaceTypes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterWorkspaces
- func (c *FakeClusterWorkspaces) Create(ctx context.Context, clusterWorkspace *v1alpha1.ClusterWorkspace, ...) (result *v1alpha1.ClusterWorkspace, err error)
- func (c *FakeClusterWorkspaces) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterWorkspaces) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterWorkspaces) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterWorkspace, err error)
- func (c *FakeClusterWorkspaces) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterWorkspaceList, err error)
- func (c *FakeClusterWorkspaces) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ClusterWorkspace, err error)
- func (c *FakeClusterWorkspaces) Update(ctx context.Context, clusterWorkspace *v1alpha1.ClusterWorkspace, ...) (result *v1alpha1.ClusterWorkspace, err error)
- func (c *FakeClusterWorkspaces) UpdateStatus(ctx context.Context, clusterWorkspace *v1alpha1.ClusterWorkspace, ...) (*v1alpha1.ClusterWorkspace, error)
- func (c *FakeClusterWorkspaces) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeTenancyV1alpha1
- func (c *FakeTenancyV1alpha1) ClusterWorkspaceShards() v1alpha1.ClusterWorkspaceShardInterface
- func (c *FakeTenancyV1alpha1) ClusterWorkspaceTypes() v1alpha1.ClusterWorkspaceTypeInterface
- func (c *FakeTenancyV1alpha1) ClusterWorkspaces() v1alpha1.ClusterWorkspaceInterface
- func (c *FakeTenancyV1alpha1) RESTClient() rest.Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClusterWorkspaceShards ¶ added in v0.6.0
type FakeClusterWorkspaceShards struct {
Fake *FakeTenancyV1alpha1
}
FakeClusterWorkspaceShards implements ClusterWorkspaceShardInterface
func (*FakeClusterWorkspaceShards) Create ¶ added in v0.6.0
func (c *FakeClusterWorkspaceShards) Create(ctx context.Context, clusterWorkspaceShard *v1alpha1.ClusterWorkspaceShard, opts v1.CreateOptions) (result *v1alpha1.ClusterWorkspaceShard, err error)
Create takes the representation of a clusterWorkspaceShard and creates it. Returns the server's representation of the clusterWorkspaceShard, and an error, if there is any.
func (*FakeClusterWorkspaceShards) Delete ¶ added in v0.6.0
func (c *FakeClusterWorkspaceShards) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterWorkspaceShard and deletes it. Returns an error if one occurs.
func (*FakeClusterWorkspaceShards) DeleteCollection ¶ added in v0.6.0
func (c *FakeClusterWorkspaceShards) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterWorkspaceShards) Get ¶ added in v0.6.0
func (c *FakeClusterWorkspaceShards) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterWorkspaceShard, err error)
Get takes name of the clusterWorkspaceShard, and returns the corresponding clusterWorkspaceShard object, and an error if there is any.
func (*FakeClusterWorkspaceShards) List ¶ added in v0.6.0
func (c *FakeClusterWorkspaceShards) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterWorkspaceShardList, err error)
List takes label and field selectors, and returns the list of ClusterWorkspaceShards that match those selectors.
func (*FakeClusterWorkspaceShards) Patch ¶ added in v0.6.0
func (c *FakeClusterWorkspaceShards) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ClusterWorkspaceShard, err error)
Patch applies the patch and returns the patched clusterWorkspaceShard.
func (*FakeClusterWorkspaceShards) Update ¶ added in v0.6.0
func (c *FakeClusterWorkspaceShards) Update(ctx context.Context, clusterWorkspaceShard *v1alpha1.ClusterWorkspaceShard, opts v1.UpdateOptions) (result *v1alpha1.ClusterWorkspaceShard, err error)
Update takes the representation of a clusterWorkspaceShard and updates it. Returns the server's representation of the clusterWorkspaceShard, and an error, if there is any.
func (*FakeClusterWorkspaceShards) UpdateStatus ¶ added in v0.6.0
func (c *FakeClusterWorkspaceShards) UpdateStatus(ctx context.Context, clusterWorkspaceShard *v1alpha1.ClusterWorkspaceShard, opts v1.UpdateOptions) (*v1alpha1.ClusterWorkspaceShard, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeClusterWorkspaceShards) Watch ¶ added in v0.6.0
func (c *FakeClusterWorkspaceShards) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterWorkspaceShards.
type FakeClusterWorkspaceTypes ¶ added in v0.6.0
type FakeClusterWorkspaceTypes struct {
Fake *FakeTenancyV1alpha1
}
FakeClusterWorkspaceTypes implements ClusterWorkspaceTypeInterface
func (*FakeClusterWorkspaceTypes) Create ¶ added in v0.6.0
func (c *FakeClusterWorkspaceTypes) Create(ctx context.Context, clusterWorkspaceType *v1alpha1.ClusterWorkspaceType, opts v1.CreateOptions) (result *v1alpha1.ClusterWorkspaceType, err error)
Create takes the representation of a clusterWorkspaceType and creates it. Returns the server's representation of the clusterWorkspaceType, and an error, if there is any.
func (*FakeClusterWorkspaceTypes) Delete ¶ added in v0.6.0
func (c *FakeClusterWorkspaceTypes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterWorkspaceType and deletes it. Returns an error if one occurs.
func (*FakeClusterWorkspaceTypes) DeleteCollection ¶ added in v0.6.0
func (c *FakeClusterWorkspaceTypes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterWorkspaceTypes) Get ¶ added in v0.6.0
func (c *FakeClusterWorkspaceTypes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterWorkspaceType, err error)
Get takes name of the clusterWorkspaceType, and returns the corresponding clusterWorkspaceType object, and an error if there is any.
func (*FakeClusterWorkspaceTypes) List ¶ added in v0.6.0
func (c *FakeClusterWorkspaceTypes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterWorkspaceTypeList, err error)
List takes label and field selectors, and returns the list of ClusterWorkspaceTypes that match those selectors.
func (*FakeClusterWorkspaceTypes) Patch ¶ added in v0.6.0
func (c *FakeClusterWorkspaceTypes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ClusterWorkspaceType, err error)
Patch applies the patch and returns the patched clusterWorkspaceType.
func (*FakeClusterWorkspaceTypes) Update ¶ added in v0.6.0
func (c *FakeClusterWorkspaceTypes) Update(ctx context.Context, clusterWorkspaceType *v1alpha1.ClusterWorkspaceType, opts v1.UpdateOptions) (result *v1alpha1.ClusterWorkspaceType, err error)
Update takes the representation of a clusterWorkspaceType and updates it. Returns the server's representation of the clusterWorkspaceType, and an error, if there is any.
func (*FakeClusterWorkspaceTypes) Watch ¶ added in v0.6.0
func (c *FakeClusterWorkspaceTypes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterWorkspaceTypes.
type FakeClusterWorkspaces ¶ added in v0.6.0
type FakeClusterWorkspaces struct {
Fake *FakeTenancyV1alpha1
}
FakeClusterWorkspaces implements ClusterWorkspaceInterface
func (*FakeClusterWorkspaces) Create ¶ added in v0.6.0
func (c *FakeClusterWorkspaces) Create(ctx context.Context, clusterWorkspace *v1alpha1.ClusterWorkspace, opts v1.CreateOptions) (result *v1alpha1.ClusterWorkspace, err error)
Create takes the representation of a clusterWorkspace and creates it. Returns the server's representation of the clusterWorkspace, and an error, if there is any.
func (*FakeClusterWorkspaces) Delete ¶ added in v0.6.0
func (c *FakeClusterWorkspaces) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterWorkspace and deletes it. Returns an error if one occurs.
func (*FakeClusterWorkspaces) DeleteCollection ¶ added in v0.6.0
func (c *FakeClusterWorkspaces) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterWorkspaces) Get ¶ added in v0.6.0
func (c *FakeClusterWorkspaces) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterWorkspace, err error)
Get takes name of the clusterWorkspace, and returns the corresponding clusterWorkspace object, and an error if there is any.
func (*FakeClusterWorkspaces) List ¶ added in v0.6.0
func (c *FakeClusterWorkspaces) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterWorkspaceList, err error)
List takes label and field selectors, and returns the list of ClusterWorkspaces that match those selectors.
func (*FakeClusterWorkspaces) Patch ¶ added in v0.6.0
func (c *FakeClusterWorkspaces) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ClusterWorkspace, err error)
Patch applies the patch and returns the patched clusterWorkspace.
func (*FakeClusterWorkspaces) Update ¶ added in v0.6.0
func (c *FakeClusterWorkspaces) Update(ctx context.Context, clusterWorkspace *v1alpha1.ClusterWorkspace, opts v1.UpdateOptions) (result *v1alpha1.ClusterWorkspace, err error)
Update takes the representation of a clusterWorkspace and updates it. Returns the server's representation of the clusterWorkspace, and an error, if there is any.
func (*FakeClusterWorkspaces) UpdateStatus ¶ added in v0.6.0
func (c *FakeClusterWorkspaces) UpdateStatus(ctx context.Context, clusterWorkspace *v1alpha1.ClusterWorkspace, opts v1.UpdateOptions) (*v1alpha1.ClusterWorkspace, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeClusterWorkspaces) Watch ¶ added in v0.6.0
func (c *FakeClusterWorkspaces) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterWorkspaces.
type FakeTenancyV1alpha1 ¶
func (*FakeTenancyV1alpha1) ClusterWorkspaceShards ¶ added in v0.6.0
func (c *FakeTenancyV1alpha1) ClusterWorkspaceShards() v1alpha1.ClusterWorkspaceShardInterface
func (*FakeTenancyV1alpha1) ClusterWorkspaceTypes ¶ added in v0.6.0
func (c *FakeTenancyV1alpha1) ClusterWorkspaceTypes() v1alpha1.ClusterWorkspaceTypeInterface
func (*FakeTenancyV1alpha1) ClusterWorkspaces ¶ added in v0.6.0
func (c *FakeTenancyV1alpha1) ClusterWorkspaces() v1alpha1.ClusterWorkspaceInterface
func (*FakeTenancyV1alpha1) RESTClient ¶
func (c *FakeTenancyV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.