Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeApisV1beta1
- func (c *FakeApisV1beta1) ControlPlanes(namespace string) v1beta1.ControlPlaneInterface
- func (c *FakeApisV1beta1) DataPlanes(namespace string) v1beta1.DataPlaneInterface
- func (c *FakeApisV1beta1) GatewayConfigurations(namespace string) v1beta1.GatewayConfigurationInterface
- func (c *FakeApisV1beta1) RESTClient() rest.Interface
- type FakeControlPlanes
- func (c *FakeControlPlanes) Create(ctx context.Context, controlPlane *v1beta1.ControlPlane, opts v1.CreateOptions) (result *v1beta1.ControlPlane, err error)
- func (c *FakeControlPlanes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeControlPlanes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeControlPlanes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.ControlPlane, err error)
- func (c *FakeControlPlanes) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.ControlPlaneList, err error)
- func (c *FakeControlPlanes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.ControlPlane, err error)
- func (c *FakeControlPlanes) Update(ctx context.Context, controlPlane *v1beta1.ControlPlane, opts v1.UpdateOptions) (result *v1beta1.ControlPlane, err error)
- func (c *FakeControlPlanes) UpdateStatus(ctx context.Context, controlPlane *v1beta1.ControlPlane, opts v1.UpdateOptions) (*v1beta1.ControlPlane, error)
- func (c *FakeControlPlanes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeDataPlanes
- func (c *FakeDataPlanes) Create(ctx context.Context, dataPlane *v1beta1.DataPlane, opts v1.CreateOptions) (result *v1beta1.DataPlane, err error)
- func (c *FakeDataPlanes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDataPlanes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDataPlanes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.DataPlane, err error)
- func (c *FakeDataPlanes) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.DataPlaneList, err error)
- func (c *FakeDataPlanes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.DataPlane, err error)
- func (c *FakeDataPlanes) Update(ctx context.Context, dataPlane *v1beta1.DataPlane, opts v1.UpdateOptions) (result *v1beta1.DataPlane, err error)
- func (c *FakeDataPlanes) UpdateStatus(ctx context.Context, dataPlane *v1beta1.DataPlane, opts v1.UpdateOptions) (*v1beta1.DataPlane, error)
- func (c *FakeDataPlanes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeGatewayConfigurations
- func (c *FakeGatewayConfigurations) Create(ctx context.Context, gatewayConfiguration *v1beta1.GatewayConfiguration, ...) (result *v1beta1.GatewayConfiguration, err error)
- func (c *FakeGatewayConfigurations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeGatewayConfigurations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeGatewayConfigurations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.GatewayConfiguration, err error)
- func (c *FakeGatewayConfigurations) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.GatewayConfigurationList, err error)
- func (c *FakeGatewayConfigurations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.GatewayConfiguration, err error)
- func (c *FakeGatewayConfigurations) Update(ctx context.Context, gatewayConfiguration *v1beta1.GatewayConfiguration, ...) (result *v1beta1.GatewayConfiguration, err error)
- func (c *FakeGatewayConfigurations) UpdateStatus(ctx context.Context, gatewayConfiguration *v1beta1.GatewayConfiguration, ...) (*v1beta1.GatewayConfiguration, error)
- func (c *FakeGatewayConfigurations) 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 FakeApisV1beta1 ¶
func (*FakeApisV1beta1) ControlPlanes ¶
func (c *FakeApisV1beta1) ControlPlanes(namespace string) v1beta1.ControlPlaneInterface
func (*FakeApisV1beta1) DataPlanes ¶
func (c *FakeApisV1beta1) DataPlanes(namespace string) v1beta1.DataPlaneInterface
func (*FakeApisV1beta1) GatewayConfigurations ¶
func (c *FakeApisV1beta1) GatewayConfigurations(namespace string) v1beta1.GatewayConfigurationInterface
func (*FakeApisV1beta1) RESTClient ¶
func (c *FakeApisV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeControlPlanes ¶
type FakeControlPlanes struct { Fake *FakeApisV1beta1 // contains filtered or unexported fields }
FakeControlPlanes implements ControlPlaneInterface
func (*FakeControlPlanes) Create ¶
func (c *FakeControlPlanes) Create(ctx context.Context, controlPlane *v1beta1.ControlPlane, opts v1.CreateOptions) (result *v1beta1.ControlPlane, err error)
Create takes the representation of a controlPlane and creates it. Returns the server's representation of the controlPlane, and an error, if there is any.
func (*FakeControlPlanes) Delete ¶
func (c *FakeControlPlanes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the controlPlane and deletes it. Returns an error if one occurs.
func (*FakeControlPlanes) DeleteCollection ¶
func (c *FakeControlPlanes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeControlPlanes) Get ¶
func (c *FakeControlPlanes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.ControlPlane, err error)
Get takes name of the controlPlane, and returns the corresponding controlPlane object, and an error if there is any.
func (*FakeControlPlanes) List ¶
func (c *FakeControlPlanes) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.ControlPlaneList, err error)
List takes label and field selectors, and returns the list of ControlPlanes that match those selectors.
func (*FakeControlPlanes) Patch ¶
func (c *FakeControlPlanes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.ControlPlane, err error)
Patch applies the patch and returns the patched controlPlane.
func (*FakeControlPlanes) Update ¶
func (c *FakeControlPlanes) Update(ctx context.Context, controlPlane *v1beta1.ControlPlane, opts v1.UpdateOptions) (result *v1beta1.ControlPlane, err error)
Update takes the representation of a controlPlane and updates it. Returns the server's representation of the controlPlane, and an error, if there is any.
func (*FakeControlPlanes) UpdateStatus ¶
func (c *FakeControlPlanes) UpdateStatus(ctx context.Context, controlPlane *v1beta1.ControlPlane, opts v1.UpdateOptions) (*v1beta1.ControlPlane, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeControlPlanes) Watch ¶
func (c *FakeControlPlanes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested controlPlanes.
type FakeDataPlanes ¶
type FakeDataPlanes struct { Fake *FakeApisV1beta1 // contains filtered or unexported fields }
FakeDataPlanes implements DataPlaneInterface
func (*FakeDataPlanes) Create ¶
func (c *FakeDataPlanes) Create(ctx context.Context, dataPlane *v1beta1.DataPlane, opts v1.CreateOptions) (result *v1beta1.DataPlane, err error)
Create takes the representation of a dataPlane and creates it. Returns the server's representation of the dataPlane, and an error, if there is any.
func (*FakeDataPlanes) Delete ¶
func (c *FakeDataPlanes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the dataPlane and deletes it. Returns an error if one occurs.
func (*FakeDataPlanes) DeleteCollection ¶
func (c *FakeDataPlanes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDataPlanes) Get ¶
func (c *FakeDataPlanes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.DataPlane, err error)
Get takes name of the dataPlane, and returns the corresponding dataPlane object, and an error if there is any.
func (*FakeDataPlanes) List ¶
func (c *FakeDataPlanes) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.DataPlaneList, err error)
List takes label and field selectors, and returns the list of DataPlanes that match those selectors.
func (*FakeDataPlanes) Patch ¶
func (c *FakeDataPlanes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.DataPlane, err error)
Patch applies the patch and returns the patched dataPlane.
func (*FakeDataPlanes) Update ¶
func (c *FakeDataPlanes) Update(ctx context.Context, dataPlane *v1beta1.DataPlane, opts v1.UpdateOptions) (result *v1beta1.DataPlane, err error)
Update takes the representation of a dataPlane and updates it. Returns the server's representation of the dataPlane, and an error, if there is any.
func (*FakeDataPlanes) UpdateStatus ¶
func (c *FakeDataPlanes) UpdateStatus(ctx context.Context, dataPlane *v1beta1.DataPlane, opts v1.UpdateOptions) (*v1beta1.DataPlane, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeDataPlanes) Watch ¶
func (c *FakeDataPlanes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested dataPlanes.
type FakeGatewayConfigurations ¶
type FakeGatewayConfigurations struct { Fake *FakeApisV1beta1 // contains filtered or unexported fields }
FakeGatewayConfigurations implements GatewayConfigurationInterface
func (*FakeGatewayConfigurations) Create ¶
func (c *FakeGatewayConfigurations) Create(ctx context.Context, gatewayConfiguration *v1beta1.GatewayConfiguration, opts v1.CreateOptions) (result *v1beta1.GatewayConfiguration, err error)
Create takes the representation of a gatewayConfiguration and creates it. Returns the server's representation of the gatewayConfiguration, and an error, if there is any.
func (*FakeGatewayConfigurations) Delete ¶
func (c *FakeGatewayConfigurations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the gatewayConfiguration and deletes it. Returns an error if one occurs.
func (*FakeGatewayConfigurations) DeleteCollection ¶
func (c *FakeGatewayConfigurations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGatewayConfigurations) Get ¶
func (c *FakeGatewayConfigurations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.GatewayConfiguration, err error)
Get takes name of the gatewayConfiguration, and returns the corresponding gatewayConfiguration object, and an error if there is any.
func (*FakeGatewayConfigurations) List ¶
func (c *FakeGatewayConfigurations) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.GatewayConfigurationList, err error)
List takes label and field selectors, and returns the list of GatewayConfigurations that match those selectors.
func (*FakeGatewayConfigurations) Patch ¶
func (c *FakeGatewayConfigurations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.GatewayConfiguration, err error)
Patch applies the patch and returns the patched gatewayConfiguration.
func (*FakeGatewayConfigurations) Update ¶
func (c *FakeGatewayConfigurations) Update(ctx context.Context, gatewayConfiguration *v1beta1.GatewayConfiguration, opts v1.UpdateOptions) (result *v1beta1.GatewayConfiguration, err error)
Update takes the representation of a gatewayConfiguration and updates it. Returns the server's representation of the gatewayConfiguration, and an error, if there is any.
func (*FakeGatewayConfigurations) UpdateStatus ¶
func (c *FakeGatewayConfigurations) UpdateStatus(ctx context.Context, gatewayConfiguration *v1beta1.GatewayConfiguration, opts v1.UpdateOptions) (*v1beta1.GatewayConfiguration, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeGatewayConfigurations) Watch ¶
func (c *FakeGatewayConfigurations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested gatewayConfigurations.