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