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