Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeKMSCryptoKeys
- func (c *FakeKMSCryptoKeys) Create(ctx context.Context, kMSCryptoKey *v1beta1.KMSCryptoKey, opts v1.CreateOptions) (result *v1beta1.KMSCryptoKey, err error)
- func (c *FakeKMSCryptoKeys) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeKMSCryptoKeys) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeKMSCryptoKeys) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.KMSCryptoKey, err error)
- func (c *FakeKMSCryptoKeys) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.KMSCryptoKeyList, err error)
- func (c *FakeKMSCryptoKeys) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.KMSCryptoKey, err error)
- func (c *FakeKMSCryptoKeys) Update(ctx context.Context, kMSCryptoKey *v1beta1.KMSCryptoKey, opts v1.UpdateOptions) (result *v1beta1.KMSCryptoKey, err error)
- func (c *FakeKMSCryptoKeys) UpdateStatus(ctx context.Context, kMSCryptoKey *v1beta1.KMSCryptoKey, opts v1.UpdateOptions) (*v1beta1.KMSCryptoKey, error)
- func (c *FakeKMSCryptoKeys) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeKMSKeyRings
- func (c *FakeKMSKeyRings) Create(ctx context.Context, kMSKeyRing *v1beta1.KMSKeyRing, opts v1.CreateOptions) (result *v1beta1.KMSKeyRing, err error)
- func (c *FakeKMSKeyRings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeKMSKeyRings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeKMSKeyRings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.KMSKeyRing, err error)
- func (c *FakeKMSKeyRings) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.KMSKeyRingList, err error)
- func (c *FakeKMSKeyRings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.KMSKeyRing, err error)
- func (c *FakeKMSKeyRings) Update(ctx context.Context, kMSKeyRing *v1beta1.KMSKeyRing, opts v1.UpdateOptions) (result *v1beta1.KMSKeyRing, err error)
- func (c *FakeKMSKeyRings) UpdateStatus(ctx context.Context, kMSKeyRing *v1beta1.KMSKeyRing, opts v1.UpdateOptions) (*v1beta1.KMSKeyRing, error)
- func (c *FakeKMSKeyRings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeKmsV1beta1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeKMSCryptoKeys ¶
type FakeKMSCryptoKeys struct { Fake *FakeKmsV1beta1 // contains filtered or unexported fields }
FakeKMSCryptoKeys implements KMSCryptoKeyInterface
func (*FakeKMSCryptoKeys) Create ¶
func (c *FakeKMSCryptoKeys) Create(ctx context.Context, kMSCryptoKey *v1beta1.KMSCryptoKey, opts v1.CreateOptions) (result *v1beta1.KMSCryptoKey, err error)
Create takes the representation of a kMSCryptoKey and creates it. Returns the server's representation of the kMSCryptoKey, and an error, if there is any.
func (*FakeKMSCryptoKeys) Delete ¶
func (c *FakeKMSCryptoKeys) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the kMSCryptoKey and deletes it. Returns an error if one occurs.
func (*FakeKMSCryptoKeys) DeleteCollection ¶
func (c *FakeKMSCryptoKeys) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeKMSCryptoKeys) Get ¶
func (c *FakeKMSCryptoKeys) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.KMSCryptoKey, err error)
Get takes name of the kMSCryptoKey, and returns the corresponding kMSCryptoKey object, and an error if there is any.
func (*FakeKMSCryptoKeys) List ¶
func (c *FakeKMSCryptoKeys) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.KMSCryptoKeyList, err error)
List takes label and field selectors, and returns the list of KMSCryptoKeys that match those selectors.
func (*FakeKMSCryptoKeys) Patch ¶
func (c *FakeKMSCryptoKeys) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.KMSCryptoKey, err error)
Patch applies the patch and returns the patched kMSCryptoKey.
func (*FakeKMSCryptoKeys) Update ¶
func (c *FakeKMSCryptoKeys) Update(ctx context.Context, kMSCryptoKey *v1beta1.KMSCryptoKey, opts v1.UpdateOptions) (result *v1beta1.KMSCryptoKey, err error)
Update takes the representation of a kMSCryptoKey and updates it. Returns the server's representation of the kMSCryptoKey, and an error, if there is any.
func (*FakeKMSCryptoKeys) UpdateStatus ¶
func (c *FakeKMSCryptoKeys) UpdateStatus(ctx context.Context, kMSCryptoKey *v1beta1.KMSCryptoKey, opts v1.UpdateOptions) (*v1beta1.KMSCryptoKey, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeKMSCryptoKeys) Watch ¶
func (c *FakeKMSCryptoKeys) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested kMSCryptoKeys.
type FakeKMSKeyRings ¶
type FakeKMSKeyRings struct { Fake *FakeKmsV1beta1 // contains filtered or unexported fields }
FakeKMSKeyRings implements KMSKeyRingInterface
func (*FakeKMSKeyRings) Create ¶
func (c *FakeKMSKeyRings) Create(ctx context.Context, kMSKeyRing *v1beta1.KMSKeyRing, opts v1.CreateOptions) (result *v1beta1.KMSKeyRing, err error)
Create takes the representation of a kMSKeyRing and creates it. Returns the server's representation of the kMSKeyRing, and an error, if there is any.
func (*FakeKMSKeyRings) Delete ¶
func (c *FakeKMSKeyRings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the kMSKeyRing and deletes it. Returns an error if one occurs.
func (*FakeKMSKeyRings) DeleteCollection ¶
func (c *FakeKMSKeyRings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeKMSKeyRings) Get ¶
func (c *FakeKMSKeyRings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.KMSKeyRing, err error)
Get takes name of the kMSKeyRing, and returns the corresponding kMSKeyRing object, and an error if there is any.
func (*FakeKMSKeyRings) List ¶
func (c *FakeKMSKeyRings) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.KMSKeyRingList, err error)
List takes label and field selectors, and returns the list of KMSKeyRings that match those selectors.
func (*FakeKMSKeyRings) Patch ¶
func (c *FakeKMSKeyRings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.KMSKeyRing, err error)
Patch applies the patch and returns the patched kMSKeyRing.
func (*FakeKMSKeyRings) Update ¶
func (c *FakeKMSKeyRings) Update(ctx context.Context, kMSKeyRing *v1beta1.KMSKeyRing, opts v1.UpdateOptions) (result *v1beta1.KMSKeyRing, err error)
Update takes the representation of a kMSKeyRing and updates it. Returns the server's representation of the kMSKeyRing, and an error, if there is any.
func (*FakeKMSKeyRings) UpdateStatus ¶
func (c *FakeKMSKeyRings) UpdateStatus(ctx context.Context, kMSKeyRing *v1beta1.KMSKeyRing, opts v1.UpdateOptions) (*v1beta1.KMSKeyRing, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeKMSKeyRings) Watch ¶
func (c *FakeKMSKeyRings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested kMSKeyRings.
type FakeKmsV1beta1 ¶
func (*FakeKmsV1beta1) KMSCryptoKeys ¶
func (c *FakeKmsV1beta1) KMSCryptoKeys(namespace string) v1beta1.KMSCryptoKeyInterface
func (*FakeKmsV1beta1) KMSKeyRings ¶
func (c *FakeKmsV1beta1) KMSKeyRings(namespace string) v1beta1.KMSKeyRingInterface
func (*FakeKmsV1beta1) RESTClient ¶
func (c *FakeKmsV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.