fake

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 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 FakeContainerRegistries

type FakeContainerRegistries struct {
	Fake *FakeContainerregistryV1alpha1
	// contains filtered or unexported fields
}

FakeContainerRegistries implements ContainerRegistryInterface

func (*FakeContainerRegistries) Create

func (c *FakeContainerRegistries) Create(ctx context.Context, containerRegistry *v1alpha1.ContainerRegistry, opts v1.CreateOptions) (result *v1alpha1.ContainerRegistry, err error)

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

func (*FakeContainerRegistries) Delete

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

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

func (*FakeContainerRegistries) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeContainerRegistries) Get

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

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

func (*FakeContainerRegistries) List

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

func (*FakeContainerRegistries) Patch

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

Patch applies the patch and returns the patched containerRegistry.

func (*FakeContainerRegistries) Update

func (c *FakeContainerRegistries) Update(ctx context.Context, containerRegistry *v1alpha1.ContainerRegistry, opts v1.UpdateOptions) (result *v1alpha1.ContainerRegistry, err error)

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

func (*FakeContainerRegistries) UpdateStatus

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

func (*FakeContainerRegistries) Watch

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

type FakeContainerregistryV1alpha1

type FakeContainerregistryV1alpha1 struct {
	*testing.Fake
}

func (*FakeContainerregistryV1alpha1) ContainerRegistries

func (c *FakeContainerregistryV1alpha1) ContainerRegistries(namespace string) v1alpha1.ContainerRegistryInterface

func (*FakeContainerregistryV1alpha1) DockerCredentialses

func (c *FakeContainerregistryV1alpha1) DockerCredentialses(namespace string) v1alpha1.DockerCredentialsInterface

func (*FakeContainerregistryV1alpha1) RESTClient

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

type FakeDockerCredentialses

type FakeDockerCredentialses struct {
	Fake *FakeContainerregistryV1alpha1
	// contains filtered or unexported fields
}

FakeDockerCredentialses implements DockerCredentialsInterface

func (*FakeDockerCredentialses) Create

func (c *FakeDockerCredentialses) Create(ctx context.Context, dockerCredentials *v1alpha1.DockerCredentials, opts v1.CreateOptions) (result *v1alpha1.DockerCredentials, err error)

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

func (*FakeDockerCredentialses) Delete

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

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

func (*FakeDockerCredentialses) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDockerCredentialses) Get

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

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

func (*FakeDockerCredentialses) List

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

func (*FakeDockerCredentialses) Patch

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

Patch applies the patch and returns the patched dockerCredentials.

func (*FakeDockerCredentialses) Update

func (c *FakeDockerCredentialses) Update(ctx context.Context, dockerCredentials *v1alpha1.DockerCredentials, opts v1.UpdateOptions) (result *v1alpha1.DockerCredentials, err error)

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

func (*FakeDockerCredentialses) UpdateStatus

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

func (*FakeDockerCredentialses) Watch

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

Jump to

Keyboard shortcuts

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