Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAciV1
- type FakeNodeInfos
- func (c *FakeNodeInfos) Create(ctx context.Context, nodeInfo *acisnatv1.NodeInfo, opts v1.CreateOptions) (result *acisnatv1.NodeInfo, err error)
- func (c *FakeNodeInfos) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNodeInfos) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeNodeInfos) Get(ctx context.Context, name string, options v1.GetOptions) (result *acisnatv1.NodeInfo, err error)
- func (c *FakeNodeInfos) List(ctx context.Context, opts v1.ListOptions) (result *acisnatv1.NodeInfoList, err error)
- func (c *FakeNodeInfos) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *acisnatv1.NodeInfo, err error)
- func (c *FakeNodeInfos) Update(ctx context.Context, nodeInfo *acisnatv1.NodeInfo, opts v1.UpdateOptions) (result *acisnatv1.NodeInfo, err error)
- func (c *FakeNodeInfos) 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 FakeAciV1 ¶
func (*FakeAciV1) RESTClient ¶
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeNodeInfos ¶
type FakeNodeInfos struct { Fake *FakeAciV1 // contains filtered or unexported fields }
FakeNodeInfos implements NodeInfoInterface
func (*FakeNodeInfos) Create ¶
func (c *FakeNodeInfos) Create(ctx context.Context, nodeInfo *acisnatv1.NodeInfo, opts v1.CreateOptions) (result *acisnatv1.NodeInfo, err error)
Create takes the representation of a nodeInfo and creates it. Returns the server's representation of the nodeInfo, and an error, if there is any.
func (*FakeNodeInfos) Delete ¶
func (c *FakeNodeInfos) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the nodeInfo and deletes it. Returns an error if one occurs.
func (*FakeNodeInfos) DeleteCollection ¶
func (c *FakeNodeInfos) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNodeInfos) Get ¶
func (c *FakeNodeInfos) Get(ctx context.Context, name string, options v1.GetOptions) (result *acisnatv1.NodeInfo, err error)
Get takes name of the nodeInfo, and returns the corresponding nodeInfo object, and an error if there is any.
func (*FakeNodeInfos) List ¶
func (c *FakeNodeInfos) List(ctx context.Context, opts v1.ListOptions) (result *acisnatv1.NodeInfoList, err error)
List takes label and field selectors, and returns the list of NodeInfos that match those selectors.
func (*FakeNodeInfos) Patch ¶
func (c *FakeNodeInfos) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *acisnatv1.NodeInfo, err error)
Patch applies the patch and returns the patched nodeInfo.
func (*FakeNodeInfos) Update ¶
func (c *FakeNodeInfos) Update(ctx context.Context, nodeInfo *acisnatv1.NodeInfo, opts v1.UpdateOptions) (result *acisnatv1.NodeInfo, err error)
Update takes the representation of a nodeInfo and updates it. Returns the server's representation of the nodeInfo, and an error, if there is any.
func (*FakeNodeInfos) Watch ¶
func (c *FakeNodeInfos) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested nodeInfos.