Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeNodeJoinRequests
- func (c *FakeNodeJoinRequests) Create(ctx context.Context, nodeJoinRequest *v1alpha1.NodeJoinRequest, ...) (result *v1alpha1.NodeJoinRequest, err error)
- func (c *FakeNodeJoinRequests) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNodeJoinRequests) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeNodeJoinRequests) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NodeJoinRequest, err error)
- func (c *FakeNodeJoinRequests) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NodeJoinRequestList, err error)
- func (c *FakeNodeJoinRequests) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeNodeV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeNodeJoinRequests ¶
type FakeNodeJoinRequests struct {
Fake *FakeNodeV1alpha1
}
FakeNodeJoinRequests implements NodeJoinRequestInterface
func (*FakeNodeJoinRequests) Create ¶
func (c *FakeNodeJoinRequests) Create(ctx context.Context, nodeJoinRequest *v1alpha1.NodeJoinRequest, opts v1.CreateOptions) (result *v1alpha1.NodeJoinRequest, err error)
Create takes the representation of a nodeJoinRequest and creates it. Returns the server's representation of the nodeJoinRequest, and an error, if there is any.
func (*FakeNodeJoinRequests) Delete ¶
func (c *FakeNodeJoinRequests) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the nodeJoinRequest and deletes it. Returns an error if one occurs.
func (*FakeNodeJoinRequests) DeleteCollection ¶
func (c *FakeNodeJoinRequests) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNodeJoinRequests) Get ¶
func (c *FakeNodeJoinRequests) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NodeJoinRequest, err error)
Get takes name of the nodeJoinRequest, and returns the corresponding nodeJoinRequest object, and an error if there is any.
func (*FakeNodeJoinRequests) List ¶
func (c *FakeNodeJoinRequests) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NodeJoinRequestList, err error)
List takes label and field selectors, and returns the list of NodeJoinRequests that match those selectors.
func (*FakeNodeJoinRequests) Watch ¶
func (c *FakeNodeJoinRequests) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested nodeJoinRequests.
type FakeNodeV1alpha1 ¶
func (*FakeNodeV1alpha1) NodeJoinRequests ¶
func (c *FakeNodeV1alpha1) NodeJoinRequests() v1alpha1.NodeJoinRequestInterface
func (*FakeNodeV1alpha1) RESTClient ¶
func (c *FakeNodeV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.