Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeFrrcontrollerV1alpha1
- type FakeFrrs
- func (c *FakeFrrs) Create(ctx context.Context, frr *v1alpha1.Frr, opts v1.CreateOptions) (result *v1alpha1.Frr, err error)
- func (c *FakeFrrs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeFrrs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeFrrs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Frr, err error)
- func (c *FakeFrrs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.FrrList, err error)
- func (c *FakeFrrs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Frr, err error)
- func (c *FakeFrrs) Update(ctx context.Context, frr *v1alpha1.Frr, opts v1.UpdateOptions) (result *v1alpha1.Frr, err error)
- func (c *FakeFrrs) UpdateStatus(ctx context.Context, frr *v1alpha1.Frr, opts v1.UpdateOptions) (*v1alpha1.Frr, error)
- func (c *FakeFrrs) 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 FakeFrrcontrollerV1alpha1 ¶
func (*FakeFrrcontrollerV1alpha1) Frrs ¶
func (c *FakeFrrcontrollerV1alpha1) Frrs(namespace string) v1alpha1.FrrInterface
func (*FakeFrrcontrollerV1alpha1) RESTClient ¶
func (c *FakeFrrcontrollerV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeFrrs ¶
type FakeFrrs struct { Fake *FakeFrrcontrollerV1alpha1 // contains filtered or unexported fields }
FakeFrrs implements FrrInterface
func (*FakeFrrs) Create ¶
func (c *FakeFrrs) Create(ctx context.Context, frr *v1alpha1.Frr, opts v1.CreateOptions) (result *v1alpha1.Frr, err error)
Create takes the representation of a frr and creates it. Returns the server's representation of the frr, and an error, if there is any.
func (*FakeFrrs) Delete ¶
Delete takes name of the frr and deletes it. Returns an error if one occurs.
func (*FakeFrrs) DeleteCollection ¶
func (c *FakeFrrs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeFrrs) Get ¶
func (c *FakeFrrs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Frr, err error)
Get takes name of the frr, and returns the corresponding frr object, and an error if there is any.
func (*FakeFrrs) List ¶
func (c *FakeFrrs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.FrrList, err error)
List takes label and field selectors, and returns the list of Frrs that match those selectors.
func (*FakeFrrs) Patch ¶
func (c *FakeFrrs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Frr, err error)
Patch applies the patch and returns the patched frr.
func (*FakeFrrs) Update ¶
func (c *FakeFrrs) Update(ctx context.Context, frr *v1alpha1.Frr, opts v1.UpdateOptions) (result *v1alpha1.Frr, err error)
Update takes the representation of a frr and updates it. Returns the server's representation of the frr, and an error, if there is any.
func (*FakeFrrs) UpdateStatus ¶
func (c *FakeFrrs) UpdateStatus(ctx context.Context, frr *v1alpha1.Frr, opts v1.UpdateOptions) (*v1alpha1.Frr, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().