fake

package
v0.0.0-...-9516177 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

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

List takes label and field selectors, and returns the list of NodeJoinRequests that match those selectors.

func (*FakeNodeJoinRequests) Watch

Watch returns a watch.Interface that watches the requested nodeJoinRequests.

type FakeNodeV1alpha1

type FakeNodeV1alpha1 struct {
	*testing.Fake
}

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL