fake

package
v4.0.0-beta.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2024 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeAccessKeys

type FakeAccessKeys struct {
	Fake *FakeStorageV1
}

FakeAccessKeys implements AccessKeyInterface

func (*FakeAccessKeys) Create

func (c *FakeAccessKeys) Create(ctx context.Context, accessKey *v1.AccessKey, opts metav1.CreateOptions) (result *v1.AccessKey, err error)

Create takes the representation of a accessKey and creates it. Returns the server's representation of the accessKey, and an error, if there is any.

func (*FakeAccessKeys) Delete

func (c *FakeAccessKeys) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error

Delete takes name of the accessKey and deletes it. Returns an error if one occurs.

func (*FakeAccessKeys) DeleteCollection

func (c *FakeAccessKeys) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeAccessKeys) Get

func (c *FakeAccessKeys) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.AccessKey, err error)

Get takes name of the accessKey, and returns the corresponding accessKey object, and an error if there is any.

func (*FakeAccessKeys) List

func (c *FakeAccessKeys) List(ctx context.Context, opts metav1.ListOptions) (result *v1.AccessKeyList, err error)

List takes label and field selectors, and returns the list of AccessKeys that match those selectors.

func (*FakeAccessKeys) Patch

func (c *FakeAccessKeys) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.AccessKey, err error)

Patch applies the patch and returns the patched accessKey.

func (*FakeAccessKeys) Update

func (c *FakeAccessKeys) Update(ctx context.Context, accessKey *v1.AccessKey, opts metav1.UpdateOptions) (result *v1.AccessKey, err error)

Update takes the representation of a accessKey and updates it. Returns the server's representation of the accessKey, and an error, if there is any.

func (*FakeAccessKeys) UpdateStatus

func (c *FakeAccessKeys) UpdateStatus(ctx context.Context, accessKey *v1.AccessKey, opts metav1.UpdateOptions) (*v1.AccessKey, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeAccessKeys) Watch

Watch returns a watch.Interface that watches the requested accessKeys.

type FakeApps

type FakeApps struct {
	Fake *FakeStorageV1
}

FakeApps implements AppInterface

func (*FakeApps) Create

func (c *FakeApps) Create(ctx context.Context, app *v1.App, opts metav1.CreateOptions) (result *v1.App, err error)

Create takes the representation of a app and creates it. Returns the server's representation of the app, and an error, if there is any.

func (*FakeApps) Delete

func (c *FakeApps) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error

Delete takes name of the app and deletes it. Returns an error if one occurs.

func (*FakeApps) DeleteCollection

func (c *FakeApps) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeApps) Get

func (c *FakeApps) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.App, err error)

Get takes name of the app, and returns the corresponding app object, and an error if there is any.

func (*FakeApps) List

func (c *FakeApps) List(ctx context.Context, opts metav1.ListOptions) (result *v1.AppList, err error)

List takes label and field selectors, and returns the list of Apps that match those selectors.

func (*FakeApps) Patch

func (c *FakeApps) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.App, err error)

Patch applies the patch and returns the patched app.

func (*FakeApps) Update

func (c *FakeApps) Update(ctx context.Context, app *v1.App, opts metav1.UpdateOptions) (result *v1.App, err error)

Update takes the representation of a app and updates it. Returns the server's representation of the app, and an error, if there is any.

func (*FakeApps) UpdateStatus

func (c *FakeApps) UpdateStatus(ctx context.Context, app *v1.App, opts metav1.UpdateOptions) (*v1.App, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeApps) Watch

func (c *FakeApps) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested apps.

type FakeClusterAccesses

type FakeClusterAccesses struct {
	Fake *FakeStorageV1
}

FakeClusterAccesses implements ClusterAccessInterface

func (*FakeClusterAccesses) Create

func (c *FakeClusterAccesses) Create(ctx context.Context, clusterAccess *v1.ClusterAccess, opts metav1.CreateOptions) (result *v1.ClusterAccess, err error)

Create takes the representation of a clusterAccess and creates it. Returns the server's representation of the clusterAccess, and an error, if there is any.

func (*FakeClusterAccesses) Delete

func (c *FakeClusterAccesses) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error

Delete takes name of the clusterAccess and deletes it. Returns an error if one occurs.

func (*FakeClusterAccesses) DeleteCollection

func (c *FakeClusterAccesses) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeClusterAccesses) Get

func (c *FakeClusterAccesses) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.ClusterAccess, err error)

Get takes name of the clusterAccess, and returns the corresponding clusterAccess object, and an error if there is any.

func (*FakeClusterAccesses) List

func (c *FakeClusterAccesses) List(ctx context.Context, opts metav1.ListOptions) (result *v1.ClusterAccessList, err error)

List takes label and field selectors, and returns the list of ClusterAccesses that match those selectors.

func (*FakeClusterAccesses) Patch

func (c *FakeClusterAccesses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.ClusterAccess, err error)

Patch applies the patch and returns the patched clusterAccess.

func (*FakeClusterAccesses) Update

func (c *FakeClusterAccesses) Update(ctx context.Context, clusterAccess *v1.ClusterAccess, opts metav1.UpdateOptions) (result *v1.ClusterAccess, err error)

Update takes the representation of a clusterAccess and updates it. Returns the server's representation of the clusterAccess, and an error, if there is any.

func (*FakeClusterAccesses) UpdateStatus

func (c *FakeClusterAccesses) UpdateStatus(ctx context.Context, clusterAccess *v1.ClusterAccess, opts metav1.UpdateOptions) (*v1.ClusterAccess, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeClusterAccesses) Watch

Watch returns a watch.Interface that watches the requested clusterAccesses.

type FakeClusterRoleTemplates

type FakeClusterRoleTemplates struct {
	Fake *FakeStorageV1
}

FakeClusterRoleTemplates implements ClusterRoleTemplateInterface

func (*FakeClusterRoleTemplates) Create

func (c *FakeClusterRoleTemplates) Create(ctx context.Context, clusterRoleTemplate *v1.ClusterRoleTemplate, opts metav1.CreateOptions) (result *v1.ClusterRoleTemplate, err error)

Create takes the representation of a clusterRoleTemplate and creates it. Returns the server's representation of the clusterRoleTemplate, and an error, if there is any.

func (*FakeClusterRoleTemplates) Delete

Delete takes name of the clusterRoleTemplate and deletes it. Returns an error if one occurs.

func (*FakeClusterRoleTemplates) DeleteCollection

func (c *FakeClusterRoleTemplates) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeClusterRoleTemplates) Get

func (c *FakeClusterRoleTemplates) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.ClusterRoleTemplate, err error)

Get takes name of the clusterRoleTemplate, and returns the corresponding clusterRoleTemplate object, and an error if there is any.

func (*FakeClusterRoleTemplates) List

List takes label and field selectors, and returns the list of ClusterRoleTemplates that match those selectors.

func (*FakeClusterRoleTemplates) Patch

func (c *FakeClusterRoleTemplates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.ClusterRoleTemplate, err error)

Patch applies the patch and returns the patched clusterRoleTemplate.

func (*FakeClusterRoleTemplates) Update

func (c *FakeClusterRoleTemplates) Update(ctx context.Context, clusterRoleTemplate *v1.ClusterRoleTemplate, opts metav1.UpdateOptions) (result *v1.ClusterRoleTemplate, err error)

Update takes the representation of a clusterRoleTemplate and updates it. Returns the server's representation of the clusterRoleTemplate, and an error, if there is any.

func (*FakeClusterRoleTemplates) UpdateStatus

func (c *FakeClusterRoleTemplates) UpdateStatus(ctx context.Context, clusterRoleTemplate *v1.ClusterRoleTemplate, opts metav1.UpdateOptions) (*v1.ClusterRoleTemplate, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeClusterRoleTemplates) Watch

Watch returns a watch.Interface that watches the requested clusterRoleTemplates.

type FakeClusters

type FakeClusters struct {
	Fake *FakeStorageV1
}

FakeClusters implements ClusterInterface

func (*FakeClusters) Create

func (c *FakeClusters) Create(ctx context.Context, cluster *v1.Cluster, opts metav1.CreateOptions) (result *v1.Cluster, err error)

Create takes the representation of a cluster and creates it. Returns the server's representation of the cluster, and an error, if there is any.

func (*FakeClusters) Delete

func (c *FakeClusters) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error

Delete takes name of the cluster and deletes it. Returns an error if one occurs.

func (*FakeClusters) DeleteCollection

func (c *FakeClusters) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeClusters) Get

func (c *FakeClusters) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.Cluster, err error)

Get takes name of the cluster, and returns the corresponding cluster object, and an error if there is any.

func (*FakeClusters) List

func (c *FakeClusters) List(ctx context.Context, opts metav1.ListOptions) (result *v1.ClusterList, err error)

List takes label and field selectors, and returns the list of Clusters that match those selectors.

func (*FakeClusters) Patch

func (c *FakeClusters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Cluster, err error)

Patch applies the patch and returns the patched cluster.

func (*FakeClusters) Update

func (c *FakeClusters) Update(ctx context.Context, cluster *v1.Cluster, opts metav1.UpdateOptions) (result *v1.Cluster, err error)

Update takes the representation of a cluster and updates it. Returns the server's representation of the cluster, and an error, if there is any.

func (*FakeClusters) UpdateStatus

func (c *FakeClusters) UpdateStatus(ctx context.Context, cluster *v1.Cluster, opts metav1.UpdateOptions) (*v1.Cluster, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeClusters) Watch

Watch returns a watch.Interface that watches the requested clusters.

type FakeDevPodWorkspaceInstances

type FakeDevPodWorkspaceInstances struct {
	Fake *FakeStorageV1
	// contains filtered or unexported fields
}

FakeDevPodWorkspaceInstances implements DevPodWorkspaceInstanceInterface

func (*FakeDevPodWorkspaceInstances) Create

func (c *FakeDevPodWorkspaceInstances) Create(ctx context.Context, devPodWorkspaceInstance *v1.DevPodWorkspaceInstance, opts metav1.CreateOptions) (result *v1.DevPodWorkspaceInstance, err error)

Create takes the representation of a devPodWorkspaceInstance and creates it. Returns the server's representation of the devPodWorkspaceInstance, and an error, if there is any.

func (*FakeDevPodWorkspaceInstances) Delete

Delete takes name of the devPodWorkspaceInstance and deletes it. Returns an error if one occurs.

func (*FakeDevPodWorkspaceInstances) DeleteCollection

func (c *FakeDevPodWorkspaceInstances) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeDevPodWorkspaceInstances) Get

Get takes name of the devPodWorkspaceInstance, and returns the corresponding devPodWorkspaceInstance object, and an error if there is any.

func (*FakeDevPodWorkspaceInstances) List

List takes label and field selectors, and returns the list of DevPodWorkspaceInstances that match those selectors.

func (*FakeDevPodWorkspaceInstances) Patch

func (c *FakeDevPodWorkspaceInstances) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.DevPodWorkspaceInstance, err error)

Patch applies the patch and returns the patched devPodWorkspaceInstance.

func (*FakeDevPodWorkspaceInstances) Update

func (c *FakeDevPodWorkspaceInstances) Update(ctx context.Context, devPodWorkspaceInstance *v1.DevPodWorkspaceInstance, opts metav1.UpdateOptions) (result *v1.DevPodWorkspaceInstance, err error)

Update takes the representation of a devPodWorkspaceInstance and updates it. Returns the server's representation of the devPodWorkspaceInstance, and an error, if there is any.

func (*FakeDevPodWorkspaceInstances) Watch

Watch returns a watch.Interface that watches the requested devPodWorkspaceInstances.

type FakeDevPodWorkspaceTemplates

type FakeDevPodWorkspaceTemplates struct {
	Fake *FakeStorageV1
}

FakeDevPodWorkspaceTemplates implements DevPodWorkspaceTemplateInterface

func (*FakeDevPodWorkspaceTemplates) Create

func (c *FakeDevPodWorkspaceTemplates) Create(ctx context.Context, devPodWorkspaceTemplate *v1.DevPodWorkspaceTemplate, opts metav1.CreateOptions) (result *v1.DevPodWorkspaceTemplate, err error)

Create takes the representation of a devPodWorkspaceTemplate and creates it. Returns the server's representation of the devPodWorkspaceTemplate, and an error, if there is any.

func (*FakeDevPodWorkspaceTemplates) Delete

Delete takes name of the devPodWorkspaceTemplate and deletes it. Returns an error if one occurs.

func (*FakeDevPodWorkspaceTemplates) DeleteCollection

func (c *FakeDevPodWorkspaceTemplates) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeDevPodWorkspaceTemplates) Get

Get takes name of the devPodWorkspaceTemplate, and returns the corresponding devPodWorkspaceTemplate object, and an error if there is any.

func (*FakeDevPodWorkspaceTemplates) List

List takes label and field selectors, and returns the list of DevPodWorkspaceTemplates that match those selectors.

func (*FakeDevPodWorkspaceTemplates) Patch

func (c *FakeDevPodWorkspaceTemplates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.DevPodWorkspaceTemplate, err error)

Patch applies the patch and returns the patched devPodWorkspaceTemplate.

func (*FakeDevPodWorkspaceTemplates) Update

func (c *FakeDevPodWorkspaceTemplates) Update(ctx context.Context, devPodWorkspaceTemplate *v1.DevPodWorkspaceTemplate, opts metav1.UpdateOptions) (result *v1.DevPodWorkspaceTemplate, err error)

Update takes the representation of a devPodWorkspaceTemplate and updates it. Returns the server's representation of the devPodWorkspaceTemplate, and an error, if there is any.

func (*FakeDevPodWorkspaceTemplates) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeDevPodWorkspaceTemplates) Watch

Watch returns a watch.Interface that watches the requested devPodWorkspaceTemplates.

type FakeNetworkPeers

type FakeNetworkPeers struct {
	Fake *FakeStorageV1
}

FakeNetworkPeers implements NetworkPeerInterface

func (*FakeNetworkPeers) Create

func (c *FakeNetworkPeers) Create(ctx context.Context, networkPeer *v1.NetworkPeer, opts metav1.CreateOptions) (result *v1.NetworkPeer, err error)

Create takes the representation of a networkPeer and creates it. Returns the server's representation of the networkPeer, and an error, if there is any.

func (*FakeNetworkPeers) Delete

func (c *FakeNetworkPeers) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error

Delete takes name of the networkPeer and deletes it. Returns an error if one occurs.

func (*FakeNetworkPeers) DeleteCollection

func (c *FakeNetworkPeers) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeNetworkPeers) Get

func (c *FakeNetworkPeers) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.NetworkPeer, err error)

Get takes name of the networkPeer, and returns the corresponding networkPeer object, and an error if there is any.

func (*FakeNetworkPeers) List

func (c *FakeNetworkPeers) List(ctx context.Context, opts metav1.ListOptions) (result *v1.NetworkPeerList, err error)

List takes label and field selectors, and returns the list of NetworkPeers that match those selectors.

func (*FakeNetworkPeers) Patch

func (c *FakeNetworkPeers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.NetworkPeer, err error)

Patch applies the patch and returns the patched networkPeer.

func (*FakeNetworkPeers) Update

func (c *FakeNetworkPeers) Update(ctx context.Context, networkPeer *v1.NetworkPeer, opts metav1.UpdateOptions) (result *v1.NetworkPeer, err error)

Update takes the representation of a networkPeer and updates it. Returns the server's representation of the networkPeer, and an error, if there is any.

func (*FakeNetworkPeers) UpdateStatus

func (c *FakeNetworkPeers) UpdateStatus(ctx context.Context, networkPeer *v1.NetworkPeer, opts metav1.UpdateOptions) (*v1.NetworkPeer, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeNetworkPeers) Watch

Watch returns a watch.Interface that watches the requested networkPeers.

type FakeProjects

type FakeProjects struct {
	Fake *FakeStorageV1
}

FakeProjects implements ProjectInterface

func (*FakeProjects) Create

func (c *FakeProjects) Create(ctx context.Context, project *v1.Project, opts metav1.CreateOptions) (result *v1.Project, err error)

Create takes the representation of a project and creates it. Returns the server's representation of the project, and an error, if there is any.

func (*FakeProjects) Delete

func (c *FakeProjects) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error

Delete takes name of the project and deletes it. Returns an error if one occurs.

func (*FakeProjects) DeleteCollection

func (c *FakeProjects) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeProjects) Get

func (c *FakeProjects) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.Project, err error)

Get takes name of the project, and returns the corresponding project object, and an error if there is any.

func (*FakeProjects) List

func (c *FakeProjects) List(ctx context.Context, opts metav1.ListOptions) (result *v1.ProjectList, err error)

List takes label and field selectors, and returns the list of Projects that match those selectors.

func (*FakeProjects) Patch

func (c *FakeProjects) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Project, err error)

Patch applies the patch and returns the patched project.

func (*FakeProjects) Update

func (c *FakeProjects) Update(ctx context.Context, project *v1.Project, opts metav1.UpdateOptions) (result *v1.Project, err error)

Update takes the representation of a project and updates it. Returns the server's representation of the project, and an error, if there is any.

func (*FakeProjects) UpdateStatus

func (c *FakeProjects) UpdateStatus(ctx context.Context, project *v1.Project, opts metav1.UpdateOptions) (*v1.Project, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeProjects) Watch

Watch returns a watch.Interface that watches the requested projects.

type FakeRunners

type FakeRunners struct {
	Fake *FakeStorageV1
}

FakeRunners implements RunnerInterface

func (*FakeRunners) Create

func (c *FakeRunners) Create(ctx context.Context, runner *v1.Runner, opts metav1.CreateOptions) (result *v1.Runner, err error)

Create takes the representation of a runner and creates it. Returns the server's representation of the runner, and an error, if there is any.

func (*FakeRunners) Delete

func (c *FakeRunners) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error

Delete takes name of the runner and deletes it. Returns an error if one occurs.

func (*FakeRunners) DeleteCollection

func (c *FakeRunners) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeRunners) Get

func (c *FakeRunners) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.Runner, err error)

Get takes name of the runner, and returns the corresponding runner object, and an error if there is any.

func (*FakeRunners) List

func (c *FakeRunners) List(ctx context.Context, opts metav1.ListOptions) (result *v1.RunnerList, err error)

List takes label and field selectors, and returns the list of Runners that match those selectors.

func (*FakeRunners) Patch

func (c *FakeRunners) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Runner, err error)

Patch applies the patch and returns the patched runner.

func (*FakeRunners) Update

func (c *FakeRunners) Update(ctx context.Context, runner *v1.Runner, opts metav1.UpdateOptions) (result *v1.Runner, err error)

Update takes the representation of a runner and updates it. Returns the server's representation of the runner, and an error, if there is any.

func (*FakeRunners) UpdateStatus

func (c *FakeRunners) UpdateStatus(ctx context.Context, runner *v1.Runner, opts metav1.UpdateOptions) (*v1.Runner, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeRunners) Watch

Watch returns a watch.Interface that watches the requested runners.

type FakeSharedSecrets

type FakeSharedSecrets struct {
	Fake *FakeStorageV1
	// contains filtered or unexported fields
}

FakeSharedSecrets implements SharedSecretInterface

func (*FakeSharedSecrets) Create

func (c *FakeSharedSecrets) Create(ctx context.Context, sharedSecret *v1.SharedSecret, opts metav1.CreateOptions) (result *v1.SharedSecret, err error)

Create takes the representation of a sharedSecret and creates it. Returns the server's representation of the sharedSecret, and an error, if there is any.

func (*FakeSharedSecrets) Delete

func (c *FakeSharedSecrets) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error

Delete takes name of the sharedSecret and deletes it. Returns an error if one occurs.

func (*FakeSharedSecrets) DeleteCollection

func (c *FakeSharedSecrets) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeSharedSecrets) Get

func (c *FakeSharedSecrets) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.SharedSecret, err error)

Get takes name of the sharedSecret, and returns the corresponding sharedSecret object, and an error if there is any.

func (*FakeSharedSecrets) List

func (c *FakeSharedSecrets) List(ctx context.Context, opts metav1.ListOptions) (result *v1.SharedSecretList, err error)

List takes label and field selectors, and returns the list of SharedSecrets that match those selectors.

func (*FakeSharedSecrets) Patch

func (c *FakeSharedSecrets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.SharedSecret, err error)

Patch applies the patch and returns the patched sharedSecret.

func (*FakeSharedSecrets) Update

func (c *FakeSharedSecrets) Update(ctx context.Context, sharedSecret *v1.SharedSecret, opts metav1.UpdateOptions) (result *v1.SharedSecret, err error)

Update takes the representation of a sharedSecret and updates it. Returns the server's representation of the sharedSecret, and an error, if there is any.

func (*FakeSharedSecrets) UpdateStatus

func (c *FakeSharedSecrets) UpdateStatus(ctx context.Context, sharedSecret *v1.SharedSecret, opts metav1.UpdateOptions) (*v1.SharedSecret, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeSharedSecrets) Watch

Watch returns a watch.Interface that watches the requested sharedSecrets.

type FakeSpaceInstances

type FakeSpaceInstances struct {
	Fake *FakeStorageV1
	// contains filtered or unexported fields
}

FakeSpaceInstances implements SpaceInstanceInterface

func (*FakeSpaceInstances) Create

func (c *FakeSpaceInstances) Create(ctx context.Context, spaceInstance *v1.SpaceInstance, opts metav1.CreateOptions) (result *v1.SpaceInstance, err error)

Create takes the representation of a spaceInstance and creates it. Returns the server's representation of the spaceInstance, and an error, if there is any.

func (*FakeSpaceInstances) Delete

func (c *FakeSpaceInstances) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error

Delete takes name of the spaceInstance and deletes it. Returns an error if one occurs.

func (*FakeSpaceInstances) DeleteCollection

func (c *FakeSpaceInstances) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeSpaceInstances) Get

func (c *FakeSpaceInstances) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.SpaceInstance, err error)

Get takes name of the spaceInstance, and returns the corresponding spaceInstance object, and an error if there is any.

func (*FakeSpaceInstances) List

func (c *FakeSpaceInstances) List(ctx context.Context, opts metav1.ListOptions) (result *v1.SpaceInstanceList, err error)

List takes label and field selectors, and returns the list of SpaceInstances that match those selectors.

func (*FakeSpaceInstances) Patch

func (c *FakeSpaceInstances) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.SpaceInstance, err error)

Patch applies the patch and returns the patched spaceInstance.

func (*FakeSpaceInstances) Update

func (c *FakeSpaceInstances) Update(ctx context.Context, spaceInstance *v1.SpaceInstance, opts metav1.UpdateOptions) (result *v1.SpaceInstance, err error)

Update takes the representation of a spaceInstance and updates it. Returns the server's representation of the spaceInstance, and an error, if there is any.

func (*FakeSpaceInstances) UpdateStatus

func (c *FakeSpaceInstances) UpdateStatus(ctx context.Context, spaceInstance *v1.SpaceInstance, opts metav1.UpdateOptions) (*v1.SpaceInstance, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeSpaceInstances) Watch

Watch returns a watch.Interface that watches the requested spaceInstances.

type FakeSpaceTemplates

type FakeSpaceTemplates struct {
	Fake *FakeStorageV1
}

FakeSpaceTemplates implements SpaceTemplateInterface

func (*FakeSpaceTemplates) Create

func (c *FakeSpaceTemplates) Create(ctx context.Context, spaceTemplate *v1.SpaceTemplate, opts metav1.CreateOptions) (result *v1.SpaceTemplate, err error)

Create takes the representation of a spaceTemplate and creates it. Returns the server's representation of the spaceTemplate, and an error, if there is any.

func (*FakeSpaceTemplates) Delete

func (c *FakeSpaceTemplates) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error

Delete takes name of the spaceTemplate and deletes it. Returns an error if one occurs.

func (*FakeSpaceTemplates) DeleteCollection

func (c *FakeSpaceTemplates) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeSpaceTemplates) Get

func (c *FakeSpaceTemplates) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.SpaceTemplate, err error)

Get takes name of the spaceTemplate, and returns the corresponding spaceTemplate object, and an error if there is any.

func (*FakeSpaceTemplates) List

func (c *FakeSpaceTemplates) List(ctx context.Context, opts metav1.ListOptions) (result *v1.SpaceTemplateList, err error)

List takes label and field selectors, and returns the list of SpaceTemplates that match those selectors.

func (*FakeSpaceTemplates) Patch

func (c *FakeSpaceTemplates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.SpaceTemplate, err error)

Patch applies the patch and returns the patched spaceTemplate.

func (*FakeSpaceTemplates) Update

func (c *FakeSpaceTemplates) Update(ctx context.Context, spaceTemplate *v1.SpaceTemplate, opts metav1.UpdateOptions) (result *v1.SpaceTemplate, err error)

Update takes the representation of a spaceTemplate and updates it. Returns the server's representation of the spaceTemplate, and an error, if there is any.

func (*FakeSpaceTemplates) UpdateStatus

func (c *FakeSpaceTemplates) UpdateStatus(ctx context.Context, spaceTemplate *v1.SpaceTemplate, opts metav1.UpdateOptions) (*v1.SpaceTemplate, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeSpaceTemplates) Watch

Watch returns a watch.Interface that watches the requested spaceTemplates.

type FakeStorageV1

type FakeStorageV1 struct {
	*testing.Fake
}

func (*FakeStorageV1) AccessKeys

func (c *FakeStorageV1) AccessKeys() v1.AccessKeyInterface

func (*FakeStorageV1) Apps

func (c *FakeStorageV1) Apps() v1.AppInterface

func (*FakeStorageV1) ClusterAccesses

func (c *FakeStorageV1) ClusterAccesses() v1.ClusterAccessInterface

func (*FakeStorageV1) ClusterRoleTemplates

func (c *FakeStorageV1) ClusterRoleTemplates() v1.ClusterRoleTemplateInterface

func (*FakeStorageV1) Clusters

func (c *FakeStorageV1) Clusters() v1.ClusterInterface

func (*FakeStorageV1) DevPodWorkspaceInstances

func (c *FakeStorageV1) DevPodWorkspaceInstances(namespace string) v1.DevPodWorkspaceInstanceInterface

func (*FakeStorageV1) DevPodWorkspaceTemplates

func (c *FakeStorageV1) DevPodWorkspaceTemplates() v1.DevPodWorkspaceTemplateInterface

func (*FakeStorageV1) NetworkPeers

func (c *FakeStorageV1) NetworkPeers() v1.NetworkPeerInterface

func (*FakeStorageV1) Projects

func (c *FakeStorageV1) Projects() v1.ProjectInterface

func (*FakeStorageV1) RESTClient

func (c *FakeStorageV1) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*FakeStorageV1) Runners

func (c *FakeStorageV1) Runners() v1.RunnerInterface

func (*FakeStorageV1) SharedSecrets

func (c *FakeStorageV1) SharedSecrets(namespace string) v1.SharedSecretInterface

func (*FakeStorageV1) SpaceInstances

func (c *FakeStorageV1) SpaceInstances(namespace string) v1.SpaceInstanceInterface

func (*FakeStorageV1) SpaceTemplates

func (c *FakeStorageV1) SpaceTemplates() v1.SpaceTemplateInterface

func (*FakeStorageV1) Tasks

func (c *FakeStorageV1) Tasks() v1.TaskInterface

func (*FakeStorageV1) Teams

func (c *FakeStorageV1) Teams() v1.TeamInterface

func (*FakeStorageV1) Users

func (c *FakeStorageV1) Users() v1.UserInterface

func (*FakeStorageV1) VirtualClusterInstances

func (c *FakeStorageV1) VirtualClusterInstances(namespace string) v1.VirtualClusterInstanceInterface

func (*FakeStorageV1) VirtualClusterTemplates

func (c *FakeStorageV1) VirtualClusterTemplates() v1.VirtualClusterTemplateInterface

type FakeTasks

type FakeTasks struct {
	Fake *FakeStorageV1
}

FakeTasks implements TaskInterface

func (*FakeTasks) Create

func (c *FakeTasks) Create(ctx context.Context, task *v1.Task, opts metav1.CreateOptions) (result *v1.Task, err error)

Create takes the representation of a task and creates it. Returns the server's representation of the task, and an error, if there is any.

func (*FakeTasks) Delete

func (c *FakeTasks) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error

Delete takes name of the task and deletes it. Returns an error if one occurs.

func (*FakeTasks) DeleteCollection

func (c *FakeTasks) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeTasks) Get

func (c *FakeTasks) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.Task, err error)

Get takes name of the task, and returns the corresponding task object, and an error if there is any.

func (*FakeTasks) List

func (c *FakeTasks) List(ctx context.Context, opts metav1.ListOptions) (result *v1.TaskList, err error)

List takes label and field selectors, and returns the list of Tasks that match those selectors.

func (*FakeTasks) Patch

func (c *FakeTasks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Task, err error)

Patch applies the patch and returns the patched task.

func (*FakeTasks) Update

func (c *FakeTasks) Update(ctx context.Context, task *v1.Task, opts metav1.UpdateOptions) (result *v1.Task, err error)

Update takes the representation of a task and updates it. Returns the server's representation of the task, and an error, if there is any.

func (*FakeTasks) UpdateStatus

func (c *FakeTasks) UpdateStatus(ctx context.Context, task *v1.Task, opts metav1.UpdateOptions) (*v1.Task, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeTasks) Watch

Watch returns a watch.Interface that watches the requested tasks.

type FakeTeams

type FakeTeams struct {
	Fake *FakeStorageV1
}

FakeTeams implements TeamInterface

func (*FakeTeams) Create

func (c *FakeTeams) Create(ctx context.Context, team *v1.Team, opts metav1.CreateOptions) (result *v1.Team, err error)

Create takes the representation of a team and creates it. Returns the server's representation of the team, and an error, if there is any.

func (*FakeTeams) Delete

func (c *FakeTeams) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error

Delete takes name of the team and deletes it. Returns an error if one occurs.

func (*FakeTeams) DeleteCollection

func (c *FakeTeams) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeTeams) Get

func (c *FakeTeams) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.Team, err error)

Get takes name of the team, and returns the corresponding team object, and an error if there is any.

func (*FakeTeams) List

func (c *FakeTeams) List(ctx context.Context, opts metav1.ListOptions) (result *v1.TeamList, err error)

List takes label and field selectors, and returns the list of Teams that match those selectors.

func (*FakeTeams) Patch

func (c *FakeTeams) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Team, err error)

Patch applies the patch and returns the patched team.

func (*FakeTeams) Update

func (c *FakeTeams) Update(ctx context.Context, team *v1.Team, opts metav1.UpdateOptions) (result *v1.Team, err error)

Update takes the representation of a team and updates it. Returns the server's representation of the team, and an error, if there is any.

func (*FakeTeams) UpdateStatus

func (c *FakeTeams) UpdateStatus(ctx context.Context, team *v1.Team, opts metav1.UpdateOptions) (*v1.Team, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeTeams) Watch

Watch returns a watch.Interface that watches the requested teams.

type FakeUsers

type FakeUsers struct {
	Fake *FakeStorageV1
}

FakeUsers implements UserInterface

func (*FakeUsers) Create

func (c *FakeUsers) Create(ctx context.Context, user *v1.User, opts metav1.CreateOptions) (result *v1.User, err error)

Create takes the representation of a user and creates it. Returns the server's representation of the user, and an error, if there is any.

func (*FakeUsers) Delete

func (c *FakeUsers) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error

Delete takes name of the user and deletes it. Returns an error if one occurs.

func (*FakeUsers) DeleteCollection

func (c *FakeUsers) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeUsers) Get

func (c *FakeUsers) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.User, err error)

Get takes name of the user, and returns the corresponding user object, and an error if there is any.

func (*FakeUsers) List

func (c *FakeUsers) List(ctx context.Context, opts metav1.ListOptions) (result *v1.UserList, err error)

List takes label and field selectors, and returns the list of Users that match those selectors.

func (*FakeUsers) Patch

func (c *FakeUsers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.User, err error)

Patch applies the patch and returns the patched user.

func (*FakeUsers) Update

func (c *FakeUsers) Update(ctx context.Context, user *v1.User, opts metav1.UpdateOptions) (result *v1.User, err error)

Update takes the representation of a user and updates it. Returns the server's representation of the user, and an error, if there is any.

func (*FakeUsers) UpdateStatus

func (c *FakeUsers) UpdateStatus(ctx context.Context, user *v1.User, opts metav1.UpdateOptions) (*v1.User, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeUsers) Watch

Watch returns a watch.Interface that watches the requested users.

type FakeVirtualClusterInstances

type FakeVirtualClusterInstances struct {
	Fake *FakeStorageV1
	// contains filtered or unexported fields
}

FakeVirtualClusterInstances implements VirtualClusterInstanceInterface

func (*FakeVirtualClusterInstances) Create

func (c *FakeVirtualClusterInstances) Create(ctx context.Context, virtualClusterInstance *v1.VirtualClusterInstance, opts metav1.CreateOptions) (result *v1.VirtualClusterInstance, err error)

Create takes the representation of a virtualClusterInstance and creates it. Returns the server's representation of the virtualClusterInstance, and an error, if there is any.

func (*FakeVirtualClusterInstances) Delete

Delete takes name of the virtualClusterInstance and deletes it. Returns an error if one occurs.

func (*FakeVirtualClusterInstances) DeleteCollection

func (c *FakeVirtualClusterInstances) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeVirtualClusterInstances) Get

Get takes name of the virtualClusterInstance, and returns the corresponding virtualClusterInstance object, and an error if there is any.

func (*FakeVirtualClusterInstances) List

List takes label and field selectors, and returns the list of VirtualClusterInstances that match those selectors.

func (*FakeVirtualClusterInstances) Patch

func (c *FakeVirtualClusterInstances) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.VirtualClusterInstance, err error)

Patch applies the patch and returns the patched virtualClusterInstance.

func (*FakeVirtualClusterInstances) Update

func (c *FakeVirtualClusterInstances) Update(ctx context.Context, virtualClusterInstance *v1.VirtualClusterInstance, opts metav1.UpdateOptions) (result *v1.VirtualClusterInstance, err error)

Update takes the representation of a virtualClusterInstance and updates it. Returns the server's representation of the virtualClusterInstance, and an error, if there is any.

func (*FakeVirtualClusterInstances) Watch

Watch returns a watch.Interface that watches the requested virtualClusterInstances.

type FakeVirtualClusterTemplates

type FakeVirtualClusterTemplates struct {
	Fake *FakeStorageV1
}

FakeVirtualClusterTemplates implements VirtualClusterTemplateInterface

func (*FakeVirtualClusterTemplates) Create

func (c *FakeVirtualClusterTemplates) Create(ctx context.Context, virtualClusterTemplate *v1.VirtualClusterTemplate, opts metav1.CreateOptions) (result *v1.VirtualClusterTemplate, err error)

Create takes the representation of a virtualClusterTemplate and creates it. Returns the server's representation of the virtualClusterTemplate, and an error, if there is any.

func (*FakeVirtualClusterTemplates) Delete

Delete takes name of the virtualClusterTemplate and deletes it. Returns an error if one occurs.

func (*FakeVirtualClusterTemplates) DeleteCollection

func (c *FakeVirtualClusterTemplates) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeVirtualClusterTemplates) Get

Get takes name of the virtualClusterTemplate, and returns the corresponding virtualClusterTemplate object, and an error if there is any.

func (*FakeVirtualClusterTemplates) List

List takes label and field selectors, and returns the list of VirtualClusterTemplates that match those selectors.

func (*FakeVirtualClusterTemplates) Patch

func (c *FakeVirtualClusterTemplates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.VirtualClusterTemplate, err error)

Patch applies the patch and returns the patched virtualClusterTemplate.

func (*FakeVirtualClusterTemplates) Update

func (c *FakeVirtualClusterTemplates) Update(ctx context.Context, virtualClusterTemplate *v1.VirtualClusterTemplate, opts metav1.UpdateOptions) (result *v1.VirtualClusterTemplate, err error)

Update takes the representation of a virtualClusterTemplate and updates it. Returns the server's representation of the virtualClusterTemplate, and an error, if there is any.

func (*FakeVirtualClusterTemplates) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeVirtualClusterTemplates) Watch

Watch returns a watch.Interface that watches the requested virtualClusterTemplates.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL