Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeMeshDeployments
- func (c *FakeMeshDeployments) Create(ctx context.Context, meshDeployment *v1alpha1.MeshDeployment, ...) (result *v1alpha1.MeshDeployment, err error)
- func (c *FakeMeshDeployments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMeshDeployments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeMeshDeployments) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MeshDeployment, err error)
- func (c *FakeMeshDeployments) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MeshDeploymentList, err error)
- func (c *FakeMeshDeployments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.MeshDeployment, err error)
- func (c *FakeMeshDeployments) Update(ctx context.Context, meshDeployment *v1alpha1.MeshDeployment, ...) (result *v1alpha1.MeshDeployment, err error)
- func (c *FakeMeshDeployments) UpdateStatus(ctx context.Context, meshDeployment *v1alpha1.MeshDeployment, ...) (*v1alpha1.MeshDeployment, error)
- func (c *FakeMeshDeployments) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMeshFederations
- func (c *FakeMeshFederations) Create(ctx context.Context, meshFederation *v1alpha1.MeshFederation, ...) (result *v1alpha1.MeshFederation, err error)
- func (c *FakeMeshFederations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMeshFederations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeMeshFederations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MeshFederation, err error)
- func (c *FakeMeshFederations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MeshFederationList, err error)
- func (c *FakeMeshFederations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.MeshFederation, err error)
- func (c *FakeMeshFederations) Update(ctx context.Context, meshFederation *v1alpha1.MeshFederation, ...) (result *v1alpha1.MeshFederation, err error)
- func (c *FakeMeshFederations) UpdateStatus(ctx context.Context, meshFederation *v1alpha1.MeshFederation, ...) (*v1alpha1.MeshFederation, error)
- func (c *FakeMeshFederations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMeshV1alpha1
- func (c *FakeMeshV1alpha1) MeshDeployments(namespace string) v1alpha1.MeshDeploymentInterface
- func (c *FakeMeshV1alpha1) MeshFederations(namespace string) v1alpha1.MeshFederationInterface
- func (c *FakeMeshV1alpha1) Meshes(namespace string) v1alpha1.MeshInterface
- func (c *FakeMeshV1alpha1) RESTClient() rest.Interface
- type FakeMeshes
- func (c *FakeMeshes) Create(ctx context.Context, mesh *v1alpha1.Mesh, opts v1.CreateOptions) (result *v1alpha1.Mesh, err error)
- func (c *FakeMeshes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMeshes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeMeshes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Mesh, err error)
- func (c *FakeMeshes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MeshList, err error)
- func (c *FakeMeshes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Mesh, err error)
- func (c *FakeMeshes) Update(ctx context.Context, mesh *v1alpha1.Mesh, opts v1.UpdateOptions) (result *v1alpha1.Mesh, err error)
- func (c *FakeMeshes) UpdateStatus(ctx context.Context, mesh *v1alpha1.Mesh, opts v1.UpdateOptions) (*v1alpha1.Mesh, error)
- func (c *FakeMeshes) 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 FakeMeshDeployments ¶
type FakeMeshDeployments struct { Fake *FakeMeshV1alpha1 // contains filtered or unexported fields }
FakeMeshDeployments implements MeshDeploymentInterface
func (*FakeMeshDeployments) Create ¶
func (c *FakeMeshDeployments) Create(ctx context.Context, meshDeployment *v1alpha1.MeshDeployment, opts v1.CreateOptions) (result *v1alpha1.MeshDeployment, err error)
Create takes the representation of a meshDeployment and creates it. Returns the server's representation of the meshDeployment, and an error, if there is any.
func (*FakeMeshDeployments) Delete ¶
func (c *FakeMeshDeployments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the meshDeployment and deletes it. Returns an error if one occurs.
func (*FakeMeshDeployments) DeleteCollection ¶
func (c *FakeMeshDeployments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMeshDeployments) Get ¶
func (c *FakeMeshDeployments) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MeshDeployment, err error)
Get takes name of the meshDeployment, and returns the corresponding meshDeployment object, and an error if there is any.
func (*FakeMeshDeployments) List ¶
func (c *FakeMeshDeployments) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MeshDeploymentList, err error)
List takes label and field selectors, and returns the list of MeshDeployments that match those selectors.
func (*FakeMeshDeployments) Patch ¶
func (c *FakeMeshDeployments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.MeshDeployment, err error)
Patch applies the patch and returns the patched meshDeployment.
func (*FakeMeshDeployments) Update ¶
func (c *FakeMeshDeployments) Update(ctx context.Context, meshDeployment *v1alpha1.MeshDeployment, opts v1.UpdateOptions) (result *v1alpha1.MeshDeployment, err error)
Update takes the representation of a meshDeployment and updates it. Returns the server's representation of the meshDeployment, and an error, if there is any.
func (*FakeMeshDeployments) UpdateStatus ¶
func (c *FakeMeshDeployments) UpdateStatus(ctx context.Context, meshDeployment *v1alpha1.MeshDeployment, opts v1.UpdateOptions) (*v1alpha1.MeshDeployment, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMeshDeployments) Watch ¶
func (c *FakeMeshDeployments) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested meshDeployments.
type FakeMeshFederations ¶
type FakeMeshFederations struct { Fake *FakeMeshV1alpha1 // contains filtered or unexported fields }
FakeMeshFederations implements MeshFederationInterface
func (*FakeMeshFederations) Create ¶
func (c *FakeMeshFederations) Create(ctx context.Context, meshFederation *v1alpha1.MeshFederation, opts v1.CreateOptions) (result *v1alpha1.MeshFederation, err error)
Create takes the representation of a meshFederation and creates it. Returns the server's representation of the meshFederation, and an error, if there is any.
func (*FakeMeshFederations) Delete ¶
func (c *FakeMeshFederations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the meshFederation and deletes it. Returns an error if one occurs.
func (*FakeMeshFederations) DeleteCollection ¶
func (c *FakeMeshFederations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMeshFederations) Get ¶
func (c *FakeMeshFederations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MeshFederation, err error)
Get takes name of the meshFederation, and returns the corresponding meshFederation object, and an error if there is any.
func (*FakeMeshFederations) List ¶
func (c *FakeMeshFederations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MeshFederationList, err error)
List takes label and field selectors, and returns the list of MeshFederations that match those selectors.
func (*FakeMeshFederations) Patch ¶
func (c *FakeMeshFederations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.MeshFederation, err error)
Patch applies the patch and returns the patched meshFederation.
func (*FakeMeshFederations) Update ¶
func (c *FakeMeshFederations) Update(ctx context.Context, meshFederation *v1alpha1.MeshFederation, opts v1.UpdateOptions) (result *v1alpha1.MeshFederation, err error)
Update takes the representation of a meshFederation and updates it. Returns the server's representation of the meshFederation, and an error, if there is any.
func (*FakeMeshFederations) UpdateStatus ¶
func (c *FakeMeshFederations) UpdateStatus(ctx context.Context, meshFederation *v1alpha1.MeshFederation, opts v1.UpdateOptions) (*v1alpha1.MeshFederation, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMeshFederations) Watch ¶
func (c *FakeMeshFederations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested meshFederations.
type FakeMeshV1alpha1 ¶
func (*FakeMeshV1alpha1) MeshDeployments ¶
func (c *FakeMeshV1alpha1) MeshDeployments(namespace string) v1alpha1.MeshDeploymentInterface
func (*FakeMeshV1alpha1) MeshFederations ¶
func (c *FakeMeshV1alpha1) MeshFederations(namespace string) v1alpha1.MeshFederationInterface
func (*FakeMeshV1alpha1) Meshes ¶
func (c *FakeMeshV1alpha1) Meshes(namespace string) v1alpha1.MeshInterface
func (*FakeMeshV1alpha1) RESTClient ¶
func (c *FakeMeshV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeMeshes ¶
type FakeMeshes struct { Fake *FakeMeshV1alpha1 // contains filtered or unexported fields }
FakeMeshes implements MeshInterface
func (*FakeMeshes) Create ¶
func (c *FakeMeshes) Create(ctx context.Context, mesh *v1alpha1.Mesh, opts v1.CreateOptions) (result *v1alpha1.Mesh, err error)
Create takes the representation of a mesh and creates it. Returns the server's representation of the mesh, and an error, if there is any.
func (*FakeMeshes) Delete ¶
func (c *FakeMeshes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the mesh and deletes it. Returns an error if one occurs.
func (*FakeMeshes) DeleteCollection ¶
func (c *FakeMeshes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMeshes) Get ¶
func (c *FakeMeshes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Mesh, err error)
Get takes name of the mesh, and returns the corresponding mesh object, and an error if there is any.
func (*FakeMeshes) List ¶
func (c *FakeMeshes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MeshList, err error)
List takes label and field selectors, and returns the list of Meshes that match those selectors.
func (*FakeMeshes) Patch ¶
func (c *FakeMeshes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Mesh, err error)
Patch applies the patch and returns the patched mesh.
func (*FakeMeshes) Update ¶
func (c *FakeMeshes) Update(ctx context.Context, mesh *v1alpha1.Mesh, opts v1.UpdateOptions) (result *v1alpha1.Mesh, err error)
Update takes the representation of a mesh and updates it. Returns the server's representation of the mesh, and an error, if there is any.
func (*FakeMeshes) UpdateStatus ¶
func (c *FakeMeshes) UpdateStatus(ctx context.Context, mesh *v1alpha1.Mesh, opts v1.UpdateOptions) (*v1alpha1.Mesh, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMeshes) Watch ¶
func (c *FakeMeshes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested meshes.