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