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