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