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