fake

package
v1.116.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeDLPDeidentifyTemplates added in v1.95.0

type FakeDLPDeidentifyTemplates struct {
	Fake *FakeDlpV1beta1
	// contains filtered or unexported fields
}

FakeDLPDeidentifyTemplates implements DLPDeidentifyTemplateInterface

func (*FakeDLPDeidentifyTemplates) Create added in v1.95.0

func (c *FakeDLPDeidentifyTemplates) Create(ctx context.Context, dLPDeidentifyTemplate *v1beta1.DLPDeidentifyTemplate, opts v1.CreateOptions) (result *v1beta1.DLPDeidentifyTemplate, err error)

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

func (*FakeDLPDeidentifyTemplates) Delete added in v1.95.0

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

func (*FakeDLPDeidentifyTemplates) DeleteCollection added in v1.95.0

func (c *FakeDLPDeidentifyTemplates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeDLPDeidentifyTemplates) Get added in v1.95.0

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

func (*FakeDLPDeidentifyTemplates) List added in v1.95.0

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

func (*FakeDLPDeidentifyTemplates) Patch added in v1.95.0

func (c *FakeDLPDeidentifyTemplates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.DLPDeidentifyTemplate, err error)

Patch applies the patch and returns the patched dLPDeidentifyTemplate.

func (*FakeDLPDeidentifyTemplates) Update added in v1.95.0

func (c *FakeDLPDeidentifyTemplates) Update(ctx context.Context, dLPDeidentifyTemplate *v1beta1.DLPDeidentifyTemplate, opts v1.UpdateOptions) (result *v1beta1.DLPDeidentifyTemplate, err error)

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

func (*FakeDLPDeidentifyTemplates) UpdateStatus added in v1.95.0

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeDLPDeidentifyTemplates) Watch added in v1.95.0

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

type FakeDLPInspectTemplates added in v1.96.0

type FakeDLPInspectTemplates struct {
	Fake *FakeDlpV1beta1
	// contains filtered or unexported fields
}

FakeDLPInspectTemplates implements DLPInspectTemplateInterface

func (*FakeDLPInspectTemplates) Create added in v1.96.0

func (c *FakeDLPInspectTemplates) Create(ctx context.Context, dLPInspectTemplate *v1beta1.DLPInspectTemplate, opts v1.CreateOptions) (result *v1beta1.DLPInspectTemplate, err error)

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

func (*FakeDLPInspectTemplates) Delete added in v1.96.0

func (c *FakeDLPInspectTemplates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeDLPInspectTemplates) DeleteCollection added in v1.96.0

func (c *FakeDLPInspectTemplates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeDLPInspectTemplates) Get added in v1.96.0

func (c *FakeDLPInspectTemplates) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.DLPInspectTemplate, err error)

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

func (*FakeDLPInspectTemplates) List added in v1.96.0

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

func (*FakeDLPInspectTemplates) Patch added in v1.96.0

func (c *FakeDLPInspectTemplates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.DLPInspectTemplate, err error)

Patch applies the patch and returns the patched dLPInspectTemplate.

func (*FakeDLPInspectTemplates) Update added in v1.96.0

func (c *FakeDLPInspectTemplates) Update(ctx context.Context, dLPInspectTemplate *v1beta1.DLPInspectTemplate, opts v1.UpdateOptions) (result *v1beta1.DLPInspectTemplate, err error)

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

func (*FakeDLPInspectTemplates) UpdateStatus added in v1.96.0

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeDLPInspectTemplates) Watch added in v1.96.0

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

type FakeDLPJobTriggers added in v1.97.0

type FakeDLPJobTriggers struct {
	Fake *FakeDlpV1beta1
	// contains filtered or unexported fields
}

FakeDLPJobTriggers implements DLPJobTriggerInterface

func (*FakeDLPJobTriggers) Create added in v1.97.0

func (c *FakeDLPJobTriggers) Create(ctx context.Context, dLPJobTrigger *v1beta1.DLPJobTrigger, opts v1.CreateOptions) (result *v1beta1.DLPJobTrigger, err error)

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

func (*FakeDLPJobTriggers) Delete added in v1.97.0

func (c *FakeDLPJobTriggers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeDLPJobTriggers) DeleteCollection added in v1.97.0

func (c *FakeDLPJobTriggers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeDLPJobTriggers) Get added in v1.97.0

func (c *FakeDLPJobTriggers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.DLPJobTrigger, err error)

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

func (*FakeDLPJobTriggers) List added in v1.97.0

func (c *FakeDLPJobTriggers) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.DLPJobTriggerList, err error)

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

func (*FakeDLPJobTriggers) Patch added in v1.97.0

func (c *FakeDLPJobTriggers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.DLPJobTrigger, err error)

Patch applies the patch and returns the patched dLPJobTrigger.

func (*FakeDLPJobTriggers) Update added in v1.97.0

func (c *FakeDLPJobTriggers) Update(ctx context.Context, dLPJobTrigger *v1beta1.DLPJobTrigger, opts v1.UpdateOptions) (result *v1beta1.DLPJobTrigger, err error)

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

func (*FakeDLPJobTriggers) UpdateStatus added in v1.97.0

func (c *FakeDLPJobTriggers) UpdateStatus(ctx context.Context, dLPJobTrigger *v1beta1.DLPJobTrigger, opts v1.UpdateOptions) (*v1beta1.DLPJobTrigger, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeDLPJobTriggers) Watch added in v1.97.0

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

type FakeDLPStoredInfoTypes

type FakeDLPStoredInfoTypes struct {
	Fake *FakeDlpV1beta1
	// contains filtered or unexported fields
}

FakeDLPStoredInfoTypes implements DLPStoredInfoTypeInterface

func (*FakeDLPStoredInfoTypes) Create

func (c *FakeDLPStoredInfoTypes) Create(ctx context.Context, dLPStoredInfoType *v1beta1.DLPStoredInfoType, opts v1.CreateOptions) (result *v1beta1.DLPStoredInfoType, err error)

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

func (*FakeDLPStoredInfoTypes) Delete

func (c *FakeDLPStoredInfoTypes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeDLPStoredInfoTypes) DeleteCollection

func (c *FakeDLPStoredInfoTypes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeDLPStoredInfoTypes) Get

func (c *FakeDLPStoredInfoTypes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.DLPStoredInfoType, err error)

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

func (*FakeDLPStoredInfoTypes) List

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

func (*FakeDLPStoredInfoTypes) Patch

func (c *FakeDLPStoredInfoTypes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.DLPStoredInfoType, err error)

Patch applies the patch and returns the patched dLPStoredInfoType.

func (*FakeDLPStoredInfoTypes) Update

func (c *FakeDLPStoredInfoTypes) Update(ctx context.Context, dLPStoredInfoType *v1beta1.DLPStoredInfoType, opts v1.UpdateOptions) (result *v1beta1.DLPStoredInfoType, err error)

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

func (*FakeDLPStoredInfoTypes) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeDLPStoredInfoTypes) Watch

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

type FakeDlpV1beta1

type FakeDlpV1beta1 struct {
	*testing.Fake
}

func (*FakeDlpV1beta1) DLPDeidentifyTemplates added in v1.95.0

func (c *FakeDlpV1beta1) DLPDeidentifyTemplates(namespace string) v1beta1.DLPDeidentifyTemplateInterface

func (*FakeDlpV1beta1) DLPInspectTemplates added in v1.96.0

func (c *FakeDlpV1beta1) DLPInspectTemplates(namespace string) v1beta1.DLPInspectTemplateInterface

func (*FakeDlpV1beta1) DLPJobTriggers added in v1.97.0

func (c *FakeDlpV1beta1) DLPJobTriggers(namespace string) v1beta1.DLPJobTriggerInterface

func (*FakeDlpV1beta1) DLPStoredInfoTypes

func (c *FakeDlpV1beta1) DLPStoredInfoTypes(namespace string) v1beta1.DLPStoredInfoTypeInterface

func (*FakeDlpV1beta1) RESTClient

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL