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