fake

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 10 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 FakeAccesscontextV1alpha1

type FakeAccesscontextV1alpha1 struct {
	*testing.Fake
}

func (*FakeAccesscontextV1alpha1) ManagerAccessLevelBatches

func (c *FakeAccesscontextV1alpha1) ManagerAccessLevelBatches(namespace string) v1alpha1.ManagerAccessLevelBatchInterface

func (*FakeAccesscontextV1alpha1) ManagerAccessLevelConditions

func (c *FakeAccesscontextV1alpha1) ManagerAccessLevelConditions(namespace string) v1alpha1.ManagerAccessLevelConditionInterface

func (*FakeAccesscontextV1alpha1) ManagerAccessLevels

func (c *FakeAccesscontextV1alpha1) ManagerAccessLevels(namespace string) v1alpha1.ManagerAccessLevelInterface

func (*FakeAccesscontextV1alpha1) ManagerAccessPolicies

func (c *FakeAccesscontextV1alpha1) ManagerAccessPolicies(namespace string) v1alpha1.ManagerAccessPolicyInterface

func (*FakeAccesscontextV1alpha1) ManagerGcpUserAccessBindings

func (c *FakeAccesscontextV1alpha1) ManagerGcpUserAccessBindings(namespace string) v1alpha1.ManagerGcpUserAccessBindingInterface

func (*FakeAccesscontextV1alpha1) ManagerServicePerimeterBatches

func (c *FakeAccesscontextV1alpha1) ManagerServicePerimeterBatches(namespace string) v1alpha1.ManagerServicePerimeterBatchInterface

func (*FakeAccesscontextV1alpha1) ManagerServicePerimeterResources

func (c *FakeAccesscontextV1alpha1) ManagerServicePerimeterResources(namespace string) v1alpha1.ManagerServicePerimeterResourceInterface

func (*FakeAccesscontextV1alpha1) ManagerServicePerimeters

func (c *FakeAccesscontextV1alpha1) ManagerServicePerimeters(namespace string) v1alpha1.ManagerServicePerimeterInterface

func (*FakeAccesscontextV1alpha1) RESTClient

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

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

type FakeManagerAccessLevelBatches

type FakeManagerAccessLevelBatches struct {
	Fake *FakeAccesscontextV1alpha1
	// contains filtered or unexported fields
}

FakeManagerAccessLevelBatches implements ManagerAccessLevelBatchInterface

func (*FakeManagerAccessLevelBatches) Create

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

func (*FakeManagerAccessLevelBatches) Delete

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

func (*FakeManagerAccessLevelBatches) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeManagerAccessLevelBatches) Get

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

func (*FakeManagerAccessLevelBatches) List

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

func (*FakeManagerAccessLevelBatches) Patch

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

Patch applies the patch and returns the patched managerAccessLevelBatch.

func (*FakeManagerAccessLevelBatches) Update

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

func (*FakeManagerAccessLevelBatches) UpdateStatus

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

func (*FakeManagerAccessLevelBatches) Watch

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

type FakeManagerAccessLevelConditions

type FakeManagerAccessLevelConditions struct {
	Fake *FakeAccesscontextV1alpha1
	// contains filtered or unexported fields
}

FakeManagerAccessLevelConditions implements ManagerAccessLevelConditionInterface

func (*FakeManagerAccessLevelConditions) Create

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

func (*FakeManagerAccessLevelConditions) Delete

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

func (*FakeManagerAccessLevelConditions) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeManagerAccessLevelConditions) Get

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

func (*FakeManagerAccessLevelConditions) List

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

func (*FakeManagerAccessLevelConditions) Patch

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

Patch applies the patch and returns the patched managerAccessLevelCondition.

func (*FakeManagerAccessLevelConditions) Update

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

func (*FakeManagerAccessLevelConditions) UpdateStatus

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

func (*FakeManagerAccessLevelConditions) Watch

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

type FakeManagerAccessLevels

type FakeManagerAccessLevels struct {
	Fake *FakeAccesscontextV1alpha1
	// contains filtered or unexported fields
}

FakeManagerAccessLevels implements ManagerAccessLevelInterface

func (*FakeManagerAccessLevels) Create

func (c *FakeManagerAccessLevels) Create(ctx context.Context, managerAccessLevel *v1alpha1.ManagerAccessLevel, opts v1.CreateOptions) (result *v1alpha1.ManagerAccessLevel, err error)

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

func (*FakeManagerAccessLevels) Delete

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

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

func (*FakeManagerAccessLevels) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeManagerAccessLevels) Get

func (c *FakeManagerAccessLevels) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ManagerAccessLevel, err error)

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

func (*FakeManagerAccessLevels) List

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

func (*FakeManagerAccessLevels) Patch

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

Patch applies the patch and returns the patched managerAccessLevel.

func (*FakeManagerAccessLevels) Update

func (c *FakeManagerAccessLevels) Update(ctx context.Context, managerAccessLevel *v1alpha1.ManagerAccessLevel, opts v1.UpdateOptions) (result *v1alpha1.ManagerAccessLevel, err error)

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

func (*FakeManagerAccessLevels) UpdateStatus

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

func (*FakeManagerAccessLevels) Watch

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

type FakeManagerAccessPolicies

type FakeManagerAccessPolicies struct {
	Fake *FakeAccesscontextV1alpha1
	// contains filtered or unexported fields
}

FakeManagerAccessPolicies implements ManagerAccessPolicyInterface

func (*FakeManagerAccessPolicies) Create

func (c *FakeManagerAccessPolicies) Create(ctx context.Context, managerAccessPolicy *v1alpha1.ManagerAccessPolicy, opts v1.CreateOptions) (result *v1alpha1.ManagerAccessPolicy, err error)

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

func (*FakeManagerAccessPolicies) Delete

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

func (*FakeManagerAccessPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeManagerAccessPolicies) Get

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

func (*FakeManagerAccessPolicies) List

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

func (*FakeManagerAccessPolicies) Patch

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

Patch applies the patch and returns the patched managerAccessPolicy.

func (*FakeManagerAccessPolicies) Update

func (c *FakeManagerAccessPolicies) Update(ctx context.Context, managerAccessPolicy *v1alpha1.ManagerAccessPolicy, opts v1.UpdateOptions) (result *v1alpha1.ManagerAccessPolicy, err error)

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

func (*FakeManagerAccessPolicies) UpdateStatus

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

func (*FakeManagerAccessPolicies) Watch

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

type FakeManagerGcpUserAccessBindings

type FakeManagerGcpUserAccessBindings struct {
	Fake *FakeAccesscontextV1alpha1
	// contains filtered or unexported fields
}

FakeManagerGcpUserAccessBindings implements ManagerGcpUserAccessBindingInterface

func (*FakeManagerGcpUserAccessBindings) Create

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

func (*FakeManagerGcpUserAccessBindings) Delete

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

func (*FakeManagerGcpUserAccessBindings) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeManagerGcpUserAccessBindings) Get

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

func (*FakeManagerGcpUserAccessBindings) List

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

func (*FakeManagerGcpUserAccessBindings) Patch

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

Patch applies the patch and returns the patched managerGcpUserAccessBinding.

func (*FakeManagerGcpUserAccessBindings) Update

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

func (*FakeManagerGcpUserAccessBindings) UpdateStatus

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

func (*FakeManagerGcpUserAccessBindings) Watch

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

type FakeManagerServicePerimeterBatches

type FakeManagerServicePerimeterBatches struct {
	Fake *FakeAccesscontextV1alpha1
	// contains filtered or unexported fields
}

FakeManagerServicePerimeterBatches implements ManagerServicePerimeterBatchInterface

func (*FakeManagerServicePerimeterBatches) Create

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

func (*FakeManagerServicePerimeterBatches) Delete

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

func (*FakeManagerServicePerimeterBatches) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeManagerServicePerimeterBatches) Get

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

func (*FakeManagerServicePerimeterBatches) List

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

func (*FakeManagerServicePerimeterBatches) Patch

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

Patch applies the patch and returns the patched managerServicePerimeterBatch.

func (*FakeManagerServicePerimeterBatches) Update

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

func (*FakeManagerServicePerimeterBatches) UpdateStatus

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

func (*FakeManagerServicePerimeterBatches) Watch

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

type FakeManagerServicePerimeterResources

type FakeManagerServicePerimeterResources struct {
	Fake *FakeAccesscontextV1alpha1
	// contains filtered or unexported fields
}

FakeManagerServicePerimeterResources implements ManagerServicePerimeterResourceInterface

func (*FakeManagerServicePerimeterResources) Create

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

func (*FakeManagerServicePerimeterResources) Delete

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

func (*FakeManagerServicePerimeterResources) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeManagerServicePerimeterResources) Get

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

func (*FakeManagerServicePerimeterResources) List

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

func (*FakeManagerServicePerimeterResources) Patch

Patch applies the patch and returns the patched managerServicePerimeterResource.

func (*FakeManagerServicePerimeterResources) Update

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

func (*FakeManagerServicePerimeterResources) UpdateStatus

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

func (*FakeManagerServicePerimeterResources) Watch

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

type FakeManagerServicePerimeters

type FakeManagerServicePerimeters struct {
	Fake *FakeAccesscontextV1alpha1
	// contains filtered or unexported fields
}

FakeManagerServicePerimeters implements ManagerServicePerimeterInterface

func (*FakeManagerServicePerimeters) Create

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

func (*FakeManagerServicePerimeters) Delete

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

func (*FakeManagerServicePerimeters) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeManagerServicePerimeters) Get

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

func (*FakeManagerServicePerimeters) List

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

func (*FakeManagerServicePerimeters) Patch

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

Patch applies the patch and returns the patched managerServicePerimeter.

func (*FakeManagerServicePerimeters) Update

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

func (*FakeManagerServicePerimeters) UpdateStatus

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

func (*FakeManagerServicePerimeters) Watch

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

Jump to

Keyboard shortcuts

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