Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeArtifactsV1alpha1
- func (c *FakeArtifactsV1alpha1) ContainerConfigurations(namespace string) v1alpha1.ContainerConfigurationInterface
- func (c *FakeArtifactsV1alpha1) ContainerImageSignatures(namespace string) v1alpha1.ContainerImageSignatureInterface
- func (c *FakeArtifactsV1alpha1) ContainerRepositories(namespace string) v1alpha1.ContainerRepositoryInterface
- func (c *FakeArtifactsV1alpha1) GenericArtifacts(namespace string) v1alpha1.GenericArtifactInterface
- func (c *FakeArtifactsV1alpha1) RESTClient() rest.Interface
- func (c *FakeArtifactsV1alpha1) Repositories(namespace string) v1alpha1.RepositoryInterface
- type FakeContainerConfigurations
- func (c *FakeContainerConfigurations) Create(ctx context.Context, containerConfiguration *v1alpha1.ContainerConfiguration, ...) (result *v1alpha1.ContainerConfiguration, err error)
- func (c *FakeContainerConfigurations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeContainerConfigurations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeContainerConfigurations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ContainerConfiguration, err error)
- func (c *FakeContainerConfigurations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ContainerConfigurationList, err error)
- func (c *FakeContainerConfigurations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ContainerConfiguration, err error)
- func (c *FakeContainerConfigurations) Update(ctx context.Context, containerConfiguration *v1alpha1.ContainerConfiguration, ...) (result *v1alpha1.ContainerConfiguration, err error)
- func (c *FakeContainerConfigurations) UpdateStatus(ctx context.Context, containerConfiguration *v1alpha1.ContainerConfiguration, ...) (*v1alpha1.ContainerConfiguration, error)
- func (c *FakeContainerConfigurations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeContainerImageSignatures
- func (c *FakeContainerImageSignatures) Create(ctx context.Context, containerImageSignature *v1alpha1.ContainerImageSignature, ...) (result *v1alpha1.ContainerImageSignature, err error)
- func (c *FakeContainerImageSignatures) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeContainerImageSignatures) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeContainerImageSignatures) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ContainerImageSignature, err error)
- func (c *FakeContainerImageSignatures) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ContainerImageSignatureList, err error)
- func (c *FakeContainerImageSignatures) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ContainerImageSignature, err error)
- func (c *FakeContainerImageSignatures) Update(ctx context.Context, containerImageSignature *v1alpha1.ContainerImageSignature, ...) (result *v1alpha1.ContainerImageSignature, err error)
- func (c *FakeContainerImageSignatures) UpdateStatus(ctx context.Context, containerImageSignature *v1alpha1.ContainerImageSignature, ...) (*v1alpha1.ContainerImageSignature, error)
- func (c *FakeContainerImageSignatures) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeContainerRepositories
- func (c *FakeContainerRepositories) Create(ctx context.Context, containerRepository *v1alpha1.ContainerRepository, ...) (result *v1alpha1.ContainerRepository, err error)
- func (c *FakeContainerRepositories) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeContainerRepositories) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeContainerRepositories) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ContainerRepository, err error)
- func (c *FakeContainerRepositories) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ContainerRepositoryList, err error)
- func (c *FakeContainerRepositories) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ContainerRepository, err error)
- func (c *FakeContainerRepositories) Update(ctx context.Context, containerRepository *v1alpha1.ContainerRepository, ...) (result *v1alpha1.ContainerRepository, err error)
- func (c *FakeContainerRepositories) UpdateStatus(ctx context.Context, containerRepository *v1alpha1.ContainerRepository, ...) (*v1alpha1.ContainerRepository, error)
- func (c *FakeContainerRepositories) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeGenericArtifacts
- func (c *FakeGenericArtifacts) Create(ctx context.Context, genericArtifact *v1alpha1.GenericArtifact, ...) (result *v1alpha1.GenericArtifact, err error)
- func (c *FakeGenericArtifacts) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeGenericArtifacts) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeGenericArtifacts) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.GenericArtifact, err error)
- func (c *FakeGenericArtifacts) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.GenericArtifactList, err error)
- func (c *FakeGenericArtifacts) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.GenericArtifact, err error)
- func (c *FakeGenericArtifacts) Update(ctx context.Context, genericArtifact *v1alpha1.GenericArtifact, ...) (result *v1alpha1.GenericArtifact, err error)
- func (c *FakeGenericArtifacts) UpdateStatus(ctx context.Context, genericArtifact *v1alpha1.GenericArtifact, ...) (*v1alpha1.GenericArtifact, error)
- func (c *FakeGenericArtifacts) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeRepositories
- func (c *FakeRepositories) Create(ctx context.Context, repository *v1alpha1.Repository, opts v1.CreateOptions) (result *v1alpha1.Repository, err error)
- func (c *FakeRepositories) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeRepositories) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeRepositories) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Repository, err error)
- func (c *FakeRepositories) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RepositoryList, err error)
- func (c *FakeRepositories) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Repository, err error)
- func (c *FakeRepositories) Update(ctx context.Context, repository *v1alpha1.Repository, opts v1.UpdateOptions) (result *v1alpha1.Repository, err error)
- func (c *FakeRepositories) UpdateStatus(ctx context.Context, repository *v1alpha1.Repository, opts v1.UpdateOptions) (*v1alpha1.Repository, error)
- func (c *FakeRepositories) 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 FakeArtifactsV1alpha1 ¶
func (*FakeArtifactsV1alpha1) ContainerConfigurations ¶
func (c *FakeArtifactsV1alpha1) ContainerConfigurations(namespace string) v1alpha1.ContainerConfigurationInterface
func (*FakeArtifactsV1alpha1) ContainerImageSignatures ¶
func (c *FakeArtifactsV1alpha1) ContainerImageSignatures(namespace string) v1alpha1.ContainerImageSignatureInterface
func (*FakeArtifactsV1alpha1) ContainerRepositories ¶
func (c *FakeArtifactsV1alpha1) ContainerRepositories(namespace string) v1alpha1.ContainerRepositoryInterface
func (*FakeArtifactsV1alpha1) GenericArtifacts ¶
func (c *FakeArtifactsV1alpha1) GenericArtifacts(namespace string) v1alpha1.GenericArtifactInterface
func (*FakeArtifactsV1alpha1) RESTClient ¶
func (c *FakeArtifactsV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeArtifactsV1alpha1) Repositories ¶
func (c *FakeArtifactsV1alpha1) Repositories(namespace string) v1alpha1.RepositoryInterface
type FakeContainerConfigurations ¶
type FakeContainerConfigurations struct { Fake *FakeArtifactsV1alpha1 // contains filtered or unexported fields }
FakeContainerConfigurations implements ContainerConfigurationInterface
func (*FakeContainerConfigurations) Create ¶
func (c *FakeContainerConfigurations) Create(ctx context.Context, containerConfiguration *v1alpha1.ContainerConfiguration, opts v1.CreateOptions) (result *v1alpha1.ContainerConfiguration, err error)
Create takes the representation of a containerConfiguration and creates it. Returns the server's representation of the containerConfiguration, and an error, if there is any.
func (*FakeContainerConfigurations) Delete ¶
func (c *FakeContainerConfigurations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the containerConfiguration and deletes it. Returns an error if one occurs.
func (*FakeContainerConfigurations) DeleteCollection ¶
func (c *FakeContainerConfigurations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeContainerConfigurations) Get ¶
func (c *FakeContainerConfigurations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ContainerConfiguration, err error)
Get takes name of the containerConfiguration, and returns the corresponding containerConfiguration object, and an error if there is any.
func (*FakeContainerConfigurations) List ¶
func (c *FakeContainerConfigurations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ContainerConfigurationList, err error)
List takes label and field selectors, and returns the list of ContainerConfigurations that match those selectors.
func (*FakeContainerConfigurations) Patch ¶
func (c *FakeContainerConfigurations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ContainerConfiguration, err error)
Patch applies the patch and returns the patched containerConfiguration.
func (*FakeContainerConfigurations) Update ¶
func (c *FakeContainerConfigurations) Update(ctx context.Context, containerConfiguration *v1alpha1.ContainerConfiguration, opts v1.UpdateOptions) (result *v1alpha1.ContainerConfiguration, err error)
Update takes the representation of a containerConfiguration and updates it. Returns the server's representation of the containerConfiguration, and an error, if there is any.
func (*FakeContainerConfigurations) UpdateStatus ¶
func (c *FakeContainerConfigurations) UpdateStatus(ctx context.Context, containerConfiguration *v1alpha1.ContainerConfiguration, opts v1.UpdateOptions) (*v1alpha1.ContainerConfiguration, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeContainerConfigurations) Watch ¶
func (c *FakeContainerConfigurations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested containerConfigurations.
type FakeContainerImageSignatures ¶
type FakeContainerImageSignatures struct { Fake *FakeArtifactsV1alpha1 // contains filtered or unexported fields }
FakeContainerImageSignatures implements ContainerImageSignatureInterface
func (*FakeContainerImageSignatures) Create ¶
func (c *FakeContainerImageSignatures) Create(ctx context.Context, containerImageSignature *v1alpha1.ContainerImageSignature, opts v1.CreateOptions) (result *v1alpha1.ContainerImageSignature, err error)
Create takes the representation of a containerImageSignature and creates it. Returns the server's representation of the containerImageSignature, and an error, if there is any.
func (*FakeContainerImageSignatures) Delete ¶
func (c *FakeContainerImageSignatures) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the containerImageSignature and deletes it. Returns an error if one occurs.
func (*FakeContainerImageSignatures) DeleteCollection ¶
func (c *FakeContainerImageSignatures) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeContainerImageSignatures) Get ¶
func (c *FakeContainerImageSignatures) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ContainerImageSignature, err error)
Get takes name of the containerImageSignature, and returns the corresponding containerImageSignature object, and an error if there is any.
func (*FakeContainerImageSignatures) List ¶
func (c *FakeContainerImageSignatures) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ContainerImageSignatureList, err error)
List takes label and field selectors, and returns the list of ContainerImageSignatures that match those selectors.
func (*FakeContainerImageSignatures) Patch ¶
func (c *FakeContainerImageSignatures) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ContainerImageSignature, err error)
Patch applies the patch and returns the patched containerImageSignature.
func (*FakeContainerImageSignatures) Update ¶
func (c *FakeContainerImageSignatures) Update(ctx context.Context, containerImageSignature *v1alpha1.ContainerImageSignature, opts v1.UpdateOptions) (result *v1alpha1.ContainerImageSignature, err error)
Update takes the representation of a containerImageSignature and updates it. Returns the server's representation of the containerImageSignature, and an error, if there is any.
func (*FakeContainerImageSignatures) UpdateStatus ¶
func (c *FakeContainerImageSignatures) UpdateStatus(ctx context.Context, containerImageSignature *v1alpha1.ContainerImageSignature, opts v1.UpdateOptions) (*v1alpha1.ContainerImageSignature, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeContainerImageSignatures) Watch ¶
func (c *FakeContainerImageSignatures) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested containerImageSignatures.
type FakeContainerRepositories ¶
type FakeContainerRepositories struct { Fake *FakeArtifactsV1alpha1 // contains filtered or unexported fields }
FakeContainerRepositories implements ContainerRepositoryInterface
func (*FakeContainerRepositories) Create ¶
func (c *FakeContainerRepositories) Create(ctx context.Context, containerRepository *v1alpha1.ContainerRepository, opts v1.CreateOptions) (result *v1alpha1.ContainerRepository, err error)
Create takes the representation of a containerRepository and creates it. Returns the server's representation of the containerRepository, and an error, if there is any.
func (*FakeContainerRepositories) Delete ¶
func (c *FakeContainerRepositories) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the containerRepository and deletes it. Returns an error if one occurs.
func (*FakeContainerRepositories) DeleteCollection ¶
func (c *FakeContainerRepositories) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeContainerRepositories) Get ¶
func (c *FakeContainerRepositories) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ContainerRepository, err error)
Get takes name of the containerRepository, and returns the corresponding containerRepository object, and an error if there is any.
func (*FakeContainerRepositories) List ¶
func (c *FakeContainerRepositories) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ContainerRepositoryList, err error)
List takes label and field selectors, and returns the list of ContainerRepositories that match those selectors.
func (*FakeContainerRepositories) Patch ¶
func (c *FakeContainerRepositories) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ContainerRepository, err error)
Patch applies the patch and returns the patched containerRepository.
func (*FakeContainerRepositories) Update ¶
func (c *FakeContainerRepositories) Update(ctx context.Context, containerRepository *v1alpha1.ContainerRepository, opts v1.UpdateOptions) (result *v1alpha1.ContainerRepository, err error)
Update takes the representation of a containerRepository and updates it. Returns the server's representation of the containerRepository, and an error, if there is any.
func (*FakeContainerRepositories) UpdateStatus ¶
func (c *FakeContainerRepositories) UpdateStatus(ctx context.Context, containerRepository *v1alpha1.ContainerRepository, opts v1.UpdateOptions) (*v1alpha1.ContainerRepository, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeContainerRepositories) Watch ¶
func (c *FakeContainerRepositories) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested containerRepositories.
type FakeGenericArtifacts ¶
type FakeGenericArtifacts struct { Fake *FakeArtifactsV1alpha1 // contains filtered or unexported fields }
FakeGenericArtifacts implements GenericArtifactInterface
func (*FakeGenericArtifacts) Create ¶
func (c *FakeGenericArtifacts) Create(ctx context.Context, genericArtifact *v1alpha1.GenericArtifact, opts v1.CreateOptions) (result *v1alpha1.GenericArtifact, err error)
Create takes the representation of a genericArtifact and creates it. Returns the server's representation of the genericArtifact, and an error, if there is any.
func (*FakeGenericArtifacts) Delete ¶
func (c *FakeGenericArtifacts) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the genericArtifact and deletes it. Returns an error if one occurs.
func (*FakeGenericArtifacts) DeleteCollection ¶
func (c *FakeGenericArtifacts) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGenericArtifacts) Get ¶
func (c *FakeGenericArtifacts) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.GenericArtifact, err error)
Get takes name of the genericArtifact, and returns the corresponding genericArtifact object, and an error if there is any.
func (*FakeGenericArtifacts) List ¶
func (c *FakeGenericArtifacts) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.GenericArtifactList, err error)
List takes label and field selectors, and returns the list of GenericArtifacts that match those selectors.
func (*FakeGenericArtifacts) Patch ¶
func (c *FakeGenericArtifacts) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.GenericArtifact, err error)
Patch applies the patch and returns the patched genericArtifact.
func (*FakeGenericArtifacts) Update ¶
func (c *FakeGenericArtifacts) Update(ctx context.Context, genericArtifact *v1alpha1.GenericArtifact, opts v1.UpdateOptions) (result *v1alpha1.GenericArtifact, err error)
Update takes the representation of a genericArtifact and updates it. Returns the server's representation of the genericArtifact, and an error, if there is any.
func (*FakeGenericArtifacts) UpdateStatus ¶
func (c *FakeGenericArtifacts) UpdateStatus(ctx context.Context, genericArtifact *v1alpha1.GenericArtifact, opts v1.UpdateOptions) (*v1alpha1.GenericArtifact, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeGenericArtifacts) Watch ¶
func (c *FakeGenericArtifacts) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested genericArtifacts.
type FakeRepositories ¶
type FakeRepositories struct { Fake *FakeArtifactsV1alpha1 // contains filtered or unexported fields }
FakeRepositories implements RepositoryInterface
func (*FakeRepositories) Create ¶
func (c *FakeRepositories) Create(ctx context.Context, repository *v1alpha1.Repository, opts v1.CreateOptions) (result *v1alpha1.Repository, err error)
Create takes the representation of a repository and creates it. Returns the server's representation of the repository, and an error, if there is any.
func (*FakeRepositories) Delete ¶
func (c *FakeRepositories) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the repository and deletes it. Returns an error if one occurs.
func (*FakeRepositories) DeleteCollection ¶
func (c *FakeRepositories) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRepositories) Get ¶
func (c *FakeRepositories) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Repository, err error)
Get takes name of the repository, and returns the corresponding repository object, and an error if there is any.
func (*FakeRepositories) List ¶
func (c *FakeRepositories) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RepositoryList, err error)
List takes label and field selectors, and returns the list of Repositories that match those selectors.
func (*FakeRepositories) Patch ¶
func (c *FakeRepositories) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Repository, err error)
Patch applies the patch and returns the patched repository.
func (*FakeRepositories) Update ¶
func (c *FakeRepositories) Update(ctx context.Context, repository *v1alpha1.Repository, opts v1.UpdateOptions) (result *v1alpha1.Repository, err error)
Update takes the representation of a repository and updates it. Returns the server's representation of the repository, and an error, if there is any.
func (*FakeRepositories) UpdateStatus ¶
func (c *FakeRepositories) UpdateStatus(ctx context.Context, repository *v1alpha1.Repository, opts v1.UpdateOptions) (*v1alpha1.Repository, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeRepositories) Watch ¶
func (c *FakeRepositories) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested repositories.