fake

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2021 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 FakeActiveDirectoryIdentityProviders added in v0.11.0

type FakeActiveDirectoryIdentityProviders struct {
	Fake *FakeIDPV1alpha1
	// contains filtered or unexported fields
}

FakeActiveDirectoryIdentityProviders implements ActiveDirectoryIdentityProviderInterface

func (*FakeActiveDirectoryIdentityProviders) Create added in v0.11.0

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

func (*FakeActiveDirectoryIdentityProviders) Delete added in v0.11.0

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

func (*FakeActiveDirectoryIdentityProviders) DeleteCollection added in v0.11.0

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

DeleteCollection deletes a collection of objects.

func (*FakeActiveDirectoryIdentityProviders) Get added in v0.11.0

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

func (*FakeActiveDirectoryIdentityProviders) List added in v0.11.0

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

func (*FakeActiveDirectoryIdentityProviders) Patch added in v0.11.0

Patch applies the patch and returns the patched activeDirectoryIdentityProvider.

func (*FakeActiveDirectoryIdentityProviders) Update added in v0.11.0

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

func (*FakeActiveDirectoryIdentityProviders) UpdateStatus added in v0.11.0

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

func (*FakeActiveDirectoryIdentityProviders) Watch added in v0.11.0

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

type FakeIDPV1alpha1

type FakeIDPV1alpha1 struct {
	*testing.Fake
}

func (*FakeIDPV1alpha1) ActiveDirectoryIdentityProviders added in v0.11.0

func (c *FakeIDPV1alpha1) ActiveDirectoryIdentityProviders(namespace string) v1alpha1.ActiveDirectoryIdentityProviderInterface

func (*FakeIDPV1alpha1) LDAPIdentityProviders added in v0.9.0

func (c *FakeIDPV1alpha1) LDAPIdentityProviders(namespace string) v1alpha1.LDAPIdentityProviderInterface

func (*FakeIDPV1alpha1) OIDCIdentityProviders

func (c *FakeIDPV1alpha1) OIDCIdentityProviders(namespace string) v1alpha1.OIDCIdentityProviderInterface

func (*FakeIDPV1alpha1) RESTClient

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

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

type FakeLDAPIdentityProviders added in v0.9.0

type FakeLDAPIdentityProviders struct {
	Fake *FakeIDPV1alpha1
	// contains filtered or unexported fields
}

FakeLDAPIdentityProviders implements LDAPIdentityProviderInterface

func (*FakeLDAPIdentityProviders) Create added in v0.9.0

func (c *FakeLDAPIdentityProviders) Create(ctx context.Context, lDAPIdentityProvider *v1alpha1.LDAPIdentityProvider, opts v1.CreateOptions) (result *v1alpha1.LDAPIdentityProvider, err error)

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

func (*FakeLDAPIdentityProviders) Delete added in v0.9.0

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

func (*FakeLDAPIdentityProviders) DeleteCollection added in v0.9.0

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

DeleteCollection deletes a collection of objects.

func (*FakeLDAPIdentityProviders) Get added in v0.9.0

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

func (*FakeLDAPIdentityProviders) List added in v0.9.0

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

func (*FakeLDAPIdentityProviders) Patch added in v0.9.0

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

Patch applies the patch and returns the patched lDAPIdentityProvider.

func (*FakeLDAPIdentityProviders) Update added in v0.9.0

func (c *FakeLDAPIdentityProviders) Update(ctx context.Context, lDAPIdentityProvider *v1alpha1.LDAPIdentityProvider, opts v1.UpdateOptions) (result *v1alpha1.LDAPIdentityProvider, err error)

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

func (*FakeLDAPIdentityProviders) UpdateStatus added in v0.9.0

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

func (*FakeLDAPIdentityProviders) Watch added in v0.9.0

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

type FakeOIDCIdentityProviders

type FakeOIDCIdentityProviders struct {
	Fake *FakeIDPV1alpha1
	// contains filtered or unexported fields
}

FakeOIDCIdentityProviders implements OIDCIdentityProviderInterface

func (*FakeOIDCIdentityProviders) Create

func (c *FakeOIDCIdentityProviders) Create(ctx context.Context, oIDCIdentityProvider *v1alpha1.OIDCIdentityProvider, opts v1.CreateOptions) (result *v1alpha1.OIDCIdentityProvider, err error)

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

func (*FakeOIDCIdentityProviders) Delete

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

func (*FakeOIDCIdentityProviders) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeOIDCIdentityProviders) Get

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

func (*FakeOIDCIdentityProviders) List

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

func (*FakeOIDCIdentityProviders) Patch

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

Patch applies the patch and returns the patched oIDCIdentityProvider.

func (*FakeOIDCIdentityProviders) Update

func (c *FakeOIDCIdentityProviders) Update(ctx context.Context, oIDCIdentityProvider *v1alpha1.OIDCIdentityProvider, opts v1.UpdateOptions) (result *v1alpha1.OIDCIdentityProvider, err error)

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

func (*FakeOIDCIdentityProviders) UpdateStatus

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

func (*FakeOIDCIdentityProviders) Watch

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

Jump to

Keyboard shortcuts

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