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