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