Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeContainerRegistries
- func (c *FakeContainerRegistries) Create(ctx context.Context, containerRegistry *v1alpha1.ContainerRegistry, ...) (result *v1alpha1.ContainerRegistry, err error)
- func (c *FakeContainerRegistries) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeContainerRegistries) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeContainerRegistries) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ContainerRegistry, err error)
- func (c *FakeContainerRegistries) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ContainerRegistryList, err error)
- func (c *FakeContainerRegistries) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ContainerRegistry, err error)
- func (c *FakeContainerRegistries) Update(ctx context.Context, containerRegistry *v1alpha1.ContainerRegistry, ...) (result *v1alpha1.ContainerRegistry, err error)
- func (c *FakeContainerRegistries) UpdateStatus(ctx context.Context, containerRegistry *v1alpha1.ContainerRegistry, ...) (*v1alpha1.ContainerRegistry, error)
- func (c *FakeContainerRegistries) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeContainerregistryV1alpha1
- type FakeDockerCredentialses
- func (c *FakeDockerCredentialses) Create(ctx context.Context, dockerCredentials *v1alpha1.DockerCredentials, ...) (result *v1alpha1.DockerCredentials, err error)
- func (c *FakeDockerCredentialses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDockerCredentialses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDockerCredentialses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.DockerCredentials, err error)
- func (c *FakeDockerCredentialses) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DockerCredentialsList, err error)
- func (c *FakeDockerCredentialses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.DockerCredentials, err error)
- func (c *FakeDockerCredentialses) Update(ctx context.Context, dockerCredentials *v1alpha1.DockerCredentials, ...) (result *v1alpha1.DockerCredentials, err error)
- func (c *FakeDockerCredentialses) UpdateStatus(ctx context.Context, dockerCredentials *v1alpha1.DockerCredentials, ...) (*v1alpha1.DockerCredentials, error)
- func (c *FakeDockerCredentialses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeContainerRegistries) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ContainerRegistryList, err error)
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 ¶
func (c *FakeContainerRegistries) UpdateStatus(ctx context.Context, containerRegistry *v1alpha1.ContainerRegistry, opts v1.UpdateOptions) (*v1alpha1.ContainerRegistry, error)
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 ¶
func (c *FakeContainerRegistries) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested containerRegistries.
type FakeContainerregistryV1alpha1 ¶
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 ¶
func (c *FakeContainerregistryV1alpha1) RESTClient() rest.Interface
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 ¶
func (c *FakeDockerCredentialses) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DockerCredentialsList, err error)
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 ¶
func (c *FakeDockerCredentialses) UpdateStatus(ctx context.Context, dockerCredentials *v1alpha1.DockerCredentials, opts v1.UpdateOptions) (*v1alpha1.DockerCredentials, error)
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 ¶
func (c *FakeDockerCredentialses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested dockerCredentialses.