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