Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeNodeResourceTopologies
- func (c *FakeNodeResourceTopologies) Create(ctx context.Context, nodeResourceTopology *v1alpha1.NodeResourceTopology, ...) (result *v1alpha1.NodeResourceTopology, err error)
- func (c *FakeNodeResourceTopologies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNodeResourceTopologies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeNodeResourceTopologies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NodeResourceTopology, err error)
- func (c *FakeNodeResourceTopologies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NodeResourceTopologyList, err error)
- func (c *FakeNodeResourceTopologies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.NodeResourceTopology, err error)
- func (c *FakeNodeResourceTopologies) Update(ctx context.Context, nodeResourceTopology *v1alpha1.NodeResourceTopology, ...) (result *v1alpha1.NodeResourceTopology, err error)
- func (c *FakeNodeResourceTopologies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeTopologyV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeNodeResourceTopologies ¶
type FakeNodeResourceTopologies struct {
Fake *FakeTopologyV1alpha1
}
FakeNodeResourceTopologies implements NodeResourceTopologyInterface
func (*FakeNodeResourceTopologies) Create ¶
func (c *FakeNodeResourceTopologies) Create(ctx context.Context, nodeResourceTopology *v1alpha1.NodeResourceTopology, opts v1.CreateOptions) (result *v1alpha1.NodeResourceTopology, err error)
Create takes the representation of a nodeResourceTopology and creates it. Returns the server's representation of the nodeResourceTopology, and an error, if there is any.
func (*FakeNodeResourceTopologies) Delete ¶
func (c *FakeNodeResourceTopologies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the nodeResourceTopology and deletes it. Returns an error if one occurs.
func (*FakeNodeResourceTopologies) DeleteCollection ¶
func (c *FakeNodeResourceTopologies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNodeResourceTopologies) Get ¶
func (c *FakeNodeResourceTopologies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NodeResourceTopology, err error)
Get takes name of the nodeResourceTopology, and returns the corresponding nodeResourceTopology object, and an error if there is any.
func (*FakeNodeResourceTopologies) List ¶
func (c *FakeNodeResourceTopologies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NodeResourceTopologyList, err error)
List takes label and field selectors, and returns the list of NodeResourceTopologies that match those selectors.
func (*FakeNodeResourceTopologies) Patch ¶
func (c *FakeNodeResourceTopologies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NodeResourceTopology, err error)
Patch applies the patch and returns the patched nodeResourceTopology.
func (*FakeNodeResourceTopologies) Update ¶
func (c *FakeNodeResourceTopologies) Update(ctx context.Context, nodeResourceTopology *v1alpha1.NodeResourceTopology, opts v1.UpdateOptions) (result *v1alpha1.NodeResourceTopology, err error)
Update takes the representation of a nodeResourceTopology and updates it. Returns the server's representation of the nodeResourceTopology, and an error, if there is any.
func (*FakeNodeResourceTopologies) Watch ¶
func (c *FakeNodeResourceTopologies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested nodeResourceTopologies.
type FakeTopologyV1alpha1 ¶
func (*FakeTopologyV1alpha1) NodeResourceTopologies ¶
func (c *FakeTopologyV1alpha1) NodeResourceTopologies() v1alpha1.NodeResourceTopologyInterface
func (*FakeTopologyV1alpha1) RESTClient ¶
func (c *FakeTopologyV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.