Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeSBCs
- func (c *FakeSBCs) Create(ctx context.Context, sBC *v1.SBC, opts metav1.CreateOptions) (result *v1.SBC, err error)
- func (c *FakeSBCs) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeSBCs) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeSBCs) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.SBC, err error)
- func (c *FakeSBCs) List(ctx context.Context, opts metav1.ListOptions) (result *v1.SBCList, err error)
- func (c *FakeSBCs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.SBC, err error)
- func (c *FakeSBCs) Update(ctx context.Context, sBC *v1.SBC, opts metav1.UpdateOptions) (result *v1.SBC, err error)
- func (c *FakeSBCs) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeSbcV1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeSBCs ¶
type FakeSBCs struct { Fake *FakeSbcV1 // contains filtered or unexported fields }
FakeSBCs implements SBCInterface
func (*FakeSBCs) Create ¶
func (c *FakeSBCs) Create(ctx context.Context, sBC *v1.SBC, opts metav1.CreateOptions) (result *v1.SBC, err error)
Create takes the representation of a sBC and creates it. Returns the server's representation of the sBC, and an error, if there is any.
func (*FakeSBCs) Delete ¶
Delete takes name of the sBC and deletes it. Returns an error if one occurs.
func (*FakeSBCs) DeleteCollection ¶
func (c *FakeSBCs) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSBCs) Get ¶
func (c *FakeSBCs) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.SBC, err error)
Get takes name of the sBC, and returns the corresponding sBC object, and an error if there is any.
func (*FakeSBCs) List ¶
func (c *FakeSBCs) List(ctx context.Context, opts metav1.ListOptions) (result *v1.SBCList, err error)
List takes label and field selectors, and returns the list of SBCs that match those selectors.
func (*FakeSBCs) Patch ¶
func (c *FakeSBCs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.SBC, err error)
Patch applies the patch and returns the patched sBC.
type FakeSbcV1 ¶
func (*FakeSbcV1) RESTClient ¶
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.