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 FakeAccessContextManagerAccessLevels

type FakeAccessContextManagerAccessLevels struct {
	Fake *FakeAccesscontextmanagerV1beta1
	// contains filtered or unexported fields
}

FakeAccessContextManagerAccessLevels implements AccessContextManagerAccessLevelInterface

func (*FakeAccessContextManagerAccessLevels) Create

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

func (*FakeAccessContextManagerAccessLevels) Delete

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

func (*FakeAccessContextManagerAccessLevels) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeAccessContextManagerAccessLevels) Get

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

func (*FakeAccessContextManagerAccessLevels) List

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

func (*FakeAccessContextManagerAccessLevels) Patch

Patch applies the patch and returns the patched accessContextManagerAccessLevel.

func (*FakeAccessContextManagerAccessLevels) Update

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

func (*FakeAccessContextManagerAccessLevels) UpdateStatus

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

func (*FakeAccessContextManagerAccessLevels) Watch

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

type FakeAccessContextManagerAccessPolicies

type FakeAccessContextManagerAccessPolicies struct {
	Fake *FakeAccesscontextmanagerV1beta1
	// contains filtered or unexported fields
}

FakeAccessContextManagerAccessPolicies implements AccessContextManagerAccessPolicyInterface

func (*FakeAccessContextManagerAccessPolicies) Create

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

func (*FakeAccessContextManagerAccessPolicies) Delete

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

func (*FakeAccessContextManagerAccessPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeAccessContextManagerAccessPolicies) Get

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

func (*FakeAccessContextManagerAccessPolicies) List

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

func (*FakeAccessContextManagerAccessPolicies) Patch

Patch applies the patch and returns the patched accessContextManagerAccessPolicy.

func (*FakeAccessContextManagerAccessPolicies) Update

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

func (*FakeAccessContextManagerAccessPolicies) UpdateStatus

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

func (*FakeAccessContextManagerAccessPolicies) Watch

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

type FakeAccessContextManagerServicePerimeterResources added in v1.114.0

type FakeAccessContextManagerServicePerimeterResources struct {
	Fake *FakeAccesscontextmanagerV1beta1
	// contains filtered or unexported fields
}

FakeAccessContextManagerServicePerimeterResources implements AccessContextManagerServicePerimeterResourceInterface

func (*FakeAccessContextManagerServicePerimeterResources) Create added in v1.114.0

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

func (*FakeAccessContextManagerServicePerimeterResources) Delete added in v1.114.0

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

func (*FakeAccessContextManagerServicePerimeterResources) DeleteCollection added in v1.114.0

DeleteCollection deletes a collection of objects.

func (*FakeAccessContextManagerServicePerimeterResources) Get added in v1.114.0

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

func (*FakeAccessContextManagerServicePerimeterResources) List added in v1.114.0

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

func (*FakeAccessContextManagerServicePerimeterResources) Patch added in v1.114.0

Patch applies the patch and returns the patched accessContextManagerServicePerimeterResource.

func (*FakeAccessContextManagerServicePerimeterResources) Update added in v1.114.0

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

func (*FakeAccessContextManagerServicePerimeterResources) UpdateStatus added in v1.114.0

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

func (*FakeAccessContextManagerServicePerimeterResources) Watch added in v1.114.0

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

type FakeAccessContextManagerServicePerimeters

type FakeAccessContextManagerServicePerimeters struct {
	Fake *FakeAccesscontextmanagerV1beta1
	// contains filtered or unexported fields
}

FakeAccessContextManagerServicePerimeters implements AccessContextManagerServicePerimeterInterface

func (*FakeAccessContextManagerServicePerimeters) Create

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

func (*FakeAccessContextManagerServicePerimeters) Delete

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

func (*FakeAccessContextManagerServicePerimeters) DeleteCollection

DeleteCollection deletes a collection of objects.

func (*FakeAccessContextManagerServicePerimeters) Get

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

func (*FakeAccessContextManagerServicePerimeters) List

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

func (*FakeAccessContextManagerServicePerimeters) Patch

Patch applies the patch and returns the patched accessContextManagerServicePerimeter.

func (*FakeAccessContextManagerServicePerimeters) Update

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

func (*FakeAccessContextManagerServicePerimeters) UpdateStatus

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

func (*FakeAccessContextManagerServicePerimeters) Watch

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

type FakeAccesscontextmanagerV1beta1

type FakeAccesscontextmanagerV1beta1 struct {
	*testing.Fake
}

func (*FakeAccesscontextmanagerV1beta1) AccessContextManagerAccessLevels

func (c *FakeAccesscontextmanagerV1beta1) AccessContextManagerAccessLevels(namespace string) v1beta1.AccessContextManagerAccessLevelInterface

func (*FakeAccesscontextmanagerV1beta1) AccessContextManagerAccessPolicies

func (c *FakeAccesscontextmanagerV1beta1) AccessContextManagerAccessPolicies(namespace string) v1beta1.AccessContextManagerAccessPolicyInterface

func (*FakeAccesscontextmanagerV1beta1) AccessContextManagerServicePerimeterResources added in v1.114.0

func (c *FakeAccesscontextmanagerV1beta1) AccessContextManagerServicePerimeterResources(namespace string) v1beta1.AccessContextManagerServicePerimeterResourceInterface

func (*FakeAccesscontextmanagerV1beta1) AccessContextManagerServicePerimeters

func (c *FakeAccesscontextmanagerV1beta1) AccessContextManagerServicePerimeters(namespace string) v1beta1.AccessContextManagerServicePerimeterInterface

func (*FakeAccesscontextmanagerV1beta1) RESTClient

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