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