fake

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2021 License: Apache-2.0, MIT 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 FakeBundleDeployments

type FakeBundleDeployments struct {
	Fake *FakeFleetV1alpha1
	// contains filtered or unexported fields
}

FakeBundleDeployments implements BundleDeploymentInterface

func (*FakeBundleDeployments) Create

func (c *FakeBundleDeployments) Create(ctx context.Context, bundleDeployment *v1alpha1.BundleDeployment, opts v1.CreateOptions) (result *v1alpha1.BundleDeployment, err error)

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

func (*FakeBundleDeployments) Delete

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

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

func (*FakeBundleDeployments) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeBundleDeployments) Get

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

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

func (*FakeBundleDeployments) List

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

func (*FakeBundleDeployments) Patch

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

Patch applies the patch and returns the patched bundleDeployment.

func (*FakeBundleDeployments) Update

func (c *FakeBundleDeployments) Update(ctx context.Context, bundleDeployment *v1alpha1.BundleDeployment, opts v1.UpdateOptions) (result *v1alpha1.BundleDeployment, err error)

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

func (*FakeBundleDeployments) UpdateStatus

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

func (*FakeBundleDeployments) Watch

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

type FakeBundleNamespaceMappings

type FakeBundleNamespaceMappings struct {
	Fake *FakeFleetV1alpha1
	// contains filtered or unexported fields
}

FakeBundleNamespaceMappings implements BundleNamespaceMappingInterface

func (*FakeBundleNamespaceMappings) Create

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

func (*FakeBundleNamespaceMappings) Delete

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

func (*FakeBundleNamespaceMappings) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeBundleNamespaceMappings) Get

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

func (*FakeBundleNamespaceMappings) List

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

func (*FakeBundleNamespaceMappings) Patch

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

Patch applies the patch and returns the patched bundleNamespaceMapping.

func (*FakeBundleNamespaceMappings) Update

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

func (*FakeBundleNamespaceMappings) Watch

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

type FakeBundles

type FakeBundles struct {
	Fake *FakeFleetV1alpha1
	// contains filtered or unexported fields
}

FakeBundles implements BundleInterface

func (*FakeBundles) Create

func (c *FakeBundles) Create(ctx context.Context, bundle *v1alpha1.Bundle, opts v1.CreateOptions) (result *v1alpha1.Bundle, err error)

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

func (*FakeBundles) Delete

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

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

func (*FakeBundles) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeBundles) Get

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

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

func (*FakeBundles) List

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

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

func (*FakeBundles) Patch

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

Patch applies the patch and returns the patched bundle.

func (*FakeBundles) Update

func (c *FakeBundles) Update(ctx context.Context, bundle *v1alpha1.Bundle, opts v1.UpdateOptions) (result *v1alpha1.Bundle, err error)

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

func (*FakeBundles) UpdateStatus

func (c *FakeBundles) UpdateStatus(ctx context.Context, bundle *v1alpha1.Bundle, opts v1.UpdateOptions) (*v1alpha1.Bundle, error)

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

func (*FakeBundles) Watch

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

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

type FakeClusterGroups

type FakeClusterGroups struct {
	Fake *FakeFleetV1alpha1
	// contains filtered or unexported fields
}

FakeClusterGroups implements ClusterGroupInterface

func (*FakeClusterGroups) Create

func (c *FakeClusterGroups) Create(ctx context.Context, clusterGroup *v1alpha1.ClusterGroup, opts v1.CreateOptions) (result *v1alpha1.ClusterGroup, err error)

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

func (*FakeClusterGroups) Delete

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

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

func (*FakeClusterGroups) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterGroups) Get

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

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

func (*FakeClusterGroups) List

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

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

func (*FakeClusterGroups) Patch

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

Patch applies the patch and returns the patched clusterGroup.

func (*FakeClusterGroups) Update

func (c *FakeClusterGroups) Update(ctx context.Context, clusterGroup *v1alpha1.ClusterGroup, opts v1.UpdateOptions) (result *v1alpha1.ClusterGroup, err error)

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

func (*FakeClusterGroups) UpdateStatus

func (c *FakeClusterGroups) UpdateStatus(ctx context.Context, clusterGroup *v1alpha1.ClusterGroup, opts v1.UpdateOptions) (*v1alpha1.ClusterGroup, error)

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

func (*FakeClusterGroups) Watch

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

type FakeClusterRegistrationTokens

type FakeClusterRegistrationTokens struct {
	Fake *FakeFleetV1alpha1
	// contains filtered or unexported fields
}

FakeClusterRegistrationTokens implements ClusterRegistrationTokenInterface

func (*FakeClusterRegistrationTokens) Create

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

func (*FakeClusterRegistrationTokens) Delete

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

func (*FakeClusterRegistrationTokens) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterRegistrationTokens) Get

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

func (*FakeClusterRegistrationTokens) List

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

func (*FakeClusterRegistrationTokens) Patch

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

Patch applies the patch and returns the patched clusterRegistrationToken.

func (*FakeClusterRegistrationTokens) Update

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

func (*FakeClusterRegistrationTokens) UpdateStatus

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

func (*FakeClusterRegistrationTokens) Watch

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

type FakeClusterRegistrations

type FakeClusterRegistrations struct {
	Fake *FakeFleetV1alpha1
	// contains filtered or unexported fields
}

FakeClusterRegistrations implements ClusterRegistrationInterface

func (*FakeClusterRegistrations) Create

func (c *FakeClusterRegistrations) Create(ctx context.Context, clusterRegistration *v1alpha1.ClusterRegistration, opts v1.CreateOptions) (result *v1alpha1.ClusterRegistration, err error)

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

func (*FakeClusterRegistrations) Delete

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

func (*FakeClusterRegistrations) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterRegistrations) Get

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

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

func (*FakeClusterRegistrations) List

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

func (*FakeClusterRegistrations) Patch

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

Patch applies the patch and returns the patched clusterRegistration.

func (*FakeClusterRegistrations) Update

func (c *FakeClusterRegistrations) Update(ctx context.Context, clusterRegistration *v1alpha1.ClusterRegistration, opts v1.UpdateOptions) (result *v1alpha1.ClusterRegistration, err error)

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

func (*FakeClusterRegistrations) UpdateStatus

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

func (*FakeClusterRegistrations) Watch

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

type FakeClusters

type FakeClusters struct {
	Fake *FakeFleetV1alpha1
	// contains filtered or unexported fields
}

FakeClusters implements ClusterInterface

func (*FakeClusters) Create

func (c *FakeClusters) Create(ctx context.Context, cluster *v1alpha1.Cluster, opts v1.CreateOptions) (result *v1alpha1.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 v1.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 v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeClusters) Get

func (c *FakeClusters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.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 v1.ListOptions) (result *v1alpha1.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 v1.PatchOptions, subresources ...string) (result *v1alpha1.Cluster, err error)

Patch applies the patch and returns the patched cluster.

func (*FakeClusters) Update

func (c *FakeClusters) Update(ctx context.Context, cluster *v1alpha1.Cluster, opts v1.UpdateOptions) (result *v1alpha1.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 *v1alpha1.Cluster, opts v1.UpdateOptions) (*v1alpha1.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

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

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

type FakeContents

type FakeContents struct {
	Fake *FakeFleetV1alpha1
}

FakeContents implements ContentInterface

func (*FakeContents) Create

func (c *FakeContents) Create(ctx context.Context, content *v1alpha1.Content, opts v1.CreateOptions) (result *v1alpha1.Content, err error)

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

func (*FakeContents) Delete

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

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

func (*FakeContents) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeContents) Get

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

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

func (*FakeContents) List

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

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

func (*FakeContents) Patch

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

Patch applies the patch and returns the patched content.

func (*FakeContents) Update

func (c *FakeContents) Update(ctx context.Context, content *v1alpha1.Content, opts v1.UpdateOptions) (result *v1alpha1.Content, err error)

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

func (*FakeContents) Watch

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

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

type FakeFleetV1alpha1

type FakeFleetV1alpha1 struct {
	*testing.Fake
}

func (*FakeFleetV1alpha1) BundleDeployments

func (c *FakeFleetV1alpha1) BundleDeployments(namespace string) v1alpha1.BundleDeploymentInterface

func (*FakeFleetV1alpha1) BundleNamespaceMappings

func (c *FakeFleetV1alpha1) BundleNamespaceMappings(namespace string) v1alpha1.BundleNamespaceMappingInterface

func (*FakeFleetV1alpha1) Bundles

func (c *FakeFleetV1alpha1) Bundles(namespace string) v1alpha1.BundleInterface

func (*FakeFleetV1alpha1) ClusterGroups

func (c *FakeFleetV1alpha1) ClusterGroups(namespace string) v1alpha1.ClusterGroupInterface

func (*FakeFleetV1alpha1) ClusterRegistrationTokens

func (c *FakeFleetV1alpha1) ClusterRegistrationTokens(namespace string) v1alpha1.ClusterRegistrationTokenInterface

func (*FakeFleetV1alpha1) ClusterRegistrations

func (c *FakeFleetV1alpha1) ClusterRegistrations(namespace string) v1alpha1.ClusterRegistrationInterface

func (*FakeFleetV1alpha1) Clusters

func (c *FakeFleetV1alpha1) Clusters(namespace string) v1alpha1.ClusterInterface

func (*FakeFleetV1alpha1) Contents

func (*FakeFleetV1alpha1) GitRepoRestrictions

func (c *FakeFleetV1alpha1) GitRepoRestrictions(namespace string) v1alpha1.GitRepoRestrictionInterface

func (*FakeFleetV1alpha1) GitRepos

func (c *FakeFleetV1alpha1) GitRepos(namespace string) v1alpha1.GitRepoInterface

func (*FakeFleetV1alpha1) RESTClient

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

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

type FakeGitRepoRestrictions

type FakeGitRepoRestrictions struct {
	Fake *FakeFleetV1alpha1
	// contains filtered or unexported fields
}

FakeGitRepoRestrictions implements GitRepoRestrictionInterface

func (*FakeGitRepoRestrictions) Create

func (c *FakeGitRepoRestrictions) Create(ctx context.Context, gitRepoRestriction *v1alpha1.GitRepoRestriction, opts v1.CreateOptions) (result *v1alpha1.GitRepoRestriction, err error)

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

func (*FakeGitRepoRestrictions) Delete

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

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

func (*FakeGitRepoRestrictions) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeGitRepoRestrictions) Get

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

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

func (*FakeGitRepoRestrictions) List

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

func (*FakeGitRepoRestrictions) Patch

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

Patch applies the patch and returns the patched gitRepoRestriction.

func (*FakeGitRepoRestrictions) Update

func (c *FakeGitRepoRestrictions) Update(ctx context.Context, gitRepoRestriction *v1alpha1.GitRepoRestriction, opts v1.UpdateOptions) (result *v1alpha1.GitRepoRestriction, err error)

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

func (*FakeGitRepoRestrictions) Watch

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

type FakeGitRepos

type FakeGitRepos struct {
	Fake *FakeFleetV1alpha1
	// contains filtered or unexported fields
}

FakeGitRepos implements GitRepoInterface

func (*FakeGitRepos) Create

func (c *FakeGitRepos) Create(ctx context.Context, gitRepo *v1alpha1.GitRepo, opts v1.CreateOptions) (result *v1alpha1.GitRepo, err error)

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

func (*FakeGitRepos) Delete

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

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

func (*FakeGitRepos) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeGitRepos) Get

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

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

func (*FakeGitRepos) List

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

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

func (*FakeGitRepos) Patch

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

Patch applies the patch and returns the patched gitRepo.

func (*FakeGitRepos) Update

func (c *FakeGitRepos) Update(ctx context.Context, gitRepo *v1alpha1.GitRepo, opts v1.UpdateOptions) (result *v1alpha1.GitRepo, err error)

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

func (*FakeGitRepos) UpdateStatus

func (c *FakeGitRepos) UpdateStatus(ctx context.Context, gitRepo *v1alpha1.GitRepo, opts v1.UpdateOptions) (*v1alpha1.GitRepo, error)

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

func (*FakeGitRepos) Watch

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

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

Jump to

Keyboard shortcuts

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