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)
- type FakeNodeFeatures
- func (c *FakeNodeFeatures) Create(ctx context.Context, nodeFeature *v1alpha1.NodeFeature, opts v1.CreateOptions) (result *v1alpha1.NodeFeature, err error)
- func (c *FakeNodeFeatures) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNodeFeatures) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeNodeFeatures) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NodeFeature, err error)
- func (c *FakeNodeFeatures) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NodeFeatureList, err error)
- func (c *FakeNodeFeatures) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.NodeFeature, err error)
- func (c *FakeNodeFeatures) Update(ctx context.Context, nodeFeature *v1alpha1.NodeFeature, opts v1.UpdateOptions) (result *v1alpha1.NodeFeature, err error)
- func (c *FakeNodeFeatures) 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) NodeFeatures ¶ added in v0.12.0
func (c *FakeNfdV1alpha1) NodeFeatures(namespace string) v1alpha1.NodeFeatureInterface
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.
type FakeNodeFeatures ¶ added in v0.12.0
type FakeNodeFeatures struct { Fake *FakeNfdV1alpha1 // contains filtered or unexported fields }
FakeNodeFeatures implements NodeFeatureInterface
func (*FakeNodeFeatures) Create ¶ added in v0.12.0
func (c *FakeNodeFeatures) Create(ctx context.Context, nodeFeature *v1alpha1.NodeFeature, opts v1.CreateOptions) (result *v1alpha1.NodeFeature, err error)
Create takes the representation of a nodeFeature and creates it. Returns the server's representation of the nodeFeature, and an error, if there is any.
func (*FakeNodeFeatures) Delete ¶ added in v0.12.0
func (c *FakeNodeFeatures) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the nodeFeature and deletes it. Returns an error if one occurs.
func (*FakeNodeFeatures) DeleteCollection ¶ added in v0.12.0
func (c *FakeNodeFeatures) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNodeFeatures) Get ¶ added in v0.12.0
func (c *FakeNodeFeatures) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NodeFeature, err error)
Get takes name of the nodeFeature, and returns the corresponding nodeFeature object, and an error if there is any.
func (*FakeNodeFeatures) List ¶ added in v0.12.0
func (c *FakeNodeFeatures) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NodeFeatureList, err error)
List takes label and field selectors, and returns the list of NodeFeatures that match those selectors.
func (*FakeNodeFeatures) Patch ¶ added in v0.12.0
func (c *FakeNodeFeatures) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NodeFeature, err error)
Patch applies the patch and returns the patched nodeFeature.
func (*FakeNodeFeatures) Update ¶ added in v0.12.0
func (c *FakeNodeFeatures) Update(ctx context.Context, nodeFeature *v1alpha1.NodeFeature, opts v1.UpdateOptions) (result *v1alpha1.NodeFeature, err error)
Update takes the representation of a nodeFeature and updates it. Returns the server's representation of the nodeFeature, and an error, if there is any.
func (*FakeNodeFeatures) Watch ¶ added in v0.12.0
func (c *FakeNodeFeatures) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested nodeFeatures.