Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeConnectorV1alpha1
- func (c *FakeConnectorV1alpha1) ConsulConnectors() v1alpha1.ConsulConnectorInterface
- func (c *FakeConnectorV1alpha1) EurekaConnectors() v1alpha1.EurekaConnectorInterface
- func (c *FakeConnectorV1alpha1) GatewayConnectors() v1alpha1.GatewayConnectorInterface
- func (c *FakeConnectorV1alpha1) MachineConnectors() v1alpha1.MachineConnectorInterface
- func (c *FakeConnectorV1alpha1) NacosConnectors() v1alpha1.NacosConnectorInterface
- func (c *FakeConnectorV1alpha1) RESTClient() rest.Interface
- type FakeConsulConnectors
- func (c *FakeConsulConnectors) Create(ctx context.Context, consulConnector *v1alpha1.ConsulConnector, ...) (result *v1alpha1.ConsulConnector, err error)
- func (c *FakeConsulConnectors) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeConsulConnectors) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeConsulConnectors) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ConsulConnector, err error)
- func (c *FakeConsulConnectors) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ConsulConnectorList, err error)
- func (c *FakeConsulConnectors) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ConsulConnector, err error)
- func (c *FakeConsulConnectors) Update(ctx context.Context, consulConnector *v1alpha1.ConsulConnector, ...) (result *v1alpha1.ConsulConnector, err error)
- func (c *FakeConsulConnectors) UpdateStatus(ctx context.Context, consulConnector *v1alpha1.ConsulConnector, ...) (*v1alpha1.ConsulConnector, error)
- func (c *FakeConsulConnectors) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeEurekaConnectors
- func (c *FakeEurekaConnectors) Create(ctx context.Context, eurekaConnector *v1alpha1.EurekaConnector, ...) (result *v1alpha1.EurekaConnector, err error)
- func (c *FakeEurekaConnectors) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeEurekaConnectors) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeEurekaConnectors) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.EurekaConnector, err error)
- func (c *FakeEurekaConnectors) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.EurekaConnectorList, err error)
- func (c *FakeEurekaConnectors) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.EurekaConnector, err error)
- func (c *FakeEurekaConnectors) Update(ctx context.Context, eurekaConnector *v1alpha1.EurekaConnector, ...) (result *v1alpha1.EurekaConnector, err error)
- func (c *FakeEurekaConnectors) UpdateStatus(ctx context.Context, eurekaConnector *v1alpha1.EurekaConnector, ...) (*v1alpha1.EurekaConnector, error)
- func (c *FakeEurekaConnectors) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeGatewayConnectors
- func (c *FakeGatewayConnectors) Create(ctx context.Context, gatewayConnector *v1alpha1.GatewayConnector, ...) (result *v1alpha1.GatewayConnector, err error)
- func (c *FakeGatewayConnectors) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeGatewayConnectors) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeGatewayConnectors) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.GatewayConnector, err error)
- func (c *FakeGatewayConnectors) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.GatewayConnectorList, err error)
- func (c *FakeGatewayConnectors) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.GatewayConnector, err error)
- func (c *FakeGatewayConnectors) Update(ctx context.Context, gatewayConnector *v1alpha1.GatewayConnector, ...) (result *v1alpha1.GatewayConnector, err error)
- func (c *FakeGatewayConnectors) UpdateStatus(ctx context.Context, gatewayConnector *v1alpha1.GatewayConnector, ...) (*v1alpha1.GatewayConnector, error)
- func (c *FakeGatewayConnectors) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMachineConnectors
- func (c *FakeMachineConnectors) Create(ctx context.Context, machineConnector *v1alpha1.MachineConnector, ...) (result *v1alpha1.MachineConnector, err error)
- func (c *FakeMachineConnectors) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMachineConnectors) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeMachineConnectors) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MachineConnector, err error)
- func (c *FakeMachineConnectors) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MachineConnectorList, err error)
- func (c *FakeMachineConnectors) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.MachineConnector, err error)
- func (c *FakeMachineConnectors) Update(ctx context.Context, machineConnector *v1alpha1.MachineConnector, ...) (result *v1alpha1.MachineConnector, err error)
- func (c *FakeMachineConnectors) UpdateStatus(ctx context.Context, machineConnector *v1alpha1.MachineConnector, ...) (*v1alpha1.MachineConnector, error)
- func (c *FakeMachineConnectors) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeNacosConnectors
- func (c *FakeNacosConnectors) Create(ctx context.Context, nacosConnector *v1alpha1.NacosConnector, ...) (result *v1alpha1.NacosConnector, err error)
- func (c *FakeNacosConnectors) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNacosConnectors) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeNacosConnectors) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NacosConnector, err error)
- func (c *FakeNacosConnectors) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NacosConnectorList, err error)
- func (c *FakeNacosConnectors) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.NacosConnector, err error)
- func (c *FakeNacosConnectors) Update(ctx context.Context, nacosConnector *v1alpha1.NacosConnector, ...) (result *v1alpha1.NacosConnector, err error)
- func (c *FakeNacosConnectors) UpdateStatus(ctx context.Context, nacosConnector *v1alpha1.NacosConnector, ...) (*v1alpha1.NacosConnector, error)
- func (c *FakeNacosConnectors) 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 FakeConnectorV1alpha1 ¶
func (*FakeConnectorV1alpha1) ConsulConnectors ¶
func (c *FakeConnectorV1alpha1) ConsulConnectors() v1alpha1.ConsulConnectorInterface
func (*FakeConnectorV1alpha1) EurekaConnectors ¶
func (c *FakeConnectorV1alpha1) EurekaConnectors() v1alpha1.EurekaConnectorInterface
func (*FakeConnectorV1alpha1) GatewayConnectors ¶
func (c *FakeConnectorV1alpha1) GatewayConnectors() v1alpha1.GatewayConnectorInterface
func (*FakeConnectorV1alpha1) MachineConnectors ¶
func (c *FakeConnectorV1alpha1) MachineConnectors() v1alpha1.MachineConnectorInterface
func (*FakeConnectorV1alpha1) NacosConnectors ¶
func (c *FakeConnectorV1alpha1) NacosConnectors() v1alpha1.NacosConnectorInterface
func (*FakeConnectorV1alpha1) RESTClient ¶
func (c *FakeConnectorV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeConsulConnectors ¶
type FakeConsulConnectors struct {
Fake *FakeConnectorV1alpha1
}
FakeConsulConnectors implements ConsulConnectorInterface
func (*FakeConsulConnectors) Create ¶
func (c *FakeConsulConnectors) Create(ctx context.Context, consulConnector *v1alpha1.ConsulConnector, opts v1.CreateOptions) (result *v1alpha1.ConsulConnector, err error)
Create takes the representation of a consulConnector and creates it. Returns the server's representation of the consulConnector, and an error, if there is any.
func (*FakeConsulConnectors) Delete ¶
func (c *FakeConsulConnectors) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the consulConnector and deletes it. Returns an error if one occurs.
func (*FakeConsulConnectors) DeleteCollection ¶
func (c *FakeConsulConnectors) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeConsulConnectors) Get ¶
func (c *FakeConsulConnectors) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ConsulConnector, err error)
Get takes name of the consulConnector, and returns the corresponding consulConnector object, and an error if there is any.
func (*FakeConsulConnectors) List ¶
func (c *FakeConsulConnectors) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ConsulConnectorList, err error)
List takes label and field selectors, and returns the list of ConsulConnectors that match those selectors.
func (*FakeConsulConnectors) Patch ¶
func (c *FakeConsulConnectors) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ConsulConnector, err error)
Patch applies the patch and returns the patched consulConnector.
func (*FakeConsulConnectors) Update ¶
func (c *FakeConsulConnectors) Update(ctx context.Context, consulConnector *v1alpha1.ConsulConnector, opts v1.UpdateOptions) (result *v1alpha1.ConsulConnector, err error)
Update takes the representation of a consulConnector and updates it. Returns the server's representation of the consulConnector, and an error, if there is any.
func (*FakeConsulConnectors) UpdateStatus ¶
func (c *FakeConsulConnectors) UpdateStatus(ctx context.Context, consulConnector *v1alpha1.ConsulConnector, opts v1.UpdateOptions) (*v1alpha1.ConsulConnector, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeConsulConnectors) Watch ¶
func (c *FakeConsulConnectors) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested consulConnectors.
type FakeEurekaConnectors ¶
type FakeEurekaConnectors struct {
Fake *FakeConnectorV1alpha1
}
FakeEurekaConnectors implements EurekaConnectorInterface
func (*FakeEurekaConnectors) Create ¶
func (c *FakeEurekaConnectors) Create(ctx context.Context, eurekaConnector *v1alpha1.EurekaConnector, opts v1.CreateOptions) (result *v1alpha1.EurekaConnector, err error)
Create takes the representation of a eurekaConnector and creates it. Returns the server's representation of the eurekaConnector, and an error, if there is any.
func (*FakeEurekaConnectors) Delete ¶
func (c *FakeEurekaConnectors) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the eurekaConnector and deletes it. Returns an error if one occurs.
func (*FakeEurekaConnectors) DeleteCollection ¶
func (c *FakeEurekaConnectors) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeEurekaConnectors) Get ¶
func (c *FakeEurekaConnectors) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.EurekaConnector, err error)
Get takes name of the eurekaConnector, and returns the corresponding eurekaConnector object, and an error if there is any.
func (*FakeEurekaConnectors) List ¶
func (c *FakeEurekaConnectors) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.EurekaConnectorList, err error)
List takes label and field selectors, and returns the list of EurekaConnectors that match those selectors.
func (*FakeEurekaConnectors) Patch ¶
func (c *FakeEurekaConnectors) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.EurekaConnector, err error)
Patch applies the patch and returns the patched eurekaConnector.
func (*FakeEurekaConnectors) Update ¶
func (c *FakeEurekaConnectors) Update(ctx context.Context, eurekaConnector *v1alpha1.EurekaConnector, opts v1.UpdateOptions) (result *v1alpha1.EurekaConnector, err error)
Update takes the representation of a eurekaConnector and updates it. Returns the server's representation of the eurekaConnector, and an error, if there is any.
func (*FakeEurekaConnectors) UpdateStatus ¶
func (c *FakeEurekaConnectors) UpdateStatus(ctx context.Context, eurekaConnector *v1alpha1.EurekaConnector, opts v1.UpdateOptions) (*v1alpha1.EurekaConnector, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeEurekaConnectors) Watch ¶
func (c *FakeEurekaConnectors) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested eurekaConnectors.
type FakeGatewayConnectors ¶
type FakeGatewayConnectors struct {
Fake *FakeConnectorV1alpha1
}
FakeGatewayConnectors implements GatewayConnectorInterface
func (*FakeGatewayConnectors) Create ¶
func (c *FakeGatewayConnectors) Create(ctx context.Context, gatewayConnector *v1alpha1.GatewayConnector, opts v1.CreateOptions) (result *v1alpha1.GatewayConnector, err error)
Create takes the representation of a gatewayConnector and creates it. Returns the server's representation of the gatewayConnector, and an error, if there is any.
func (*FakeGatewayConnectors) Delete ¶
func (c *FakeGatewayConnectors) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the gatewayConnector and deletes it. Returns an error if one occurs.
func (*FakeGatewayConnectors) DeleteCollection ¶
func (c *FakeGatewayConnectors) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGatewayConnectors) Get ¶
func (c *FakeGatewayConnectors) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.GatewayConnector, err error)
Get takes name of the gatewayConnector, and returns the corresponding gatewayConnector object, and an error if there is any.
func (*FakeGatewayConnectors) List ¶
func (c *FakeGatewayConnectors) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.GatewayConnectorList, err error)
List takes label and field selectors, and returns the list of GatewayConnectors that match those selectors.
func (*FakeGatewayConnectors) Patch ¶
func (c *FakeGatewayConnectors) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.GatewayConnector, err error)
Patch applies the patch and returns the patched gatewayConnector.
func (*FakeGatewayConnectors) Update ¶
func (c *FakeGatewayConnectors) Update(ctx context.Context, gatewayConnector *v1alpha1.GatewayConnector, opts v1.UpdateOptions) (result *v1alpha1.GatewayConnector, err error)
Update takes the representation of a gatewayConnector and updates it. Returns the server's representation of the gatewayConnector, and an error, if there is any.
func (*FakeGatewayConnectors) UpdateStatus ¶
func (c *FakeGatewayConnectors) UpdateStatus(ctx context.Context, gatewayConnector *v1alpha1.GatewayConnector, opts v1.UpdateOptions) (*v1alpha1.GatewayConnector, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeGatewayConnectors) Watch ¶
func (c *FakeGatewayConnectors) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested gatewayConnectors.
type FakeMachineConnectors ¶
type FakeMachineConnectors struct {
Fake *FakeConnectorV1alpha1
}
FakeMachineConnectors implements MachineConnectorInterface
func (*FakeMachineConnectors) Create ¶
func (c *FakeMachineConnectors) Create(ctx context.Context, machineConnector *v1alpha1.MachineConnector, opts v1.CreateOptions) (result *v1alpha1.MachineConnector, err error)
Create takes the representation of a machineConnector and creates it. Returns the server's representation of the machineConnector, and an error, if there is any.
func (*FakeMachineConnectors) Delete ¶
func (c *FakeMachineConnectors) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the machineConnector and deletes it. Returns an error if one occurs.
func (*FakeMachineConnectors) DeleteCollection ¶
func (c *FakeMachineConnectors) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMachineConnectors) Get ¶
func (c *FakeMachineConnectors) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MachineConnector, err error)
Get takes name of the machineConnector, and returns the corresponding machineConnector object, and an error if there is any.
func (*FakeMachineConnectors) List ¶
func (c *FakeMachineConnectors) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MachineConnectorList, err error)
List takes label and field selectors, and returns the list of MachineConnectors that match those selectors.
func (*FakeMachineConnectors) Patch ¶
func (c *FakeMachineConnectors) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.MachineConnector, err error)
Patch applies the patch and returns the patched machineConnector.
func (*FakeMachineConnectors) Update ¶
func (c *FakeMachineConnectors) Update(ctx context.Context, machineConnector *v1alpha1.MachineConnector, opts v1.UpdateOptions) (result *v1alpha1.MachineConnector, err error)
Update takes the representation of a machineConnector and updates it. Returns the server's representation of the machineConnector, and an error, if there is any.
func (*FakeMachineConnectors) UpdateStatus ¶
func (c *FakeMachineConnectors) UpdateStatus(ctx context.Context, machineConnector *v1alpha1.MachineConnector, opts v1.UpdateOptions) (*v1alpha1.MachineConnector, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMachineConnectors) Watch ¶
func (c *FakeMachineConnectors) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested machineConnectors.
type FakeNacosConnectors ¶
type FakeNacosConnectors struct {
Fake *FakeConnectorV1alpha1
}
FakeNacosConnectors implements NacosConnectorInterface
func (*FakeNacosConnectors) Create ¶
func (c *FakeNacosConnectors) Create(ctx context.Context, nacosConnector *v1alpha1.NacosConnector, opts v1.CreateOptions) (result *v1alpha1.NacosConnector, err error)
Create takes the representation of a nacosConnector and creates it. Returns the server's representation of the nacosConnector, and an error, if there is any.
func (*FakeNacosConnectors) Delete ¶
func (c *FakeNacosConnectors) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the nacosConnector and deletes it. Returns an error if one occurs.
func (*FakeNacosConnectors) DeleteCollection ¶
func (c *FakeNacosConnectors) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNacosConnectors) Get ¶
func (c *FakeNacosConnectors) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NacosConnector, err error)
Get takes name of the nacosConnector, and returns the corresponding nacosConnector object, and an error if there is any.
func (*FakeNacosConnectors) List ¶
func (c *FakeNacosConnectors) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NacosConnectorList, err error)
List takes label and field selectors, and returns the list of NacosConnectors that match those selectors.
func (*FakeNacosConnectors) Patch ¶
func (c *FakeNacosConnectors) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NacosConnector, err error)
Patch applies the patch and returns the patched nacosConnector.
func (*FakeNacosConnectors) Update ¶
func (c *FakeNacosConnectors) Update(ctx context.Context, nacosConnector *v1alpha1.NacosConnector, opts v1.UpdateOptions) (result *v1alpha1.NacosConnector, err error)
Update takes the representation of a nacosConnector and updates it. Returns the server's representation of the nacosConnector, and an error, if there is any.
func (*FakeNacosConnectors) UpdateStatus ¶
func (c *FakeNacosConnectors) UpdateStatus(ctx context.Context, nacosConnector *v1alpha1.NacosConnector, opts v1.UpdateOptions) (*v1alpha1.NacosConnector, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeNacosConnectors) Watch ¶
func (c *FakeNacosConnectors) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested nacosConnectors.