Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeIpamV1alpha1
- type FakePrefixAllocations
- func (c *FakePrefixAllocations) Apply(ctx context.Context, ...) (result *v1alpha1.PrefixAllocation, err error)
- func (c *FakePrefixAllocations) ApplyStatus(ctx context.Context, ...) (result *v1alpha1.PrefixAllocation, err error)
- func (c *FakePrefixAllocations) Create(ctx context.Context, prefixAllocation *v1alpha1.PrefixAllocation, ...) (result *v1alpha1.PrefixAllocation, err error)
- func (c *FakePrefixAllocations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePrefixAllocations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePrefixAllocations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PrefixAllocation, err error)
- func (c *FakePrefixAllocations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PrefixAllocationList, err error)
- func (c *FakePrefixAllocations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.PrefixAllocation, err error)
- func (c *FakePrefixAllocations) Update(ctx context.Context, prefixAllocation *v1alpha1.PrefixAllocation, ...) (result *v1alpha1.PrefixAllocation, err error)
- func (c *FakePrefixAllocations) UpdateStatus(ctx context.Context, prefixAllocation *v1alpha1.PrefixAllocation, ...) (*v1alpha1.PrefixAllocation, error)
- func (c *FakePrefixAllocations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePrefixes
- func (c *FakePrefixes) Apply(ctx context.Context, prefix *ipamv1alpha1.PrefixApplyConfiguration, ...) (result *v1alpha1.Prefix, err error)
- func (c *FakePrefixes) ApplyStatus(ctx context.Context, prefix *ipamv1alpha1.PrefixApplyConfiguration, ...) (result *v1alpha1.Prefix, err error)
- func (c *FakePrefixes) Create(ctx context.Context, prefix *v1alpha1.Prefix, opts v1.CreateOptions) (result *v1alpha1.Prefix, err error)
- func (c *FakePrefixes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePrefixes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePrefixes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Prefix, err error)
- func (c *FakePrefixes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PrefixList, err error)
- func (c *FakePrefixes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Prefix, err error)
- func (c *FakePrefixes) Update(ctx context.Context, prefix *v1alpha1.Prefix, opts v1.UpdateOptions) (result *v1alpha1.Prefix, err error)
- func (c *FakePrefixes) UpdateStatus(ctx context.Context, prefix *v1alpha1.Prefix, opts v1.UpdateOptions) (*v1alpha1.Prefix, error)
- func (c *FakePrefixes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeIpamV1alpha1 ¶
func (*FakeIpamV1alpha1) PrefixAllocations ¶
func (c *FakeIpamV1alpha1) PrefixAllocations(namespace string) v1alpha1.PrefixAllocationInterface
func (*FakeIpamV1alpha1) Prefixes ¶
func (c *FakeIpamV1alpha1) Prefixes(namespace string) v1alpha1.PrefixInterface
func (*FakeIpamV1alpha1) RESTClient ¶
func (c *FakeIpamV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakePrefixAllocations ¶
type FakePrefixAllocations struct { Fake *FakeIpamV1alpha1 // contains filtered or unexported fields }
FakePrefixAllocations implements PrefixAllocationInterface
func (*FakePrefixAllocations) Apply ¶
func (c *FakePrefixAllocations) Apply(ctx context.Context, prefixAllocation *ipamv1alpha1.PrefixAllocationApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.PrefixAllocation, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied prefixAllocation.
func (*FakePrefixAllocations) ApplyStatus ¶
func (c *FakePrefixAllocations) ApplyStatus(ctx context.Context, prefixAllocation *ipamv1alpha1.PrefixAllocationApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.PrefixAllocation, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakePrefixAllocations) Create ¶
func (c *FakePrefixAllocations) Create(ctx context.Context, prefixAllocation *v1alpha1.PrefixAllocation, opts v1.CreateOptions) (result *v1alpha1.PrefixAllocation, err error)
Create takes the representation of a prefixAllocation and creates it. Returns the server's representation of the prefixAllocation, and an error, if there is any.
func (*FakePrefixAllocations) Delete ¶
func (c *FakePrefixAllocations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the prefixAllocation and deletes it. Returns an error if one occurs.
func (*FakePrefixAllocations) DeleteCollection ¶
func (c *FakePrefixAllocations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePrefixAllocations) Get ¶
func (c *FakePrefixAllocations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PrefixAllocation, err error)
Get takes name of the prefixAllocation, and returns the corresponding prefixAllocation object, and an error if there is any.
func (*FakePrefixAllocations) List ¶
func (c *FakePrefixAllocations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PrefixAllocationList, err error)
List takes label and field selectors, and returns the list of PrefixAllocations that match those selectors.
func (*FakePrefixAllocations) Patch ¶
func (c *FakePrefixAllocations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.PrefixAllocation, err error)
Patch applies the patch and returns the patched prefixAllocation.
func (*FakePrefixAllocations) Update ¶
func (c *FakePrefixAllocations) Update(ctx context.Context, prefixAllocation *v1alpha1.PrefixAllocation, opts v1.UpdateOptions) (result *v1alpha1.PrefixAllocation, err error)
Update takes the representation of a prefixAllocation and updates it. Returns the server's representation of the prefixAllocation, and an error, if there is any.
func (*FakePrefixAllocations) UpdateStatus ¶
func (c *FakePrefixAllocations) UpdateStatus(ctx context.Context, prefixAllocation *v1alpha1.PrefixAllocation, opts v1.UpdateOptions) (*v1alpha1.PrefixAllocation, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePrefixAllocations) Watch ¶
func (c *FakePrefixAllocations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested prefixAllocations.
type FakePrefixes ¶
type FakePrefixes struct { Fake *FakeIpamV1alpha1 // contains filtered or unexported fields }
FakePrefixes implements PrefixInterface
func (*FakePrefixes) Apply ¶
func (c *FakePrefixes) Apply(ctx context.Context, prefix *ipamv1alpha1.PrefixApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.Prefix, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied prefix.
func (*FakePrefixes) ApplyStatus ¶
func (c *FakePrefixes) ApplyStatus(ctx context.Context, prefix *ipamv1alpha1.PrefixApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.Prefix, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakePrefixes) Create ¶
func (c *FakePrefixes) Create(ctx context.Context, prefix *v1alpha1.Prefix, opts v1.CreateOptions) (result *v1alpha1.Prefix, err error)
Create takes the representation of a prefix and creates it. Returns the server's representation of the prefix, and an error, if there is any.
func (*FakePrefixes) Delete ¶
func (c *FakePrefixes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the prefix and deletes it. Returns an error if one occurs.
func (*FakePrefixes) DeleteCollection ¶
func (c *FakePrefixes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePrefixes) Get ¶
func (c *FakePrefixes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Prefix, err error)
Get takes name of the prefix, and returns the corresponding prefix object, and an error if there is any.
func (*FakePrefixes) List ¶
func (c *FakePrefixes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PrefixList, err error)
List takes label and field selectors, and returns the list of Prefixes that match those selectors.
func (*FakePrefixes) Patch ¶
func (c *FakePrefixes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Prefix, err error)
Patch applies the patch and returns the patched prefix.
func (*FakePrefixes) Update ¶
func (c *FakePrefixes) Update(ctx context.Context, prefix *v1alpha1.Prefix, opts v1.UpdateOptions) (result *v1alpha1.Prefix, err error)
Update takes the representation of a prefix and updates it. Returns the server's representation of the prefix, and an error, if there is any.
func (*FakePrefixes) UpdateStatus ¶
func (c *FakePrefixes) UpdateStatus(ctx context.Context, prefix *v1alpha1.Prefix, opts v1.UpdateOptions) (*v1alpha1.Prefix, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePrefixes) Watch ¶
func (c *FakePrefixes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested prefixes.