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