Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeGatewayV1
- func (c *FakeGatewayV1) Gateways(namespace string) v1.GatewayInterface
- func (c *FakeGatewayV1) MatchableHttpGateways(namespace string) v1.MatchableHttpGatewayInterface
- func (c *FakeGatewayV1) RESTClient() rest.Interface
- func (c *FakeGatewayV1) RouteOptions(namespace string) v1.RouteOptionInterface
- func (c *FakeGatewayV1) RouteTables(namespace string) v1.RouteTableInterface
- func (c *FakeGatewayV1) VirtualHostOptions(namespace string) v1.VirtualHostOptionInterface
- func (c *FakeGatewayV1) VirtualServices(namespace string) v1.VirtualServiceInterface
- 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 FakeMatchableHttpGateways
- func (c *FakeMatchableHttpGateways) Create(ctx context.Context, ...) (result *gatewaysoloiov1.MatchableHttpGateway, err error)
- func (c *FakeMatchableHttpGateways) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMatchableHttpGateways) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeMatchableHttpGateways) Get(ctx context.Context, name string, options v1.GetOptions) (result *gatewaysoloiov1.MatchableHttpGateway, err error)
- func (c *FakeMatchableHttpGateways) List(ctx context.Context, opts v1.ListOptions) (result *gatewaysoloiov1.MatchableHttpGatewayList, err error)
- func (c *FakeMatchableHttpGateways) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *gatewaysoloiov1.MatchableHttpGateway, err error)
- func (c *FakeMatchableHttpGateways) Update(ctx context.Context, ...) (result *gatewaysoloiov1.MatchableHttpGateway, err error)
- func (c *FakeMatchableHttpGateways) UpdateStatus(ctx context.Context, ...) (*gatewaysoloiov1.MatchableHttpGateway, error)
- func (c *FakeMatchableHttpGateways) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeRouteOptions
- func (c *FakeRouteOptions) Create(ctx context.Context, routeOption *gatewaysoloiov1.RouteOption, ...) (result *gatewaysoloiov1.RouteOption, err error)
- func (c *FakeRouteOptions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeRouteOptions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeRouteOptions) Get(ctx context.Context, name string, options v1.GetOptions) (result *gatewaysoloiov1.RouteOption, err error)
- func (c *FakeRouteOptions) List(ctx context.Context, opts v1.ListOptions) (result *gatewaysoloiov1.RouteOptionList, err error)
- func (c *FakeRouteOptions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *gatewaysoloiov1.RouteOption, err error)
- func (c *FakeRouteOptions) Update(ctx context.Context, routeOption *gatewaysoloiov1.RouteOption, ...) (result *gatewaysoloiov1.RouteOption, err error)
- func (c *FakeRouteOptions) UpdateStatus(ctx context.Context, routeOption *gatewaysoloiov1.RouteOption, ...) (*gatewaysoloiov1.RouteOption, error)
- func (c *FakeRouteOptions) 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 FakeVirtualHostOptions
- func (c *FakeVirtualHostOptions) Create(ctx context.Context, virtualHostOption *gatewaysoloiov1.VirtualHostOption, ...) (result *gatewaysoloiov1.VirtualHostOption, err error)
- func (c *FakeVirtualHostOptions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVirtualHostOptions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVirtualHostOptions) Get(ctx context.Context, name string, options v1.GetOptions) (result *gatewaysoloiov1.VirtualHostOption, err error)
- func (c *FakeVirtualHostOptions) List(ctx context.Context, opts v1.ListOptions) (result *gatewaysoloiov1.VirtualHostOptionList, err error)
- func (c *FakeVirtualHostOptions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *gatewaysoloiov1.VirtualHostOption, err error)
- func (c *FakeVirtualHostOptions) Update(ctx context.Context, virtualHostOption *gatewaysoloiov1.VirtualHostOption, ...) (result *gatewaysoloiov1.VirtualHostOption, err error)
- func (c *FakeVirtualHostOptions) UpdateStatus(ctx context.Context, virtualHostOption *gatewaysoloiov1.VirtualHostOption, ...) (*gatewaysoloiov1.VirtualHostOption, error)
- func (c *FakeVirtualHostOptions) 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) MatchableHttpGateways ¶ added in v1.9.25
func (c *FakeGatewayV1) MatchableHttpGateways(namespace string) v1.MatchableHttpGatewayInterface
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) RouteOptions ¶ added in v1.8.0
func (c *FakeGatewayV1) RouteOptions(namespace string) v1.RouteOptionInterface
func (*FakeGatewayV1) RouteTables ¶
func (c *FakeGatewayV1) RouteTables(namespace string) v1.RouteTableInterface
func (*FakeGatewayV1) VirtualHostOptions ¶ added in v1.8.0
func (c *FakeGatewayV1) VirtualHostOptions(namespace string) v1.VirtualHostOptionInterface
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 FakeMatchableHttpGateways ¶ added in v1.9.25
type FakeMatchableHttpGateways struct { Fake *FakeGatewayV1 // contains filtered or unexported fields }
FakeMatchableHttpGateways implements MatchableHttpGatewayInterface
func (*FakeMatchableHttpGateways) Create ¶ added in v1.9.25
func (c *FakeMatchableHttpGateways) Create(ctx context.Context, matchableHttpGateway *gatewaysoloiov1.MatchableHttpGateway, opts v1.CreateOptions) (result *gatewaysoloiov1.MatchableHttpGateway, err error)
Create takes the representation of a matchableHttpGateway and creates it. Returns the server's representation of the matchableHttpGateway, and an error, if there is any.
func (*FakeMatchableHttpGateways) Delete ¶ added in v1.9.25
func (c *FakeMatchableHttpGateways) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the matchableHttpGateway and deletes it. Returns an error if one occurs.
func (*FakeMatchableHttpGateways) DeleteCollection ¶ added in v1.9.25
func (c *FakeMatchableHttpGateways) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMatchableHttpGateways) Get ¶ added in v1.9.25
func (c *FakeMatchableHttpGateways) Get(ctx context.Context, name string, options v1.GetOptions) (result *gatewaysoloiov1.MatchableHttpGateway, err error)
Get takes name of the matchableHttpGateway, and returns the corresponding matchableHttpGateway object, and an error if there is any.
func (*FakeMatchableHttpGateways) List ¶ added in v1.9.25
func (c *FakeMatchableHttpGateways) List(ctx context.Context, opts v1.ListOptions) (result *gatewaysoloiov1.MatchableHttpGatewayList, err error)
List takes label and field selectors, and returns the list of MatchableHttpGateways that match those selectors.
func (*FakeMatchableHttpGateways) Patch ¶ added in v1.9.25
func (c *FakeMatchableHttpGateways) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *gatewaysoloiov1.MatchableHttpGateway, err error)
Patch applies the patch and returns the patched matchableHttpGateway.
func (*FakeMatchableHttpGateways) Update ¶ added in v1.9.25
func (c *FakeMatchableHttpGateways) Update(ctx context.Context, matchableHttpGateway *gatewaysoloiov1.MatchableHttpGateway, opts v1.UpdateOptions) (result *gatewaysoloiov1.MatchableHttpGateway, err error)
Update takes the representation of a matchableHttpGateway and updates it. Returns the server's representation of the matchableHttpGateway, and an error, if there is any.
func (*FakeMatchableHttpGateways) UpdateStatus ¶ added in v1.9.25
func (c *FakeMatchableHttpGateways) UpdateStatus(ctx context.Context, matchableHttpGateway *gatewaysoloiov1.MatchableHttpGateway, opts v1.UpdateOptions) (*gatewaysoloiov1.MatchableHttpGateway, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMatchableHttpGateways) Watch ¶ added in v1.9.25
func (c *FakeMatchableHttpGateways) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested matchableHttpGateways.
type FakeRouteOptions ¶ added in v1.8.0
type FakeRouteOptions struct { Fake *FakeGatewayV1 // contains filtered or unexported fields }
FakeRouteOptions implements RouteOptionInterface
func (*FakeRouteOptions) Create ¶ added in v1.8.0
func (c *FakeRouteOptions) Create(ctx context.Context, routeOption *gatewaysoloiov1.RouteOption, opts v1.CreateOptions) (result *gatewaysoloiov1.RouteOption, err error)
Create takes the representation of a routeOption and creates it. Returns the server's representation of the routeOption, and an error, if there is any.
func (*FakeRouteOptions) Delete ¶ added in v1.8.0
func (c *FakeRouteOptions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the routeOption and deletes it. Returns an error if one occurs.
func (*FakeRouteOptions) DeleteCollection ¶ added in v1.8.0
func (c *FakeRouteOptions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRouteOptions) Get ¶ added in v1.8.0
func (c *FakeRouteOptions) Get(ctx context.Context, name string, options v1.GetOptions) (result *gatewaysoloiov1.RouteOption, err error)
Get takes name of the routeOption, and returns the corresponding routeOption object, and an error if there is any.
func (*FakeRouteOptions) List ¶ added in v1.8.0
func (c *FakeRouteOptions) List(ctx context.Context, opts v1.ListOptions) (result *gatewaysoloiov1.RouteOptionList, err error)
List takes label and field selectors, and returns the list of RouteOptions that match those selectors.
func (*FakeRouteOptions) Patch ¶ added in v1.8.0
func (c *FakeRouteOptions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *gatewaysoloiov1.RouteOption, err error)
Patch applies the patch and returns the patched routeOption.
func (*FakeRouteOptions) Update ¶ added in v1.8.0
func (c *FakeRouteOptions) Update(ctx context.Context, routeOption *gatewaysoloiov1.RouteOption, opts v1.UpdateOptions) (result *gatewaysoloiov1.RouteOption, err error)
Update takes the representation of a routeOption and updates it. Returns the server's representation of the routeOption, and an error, if there is any.
func (*FakeRouteOptions) UpdateStatus ¶ added in v1.8.0
func (c *FakeRouteOptions) UpdateStatus(ctx context.Context, routeOption *gatewaysoloiov1.RouteOption, opts v1.UpdateOptions) (*gatewaysoloiov1.RouteOption, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeRouteOptions) Watch ¶ added in v1.8.0
func (c *FakeRouteOptions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested routeOptions.
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 FakeVirtualHostOptions ¶ added in v1.8.0
type FakeVirtualHostOptions struct { Fake *FakeGatewayV1 // contains filtered or unexported fields }
FakeVirtualHostOptions implements VirtualHostOptionInterface
func (*FakeVirtualHostOptions) Create ¶ added in v1.8.0
func (c *FakeVirtualHostOptions) Create(ctx context.Context, virtualHostOption *gatewaysoloiov1.VirtualHostOption, opts v1.CreateOptions) (result *gatewaysoloiov1.VirtualHostOption, err error)
Create takes the representation of a virtualHostOption and creates it. Returns the server's representation of the virtualHostOption, and an error, if there is any.
func (*FakeVirtualHostOptions) Delete ¶ added in v1.8.0
func (c *FakeVirtualHostOptions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the virtualHostOption and deletes it. Returns an error if one occurs.
func (*FakeVirtualHostOptions) DeleteCollection ¶ added in v1.8.0
func (c *FakeVirtualHostOptions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVirtualHostOptions) Get ¶ added in v1.8.0
func (c *FakeVirtualHostOptions) Get(ctx context.Context, name string, options v1.GetOptions) (result *gatewaysoloiov1.VirtualHostOption, err error)
Get takes name of the virtualHostOption, and returns the corresponding virtualHostOption object, and an error if there is any.
func (*FakeVirtualHostOptions) List ¶ added in v1.8.0
func (c *FakeVirtualHostOptions) List(ctx context.Context, opts v1.ListOptions) (result *gatewaysoloiov1.VirtualHostOptionList, err error)
List takes label and field selectors, and returns the list of VirtualHostOptions that match those selectors.
func (*FakeVirtualHostOptions) Patch ¶ added in v1.8.0
func (c *FakeVirtualHostOptions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *gatewaysoloiov1.VirtualHostOption, err error)
Patch applies the patch and returns the patched virtualHostOption.
func (*FakeVirtualHostOptions) Update ¶ added in v1.8.0
func (c *FakeVirtualHostOptions) Update(ctx context.Context, virtualHostOption *gatewaysoloiov1.VirtualHostOption, opts v1.UpdateOptions) (result *gatewaysoloiov1.VirtualHostOption, err error)
Update takes the representation of a virtualHostOption and updates it. Returns the server's representation of the virtualHostOption, and an error, if there is any.
func (*FakeVirtualHostOptions) UpdateStatus ¶ added in v1.8.0
func (c *FakeVirtualHostOptions) UpdateStatus(ctx context.Context, virtualHostOption *gatewaysoloiov1.VirtualHostOption, opts v1.UpdateOptions) (*gatewaysoloiov1.VirtualHostOption, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeVirtualHostOptions) Watch ¶ added in v1.8.0
func (c *FakeVirtualHostOptions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested virtualHostOptions.
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.