Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeMultiClusterIngresses
- func (c *FakeMultiClusterIngresses) Create(ctx context.Context, multiClusterIngress *v1alpha1.MultiClusterIngress, ...) (result *v1alpha1.MultiClusterIngress, err error)
- func (c *FakeMultiClusterIngresses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMultiClusterIngresses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeMultiClusterIngresses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MultiClusterIngress, err error)
- func (c *FakeMultiClusterIngresses) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MultiClusterIngressList, err error)
- func (c *FakeMultiClusterIngresses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.MultiClusterIngress, err error)
- func (c *FakeMultiClusterIngresses) Update(ctx context.Context, multiClusterIngress *v1alpha1.MultiClusterIngress, ...) (result *v1alpha1.MultiClusterIngress, err error)
- func (c *FakeMultiClusterIngresses) UpdateStatus(ctx context.Context, multiClusterIngress *v1alpha1.MultiClusterIngress, ...) (*v1alpha1.MultiClusterIngress, error)
- func (c *FakeMultiClusterIngresses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMultiClusterServices
- func (c *FakeMultiClusterServices) Create(ctx context.Context, multiClusterService *v1alpha1.MultiClusterService, ...) (result *v1alpha1.MultiClusterService, err error)
- func (c *FakeMultiClusterServices) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMultiClusterServices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeMultiClusterServices) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MultiClusterService, err error)
- func (c *FakeMultiClusterServices) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MultiClusterServiceList, err error)
- func (c *FakeMultiClusterServices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.MultiClusterService, err error)
- func (c *FakeMultiClusterServices) Update(ctx context.Context, multiClusterService *v1alpha1.MultiClusterService, ...) (result *v1alpha1.MultiClusterService, err error)
- func (c *FakeMultiClusterServices) UpdateStatus(ctx context.Context, multiClusterService *v1alpha1.MultiClusterService, ...) (*v1alpha1.MultiClusterService, error)
- func (c *FakeMultiClusterServices) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeNetworkingV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeMultiClusterIngresses ¶
type FakeMultiClusterIngresses struct { Fake *FakeNetworkingV1alpha1 // contains filtered or unexported fields }
FakeMultiClusterIngresses implements MultiClusterIngressInterface
func (*FakeMultiClusterIngresses) Create ¶
func (c *FakeMultiClusterIngresses) Create(ctx context.Context, multiClusterIngress *v1alpha1.MultiClusterIngress, opts v1.CreateOptions) (result *v1alpha1.MultiClusterIngress, err error)
Create takes the representation of a multiClusterIngress and creates it. Returns the server's representation of the multiClusterIngress, and an error, if there is any.
func (*FakeMultiClusterIngresses) Delete ¶
func (c *FakeMultiClusterIngresses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the multiClusterIngress and deletes it. Returns an error if one occurs.
func (*FakeMultiClusterIngresses) DeleteCollection ¶
func (c *FakeMultiClusterIngresses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMultiClusterIngresses) Get ¶
func (c *FakeMultiClusterIngresses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MultiClusterIngress, err error)
Get takes name of the multiClusterIngress, and returns the corresponding multiClusterIngress object, and an error if there is any.
func (*FakeMultiClusterIngresses) List ¶
func (c *FakeMultiClusterIngresses) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MultiClusterIngressList, err error)
List takes label and field selectors, and returns the list of MultiClusterIngresses that match those selectors.
func (*FakeMultiClusterIngresses) Patch ¶
func (c *FakeMultiClusterIngresses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.MultiClusterIngress, err error)
Patch applies the patch and returns the patched multiClusterIngress.
func (*FakeMultiClusterIngresses) Update ¶
func (c *FakeMultiClusterIngresses) Update(ctx context.Context, multiClusterIngress *v1alpha1.MultiClusterIngress, opts v1.UpdateOptions) (result *v1alpha1.MultiClusterIngress, err error)
Update takes the representation of a multiClusterIngress and updates it. Returns the server's representation of the multiClusterIngress, and an error, if there is any.
func (*FakeMultiClusterIngresses) UpdateStatus ¶
func (c *FakeMultiClusterIngresses) UpdateStatus(ctx context.Context, multiClusterIngress *v1alpha1.MultiClusterIngress, opts v1.UpdateOptions) (*v1alpha1.MultiClusterIngress, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMultiClusterIngresses) Watch ¶
func (c *FakeMultiClusterIngresses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested multiClusterIngresses.
type FakeMultiClusterServices ¶ added in v1.7.0
type FakeMultiClusterServices struct { Fake *FakeNetworkingV1alpha1 // contains filtered or unexported fields }
FakeMultiClusterServices implements MultiClusterServiceInterface
func (*FakeMultiClusterServices) Create ¶ added in v1.7.0
func (c *FakeMultiClusterServices) Create(ctx context.Context, multiClusterService *v1alpha1.MultiClusterService, opts v1.CreateOptions) (result *v1alpha1.MultiClusterService, err error)
Create takes the representation of a multiClusterService and creates it. Returns the server's representation of the multiClusterService, and an error, if there is any.
func (*FakeMultiClusterServices) Delete ¶ added in v1.7.0
func (c *FakeMultiClusterServices) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the multiClusterService and deletes it. Returns an error if one occurs.
func (*FakeMultiClusterServices) DeleteCollection ¶ added in v1.7.0
func (c *FakeMultiClusterServices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMultiClusterServices) Get ¶ added in v1.7.0
func (c *FakeMultiClusterServices) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MultiClusterService, err error)
Get takes name of the multiClusterService, and returns the corresponding multiClusterService object, and an error if there is any.
func (*FakeMultiClusterServices) List ¶ added in v1.7.0
func (c *FakeMultiClusterServices) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MultiClusterServiceList, err error)
List takes label and field selectors, and returns the list of MultiClusterServices that match those selectors.
func (*FakeMultiClusterServices) Patch ¶ added in v1.7.0
func (c *FakeMultiClusterServices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.MultiClusterService, err error)
Patch applies the patch and returns the patched multiClusterService.
func (*FakeMultiClusterServices) Update ¶ added in v1.7.0
func (c *FakeMultiClusterServices) Update(ctx context.Context, multiClusterService *v1alpha1.MultiClusterService, opts v1.UpdateOptions) (result *v1alpha1.MultiClusterService, err error)
Update takes the representation of a multiClusterService and updates it. Returns the server's representation of the multiClusterService, and an error, if there is any.
func (*FakeMultiClusterServices) UpdateStatus ¶ added in v1.7.0
func (c *FakeMultiClusterServices) UpdateStatus(ctx context.Context, multiClusterService *v1alpha1.MultiClusterService, opts v1.UpdateOptions) (*v1alpha1.MultiClusterService, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMultiClusterServices) Watch ¶ added in v1.7.0
func (c *FakeMultiClusterServices) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested multiClusterServices.
type FakeNetworkingV1alpha1 ¶
func (*FakeNetworkingV1alpha1) MultiClusterIngresses ¶
func (c *FakeNetworkingV1alpha1) MultiClusterIngresses(namespace string) v1alpha1.MultiClusterIngressInterface
func (*FakeNetworkingV1alpha1) MultiClusterServices ¶ added in v1.7.0
func (c *FakeNetworkingV1alpha1) MultiClusterServices(namespace string) v1alpha1.MultiClusterServiceInterface
func (*FakeNetworkingV1alpha1) RESTClient ¶
func (c *FakeNetworkingV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.