Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeNamespaceMaps
- func (c *FakeNamespaceMaps) Create(ctx context.Context, namespaceMap *v1alpha1.NamespaceMap, ...) (result *v1alpha1.NamespaceMap, err error)
- func (c *FakeNamespaceMaps) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNamespaceMaps) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeNamespaceMaps) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NamespaceMap, err error)
- func (c *FakeNamespaceMaps) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NamespaceMapList, err error)
- func (c *FakeNamespaceMaps) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.NamespaceMap, err error)
- func (c *FakeNamespaceMaps) Update(ctx context.Context, namespaceMap *v1alpha1.NamespaceMap, ...) (result *v1alpha1.NamespaceMap, err error)
- func (c *FakeNamespaceMaps) UpdateStatus(ctx context.Context, namespaceMap *v1alpha1.NamespaceMap, ...) (*v1alpha1.NamespaceMap, error)
- func (c *FakeNamespaceMaps) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeShadowEndpointSlices
- func (c *FakeShadowEndpointSlices) Create(ctx context.Context, shadowEndpointSlice *v1alpha1.ShadowEndpointSlice, ...) (result *v1alpha1.ShadowEndpointSlice, err error)
- func (c *FakeShadowEndpointSlices) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeShadowEndpointSlices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeShadowEndpointSlices) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ShadowEndpointSlice, err error)
- func (c *FakeShadowEndpointSlices) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ShadowEndpointSliceList, err error)
- func (c *FakeShadowEndpointSlices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ShadowEndpointSlice, err error)
- func (c *FakeShadowEndpointSlices) Update(ctx context.Context, shadowEndpointSlice *v1alpha1.ShadowEndpointSlice, ...) (result *v1alpha1.ShadowEndpointSlice, err error)
- func (c *FakeShadowEndpointSlices) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeShadowPods
- func (c *FakeShadowPods) Create(ctx context.Context, shadowPod *v1alpha1.ShadowPod, opts v1.CreateOptions) (result *v1alpha1.ShadowPod, err error)
- func (c *FakeShadowPods) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeShadowPods) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeShadowPods) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ShadowPod, err error)
- func (c *FakeShadowPods) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ShadowPodList, err error)
- func (c *FakeShadowPods) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ShadowPod, err error)
- func (c *FakeShadowPods) Update(ctx context.Context, shadowPod *v1alpha1.ShadowPod, opts v1.UpdateOptions) (result *v1alpha1.ShadowPod, err error)
- func (c *FakeShadowPods) UpdateStatus(ctx context.Context, shadowPod *v1alpha1.ShadowPod, opts v1.UpdateOptions) (*v1alpha1.ShadowPod, error)
- func (c *FakeShadowPods) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVirtualNodes
- func (c *FakeVirtualNodes) Create(ctx context.Context, virtualNode *v1alpha1.VirtualNode, opts v1.CreateOptions) (result *v1alpha1.VirtualNode, err error)
- func (c *FakeVirtualNodes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVirtualNodes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVirtualNodes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.VirtualNode, err error)
- func (c *FakeVirtualNodes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.VirtualNodeList, err error)
- func (c *FakeVirtualNodes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.VirtualNode, err error)
- func (c *FakeVirtualNodes) Update(ctx context.Context, virtualNode *v1alpha1.VirtualNode, opts v1.UpdateOptions) (result *v1alpha1.VirtualNode, err error)
- func (c *FakeVirtualNodes) UpdateStatus(ctx context.Context, virtualNode *v1alpha1.VirtualNode, opts v1.UpdateOptions) (*v1alpha1.VirtualNode, error)
- func (c *FakeVirtualNodes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVirtualkubeletV1alpha1
- func (c *FakeVirtualkubeletV1alpha1) NamespaceMaps(namespace string) v1alpha1.NamespaceMapInterface
- func (c *FakeVirtualkubeletV1alpha1) RESTClient() rest.Interface
- func (c *FakeVirtualkubeletV1alpha1) ShadowEndpointSlices(namespace string) v1alpha1.ShadowEndpointSliceInterface
- func (c *FakeVirtualkubeletV1alpha1) ShadowPods(namespace string) v1alpha1.ShadowPodInterface
- func (c *FakeVirtualkubeletV1alpha1) VirtualNodes(namespace string) v1alpha1.VirtualNodeInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeNamespaceMaps ¶
type FakeNamespaceMaps struct { Fake *FakeVirtualkubeletV1alpha1 // contains filtered or unexported fields }
FakeNamespaceMaps implements NamespaceMapInterface
func (*FakeNamespaceMaps) Create ¶
func (c *FakeNamespaceMaps) Create(ctx context.Context, namespaceMap *v1alpha1.NamespaceMap, opts v1.CreateOptions) (result *v1alpha1.NamespaceMap, err error)
Create takes the representation of a namespaceMap and creates it. Returns the server's representation of the namespaceMap, and an error, if there is any.
func (*FakeNamespaceMaps) Delete ¶
func (c *FakeNamespaceMaps) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the namespaceMap and deletes it. Returns an error if one occurs.
func (*FakeNamespaceMaps) DeleteCollection ¶
func (c *FakeNamespaceMaps) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNamespaceMaps) Get ¶
func (c *FakeNamespaceMaps) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NamespaceMap, err error)
Get takes name of the namespaceMap, and returns the corresponding namespaceMap object, and an error if there is any.
func (*FakeNamespaceMaps) List ¶
func (c *FakeNamespaceMaps) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NamespaceMapList, err error)
List takes label and field selectors, and returns the list of NamespaceMaps that match those selectors.
func (*FakeNamespaceMaps) Patch ¶
func (c *FakeNamespaceMaps) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NamespaceMap, err error)
Patch applies the patch and returns the patched namespaceMap.
func (*FakeNamespaceMaps) Update ¶
func (c *FakeNamespaceMaps) Update(ctx context.Context, namespaceMap *v1alpha1.NamespaceMap, opts v1.UpdateOptions) (result *v1alpha1.NamespaceMap, err error)
Update takes the representation of a namespaceMap and updates it. Returns the server's representation of the namespaceMap, and an error, if there is any.
func (*FakeNamespaceMaps) UpdateStatus ¶
func (c *FakeNamespaceMaps) UpdateStatus(ctx context.Context, namespaceMap *v1alpha1.NamespaceMap, opts v1.UpdateOptions) (*v1alpha1.NamespaceMap, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeNamespaceMaps) Watch ¶
func (c *FakeNamespaceMaps) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested namespaceMaps.
type FakeShadowEndpointSlices ¶ added in v0.8.0
type FakeShadowEndpointSlices struct { Fake *FakeVirtualkubeletV1alpha1 // contains filtered or unexported fields }
FakeShadowEndpointSlices implements ShadowEndpointSliceInterface
func (*FakeShadowEndpointSlices) Create ¶ added in v0.8.0
func (c *FakeShadowEndpointSlices) Create(ctx context.Context, shadowEndpointSlice *v1alpha1.ShadowEndpointSlice, opts v1.CreateOptions) (result *v1alpha1.ShadowEndpointSlice, err error)
Create takes the representation of a shadowEndpointSlice and creates it. Returns the server's representation of the shadowEndpointSlice, and an error, if there is any.
func (*FakeShadowEndpointSlices) Delete ¶ added in v0.8.0
func (c *FakeShadowEndpointSlices) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the shadowEndpointSlice and deletes it. Returns an error if one occurs.
func (*FakeShadowEndpointSlices) DeleteCollection ¶ added in v0.8.0
func (c *FakeShadowEndpointSlices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeShadowEndpointSlices) Get ¶ added in v0.8.0
func (c *FakeShadowEndpointSlices) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ShadowEndpointSlice, err error)
Get takes name of the shadowEndpointSlice, and returns the corresponding shadowEndpointSlice object, and an error if there is any.
func (*FakeShadowEndpointSlices) List ¶ added in v0.8.0
func (c *FakeShadowEndpointSlices) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ShadowEndpointSliceList, err error)
List takes label and field selectors, and returns the list of ShadowEndpointSlices that match those selectors.
func (*FakeShadowEndpointSlices) Patch ¶ added in v0.8.0
func (c *FakeShadowEndpointSlices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ShadowEndpointSlice, err error)
Patch applies the patch and returns the patched shadowEndpointSlice.
func (*FakeShadowEndpointSlices) Update ¶ added in v0.8.0
func (c *FakeShadowEndpointSlices) Update(ctx context.Context, shadowEndpointSlice *v1alpha1.ShadowEndpointSlice, opts v1.UpdateOptions) (result *v1alpha1.ShadowEndpointSlice, err error)
Update takes the representation of a shadowEndpointSlice and updates it. Returns the server's representation of the shadowEndpointSlice, and an error, if there is any.
func (*FakeShadowEndpointSlices) Watch ¶ added in v0.8.0
func (c *FakeShadowEndpointSlices) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested shadowEndpointSlices.
type FakeShadowPods ¶
type FakeShadowPods struct { Fake *FakeVirtualkubeletV1alpha1 // contains filtered or unexported fields }
FakeShadowPods implements ShadowPodInterface
func (*FakeShadowPods) Create ¶
func (c *FakeShadowPods) Create(ctx context.Context, shadowPod *v1alpha1.ShadowPod, opts v1.CreateOptions) (result *v1alpha1.ShadowPod, err error)
Create takes the representation of a shadowPod and creates it. Returns the server's representation of the shadowPod, and an error, if there is any.
func (*FakeShadowPods) Delete ¶
func (c *FakeShadowPods) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the shadowPod and deletes it. Returns an error if one occurs.
func (*FakeShadowPods) DeleteCollection ¶
func (c *FakeShadowPods) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeShadowPods) Get ¶
func (c *FakeShadowPods) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ShadowPod, err error)
Get takes name of the shadowPod, and returns the corresponding shadowPod object, and an error if there is any.
func (*FakeShadowPods) List ¶
func (c *FakeShadowPods) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ShadowPodList, err error)
List takes label and field selectors, and returns the list of ShadowPods that match those selectors.
func (*FakeShadowPods) Patch ¶
func (c *FakeShadowPods) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ShadowPod, err error)
Patch applies the patch and returns the patched shadowPod.
func (*FakeShadowPods) Update ¶
func (c *FakeShadowPods) Update(ctx context.Context, shadowPod *v1alpha1.ShadowPod, opts v1.UpdateOptions) (result *v1alpha1.ShadowPod, err error)
Update takes the representation of a shadowPod and updates it. Returns the server's representation of the shadowPod, and an error, if there is any.
func (*FakeShadowPods) UpdateStatus ¶ added in v0.8.2
func (c *FakeShadowPods) UpdateStatus(ctx context.Context, shadowPod *v1alpha1.ShadowPod, opts v1.UpdateOptions) (*v1alpha1.ShadowPod, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeShadowPods) Watch ¶
func (c *FakeShadowPods) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested shadowPods.
type FakeVirtualNodes ¶ added in v0.9.0
type FakeVirtualNodes struct { Fake *FakeVirtualkubeletV1alpha1 // contains filtered or unexported fields }
FakeVirtualNodes implements VirtualNodeInterface
func (*FakeVirtualNodes) Create ¶ added in v0.9.0
func (c *FakeVirtualNodes) Create(ctx context.Context, virtualNode *v1alpha1.VirtualNode, opts v1.CreateOptions) (result *v1alpha1.VirtualNode, err error)
Create takes the representation of a virtualNode and creates it. Returns the server's representation of the virtualNode, and an error, if there is any.
func (*FakeVirtualNodes) Delete ¶ added in v0.9.0
func (c *FakeVirtualNodes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the virtualNode and deletes it. Returns an error if one occurs.
func (*FakeVirtualNodes) DeleteCollection ¶ added in v0.9.0
func (c *FakeVirtualNodes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVirtualNodes) Get ¶ added in v0.9.0
func (c *FakeVirtualNodes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.VirtualNode, err error)
Get takes name of the virtualNode, and returns the corresponding virtualNode object, and an error if there is any.
func (*FakeVirtualNodes) List ¶ added in v0.9.0
func (c *FakeVirtualNodes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.VirtualNodeList, err error)
List takes label and field selectors, and returns the list of VirtualNodes that match those selectors.
func (*FakeVirtualNodes) Patch ¶ added in v0.9.0
func (c *FakeVirtualNodes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.VirtualNode, err error)
Patch applies the patch and returns the patched virtualNode.
func (*FakeVirtualNodes) Update ¶ added in v0.9.0
func (c *FakeVirtualNodes) Update(ctx context.Context, virtualNode *v1alpha1.VirtualNode, opts v1.UpdateOptions) (result *v1alpha1.VirtualNode, err error)
Update takes the representation of a virtualNode and updates it. Returns the server's representation of the virtualNode, and an error, if there is any.
func (*FakeVirtualNodes) UpdateStatus ¶ added in v0.9.0
func (c *FakeVirtualNodes) UpdateStatus(ctx context.Context, virtualNode *v1alpha1.VirtualNode, opts v1.UpdateOptions) (*v1alpha1.VirtualNode, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeVirtualNodes) Watch ¶ added in v0.9.0
func (c *FakeVirtualNodes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested virtualNodes.
type FakeVirtualkubeletV1alpha1 ¶
func (*FakeVirtualkubeletV1alpha1) NamespaceMaps ¶
func (c *FakeVirtualkubeletV1alpha1) NamespaceMaps(namespace string) v1alpha1.NamespaceMapInterface
func (*FakeVirtualkubeletV1alpha1) RESTClient ¶
func (c *FakeVirtualkubeletV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeVirtualkubeletV1alpha1) ShadowEndpointSlices ¶ added in v0.8.0
func (c *FakeVirtualkubeletV1alpha1) ShadowEndpointSlices(namespace string) v1alpha1.ShadowEndpointSliceInterface
func (*FakeVirtualkubeletV1alpha1) ShadowPods ¶
func (c *FakeVirtualkubeletV1alpha1) ShadowPods(namespace string) v1alpha1.ShadowPodInterface
func (*FakeVirtualkubeletV1alpha1) VirtualNodes ¶ added in v0.9.0
func (c *FakeVirtualkubeletV1alpha1) VirtualNodes(namespace string) v1alpha1.VirtualNodeInterface