bank-vaults: Index | Files

package fake

import ""

Package fake has the automatically generated clients.


Package Files

doc.go fake_vault.go fake_vault_client.go

type FakeVaultV1alpha1 Uses

type FakeVaultV1alpha1 struct {

func (*FakeVaultV1alpha1) RESTClient Uses

func (c *FakeVaultV1alpha1) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*FakeVaultV1alpha1) Vaults Uses

func (c *FakeVaultV1alpha1) Vaults(namespace string) v1alpha1.VaultInterface

type FakeVaults Uses

type FakeVaults struct {
    Fake *FakeVaultV1alpha1
    // contains filtered or unexported fields

FakeVaults implements VaultInterface

func (*FakeVaults) Create Uses

func (c *FakeVaults) Create(vault *v1alpha1.Vault) (result *v1alpha1.Vault, err error)

Create takes the representation of a vault and creates it. Returns the server's representation of the vault, and an error, if there is any.

func (*FakeVaults) Delete Uses

func (c *FakeVaults) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the vault and deletes it. Returns an error if one occurs.

func (*FakeVaults) DeleteCollection Uses

func (c *FakeVaults) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeVaults) Get Uses

func (c *FakeVaults) Get(name string, options v1.GetOptions) (result *v1alpha1.Vault, err error)

Get takes name of the vault, and returns the corresponding vault object, and an error if there is any.

func (*FakeVaults) List Uses

func (c *FakeVaults) List(opts v1.ListOptions) (result *v1alpha1.VaultList, err error)

List takes label and field selectors, and returns the list of Vaults that match those selectors.

func (*FakeVaults) Patch Uses

func (c *FakeVaults) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Vault, err error)

Patch applies the patch and returns the patched vault.

func (*FakeVaults) Update Uses

func (c *FakeVaults) Update(vault *v1alpha1.Vault) (result *v1alpha1.Vault, err error)

Update takes the representation of a vault and updates it. Returns the server's representation of the vault, and an error, if there is any.

func (*FakeVaults) Watch Uses

func (c *FakeVaults) Watch(opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested vaults.

Package fake imports 9 packages (graph) and is imported by 1 packages. Updated 2019-05-26. Refresh now. Tools for package owners.