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