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