Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- 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 FakeMulticlusterservicesV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeMultiClusterServices ¶
type FakeMultiClusterServices struct { Fake *FakeMulticlusterservicesV1alpha1 // contains filtered or unexported fields }
FakeMultiClusterServices implements MultiClusterServiceInterface
func (*FakeMultiClusterServices) Create ¶
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 ¶
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 ¶
func (c *FakeMultiClusterServices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMultiClusterServices) Get ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (c *FakeMultiClusterServices) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested multiClusterServices.
type FakeMulticlusterservicesV1alpha1 ¶
func (*FakeMulticlusterservicesV1alpha1) MultiClusterServices ¶
func (c *FakeMulticlusterservicesV1alpha1) MultiClusterServices(namespace string) v1alpha1.MultiClusterServiceInterface
func (*FakeMulticlusterservicesV1alpha1) RESTClient ¶
func (c *FakeMulticlusterservicesV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.