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