Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeClusterSecretses
- func (c *FakeClusterSecretses) Create(clusterSecrets *v1alpha1.ClusterSecrets) (result *v1alpha1.ClusterSecrets, err error)
- func (c *FakeClusterSecretses) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeClusterSecretses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeClusterSecretses) Get(name string, options v1.GetOptions) (result *v1alpha1.ClusterSecrets, err error)
- func (c *FakeClusterSecretses) List(opts v1.ListOptions) (result *v1alpha1.ClusterSecretsList, err error)
- func (c *FakeClusterSecretses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ClusterSecrets, err error)
- func (c *FakeClusterSecretses) Update(clusterSecrets *v1alpha1.ClusterSecrets) (result *v1alpha1.ClusterSecrets, err error)
- func (c *FakeClusterSecretses) UpdateStatus(clusterSecrets *v1alpha1.ClusterSecrets) (*v1alpha1.ClusterSecrets, error)
- func (c *FakeClusterSecretses) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeClusters
- func (c *FakeClusters) Create(cluster *v1alpha1.Cluster) (result *v1alpha1.Cluster, err error)
- func (c *FakeClusters) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeClusters) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeClusters) Get(name string, options v1.GetOptions) (result *v1alpha1.Cluster, err error)
- func (c *FakeClusters) List(opts v1.ListOptions) (result *v1alpha1.ClusterList, err error)
- func (c *FakeClusters) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Cluster, err error)
- func (c *FakeClusters) Update(cluster *v1alpha1.Cluster) (result *v1alpha1.Cluster, err error)
- func (c *FakeClusters) UpdateStatus(cluster *v1alpha1.Cluster) (*v1alpha1.Cluster, error)
- func (c *FakeClusters) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeMirrors
- func (c *FakeMirrors) Create(mirror *v1alpha1.Mirror) (result *v1alpha1.Mirror, err error)
- func (c *FakeMirrors) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeMirrors) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeMirrors) Get(name string, options v1.GetOptions) (result *v1alpha1.Mirror, err error)
- func (c *FakeMirrors) List(opts v1.ListOptions) (result *v1alpha1.MirrorList, err error)
- func (c *FakeMirrors) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Mirror, err error)
- func (c *FakeMirrors) Update(mirror *v1alpha1.Mirror) (result *v1alpha1.Mirror, err error)
- func (c *FakeMirrors) UpdateStatus(mirror *v1alpha1.Mirror) (*v1alpha1.Mirror, error)
- func (c *FakeMirrors) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakePicchuV1alpha1
- func (c *FakePicchuV1alpha1) ClusterSecretses(namespace string) v1alpha1.ClusterSecretsInterface
- func (c *FakePicchuV1alpha1) Clusters(namespace string) v1alpha1.ClusterInterface
- func (c *FakePicchuV1alpha1) Mirrors(namespace string) v1alpha1.MirrorInterface
- func (c *FakePicchuV1alpha1) RESTClient() rest.Interface
- func (c *FakePicchuV1alpha1) ReleaseManagers(namespace string) v1alpha1.ReleaseManagerInterface
- func (c *FakePicchuV1alpha1) Revisions(namespace string) v1alpha1.RevisionInterface
- type FakeReleaseManagers
- func (c *FakeReleaseManagers) Create(releaseManager *v1alpha1.ReleaseManager) (result *v1alpha1.ReleaseManager, err error)
- func (c *FakeReleaseManagers) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeReleaseManagers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeReleaseManagers) Get(name string, options v1.GetOptions) (result *v1alpha1.ReleaseManager, err error)
- func (c *FakeReleaseManagers) List(opts v1.ListOptions) (result *v1alpha1.ReleaseManagerList, err error)
- func (c *FakeReleaseManagers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ReleaseManager, err error)
- func (c *FakeReleaseManagers) Update(releaseManager *v1alpha1.ReleaseManager) (result *v1alpha1.ReleaseManager, err error)
- func (c *FakeReleaseManagers) UpdateStatus(releaseManager *v1alpha1.ReleaseManager) (*v1alpha1.ReleaseManager, error)
- func (c *FakeReleaseManagers) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeRevisions
- func (c *FakeRevisions) Create(revision *v1alpha1.Revision) (result *v1alpha1.Revision, err error)
- func (c *FakeRevisions) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeRevisions) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeRevisions) Get(name string, options v1.GetOptions) (result *v1alpha1.Revision, err error)
- func (c *FakeRevisions) List(opts v1.ListOptions) (result *v1alpha1.RevisionList, err error)
- func (c *FakeRevisions) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Revision, err error)
- func (c *FakeRevisions) Update(revision *v1alpha1.Revision) (result *v1alpha1.Revision, err error)
- func (c *FakeRevisions) UpdateStatus(revision *v1alpha1.Revision) (*v1alpha1.Revision, error)
- func (c *FakeRevisions) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClusterSecretses ¶
type FakeClusterSecretses struct { Fake *FakePicchuV1alpha1 // contains filtered or unexported fields }
FakeClusterSecretses implements ClusterSecretsInterface
func (*FakeClusterSecretses) Create ¶
func (c *FakeClusterSecretses) Create(clusterSecrets *v1alpha1.ClusterSecrets) (result *v1alpha1.ClusterSecrets, err error)
Create takes the representation of a clusterSecrets and creates it. Returns the server's representation of the clusterSecrets, and an error, if there is any.
func (*FakeClusterSecretses) Delete ¶
func (c *FakeClusterSecretses) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the clusterSecrets and deletes it. Returns an error if one occurs.
func (*FakeClusterSecretses) DeleteCollection ¶
func (c *FakeClusterSecretses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterSecretses) Get ¶
func (c *FakeClusterSecretses) Get(name string, options v1.GetOptions) (result *v1alpha1.ClusterSecrets, err error)
Get takes name of the clusterSecrets, and returns the corresponding clusterSecrets object, and an error if there is any.
func (*FakeClusterSecretses) List ¶
func (c *FakeClusterSecretses) List(opts v1.ListOptions) (result *v1alpha1.ClusterSecretsList, err error)
List takes label and field selectors, and returns the list of ClusterSecretses that match those selectors.
func (*FakeClusterSecretses) Patch ¶
func (c *FakeClusterSecretses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ClusterSecrets, err error)
Patch applies the patch and returns the patched clusterSecrets.
func (*FakeClusterSecretses) Update ¶
func (c *FakeClusterSecretses) Update(clusterSecrets *v1alpha1.ClusterSecrets) (result *v1alpha1.ClusterSecrets, err error)
Update takes the representation of a clusterSecrets and updates it. Returns the server's representation of the clusterSecrets, and an error, if there is any.
func (*FakeClusterSecretses) UpdateStatus ¶
func (c *FakeClusterSecretses) UpdateStatus(clusterSecrets *v1alpha1.ClusterSecrets) (*v1alpha1.ClusterSecrets, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeClusterSecretses) Watch ¶
func (c *FakeClusterSecretses) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterSecretses.
type FakeClusters ¶
type FakeClusters struct { Fake *FakePicchuV1alpha1 // contains filtered or unexported fields }
FakeClusters implements ClusterInterface
func (*FakeClusters) Create ¶
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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusters) Get ¶
func (c *FakeClusters) Get(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(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(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Cluster, err error)
Patch applies the patch and returns the patched cluster.
func (*FakeClusters) Update ¶
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 ¶
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(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusters.
type FakeMirrors ¶
type FakeMirrors struct { Fake *FakePicchuV1alpha1 // contains filtered or unexported fields }
FakeMirrors implements MirrorInterface
func (*FakeMirrors) Create ¶
Create takes the representation of a mirror and creates it. Returns the server's representation of the mirror, and an error, if there is any.
func (*FakeMirrors) Delete ¶
func (c *FakeMirrors) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the mirror and deletes it. Returns an error if one occurs.
func (*FakeMirrors) DeleteCollection ¶
func (c *FakeMirrors) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMirrors) Get ¶
func (c *FakeMirrors) Get(name string, options v1.GetOptions) (result *v1alpha1.Mirror, err error)
Get takes name of the mirror, and returns the corresponding mirror object, and an error if there is any.
func (*FakeMirrors) List ¶
func (c *FakeMirrors) List(opts v1.ListOptions) (result *v1alpha1.MirrorList, err error)
List takes label and field selectors, and returns the list of Mirrors that match those selectors.
func (*FakeMirrors) Patch ¶
func (c *FakeMirrors) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Mirror, err error)
Patch applies the patch and returns the patched mirror.
func (*FakeMirrors) Update ¶
Update takes the representation of a mirror and updates it. Returns the server's representation of the mirror, and an error, if there is any.
func (*FakeMirrors) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMirrors) Watch ¶
func (c *FakeMirrors) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested mirrors.
type FakePicchuV1alpha1 ¶
func (*FakePicchuV1alpha1) ClusterSecretses ¶
func (c *FakePicchuV1alpha1) ClusterSecretses(namespace string) v1alpha1.ClusterSecretsInterface
func (*FakePicchuV1alpha1) Clusters ¶
func (c *FakePicchuV1alpha1) Clusters(namespace string) v1alpha1.ClusterInterface
func (*FakePicchuV1alpha1) Mirrors ¶
func (c *FakePicchuV1alpha1) Mirrors(namespace string) v1alpha1.MirrorInterface
func (*FakePicchuV1alpha1) RESTClient ¶
func (c *FakePicchuV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakePicchuV1alpha1) ReleaseManagers ¶
func (c *FakePicchuV1alpha1) ReleaseManagers(namespace string) v1alpha1.ReleaseManagerInterface
func (*FakePicchuV1alpha1) Revisions ¶
func (c *FakePicchuV1alpha1) Revisions(namespace string) v1alpha1.RevisionInterface
type FakeReleaseManagers ¶
type FakeReleaseManagers struct { Fake *FakePicchuV1alpha1 // contains filtered or unexported fields }
FakeReleaseManagers implements ReleaseManagerInterface
func (*FakeReleaseManagers) Create ¶
func (c *FakeReleaseManagers) Create(releaseManager *v1alpha1.ReleaseManager) (result *v1alpha1.ReleaseManager, err error)
Create takes the representation of a releaseManager and creates it. Returns the server's representation of the releaseManager, and an error, if there is any.
func (*FakeReleaseManagers) Delete ¶
func (c *FakeReleaseManagers) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the releaseManager and deletes it. Returns an error if one occurs.
func (*FakeReleaseManagers) DeleteCollection ¶
func (c *FakeReleaseManagers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeReleaseManagers) Get ¶
func (c *FakeReleaseManagers) Get(name string, options v1.GetOptions) (result *v1alpha1.ReleaseManager, err error)
Get takes name of the releaseManager, and returns the corresponding releaseManager object, and an error if there is any.
func (*FakeReleaseManagers) List ¶
func (c *FakeReleaseManagers) List(opts v1.ListOptions) (result *v1alpha1.ReleaseManagerList, err error)
List takes label and field selectors, and returns the list of ReleaseManagers that match those selectors.
func (*FakeReleaseManagers) Patch ¶
func (c *FakeReleaseManagers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ReleaseManager, err error)
Patch applies the patch and returns the patched releaseManager.
func (*FakeReleaseManagers) Update ¶
func (c *FakeReleaseManagers) Update(releaseManager *v1alpha1.ReleaseManager) (result *v1alpha1.ReleaseManager, err error)
Update takes the representation of a releaseManager and updates it. Returns the server's representation of the releaseManager, and an error, if there is any.
func (*FakeReleaseManagers) UpdateStatus ¶
func (c *FakeReleaseManagers) UpdateStatus(releaseManager *v1alpha1.ReleaseManager) (*v1alpha1.ReleaseManager, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeReleaseManagers) Watch ¶
func (c *FakeReleaseManagers) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested releaseManagers.
type FakeRevisions ¶
type FakeRevisions struct { Fake *FakePicchuV1alpha1 // contains filtered or unexported fields }
FakeRevisions implements RevisionInterface
func (*FakeRevisions) Create ¶
Create takes the representation of a revision and creates it. Returns the server's representation of the revision, and an error, if there is any.
func (*FakeRevisions) Delete ¶
func (c *FakeRevisions) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the revision and deletes it. Returns an error if one occurs.
func (*FakeRevisions) DeleteCollection ¶
func (c *FakeRevisions) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRevisions) Get ¶
func (c *FakeRevisions) Get(name string, options v1.GetOptions) (result *v1alpha1.Revision, err error)
Get takes name of the revision, and returns the corresponding revision object, and an error if there is any.
func (*FakeRevisions) List ¶
func (c *FakeRevisions) List(opts v1.ListOptions) (result *v1alpha1.RevisionList, err error)
List takes label and field selectors, and returns the list of Revisions that match those selectors.
func (*FakeRevisions) Patch ¶
func (c *FakeRevisions) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Revision, err error)
Patch applies the patch and returns the patched revision.
func (*FakeRevisions) Update ¶
Update takes the representation of a revision and updates it. Returns the server's representation of the revision, and an error, if there is any.
func (*FakeRevisions) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeRevisions) Watch ¶
func (c *FakeRevisions) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested revisions.