Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeMulticlusterV1
- func (c *FakeMulticlusterV1) RESTClient() rest.Interface
- func (c *FakeMulticlusterV1) RemoteClusters() v1.RemoteClusterInterface
- func (c *FakeMulticlusterV1) RemoteEndpointSlices() v1.RemoteEndpointSliceInterface
- func (c *FakeMulticlusterV1) RemoteSubnets() v1.RemoteSubnetInterface
- func (c *FakeMulticlusterV1) RemoteVteps() v1.RemoteVtepInterface
- type FakeRemoteClusters
- func (c *FakeRemoteClusters) Create(ctx context.Context, remoteCluster *multiclusterv1.RemoteCluster, ...) (result *multiclusterv1.RemoteCluster, err error)
- func (c *FakeRemoteClusters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeRemoteClusters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeRemoteClusters) Get(ctx context.Context, name string, options v1.GetOptions) (result *multiclusterv1.RemoteCluster, err error)
- func (c *FakeRemoteClusters) List(ctx context.Context, opts v1.ListOptions) (result *multiclusterv1.RemoteClusterList, err error)
- func (c *FakeRemoteClusters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *multiclusterv1.RemoteCluster, err error)
- func (c *FakeRemoteClusters) Update(ctx context.Context, remoteCluster *multiclusterv1.RemoteCluster, ...) (result *multiclusterv1.RemoteCluster, err error)
- func (c *FakeRemoteClusters) UpdateStatus(ctx context.Context, remoteCluster *multiclusterv1.RemoteCluster, ...) (*multiclusterv1.RemoteCluster, error)
- func (c *FakeRemoteClusters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeRemoteEndpointSlices
- func (c *FakeRemoteEndpointSlices) Create(ctx context.Context, remoteEndpointSlice *multiclusterv1.RemoteEndpointSlice, ...) (result *multiclusterv1.RemoteEndpointSlice, err error)
- func (c *FakeRemoteEndpointSlices) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeRemoteEndpointSlices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeRemoteEndpointSlices) Get(ctx context.Context, name string, options v1.GetOptions) (result *multiclusterv1.RemoteEndpointSlice, err error)
- func (c *FakeRemoteEndpointSlices) List(ctx context.Context, opts v1.ListOptions) (result *multiclusterv1.RemoteEndpointSliceList, err error)
- func (c *FakeRemoteEndpointSlices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *multiclusterv1.RemoteEndpointSlice, err error)
- func (c *FakeRemoteEndpointSlices) Update(ctx context.Context, remoteEndpointSlice *multiclusterv1.RemoteEndpointSlice, ...) (result *multiclusterv1.RemoteEndpointSlice, err error)
- func (c *FakeRemoteEndpointSlices) UpdateStatus(ctx context.Context, remoteEndpointSlice *multiclusterv1.RemoteEndpointSlice, ...) (*multiclusterv1.RemoteEndpointSlice, error)
- func (c *FakeRemoteEndpointSlices) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeRemoteSubnets
- func (c *FakeRemoteSubnets) Create(ctx context.Context, remoteSubnet *multiclusterv1.RemoteSubnet, ...) (result *multiclusterv1.RemoteSubnet, err error)
- func (c *FakeRemoteSubnets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeRemoteSubnets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeRemoteSubnets) Get(ctx context.Context, name string, options v1.GetOptions) (result *multiclusterv1.RemoteSubnet, err error)
- func (c *FakeRemoteSubnets) List(ctx context.Context, opts v1.ListOptions) (result *multiclusterv1.RemoteSubnetList, err error)
- func (c *FakeRemoteSubnets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *multiclusterv1.RemoteSubnet, err error)
- func (c *FakeRemoteSubnets) Update(ctx context.Context, remoteSubnet *multiclusterv1.RemoteSubnet, ...) (result *multiclusterv1.RemoteSubnet, err error)
- func (c *FakeRemoteSubnets) UpdateStatus(ctx context.Context, remoteSubnet *multiclusterv1.RemoteSubnet, ...) (*multiclusterv1.RemoteSubnet, error)
- func (c *FakeRemoteSubnets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeRemoteVteps
- func (c *FakeRemoteVteps) Create(ctx context.Context, remoteVtep *multiclusterv1.RemoteVtep, ...) (result *multiclusterv1.RemoteVtep, err error)
- func (c *FakeRemoteVteps) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeRemoteVteps) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeRemoteVteps) Get(ctx context.Context, name string, options v1.GetOptions) (result *multiclusterv1.RemoteVtep, err error)
- func (c *FakeRemoteVteps) List(ctx context.Context, opts v1.ListOptions) (result *multiclusterv1.RemoteVtepList, err error)
- func (c *FakeRemoteVteps) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *multiclusterv1.RemoteVtep, err error)
- func (c *FakeRemoteVteps) Update(ctx context.Context, remoteVtep *multiclusterv1.RemoteVtep, ...) (result *multiclusterv1.RemoteVtep, err error)
- func (c *FakeRemoteVteps) UpdateStatus(ctx context.Context, remoteVtep *multiclusterv1.RemoteVtep, ...) (*multiclusterv1.RemoteVtep, error)
- func (c *FakeRemoteVteps) 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 FakeMulticlusterV1 ¶
func (*FakeMulticlusterV1) RESTClient ¶
func (c *FakeMulticlusterV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeMulticlusterV1) RemoteClusters ¶
func (c *FakeMulticlusterV1) RemoteClusters() v1.RemoteClusterInterface
func (*FakeMulticlusterV1) RemoteEndpointSlices ¶
func (c *FakeMulticlusterV1) RemoteEndpointSlices() v1.RemoteEndpointSliceInterface
func (*FakeMulticlusterV1) RemoteSubnets ¶
func (c *FakeMulticlusterV1) RemoteSubnets() v1.RemoteSubnetInterface
func (*FakeMulticlusterV1) RemoteVteps ¶
func (c *FakeMulticlusterV1) RemoteVteps() v1.RemoteVtepInterface
type FakeRemoteClusters ¶
type FakeRemoteClusters struct {
Fake *FakeMulticlusterV1
}
FakeRemoteClusters implements RemoteClusterInterface
func (*FakeRemoteClusters) Create ¶
func (c *FakeRemoteClusters) Create(ctx context.Context, remoteCluster *multiclusterv1.RemoteCluster, opts v1.CreateOptions) (result *multiclusterv1.RemoteCluster, err error)
Create takes the representation of a remoteCluster and creates it. Returns the server's representation of the remoteCluster, and an error, if there is any.
func (*FakeRemoteClusters) Delete ¶
func (c *FakeRemoteClusters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the remoteCluster and deletes it. Returns an error if one occurs.
func (*FakeRemoteClusters) DeleteCollection ¶
func (c *FakeRemoteClusters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRemoteClusters) Get ¶
func (c *FakeRemoteClusters) Get(ctx context.Context, name string, options v1.GetOptions) (result *multiclusterv1.RemoteCluster, err error)
Get takes name of the remoteCluster, and returns the corresponding remoteCluster object, and an error if there is any.
func (*FakeRemoteClusters) List ¶
func (c *FakeRemoteClusters) List(ctx context.Context, opts v1.ListOptions) (result *multiclusterv1.RemoteClusterList, err error)
List takes label and field selectors, and returns the list of RemoteClusters that match those selectors.
func (*FakeRemoteClusters) Patch ¶
func (c *FakeRemoteClusters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *multiclusterv1.RemoteCluster, err error)
Patch applies the patch and returns the patched remoteCluster.
func (*FakeRemoteClusters) Update ¶
func (c *FakeRemoteClusters) Update(ctx context.Context, remoteCluster *multiclusterv1.RemoteCluster, opts v1.UpdateOptions) (result *multiclusterv1.RemoteCluster, err error)
Update takes the representation of a remoteCluster and updates it. Returns the server's representation of the remoteCluster, and an error, if there is any.
func (*FakeRemoteClusters) UpdateStatus ¶
func (c *FakeRemoteClusters) UpdateStatus(ctx context.Context, remoteCluster *multiclusterv1.RemoteCluster, opts v1.UpdateOptions) (*multiclusterv1.RemoteCluster, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeRemoteClusters) Watch ¶
func (c *FakeRemoteClusters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested remoteClusters.
type FakeRemoteEndpointSlices ¶
type FakeRemoteEndpointSlices struct {
Fake *FakeMulticlusterV1
}
FakeRemoteEndpointSlices implements RemoteEndpointSliceInterface
func (*FakeRemoteEndpointSlices) Create ¶
func (c *FakeRemoteEndpointSlices) Create(ctx context.Context, remoteEndpointSlice *multiclusterv1.RemoteEndpointSlice, opts v1.CreateOptions) (result *multiclusterv1.RemoteEndpointSlice, err error)
Create takes the representation of a remoteEndpointSlice and creates it. Returns the server's representation of the remoteEndpointSlice, and an error, if there is any.
func (*FakeRemoteEndpointSlices) Delete ¶
func (c *FakeRemoteEndpointSlices) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the remoteEndpointSlice and deletes it. Returns an error if one occurs.
func (*FakeRemoteEndpointSlices) DeleteCollection ¶
func (c *FakeRemoteEndpointSlices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRemoteEndpointSlices) Get ¶
func (c *FakeRemoteEndpointSlices) Get(ctx context.Context, name string, options v1.GetOptions) (result *multiclusterv1.RemoteEndpointSlice, err error)
Get takes name of the remoteEndpointSlice, and returns the corresponding remoteEndpointSlice object, and an error if there is any.
func (*FakeRemoteEndpointSlices) List ¶
func (c *FakeRemoteEndpointSlices) List(ctx context.Context, opts v1.ListOptions) (result *multiclusterv1.RemoteEndpointSliceList, err error)
List takes label and field selectors, and returns the list of RemoteEndpointSlices that match those selectors.
func (*FakeRemoteEndpointSlices) Patch ¶
func (c *FakeRemoteEndpointSlices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *multiclusterv1.RemoteEndpointSlice, err error)
Patch applies the patch and returns the patched remoteEndpointSlice.
func (*FakeRemoteEndpointSlices) Update ¶
func (c *FakeRemoteEndpointSlices) Update(ctx context.Context, remoteEndpointSlice *multiclusterv1.RemoteEndpointSlice, opts v1.UpdateOptions) (result *multiclusterv1.RemoteEndpointSlice, err error)
Update takes the representation of a remoteEndpointSlice and updates it. Returns the server's representation of the remoteEndpointSlice, and an error, if there is any.
func (*FakeRemoteEndpointSlices) UpdateStatus ¶
func (c *FakeRemoteEndpointSlices) UpdateStatus(ctx context.Context, remoteEndpointSlice *multiclusterv1.RemoteEndpointSlice, opts v1.UpdateOptions) (*multiclusterv1.RemoteEndpointSlice, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeRemoteEndpointSlices) Watch ¶
func (c *FakeRemoteEndpointSlices) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested remoteEndpointSlices.
type FakeRemoteSubnets ¶
type FakeRemoteSubnets struct {
Fake *FakeMulticlusterV1
}
FakeRemoteSubnets implements RemoteSubnetInterface
func (*FakeRemoteSubnets) Create ¶
func (c *FakeRemoteSubnets) Create(ctx context.Context, remoteSubnet *multiclusterv1.RemoteSubnet, opts v1.CreateOptions) (result *multiclusterv1.RemoteSubnet, err error)
Create takes the representation of a remoteSubnet and creates it. Returns the server's representation of the remoteSubnet, and an error, if there is any.
func (*FakeRemoteSubnets) Delete ¶
func (c *FakeRemoteSubnets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the remoteSubnet and deletes it. Returns an error if one occurs.
func (*FakeRemoteSubnets) DeleteCollection ¶
func (c *FakeRemoteSubnets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRemoteSubnets) Get ¶
func (c *FakeRemoteSubnets) Get(ctx context.Context, name string, options v1.GetOptions) (result *multiclusterv1.RemoteSubnet, err error)
Get takes name of the remoteSubnet, and returns the corresponding remoteSubnet object, and an error if there is any.
func (*FakeRemoteSubnets) List ¶
func (c *FakeRemoteSubnets) List(ctx context.Context, opts v1.ListOptions) (result *multiclusterv1.RemoteSubnetList, err error)
List takes label and field selectors, and returns the list of RemoteSubnets that match those selectors.
func (*FakeRemoteSubnets) Patch ¶
func (c *FakeRemoteSubnets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *multiclusterv1.RemoteSubnet, err error)
Patch applies the patch and returns the patched remoteSubnet.
func (*FakeRemoteSubnets) Update ¶
func (c *FakeRemoteSubnets) Update(ctx context.Context, remoteSubnet *multiclusterv1.RemoteSubnet, opts v1.UpdateOptions) (result *multiclusterv1.RemoteSubnet, err error)
Update takes the representation of a remoteSubnet and updates it. Returns the server's representation of the remoteSubnet, and an error, if there is any.
func (*FakeRemoteSubnets) UpdateStatus ¶
func (c *FakeRemoteSubnets) UpdateStatus(ctx context.Context, remoteSubnet *multiclusterv1.RemoteSubnet, opts v1.UpdateOptions) (*multiclusterv1.RemoteSubnet, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeRemoteSubnets) Watch ¶
func (c *FakeRemoteSubnets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested remoteSubnets.
type FakeRemoteVteps ¶
type FakeRemoteVteps struct {
Fake *FakeMulticlusterV1
}
FakeRemoteVteps implements RemoteVtepInterface
func (*FakeRemoteVteps) Create ¶
func (c *FakeRemoteVteps) Create(ctx context.Context, remoteVtep *multiclusterv1.RemoteVtep, opts v1.CreateOptions) (result *multiclusterv1.RemoteVtep, err error)
Create takes the representation of a remoteVtep and creates it. Returns the server's representation of the remoteVtep, and an error, if there is any.
func (*FakeRemoteVteps) Delete ¶
func (c *FakeRemoteVteps) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the remoteVtep and deletes it. Returns an error if one occurs.
func (*FakeRemoteVteps) DeleteCollection ¶
func (c *FakeRemoteVteps) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRemoteVteps) Get ¶
func (c *FakeRemoteVteps) Get(ctx context.Context, name string, options v1.GetOptions) (result *multiclusterv1.RemoteVtep, err error)
Get takes name of the remoteVtep, and returns the corresponding remoteVtep object, and an error if there is any.
func (*FakeRemoteVteps) List ¶
func (c *FakeRemoteVteps) List(ctx context.Context, opts v1.ListOptions) (result *multiclusterv1.RemoteVtepList, err error)
List takes label and field selectors, and returns the list of RemoteVteps that match those selectors.
func (*FakeRemoteVteps) Patch ¶
func (c *FakeRemoteVteps) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *multiclusterv1.RemoteVtep, err error)
Patch applies the patch and returns the patched remoteVtep.
func (*FakeRemoteVteps) Update ¶
func (c *FakeRemoteVteps) Update(ctx context.Context, remoteVtep *multiclusterv1.RemoteVtep, opts v1.UpdateOptions) (result *multiclusterv1.RemoteVtep, err error)
Update takes the representation of a remoteVtep and updates it. Returns the server's representation of the remoteVtep, and an error, if there is any.
func (*FakeRemoteVteps) UpdateStatus ¶
func (c *FakeRemoteVteps) UpdateStatus(ctx context.Context, remoteVtep *multiclusterv1.RemoteVtep, opts v1.UpdateOptions) (*multiclusterv1.RemoteVtep, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeRemoteVteps) Watch ¶
func (c *FakeRemoteVteps) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested remoteVteps.