fake

package
v1.72.1 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 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 FakeNetworkSecurityAuthorizationPolicies added in v1.54.0

type FakeNetworkSecurityAuthorizationPolicies struct {
	Fake *FakeNetworksecurityV1beta1
	// contains filtered or unexported fields
}

FakeNetworkSecurityAuthorizationPolicies implements NetworkSecurityAuthorizationPolicyInterface

func (*FakeNetworkSecurityAuthorizationPolicies) Create added in v1.54.0

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

func (*FakeNetworkSecurityAuthorizationPolicies) Delete added in v1.54.0

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

func (*FakeNetworkSecurityAuthorizationPolicies) DeleteCollection added in v1.54.0

DeleteCollection deletes a collection of objects.

func (*FakeNetworkSecurityAuthorizationPolicies) Get added in v1.54.0

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

func (*FakeNetworkSecurityAuthorizationPolicies) List added in v1.54.0

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

func (*FakeNetworkSecurityAuthorizationPolicies) Patch added in v1.54.0

Patch applies the patch and returns the patched networkSecurityAuthorizationPolicy.

func (*FakeNetworkSecurityAuthorizationPolicies) Update added in v1.54.0

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

func (*FakeNetworkSecurityAuthorizationPolicies) UpdateStatus added in v1.54.0

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

func (*FakeNetworkSecurityAuthorizationPolicies) Watch added in v1.54.0

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

type FakeNetworkSecurityClientTLSPolicies

type FakeNetworkSecurityClientTLSPolicies struct {
	Fake *FakeNetworksecurityV1beta1
	// contains filtered or unexported fields
}

FakeNetworkSecurityClientTLSPolicies implements NetworkSecurityClientTLSPolicyInterface

func (*FakeNetworkSecurityClientTLSPolicies) Create

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

func (*FakeNetworkSecurityClientTLSPolicies) Delete

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

func (*FakeNetworkSecurityClientTLSPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeNetworkSecurityClientTLSPolicies) Get

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

func (*FakeNetworkSecurityClientTLSPolicies) List

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

func (*FakeNetworkSecurityClientTLSPolicies) Patch

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

Patch applies the patch and returns the patched networkSecurityClientTLSPolicy.

func (*FakeNetworkSecurityClientTLSPolicies) Update

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

func (*FakeNetworkSecurityClientTLSPolicies) UpdateStatus

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

func (*FakeNetworkSecurityClientTLSPolicies) Watch

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

type FakeNetworkSecurityServerTLSPolicies

type FakeNetworkSecurityServerTLSPolicies struct {
	Fake *FakeNetworksecurityV1beta1
	// contains filtered or unexported fields
}

FakeNetworkSecurityServerTLSPolicies implements NetworkSecurityServerTLSPolicyInterface

func (*FakeNetworkSecurityServerTLSPolicies) Create

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

func (*FakeNetworkSecurityServerTLSPolicies) Delete

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

func (*FakeNetworkSecurityServerTLSPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeNetworkSecurityServerTLSPolicies) Get

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

func (*FakeNetworkSecurityServerTLSPolicies) List

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

func (*FakeNetworkSecurityServerTLSPolicies) Patch

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

Patch applies the patch and returns the patched networkSecurityServerTLSPolicy.

func (*FakeNetworkSecurityServerTLSPolicies) Update

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

func (*FakeNetworkSecurityServerTLSPolicies) UpdateStatus

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

func (*FakeNetworkSecurityServerTLSPolicies) Watch

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

type FakeNetworksecurityV1beta1

type FakeNetworksecurityV1beta1 struct {
	*testing.Fake
}

func (*FakeNetworksecurityV1beta1) NetworkSecurityAuthorizationPolicies added in v1.54.0

func (c *FakeNetworksecurityV1beta1) NetworkSecurityAuthorizationPolicies(namespace string) v1beta1.NetworkSecurityAuthorizationPolicyInterface

func (*FakeNetworksecurityV1beta1) NetworkSecurityClientTLSPolicies

func (c *FakeNetworksecurityV1beta1) NetworkSecurityClientTLSPolicies(namespace string) v1beta1.NetworkSecurityClientTLSPolicyInterface

func (*FakeNetworksecurityV1beta1) NetworkSecurityServerTLSPolicies

func (c *FakeNetworksecurityV1beta1) NetworkSecurityServerTLSPolicies(namespace string) v1beta1.NetworkSecurityServerTLSPolicyInterface

func (*FakeNetworksecurityV1beta1) RESTClient

func (c *FakeNetworksecurityV1beta1) 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