Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeGatewayClasses
- func (c *FakeGatewayClasses) Create(ctx context.Context, gatewayClass *v1alpha1pre1.GatewayClass, ...) (result *v1alpha1pre1.GatewayClass, err error)
- func (c *FakeGatewayClasses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeGatewayClasses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeGatewayClasses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1pre1.GatewayClass, err error)
- func (c *FakeGatewayClasses) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1pre1.GatewayClassList, err error)
- func (c *FakeGatewayClasses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1pre1.GatewayClass, err error)
- func (c *FakeGatewayClasses) Update(ctx context.Context, gatewayClass *v1alpha1pre1.GatewayClass, ...) (result *v1alpha1pre1.GatewayClass, err error)
- func (c *FakeGatewayClasses) UpdateStatus(ctx context.Context, gatewayClass *v1alpha1pre1.GatewayClass, ...) (*v1alpha1pre1.GatewayClass, error)
- func (c *FakeGatewayClasses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeGateways
- func (c *FakeGateways) Create(ctx context.Context, gateway *v1alpha1pre1.Gateway, opts v1.CreateOptions) (result *v1alpha1pre1.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 *v1alpha1pre1.Gateway, err error)
- func (c *FakeGateways) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1pre1.GatewayList, err error)
- func (c *FakeGateways) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1pre1.Gateway, err error)
- func (c *FakeGateways) Update(ctx context.Context, gateway *v1alpha1pre1.Gateway, opts v1.UpdateOptions) (result *v1alpha1pre1.Gateway, err error)
- func (c *FakeGateways) UpdateStatus(ctx context.Context, gateway *v1alpha1pre1.Gateway, opts v1.UpdateOptions) (*v1alpha1pre1.Gateway, error)
- func (c *FakeGateways) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeHTTPRoutes
- func (c *FakeHTTPRoutes) Create(ctx context.Context, hTTPRoute *v1alpha1pre1.HTTPRoute, opts v1.CreateOptions) (result *v1alpha1pre1.HTTPRoute, err error)
- func (c *FakeHTTPRoutes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeHTTPRoutes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeHTTPRoutes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1pre1.HTTPRoute, err error)
- func (c *FakeHTTPRoutes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1pre1.HTTPRouteList, err error)
- func (c *FakeHTTPRoutes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1pre1.HTTPRoute, err error)
- func (c *FakeHTTPRoutes) Update(ctx context.Context, hTTPRoute *v1alpha1pre1.HTTPRoute, opts v1.UpdateOptions) (result *v1alpha1pre1.HTTPRoute, err error)
- func (c *FakeHTTPRoutes) UpdateStatus(ctx context.Context, hTTPRoute *v1alpha1pre1.HTTPRoute, opts v1.UpdateOptions) (*v1alpha1pre1.HTTPRoute, error)
- func (c *FakeHTTPRoutes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeNetworkingV1alpha1pre1
- func (c *FakeNetworkingV1alpha1pre1) GatewayClasses() v1alpha1pre1.GatewayClassInterface
- func (c *FakeNetworkingV1alpha1pre1) Gateways(namespace string) v1alpha1pre1.GatewayInterface
- func (c *FakeNetworkingV1alpha1pre1) HTTPRoutes(namespace string) v1alpha1pre1.HTTPRouteInterface
- func (c *FakeNetworkingV1alpha1pre1) RESTClient() rest.Interface
- func (c *FakeNetworkingV1alpha1pre1) TCPRoutes(namespace string) v1alpha1pre1.TCPRouteInterface
- type FakeTCPRoutes
- func (c *FakeTCPRoutes) Create(ctx context.Context, tCPRoute *v1alpha1pre1.TCPRoute, opts v1.CreateOptions) (result *v1alpha1pre1.TCPRoute, err error)
- func (c *FakeTCPRoutes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeTCPRoutes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeTCPRoutes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1pre1.TCPRoute, err error)
- func (c *FakeTCPRoutes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1pre1.TCPRouteList, err error)
- func (c *FakeTCPRoutes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1pre1.TCPRoute, err error)
- func (c *FakeTCPRoutes) Update(ctx context.Context, tCPRoute *v1alpha1pre1.TCPRoute, opts v1.UpdateOptions) (result *v1alpha1pre1.TCPRoute, err error)
- func (c *FakeTCPRoutes) UpdateStatus(ctx context.Context, tCPRoute *v1alpha1pre1.TCPRoute, opts v1.UpdateOptions) (*v1alpha1pre1.TCPRoute, error)
- func (c *FakeTCPRoutes) 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 FakeGatewayClasses ¶
type FakeGatewayClasses struct {
Fake *FakeNetworkingV1alpha1pre1
}
FakeGatewayClasses implements GatewayClassInterface
func (*FakeGatewayClasses) Create ¶
func (c *FakeGatewayClasses) Create(ctx context.Context, gatewayClass *v1alpha1pre1.GatewayClass, opts v1.CreateOptions) (result *v1alpha1pre1.GatewayClass, err error)
Create takes the representation of a gatewayClass and creates it. Returns the server's representation of the gatewayClass, and an error, if there is any.
func (*FakeGatewayClasses) Delete ¶
func (c *FakeGatewayClasses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the gatewayClass and deletes it. Returns an error if one occurs.
func (*FakeGatewayClasses) DeleteCollection ¶
func (c *FakeGatewayClasses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGatewayClasses) Get ¶
func (c *FakeGatewayClasses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1pre1.GatewayClass, err error)
Get takes name of the gatewayClass, and returns the corresponding gatewayClass object, and an error if there is any.
func (*FakeGatewayClasses) List ¶
func (c *FakeGatewayClasses) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1pre1.GatewayClassList, err error)
List takes label and field selectors, and returns the list of GatewayClasses that match those selectors.
func (*FakeGatewayClasses) Patch ¶
func (c *FakeGatewayClasses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1pre1.GatewayClass, err error)
Patch applies the patch and returns the patched gatewayClass.
func (*FakeGatewayClasses) Update ¶
func (c *FakeGatewayClasses) Update(ctx context.Context, gatewayClass *v1alpha1pre1.GatewayClass, opts v1.UpdateOptions) (result *v1alpha1pre1.GatewayClass, err error)
Update takes the representation of a gatewayClass and updates it. Returns the server's representation of the gatewayClass, and an error, if there is any.
func (*FakeGatewayClasses) UpdateStatus ¶
func (c *FakeGatewayClasses) UpdateStatus(ctx context.Context, gatewayClass *v1alpha1pre1.GatewayClass, opts v1.UpdateOptions) (*v1alpha1pre1.GatewayClass, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeGatewayClasses) Watch ¶
func (c *FakeGatewayClasses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested gatewayClasses.
type FakeGateways ¶
type FakeGateways struct { Fake *FakeNetworkingV1alpha1pre1 // contains filtered or unexported fields }
FakeGateways implements GatewayInterface
func (*FakeGateways) Create ¶
func (c *FakeGateways) Create(ctx context.Context, gateway *v1alpha1pre1.Gateway, opts v1.CreateOptions) (result *v1alpha1pre1.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 *v1alpha1pre1.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 *v1alpha1pre1.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 *v1alpha1pre1.Gateway, err error)
Patch applies the patch and returns the patched gateway.
func (*FakeGateways) Update ¶
func (c *FakeGateways) Update(ctx context.Context, gateway *v1alpha1pre1.Gateway, opts v1.UpdateOptions) (result *v1alpha1pre1.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 *v1alpha1pre1.Gateway, opts v1.UpdateOptions) (*v1alpha1pre1.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 FakeHTTPRoutes ¶
type FakeHTTPRoutes struct { Fake *FakeNetworkingV1alpha1pre1 // contains filtered or unexported fields }
FakeHTTPRoutes implements HTTPRouteInterface
func (*FakeHTTPRoutes) Create ¶
func (c *FakeHTTPRoutes) Create(ctx context.Context, hTTPRoute *v1alpha1pre1.HTTPRoute, opts v1.CreateOptions) (result *v1alpha1pre1.HTTPRoute, err error)
Create takes the representation of a hTTPRoute and creates it. Returns the server's representation of the hTTPRoute, and an error, if there is any.
func (*FakeHTTPRoutes) Delete ¶
func (c *FakeHTTPRoutes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the hTTPRoute and deletes it. Returns an error if one occurs.
func (*FakeHTTPRoutes) DeleteCollection ¶
func (c *FakeHTTPRoutes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeHTTPRoutes) Get ¶
func (c *FakeHTTPRoutes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1pre1.HTTPRoute, err error)
Get takes name of the hTTPRoute, and returns the corresponding hTTPRoute object, and an error if there is any.
func (*FakeHTTPRoutes) List ¶
func (c *FakeHTTPRoutes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1pre1.HTTPRouteList, err error)
List takes label and field selectors, and returns the list of HTTPRoutes that match those selectors.
func (*FakeHTTPRoutes) Patch ¶
func (c *FakeHTTPRoutes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1pre1.HTTPRoute, err error)
Patch applies the patch and returns the patched hTTPRoute.
func (*FakeHTTPRoutes) Update ¶
func (c *FakeHTTPRoutes) Update(ctx context.Context, hTTPRoute *v1alpha1pre1.HTTPRoute, opts v1.UpdateOptions) (result *v1alpha1pre1.HTTPRoute, err error)
Update takes the representation of a hTTPRoute and updates it. Returns the server's representation of the hTTPRoute, and an error, if there is any.
func (*FakeHTTPRoutes) UpdateStatus ¶
func (c *FakeHTTPRoutes) UpdateStatus(ctx context.Context, hTTPRoute *v1alpha1pre1.HTTPRoute, opts v1.UpdateOptions) (*v1alpha1pre1.HTTPRoute, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeHTTPRoutes) Watch ¶
func (c *FakeHTTPRoutes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested hTTPRoutes.
type FakeNetworkingV1alpha1pre1 ¶
func (*FakeNetworkingV1alpha1pre1) GatewayClasses ¶
func (c *FakeNetworkingV1alpha1pre1) GatewayClasses() v1alpha1pre1.GatewayClassInterface
func (*FakeNetworkingV1alpha1pre1) Gateways ¶
func (c *FakeNetworkingV1alpha1pre1) Gateways(namespace string) v1alpha1pre1.GatewayInterface
func (*FakeNetworkingV1alpha1pre1) HTTPRoutes ¶
func (c *FakeNetworkingV1alpha1pre1) HTTPRoutes(namespace string) v1alpha1pre1.HTTPRouteInterface
func (*FakeNetworkingV1alpha1pre1) RESTClient ¶
func (c *FakeNetworkingV1alpha1pre1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeNetworkingV1alpha1pre1) TCPRoutes ¶
func (c *FakeNetworkingV1alpha1pre1) TCPRoutes(namespace string) v1alpha1pre1.TCPRouteInterface
type FakeTCPRoutes ¶
type FakeTCPRoutes struct { Fake *FakeNetworkingV1alpha1pre1 // contains filtered or unexported fields }
FakeTCPRoutes implements TCPRouteInterface
func (*FakeTCPRoutes) Create ¶
func (c *FakeTCPRoutes) Create(ctx context.Context, tCPRoute *v1alpha1pre1.TCPRoute, opts v1.CreateOptions) (result *v1alpha1pre1.TCPRoute, err error)
Create takes the representation of a tCPRoute and creates it. Returns the server's representation of the tCPRoute, and an error, if there is any.
func (*FakeTCPRoutes) Delete ¶
func (c *FakeTCPRoutes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the tCPRoute and deletes it. Returns an error if one occurs.
func (*FakeTCPRoutes) DeleteCollection ¶
func (c *FakeTCPRoutes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTCPRoutes) Get ¶
func (c *FakeTCPRoutes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1pre1.TCPRoute, err error)
Get takes name of the tCPRoute, and returns the corresponding tCPRoute object, and an error if there is any.
func (*FakeTCPRoutes) List ¶
func (c *FakeTCPRoutes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1pre1.TCPRouteList, err error)
List takes label and field selectors, and returns the list of TCPRoutes that match those selectors.
func (*FakeTCPRoutes) Patch ¶
func (c *FakeTCPRoutes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1pre1.TCPRoute, err error)
Patch applies the patch and returns the patched tCPRoute.
func (*FakeTCPRoutes) Update ¶
func (c *FakeTCPRoutes) Update(ctx context.Context, tCPRoute *v1alpha1pre1.TCPRoute, opts v1.UpdateOptions) (result *v1alpha1pre1.TCPRoute, err error)
Update takes the representation of a tCPRoute and updates it. Returns the server's representation of the tCPRoute, and an error, if there is any.
func (*FakeTCPRoutes) UpdateStatus ¶
func (c *FakeTCPRoutes) UpdateStatus(ctx context.Context, tCPRoute *v1alpha1pre1.TCPRoute, opts v1.UpdateOptions) (*v1alpha1pre1.TCPRoute, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeTCPRoutes) Watch ¶
func (c *FakeTCPRoutes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested tCPRoutes.