Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeBGPPeerServices
- func (c *FakeBGPPeerServices) Apply(ctx context.Context, ...) (result *v1.BGPPeerService, err error)
- func (c *FakeBGPPeerServices) ApplyStatus(ctx context.Context, ...) (result *v1.BGPPeerService, err error)
- func (c *FakeBGPPeerServices) Create(ctx context.Context, bGPPeerService *v1.BGPPeerService, ...) (result *v1.BGPPeerService, err error)
- func (c *FakeBGPPeerServices) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeBGPPeerServices) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeBGPPeerServices) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.BGPPeerService, err error)
- func (c *FakeBGPPeerServices) List(ctx context.Context, opts metav1.ListOptions) (result *v1.BGPPeerServiceList, err error)
- func (c *FakeBGPPeerServices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.BGPPeerService, err error)
- func (c *FakeBGPPeerServices) Update(ctx context.Context, bGPPeerService *v1.BGPPeerService, ...) (result *v1.BGPPeerService, err error)
- func (c *FakeBGPPeerServices) UpdateStatus(ctx context.Context, bGPPeerService *v1.BGPPeerService, ...) (*v1.BGPPeerService, error)
- func (c *FakeBGPPeerServices) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeBgppeerV1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBGPPeerServices ¶
type FakeBGPPeerServices struct {
Fake *FakeBgppeerV1
}
FakeBGPPeerServices implements BGPPeerServiceInterface
func (*FakeBGPPeerServices) Apply ¶
func (c *FakeBGPPeerServices) Apply(ctx context.Context, bGPPeerService *bgppeerv1.BGPPeerServiceApplyConfiguration, opts metav1.ApplyOptions) (result *v1.BGPPeerService, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied bGPPeerService.
func (*FakeBGPPeerServices) ApplyStatus ¶
func (c *FakeBGPPeerServices) ApplyStatus(ctx context.Context, bGPPeerService *bgppeerv1.BGPPeerServiceApplyConfiguration, opts metav1.ApplyOptions) (result *v1.BGPPeerService, 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 (*FakeBGPPeerServices) Create ¶
func (c *FakeBGPPeerServices) Create(ctx context.Context, bGPPeerService *v1.BGPPeerService, opts metav1.CreateOptions) (result *v1.BGPPeerService, err error)
Create takes the representation of a bGPPeerService and creates it. Returns the server's representation of the bGPPeerService, and an error, if there is any.
func (*FakeBGPPeerServices) Delete ¶
func (c *FakeBGPPeerServices) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the bGPPeerService and deletes it. Returns an error if one occurs.
func (*FakeBGPPeerServices) DeleteCollection ¶
func (c *FakeBGPPeerServices) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBGPPeerServices) Get ¶
func (c *FakeBGPPeerServices) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.BGPPeerService, err error)
Get takes name of the bGPPeerService, and returns the corresponding bGPPeerService object, and an error if there is any.
func (*FakeBGPPeerServices) List ¶
func (c *FakeBGPPeerServices) List(ctx context.Context, opts metav1.ListOptions) (result *v1.BGPPeerServiceList, err error)
List takes label and field selectors, and returns the list of BGPPeerServices that match those selectors.
func (*FakeBGPPeerServices) Patch ¶
func (c *FakeBGPPeerServices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.BGPPeerService, err error)
Patch applies the patch and returns the patched bGPPeerService.
func (*FakeBGPPeerServices) Update ¶
func (c *FakeBGPPeerServices) Update(ctx context.Context, bGPPeerService *v1.BGPPeerService, opts metav1.UpdateOptions) (result *v1.BGPPeerService, err error)
Update takes the representation of a bGPPeerService and updates it. Returns the server's representation of the bGPPeerService, and an error, if there is any.
func (*FakeBGPPeerServices) UpdateStatus ¶
func (c *FakeBGPPeerServices) UpdateStatus(ctx context.Context, bGPPeerService *v1.BGPPeerService, opts metav1.UpdateOptions) (*v1.BGPPeerService, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeBGPPeerServices) Watch ¶
func (c *FakeBGPPeerServices) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested bGPPeerServices.
type FakeBgppeerV1 ¶
func (*FakeBgppeerV1) BGPPeerServices ¶
func (c *FakeBgppeerV1) BGPPeerServices() v1.BGPPeerServiceInterface
func (*FakeBgppeerV1) RESTClient ¶
func (c *FakeBgppeerV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.