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