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 FakeIdentityV1alpha1

type FakeIdentityV1alpha1 struct {
	*testing.Fake
}

func (*FakeIdentityV1alpha1) PlatformDefaultSupportedIdpConfigs

func (c *FakeIdentityV1alpha1) PlatformDefaultSupportedIdpConfigs(namespace string) v1alpha1.PlatformDefaultSupportedIdpConfigInterface

func (*FakeIdentityV1alpha1) PlatformInboundSamlConfigs

func (c *FakeIdentityV1alpha1) PlatformInboundSamlConfigs(namespace string) v1alpha1.PlatformInboundSamlConfigInterface

func (*FakeIdentityV1alpha1) PlatformOauthIdpConfigs

func (c *FakeIdentityV1alpha1) PlatformOauthIdpConfigs(namespace string) v1alpha1.PlatformOauthIdpConfigInterface

func (*FakeIdentityV1alpha1) PlatformTenantDefaultSupportedIdpConfigs

func (c *FakeIdentityV1alpha1) PlatformTenantDefaultSupportedIdpConfigs(namespace string) v1alpha1.PlatformTenantDefaultSupportedIdpConfigInterface

func (*FakeIdentityV1alpha1) PlatformTenantInboundSamlConfigs

func (c *FakeIdentityV1alpha1) PlatformTenantInboundSamlConfigs(namespace string) v1alpha1.PlatformTenantInboundSamlConfigInterface

func (*FakeIdentityV1alpha1) PlatformTenantOauthIdpConfigs

func (c *FakeIdentityV1alpha1) PlatformTenantOauthIdpConfigs(namespace string) v1alpha1.PlatformTenantOauthIdpConfigInterface

func (*FakeIdentityV1alpha1) PlatformTenants

func (c *FakeIdentityV1alpha1) PlatformTenants(namespace string) v1alpha1.PlatformTenantInterface

func (*FakeIdentityV1alpha1) RESTClient

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

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

type FakePlatformDefaultSupportedIdpConfigs

type FakePlatformDefaultSupportedIdpConfigs struct {
	Fake *FakeIdentityV1alpha1
	// contains filtered or unexported fields
}

FakePlatformDefaultSupportedIdpConfigs implements PlatformDefaultSupportedIdpConfigInterface

func (*FakePlatformDefaultSupportedIdpConfigs) Create

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

func (*FakePlatformDefaultSupportedIdpConfigs) Delete

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

func (*FakePlatformDefaultSupportedIdpConfigs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakePlatformDefaultSupportedIdpConfigs) Get

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

func (*FakePlatformDefaultSupportedIdpConfigs) List

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

func (*FakePlatformDefaultSupportedIdpConfigs) Patch

Patch applies the patch and returns the patched platformDefaultSupportedIdpConfig.

func (*FakePlatformDefaultSupportedIdpConfigs) Update

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

func (*FakePlatformDefaultSupportedIdpConfigs) UpdateStatus

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

func (*FakePlatformDefaultSupportedIdpConfigs) Watch

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

type FakePlatformInboundSamlConfigs

type FakePlatformInboundSamlConfigs struct {
	Fake *FakeIdentityV1alpha1
	// contains filtered or unexported fields
}

FakePlatformInboundSamlConfigs implements PlatformInboundSamlConfigInterface

func (*FakePlatformInboundSamlConfigs) Create

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

func (*FakePlatformInboundSamlConfigs) Delete

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

func (*FakePlatformInboundSamlConfigs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakePlatformInboundSamlConfigs) Get

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

func (*FakePlatformInboundSamlConfigs) List

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

func (*FakePlatformInboundSamlConfigs) Patch

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

Patch applies the patch and returns the patched platformInboundSamlConfig.

func (*FakePlatformInboundSamlConfigs) Update

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

func (*FakePlatformInboundSamlConfigs) UpdateStatus

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

func (*FakePlatformInboundSamlConfigs) Watch

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

type FakePlatformOauthIdpConfigs

type FakePlatformOauthIdpConfigs struct {
	Fake *FakeIdentityV1alpha1
	// contains filtered or unexported fields
}

FakePlatformOauthIdpConfigs implements PlatformOauthIdpConfigInterface

func (*FakePlatformOauthIdpConfigs) Create

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

func (*FakePlatformOauthIdpConfigs) Delete

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

func (*FakePlatformOauthIdpConfigs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakePlatformOauthIdpConfigs) Get

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

func (*FakePlatformOauthIdpConfigs) List

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

func (*FakePlatformOauthIdpConfigs) Patch

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

Patch applies the patch and returns the patched platformOauthIdpConfig.

func (*FakePlatformOauthIdpConfigs) Update

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

func (*FakePlatformOauthIdpConfigs) UpdateStatus

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

func (*FakePlatformOauthIdpConfigs) Watch

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

type FakePlatformTenantDefaultSupportedIdpConfigs

type FakePlatformTenantDefaultSupportedIdpConfigs struct {
	Fake *FakeIdentityV1alpha1
	// contains filtered or unexported fields
}

FakePlatformTenantDefaultSupportedIdpConfigs implements PlatformTenantDefaultSupportedIdpConfigInterface

func (*FakePlatformTenantDefaultSupportedIdpConfigs) Create

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

func (*FakePlatformTenantDefaultSupportedIdpConfigs) Delete

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

func (*FakePlatformTenantDefaultSupportedIdpConfigs) DeleteCollection

DeleteCollection deletes a collection of objects.

func (*FakePlatformTenantDefaultSupportedIdpConfigs) Get

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

func (*FakePlatformTenantDefaultSupportedIdpConfigs) List

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

func (*FakePlatformTenantDefaultSupportedIdpConfigs) Patch

Patch applies the patch and returns the patched platformTenantDefaultSupportedIdpConfig.

func (*FakePlatformTenantDefaultSupportedIdpConfigs) Update

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

func (*FakePlatformTenantDefaultSupportedIdpConfigs) UpdateStatus

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

func (*FakePlatformTenantDefaultSupportedIdpConfigs) Watch

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

type FakePlatformTenantInboundSamlConfigs

type FakePlatformTenantInboundSamlConfigs struct {
	Fake *FakeIdentityV1alpha1
	// contains filtered or unexported fields
}

FakePlatformTenantInboundSamlConfigs implements PlatformTenantInboundSamlConfigInterface

func (*FakePlatformTenantInboundSamlConfigs) Create

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

func (*FakePlatformTenantInboundSamlConfigs) Delete

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

func (*FakePlatformTenantInboundSamlConfigs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakePlatformTenantInboundSamlConfigs) Get

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

func (*FakePlatformTenantInboundSamlConfigs) List

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

func (*FakePlatformTenantInboundSamlConfigs) Patch

Patch applies the patch and returns the patched platformTenantInboundSamlConfig.

func (*FakePlatformTenantInboundSamlConfigs) Update

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

func (*FakePlatformTenantInboundSamlConfigs) UpdateStatus

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

func (*FakePlatformTenantInboundSamlConfigs) Watch

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

type FakePlatformTenantOauthIdpConfigs

type FakePlatformTenantOauthIdpConfigs struct {
	Fake *FakeIdentityV1alpha1
	// contains filtered or unexported fields
}

FakePlatformTenantOauthIdpConfigs implements PlatformTenantOauthIdpConfigInterface

func (*FakePlatformTenantOauthIdpConfigs) Create

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

func (*FakePlatformTenantOauthIdpConfigs) Delete

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

func (*FakePlatformTenantOauthIdpConfigs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakePlatformTenantOauthIdpConfigs) Get

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

func (*FakePlatformTenantOauthIdpConfigs) List

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

func (*FakePlatformTenantOauthIdpConfigs) Patch

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

Patch applies the patch and returns the patched platformTenantOauthIdpConfig.

func (*FakePlatformTenantOauthIdpConfigs) Update

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

func (*FakePlatformTenantOauthIdpConfigs) UpdateStatus

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

func (*FakePlatformTenantOauthIdpConfigs) Watch

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

type FakePlatformTenants

type FakePlatformTenants struct {
	Fake *FakeIdentityV1alpha1
	// contains filtered or unexported fields
}

FakePlatformTenants implements PlatformTenantInterface

func (*FakePlatformTenants) Create

func (c *FakePlatformTenants) Create(ctx context.Context, platformTenant *v1alpha1.PlatformTenant, opts v1.CreateOptions) (result *v1alpha1.PlatformTenant, err error)

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

func (*FakePlatformTenants) Delete

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

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

func (*FakePlatformTenants) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakePlatformTenants) Get

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

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

func (*FakePlatformTenants) List

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

func (*FakePlatformTenants) Patch

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

Patch applies the patch and returns the patched platformTenant.

func (*FakePlatformTenants) Update

func (c *FakePlatformTenants) Update(ctx context.Context, platformTenant *v1alpha1.PlatformTenant, opts v1.UpdateOptions) (result *v1alpha1.PlatformTenant, err error)

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

func (*FakePlatformTenants) UpdateStatus

func (c *FakePlatformTenants) UpdateStatus(ctx context.Context, platformTenant *v1alpha1.PlatformTenant, opts v1.UpdateOptions) (*v1alpha1.PlatformTenant, error)

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

func (*FakePlatformTenants) Watch

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

Jump to

Keyboard shortcuts

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