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