Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeInterfaceMaps
- func (c *FakeInterfaceMaps) Create(ctx context.Context, interfaceMap *k8scnicncfiov1.InterfaceMap, ...) (result *k8scnicncfiov1.InterfaceMap, err error)
- func (c *FakeInterfaceMaps) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeInterfaceMaps) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeInterfaceMaps) Get(ctx context.Context, name string, options v1.GetOptions) (result *k8scnicncfiov1.InterfaceMap, err error)
- func (c *FakeInterfaceMaps) List(ctx context.Context, opts v1.ListOptions) (result *k8scnicncfiov1.InterfaceMapList, err error)
- func (c *FakeInterfaceMaps) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *k8scnicncfiov1.InterfaceMap, err error)
- func (c *FakeInterfaceMaps) Update(ctx context.Context, interfaceMap *k8scnicncfiov1.InterfaceMap, ...) (result *k8scnicncfiov1.InterfaceMap, err error)
- func (c *FakeInterfaceMaps) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeK8sV1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeInterfaceMaps ¶
type FakeInterfaceMaps struct { Fake *FakeK8sV1 // contains filtered or unexported fields }
FakeInterfaceMaps implements InterfaceMapInterface
func (*FakeInterfaceMaps) Create ¶
func (c *FakeInterfaceMaps) Create(ctx context.Context, interfaceMap *k8scnicncfiov1.InterfaceMap, opts v1.CreateOptions) (result *k8scnicncfiov1.InterfaceMap, err error)
Create takes the representation of a interfaceMap and creates it. Returns the server's representation of the interfaceMap, and an error, if there is any.
func (*FakeInterfaceMaps) Delete ¶
func (c *FakeInterfaceMaps) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the interfaceMap and deletes it. Returns an error if one occurs.
func (*FakeInterfaceMaps) DeleteCollection ¶
func (c *FakeInterfaceMaps) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeInterfaceMaps) Get ¶
func (c *FakeInterfaceMaps) Get(ctx context.Context, name string, options v1.GetOptions) (result *k8scnicncfiov1.InterfaceMap, err error)
Get takes name of the interfaceMap, and returns the corresponding interfaceMap object, and an error if there is any.
func (*FakeInterfaceMaps) List ¶
func (c *FakeInterfaceMaps) List(ctx context.Context, opts v1.ListOptions) (result *k8scnicncfiov1.InterfaceMapList, err error)
List takes label and field selectors, and returns the list of InterfaceMaps that match those selectors.
func (*FakeInterfaceMaps) Patch ¶
func (c *FakeInterfaceMaps) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *k8scnicncfiov1.InterfaceMap, err error)
Patch applies the patch and returns the patched interfaceMap.
func (*FakeInterfaceMaps) Update ¶
func (c *FakeInterfaceMaps) Update(ctx context.Context, interfaceMap *k8scnicncfiov1.InterfaceMap, opts v1.UpdateOptions) (result *k8scnicncfiov1.InterfaceMap, err error)
Update takes the representation of a interfaceMap and updates it. Returns the server's representation of the interfaceMap, and an error, if there is any.
func (*FakeInterfaceMaps) Watch ¶
func (c *FakeInterfaceMaps) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested interfaceMaps.
type FakeK8sV1 ¶
func (*FakeK8sV1) InterfaceMaps ¶
func (c *FakeK8sV1) InterfaceMaps(namespace string) v1.InterfaceMapInterface
func (*FakeK8sV1) RESTClient ¶
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.