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