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