fake

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 10 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 FakeEnvironments

type FakeEnvironments struct {
	Fake *FakeNotebooksV1alpha1
	// contains filtered or unexported fields
}

FakeEnvironments implements EnvironmentInterface

func (*FakeEnvironments) Create

func (c *FakeEnvironments) Create(ctx context.Context, environment *v1alpha1.Environment, opts v1.CreateOptions) (result *v1alpha1.Environment, err error)

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

func (*FakeEnvironments) Delete

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

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

func (*FakeEnvironments) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeEnvironments) Get

func (c *FakeEnvironments) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Environment, err error)

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

func (*FakeEnvironments) List

func (c *FakeEnvironments) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.EnvironmentList, err error)

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

func (*FakeEnvironments) Patch

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

Patch applies the patch and returns the patched environment.

func (*FakeEnvironments) Update

func (c *FakeEnvironments) Update(ctx context.Context, environment *v1alpha1.Environment, opts v1.UpdateOptions) (result *v1alpha1.Environment, err error)

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

func (*FakeEnvironments) UpdateStatus

func (c *FakeEnvironments) UpdateStatus(ctx context.Context, environment *v1alpha1.Environment, opts v1.UpdateOptions) (*v1alpha1.Environment, error)

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

func (*FakeEnvironments) Watch

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

type FakeInstanceIamBindings

type FakeInstanceIamBindings struct {
	Fake *FakeNotebooksV1alpha1
	// contains filtered or unexported fields
}

FakeInstanceIamBindings implements InstanceIamBindingInterface

func (*FakeInstanceIamBindings) Create

func (c *FakeInstanceIamBindings) Create(ctx context.Context, instanceIamBinding *v1alpha1.InstanceIamBinding, opts v1.CreateOptions) (result *v1alpha1.InstanceIamBinding, err error)

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

func (*FakeInstanceIamBindings) Delete

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

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

func (*FakeInstanceIamBindings) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeInstanceIamBindings) Get

func (c *FakeInstanceIamBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.InstanceIamBinding, err error)

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

func (*FakeInstanceIamBindings) List

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

func (*FakeInstanceIamBindings) Patch

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

Patch applies the patch and returns the patched instanceIamBinding.

func (*FakeInstanceIamBindings) Update

func (c *FakeInstanceIamBindings) Update(ctx context.Context, instanceIamBinding *v1alpha1.InstanceIamBinding, opts v1.UpdateOptions) (result *v1alpha1.InstanceIamBinding, err error)

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

func (*FakeInstanceIamBindings) UpdateStatus

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

func (*FakeInstanceIamBindings) Watch

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

type FakeInstanceIamMembers

type FakeInstanceIamMembers struct {
	Fake *FakeNotebooksV1alpha1
	// contains filtered or unexported fields
}

FakeInstanceIamMembers implements InstanceIamMemberInterface

func (*FakeInstanceIamMembers) Create

func (c *FakeInstanceIamMembers) Create(ctx context.Context, instanceIamMember *v1alpha1.InstanceIamMember, opts v1.CreateOptions) (result *v1alpha1.InstanceIamMember, err error)

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

func (*FakeInstanceIamMembers) Delete

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

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

func (*FakeInstanceIamMembers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeInstanceIamMembers) Get

func (c *FakeInstanceIamMembers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.InstanceIamMember, err error)

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

func (*FakeInstanceIamMembers) List

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

func (*FakeInstanceIamMembers) Patch

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

Patch applies the patch and returns the patched instanceIamMember.

func (*FakeInstanceIamMembers) Update

func (c *FakeInstanceIamMembers) Update(ctx context.Context, instanceIamMember *v1alpha1.InstanceIamMember, opts v1.UpdateOptions) (result *v1alpha1.InstanceIamMember, err error)

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

func (*FakeInstanceIamMembers) UpdateStatus

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

func (*FakeInstanceIamMembers) Watch

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

type FakeInstanceIamPolicies

type FakeInstanceIamPolicies struct {
	Fake *FakeNotebooksV1alpha1
	// contains filtered or unexported fields
}

FakeInstanceIamPolicies implements InstanceIamPolicyInterface

func (*FakeInstanceIamPolicies) Create

func (c *FakeInstanceIamPolicies) Create(ctx context.Context, instanceIamPolicy *v1alpha1.InstanceIamPolicy, opts v1.CreateOptions) (result *v1alpha1.InstanceIamPolicy, err error)

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

func (*FakeInstanceIamPolicies) Delete

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

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

func (*FakeInstanceIamPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeInstanceIamPolicies) Get

func (c *FakeInstanceIamPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.InstanceIamPolicy, err error)

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

func (*FakeInstanceIamPolicies) List

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

func (*FakeInstanceIamPolicies) Patch

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

Patch applies the patch and returns the patched instanceIamPolicy.

func (*FakeInstanceIamPolicies) Update

func (c *FakeInstanceIamPolicies) Update(ctx context.Context, instanceIamPolicy *v1alpha1.InstanceIamPolicy, opts v1.UpdateOptions) (result *v1alpha1.InstanceIamPolicy, err error)

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

func (*FakeInstanceIamPolicies) UpdateStatus

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

func (*FakeInstanceIamPolicies) Watch

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

type FakeInstances

type FakeInstances struct {
	Fake *FakeNotebooksV1alpha1
	// contains filtered or unexported fields
}

FakeInstances implements InstanceInterface

func (*FakeInstances) Create

func (c *FakeInstances) Create(ctx context.Context, instance *v1alpha1.Instance, opts v1.CreateOptions) (result *v1alpha1.Instance, err error)

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

func (*FakeInstances) Delete

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

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

func (*FakeInstances) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeInstances) Get

func (c *FakeInstances) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Instance, err error)

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

func (*FakeInstances) List

func (c *FakeInstances) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.InstanceList, err error)

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

func (*FakeInstances) Patch

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

Patch applies the patch and returns the patched instance.

func (*FakeInstances) Update

func (c *FakeInstances) Update(ctx context.Context, instance *v1alpha1.Instance, opts v1.UpdateOptions) (result *v1alpha1.Instance, err error)

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

func (*FakeInstances) UpdateStatus

func (c *FakeInstances) UpdateStatus(ctx context.Context, instance *v1alpha1.Instance, opts v1.UpdateOptions) (*v1alpha1.Instance, error)

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

func (*FakeInstances) Watch

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

type FakeLocations

type FakeLocations struct {
	Fake *FakeNotebooksV1alpha1
	// contains filtered or unexported fields
}

FakeLocations implements LocationInterface

func (*FakeLocations) Create

func (c *FakeLocations) Create(ctx context.Context, location *v1alpha1.Location, opts v1.CreateOptions) (result *v1alpha1.Location, err error)

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

func (*FakeLocations) Delete

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

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

func (*FakeLocations) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeLocations) Get

func (c *FakeLocations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Location, err error)

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

func (*FakeLocations) List

func (c *FakeLocations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.LocationList, err error)

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

func (*FakeLocations) Patch

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

Patch applies the patch and returns the patched location.

func (*FakeLocations) Update

func (c *FakeLocations) Update(ctx context.Context, location *v1alpha1.Location, opts v1.UpdateOptions) (result *v1alpha1.Location, err error)

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

func (*FakeLocations) UpdateStatus

func (c *FakeLocations) UpdateStatus(ctx context.Context, location *v1alpha1.Location, opts v1.UpdateOptions) (*v1alpha1.Location, error)

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

func (*FakeLocations) Watch

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

type FakeNotebooksV1alpha1

type FakeNotebooksV1alpha1 struct {
	*testing.Fake
}

func (*FakeNotebooksV1alpha1) Environments

func (c *FakeNotebooksV1alpha1) Environments(namespace string) v1alpha1.EnvironmentInterface

func (*FakeNotebooksV1alpha1) InstanceIamBindings

func (c *FakeNotebooksV1alpha1) InstanceIamBindings(namespace string) v1alpha1.InstanceIamBindingInterface

func (*FakeNotebooksV1alpha1) InstanceIamMembers

func (c *FakeNotebooksV1alpha1) InstanceIamMembers(namespace string) v1alpha1.InstanceIamMemberInterface

func (*FakeNotebooksV1alpha1) InstanceIamPolicies

func (c *FakeNotebooksV1alpha1) InstanceIamPolicies(namespace string) v1alpha1.InstanceIamPolicyInterface

func (*FakeNotebooksV1alpha1) Instances

func (c *FakeNotebooksV1alpha1) Instances(namespace string) v1alpha1.InstanceInterface

func (*FakeNotebooksV1alpha1) Locations

func (c *FakeNotebooksV1alpha1) Locations(namespace string) v1alpha1.LocationInterface

func (*FakeNotebooksV1alpha1) RESTClient

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

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

func (*FakeNotebooksV1alpha1) RuntimeIamBindings added in v0.5.0

func (c *FakeNotebooksV1alpha1) RuntimeIamBindings(namespace string) v1alpha1.RuntimeIamBindingInterface

func (*FakeNotebooksV1alpha1) RuntimeIamMembers added in v0.5.0

func (c *FakeNotebooksV1alpha1) RuntimeIamMembers(namespace string) v1alpha1.RuntimeIamMemberInterface

func (*FakeNotebooksV1alpha1) RuntimeIamPolicies added in v0.5.0

func (c *FakeNotebooksV1alpha1) RuntimeIamPolicies(namespace string) v1alpha1.RuntimeIamPolicyInterface

func (*FakeNotebooksV1alpha1) Runtimes added in v0.5.0

func (c *FakeNotebooksV1alpha1) Runtimes(namespace string) v1alpha1.RuntimeInterface

type FakeRuntimeIamBindings added in v0.5.0

type FakeRuntimeIamBindings struct {
	Fake *FakeNotebooksV1alpha1
	// contains filtered or unexported fields
}

FakeRuntimeIamBindings implements RuntimeIamBindingInterface

func (*FakeRuntimeIamBindings) Create added in v0.5.0

func (c *FakeRuntimeIamBindings) Create(ctx context.Context, runtimeIamBinding *v1alpha1.RuntimeIamBinding, opts v1.CreateOptions) (result *v1alpha1.RuntimeIamBinding, err error)

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

func (*FakeRuntimeIamBindings) Delete added in v0.5.0

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

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

func (*FakeRuntimeIamBindings) DeleteCollection added in v0.5.0

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

DeleteCollection deletes a collection of objects.

func (*FakeRuntimeIamBindings) Get added in v0.5.0

func (c *FakeRuntimeIamBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.RuntimeIamBinding, err error)

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

func (*FakeRuntimeIamBindings) List added in v0.5.0

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

func (*FakeRuntimeIamBindings) Patch added in v0.5.0

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

Patch applies the patch and returns the patched runtimeIamBinding.

func (*FakeRuntimeIamBindings) Update added in v0.5.0

func (c *FakeRuntimeIamBindings) Update(ctx context.Context, runtimeIamBinding *v1alpha1.RuntimeIamBinding, opts v1.UpdateOptions) (result *v1alpha1.RuntimeIamBinding, err error)

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

func (*FakeRuntimeIamBindings) UpdateStatus added in v0.5.0

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

func (*FakeRuntimeIamBindings) Watch added in v0.5.0

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

type FakeRuntimeIamMembers added in v0.5.0

type FakeRuntimeIamMembers struct {
	Fake *FakeNotebooksV1alpha1
	// contains filtered or unexported fields
}

FakeRuntimeIamMembers implements RuntimeIamMemberInterface

func (*FakeRuntimeIamMembers) Create added in v0.5.0

func (c *FakeRuntimeIamMembers) Create(ctx context.Context, runtimeIamMember *v1alpha1.RuntimeIamMember, opts v1.CreateOptions) (result *v1alpha1.RuntimeIamMember, err error)

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

func (*FakeRuntimeIamMembers) Delete added in v0.5.0

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

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

func (*FakeRuntimeIamMembers) DeleteCollection added in v0.5.0

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

DeleteCollection deletes a collection of objects.

func (*FakeRuntimeIamMembers) Get added in v0.5.0

func (c *FakeRuntimeIamMembers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.RuntimeIamMember, err error)

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

func (*FakeRuntimeIamMembers) List added in v0.5.0

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

func (*FakeRuntimeIamMembers) Patch added in v0.5.0

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

Patch applies the patch and returns the patched runtimeIamMember.

func (*FakeRuntimeIamMembers) Update added in v0.5.0

func (c *FakeRuntimeIamMembers) Update(ctx context.Context, runtimeIamMember *v1alpha1.RuntimeIamMember, opts v1.UpdateOptions) (result *v1alpha1.RuntimeIamMember, err error)

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

func (*FakeRuntimeIamMembers) UpdateStatus added in v0.5.0

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

func (*FakeRuntimeIamMembers) Watch added in v0.5.0

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

type FakeRuntimeIamPolicies added in v0.5.0

type FakeRuntimeIamPolicies struct {
	Fake *FakeNotebooksV1alpha1
	// contains filtered or unexported fields
}

FakeRuntimeIamPolicies implements RuntimeIamPolicyInterface

func (*FakeRuntimeIamPolicies) Create added in v0.5.0

func (c *FakeRuntimeIamPolicies) Create(ctx context.Context, runtimeIamPolicy *v1alpha1.RuntimeIamPolicy, opts v1.CreateOptions) (result *v1alpha1.RuntimeIamPolicy, err error)

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

func (*FakeRuntimeIamPolicies) Delete added in v0.5.0

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

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

func (*FakeRuntimeIamPolicies) DeleteCollection added in v0.5.0

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

DeleteCollection deletes a collection of objects.

func (*FakeRuntimeIamPolicies) Get added in v0.5.0

func (c *FakeRuntimeIamPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.RuntimeIamPolicy, err error)

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

func (*FakeRuntimeIamPolicies) List added in v0.5.0

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

func (*FakeRuntimeIamPolicies) Patch added in v0.5.0

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

Patch applies the patch and returns the patched runtimeIamPolicy.

func (*FakeRuntimeIamPolicies) Update added in v0.5.0

func (c *FakeRuntimeIamPolicies) Update(ctx context.Context, runtimeIamPolicy *v1alpha1.RuntimeIamPolicy, opts v1.UpdateOptions) (result *v1alpha1.RuntimeIamPolicy, err error)

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

func (*FakeRuntimeIamPolicies) UpdateStatus added in v0.5.0

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

func (*FakeRuntimeIamPolicies) Watch added in v0.5.0

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

type FakeRuntimes added in v0.5.0

type FakeRuntimes struct {
	Fake *FakeNotebooksV1alpha1
	// contains filtered or unexported fields
}

FakeRuntimes implements RuntimeInterface

func (*FakeRuntimes) Create added in v0.5.0

func (c *FakeRuntimes) Create(ctx context.Context, runtime *v1alpha1.Runtime, opts v1.CreateOptions) (result *v1alpha1.Runtime, err error)

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

func (*FakeRuntimes) Delete added in v0.5.0

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

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

func (*FakeRuntimes) DeleteCollection added in v0.5.0

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

DeleteCollection deletes a collection of objects.

func (*FakeRuntimes) Get added in v0.5.0

func (c *FakeRuntimes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Runtime, err error)

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

func (*FakeRuntimes) List added in v0.5.0

func (c *FakeRuntimes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RuntimeList, err error)

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

func (*FakeRuntimes) Patch added in v0.5.0

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

Patch applies the patch and returns the patched runtime.

func (*FakeRuntimes) Update added in v0.5.0

func (c *FakeRuntimes) Update(ctx context.Context, runtime *v1alpha1.Runtime, opts v1.UpdateOptions) (result *v1alpha1.Runtime, err error)

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

func (*FakeRuntimes) UpdateStatus added in v0.5.0

func (c *FakeRuntimes) UpdateStatus(ctx context.Context, runtime *v1alpha1.Runtime, opts v1.UpdateOptions) (*v1alpha1.Runtime, error)

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

func (*FakeRuntimes) Watch added in v0.5.0

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

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

Jump to

Keyboard shortcuts

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