Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAccelerators
- func (c *FakeAccelerators) Create(ctx context.Context, accelerator *v1alpha1.Accelerator, opts v1.CreateOptions) (result *v1alpha1.Accelerator, err error)
- func (c *FakeAccelerators) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAccelerators) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAccelerators) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Accelerator, err error)
- func (c *FakeAccelerators) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AcceleratorList, err error)
- func (c *FakeAccelerators) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Accelerator, err error)
- func (c *FakeAccelerators) Update(ctx context.Context, accelerator *v1alpha1.Accelerator, opts v1.UpdateOptions) (result *v1alpha1.Accelerator, err error)
- func (c *FakeAccelerators) UpdateStatus(ctx context.Context, accelerator *v1alpha1.Accelerator, opts v1.UpdateOptions) (*v1alpha1.Accelerator, error)
- func (c *FakeAccelerators) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeEndpointGroups
- func (c *FakeEndpointGroups) Create(ctx context.Context, endpointGroup *v1alpha1.EndpointGroup, ...) (result *v1alpha1.EndpointGroup, err error)
- func (c *FakeEndpointGroups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeEndpointGroups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeEndpointGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.EndpointGroup, err error)
- func (c *FakeEndpointGroups) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.EndpointGroupList, err error)
- func (c *FakeEndpointGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.EndpointGroup, err error)
- func (c *FakeEndpointGroups) Update(ctx context.Context, endpointGroup *v1alpha1.EndpointGroup, ...) (result *v1alpha1.EndpointGroup, err error)
- func (c *FakeEndpointGroups) UpdateStatus(ctx context.Context, endpointGroup *v1alpha1.EndpointGroup, ...) (*v1alpha1.EndpointGroup, error)
- func (c *FakeEndpointGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeGlobalacceleratorV1alpha1
- func (c *FakeGlobalacceleratorV1alpha1) Accelerators(namespace string) v1alpha1.AcceleratorInterface
- func (c *FakeGlobalacceleratorV1alpha1) EndpointGroups(namespace string) v1alpha1.EndpointGroupInterface
- func (c *FakeGlobalacceleratorV1alpha1) Listeners(namespace string) v1alpha1.ListenerInterface
- func (c *FakeGlobalacceleratorV1alpha1) RESTClient() rest.Interface
- type FakeListeners
- func (c *FakeListeners) Create(ctx context.Context, listener *v1alpha1.Listener, opts v1.CreateOptions) (result *v1alpha1.Listener, err error)
- func (c *FakeListeners) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeListeners) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeListeners) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Listener, err error)
- func (c *FakeListeners) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ListenerList, err error)
- func (c *FakeListeners) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Listener, err error)
- func (c *FakeListeners) Update(ctx context.Context, listener *v1alpha1.Listener, opts v1.UpdateOptions) (result *v1alpha1.Listener, err error)
- func (c *FakeListeners) UpdateStatus(ctx context.Context, listener *v1alpha1.Listener, opts v1.UpdateOptions) (*v1alpha1.Listener, error)
- func (c *FakeListeners) 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 FakeAccelerators ¶
type FakeAccelerators struct { Fake *FakeGlobalacceleratorV1alpha1 // contains filtered or unexported fields }
FakeAccelerators implements AcceleratorInterface
func (*FakeAccelerators) Create ¶
func (c *FakeAccelerators) Create(ctx context.Context, accelerator *v1alpha1.Accelerator, opts v1.CreateOptions) (result *v1alpha1.Accelerator, err error)
Create takes the representation of a accelerator and creates it. Returns the server's representation of the accelerator, and an error, if there is any.
func (*FakeAccelerators) Delete ¶
func (c *FakeAccelerators) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the accelerator and deletes it. Returns an error if one occurs.
func (*FakeAccelerators) DeleteCollection ¶
func (c *FakeAccelerators) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAccelerators) Get ¶
func (c *FakeAccelerators) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Accelerator, err error)
Get takes name of the accelerator, and returns the corresponding accelerator object, and an error if there is any.
func (*FakeAccelerators) List ¶
func (c *FakeAccelerators) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AcceleratorList, err error)
List takes label and field selectors, and returns the list of Accelerators that match those selectors.
func (*FakeAccelerators) Patch ¶
func (c *FakeAccelerators) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Accelerator, err error)
Patch applies the patch and returns the patched accelerator.
func (*FakeAccelerators) Update ¶
func (c *FakeAccelerators) Update(ctx context.Context, accelerator *v1alpha1.Accelerator, opts v1.UpdateOptions) (result *v1alpha1.Accelerator, err error)
Update takes the representation of a accelerator and updates it. Returns the server's representation of the accelerator, and an error, if there is any.
func (*FakeAccelerators) UpdateStatus ¶
func (c *FakeAccelerators) UpdateStatus(ctx context.Context, accelerator *v1alpha1.Accelerator, opts v1.UpdateOptions) (*v1alpha1.Accelerator, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAccelerators) Watch ¶
func (c *FakeAccelerators) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested accelerators.
type FakeEndpointGroups ¶
type FakeEndpointGroups struct { Fake *FakeGlobalacceleratorV1alpha1 // contains filtered or unexported fields }
FakeEndpointGroups implements EndpointGroupInterface
func (*FakeEndpointGroups) Create ¶
func (c *FakeEndpointGroups) Create(ctx context.Context, endpointGroup *v1alpha1.EndpointGroup, opts v1.CreateOptions) (result *v1alpha1.EndpointGroup, err error)
Create takes the representation of a endpointGroup and creates it. Returns the server's representation of the endpointGroup, and an error, if there is any.
func (*FakeEndpointGroups) Delete ¶
func (c *FakeEndpointGroups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the endpointGroup and deletes it. Returns an error if one occurs.
func (*FakeEndpointGroups) DeleteCollection ¶
func (c *FakeEndpointGroups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeEndpointGroups) Get ¶
func (c *FakeEndpointGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.EndpointGroup, err error)
Get takes name of the endpointGroup, and returns the corresponding endpointGroup object, and an error if there is any.
func (*FakeEndpointGroups) List ¶
func (c *FakeEndpointGroups) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.EndpointGroupList, err error)
List takes label and field selectors, and returns the list of EndpointGroups that match those selectors.
func (*FakeEndpointGroups) Patch ¶
func (c *FakeEndpointGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.EndpointGroup, err error)
Patch applies the patch and returns the patched endpointGroup.
func (*FakeEndpointGroups) Update ¶
func (c *FakeEndpointGroups) Update(ctx context.Context, endpointGroup *v1alpha1.EndpointGroup, opts v1.UpdateOptions) (result *v1alpha1.EndpointGroup, err error)
Update takes the representation of a endpointGroup and updates it. Returns the server's representation of the endpointGroup, and an error, if there is any.
func (*FakeEndpointGroups) UpdateStatus ¶
func (c *FakeEndpointGroups) UpdateStatus(ctx context.Context, endpointGroup *v1alpha1.EndpointGroup, opts v1.UpdateOptions) (*v1alpha1.EndpointGroup, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeEndpointGroups) Watch ¶
func (c *FakeEndpointGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested endpointGroups.
type FakeGlobalacceleratorV1alpha1 ¶
func (*FakeGlobalacceleratorV1alpha1) Accelerators ¶
func (c *FakeGlobalacceleratorV1alpha1) Accelerators(namespace string) v1alpha1.AcceleratorInterface
func (*FakeGlobalacceleratorV1alpha1) EndpointGroups ¶
func (c *FakeGlobalacceleratorV1alpha1) EndpointGroups(namespace string) v1alpha1.EndpointGroupInterface
func (*FakeGlobalacceleratorV1alpha1) Listeners ¶
func (c *FakeGlobalacceleratorV1alpha1) Listeners(namespace string) v1alpha1.ListenerInterface
func (*FakeGlobalacceleratorV1alpha1) RESTClient ¶
func (c *FakeGlobalacceleratorV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeListeners ¶
type FakeListeners struct { Fake *FakeGlobalacceleratorV1alpha1 // contains filtered or unexported fields }
FakeListeners implements ListenerInterface
func (*FakeListeners) Create ¶
func (c *FakeListeners) Create(ctx context.Context, listener *v1alpha1.Listener, opts v1.CreateOptions) (result *v1alpha1.Listener, err error)
Create takes the representation of a listener and creates it. Returns the server's representation of the listener, and an error, if there is any.
func (*FakeListeners) Delete ¶
func (c *FakeListeners) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the listener and deletes it. Returns an error if one occurs.
func (*FakeListeners) DeleteCollection ¶
func (c *FakeListeners) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeListeners) Get ¶
func (c *FakeListeners) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Listener, err error)
Get takes name of the listener, and returns the corresponding listener object, and an error if there is any.
func (*FakeListeners) List ¶
func (c *FakeListeners) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ListenerList, err error)
List takes label and field selectors, and returns the list of Listeners that match those selectors.
func (*FakeListeners) Patch ¶
func (c *FakeListeners) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Listener, err error)
Patch applies the patch and returns the patched listener.
func (*FakeListeners) Update ¶
func (c *FakeListeners) Update(ctx context.Context, listener *v1alpha1.Listener, opts v1.UpdateOptions) (result *v1alpha1.Listener, err error)
Update takes the representation of a listener and updates it. Returns the server's representation of the listener, and an error, if there is any.
func (*FakeListeners) UpdateStatus ¶
func (c *FakeListeners) UpdateStatus(ctx context.Context, listener *v1alpha1.Listener, opts v1.UpdateOptions) (*v1alpha1.Listener, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeListeners) Watch ¶
func (c *FakeListeners) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested listeners.