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