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 FakeCognitoV1alpha1

type FakeCognitoV1alpha1 struct {
	*testing.Fake
}

func (*FakeCognitoV1alpha1) IdentityPoolProviderPrincipalTags added in v0.5.0

func (c *FakeCognitoV1alpha1) IdentityPoolProviderPrincipalTags(namespace string) v1alpha1.IdentityPoolProviderPrincipalTagInterface

func (*FakeCognitoV1alpha1) IdentityPoolRolesAttachments

func (c *FakeCognitoV1alpha1) IdentityPoolRolesAttachments(namespace string) v1alpha1.IdentityPoolRolesAttachmentInterface

func (*FakeCognitoV1alpha1) IdentityPools

func (c *FakeCognitoV1alpha1) IdentityPools(namespace string) v1alpha1.IdentityPoolInterface

func (*FakeCognitoV1alpha1) IdentityProviders

func (c *FakeCognitoV1alpha1) IdentityProviders(namespace string) v1alpha1.IdentityProviderInterface

func (*FakeCognitoV1alpha1) RESTClient

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

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

func (*FakeCognitoV1alpha1) ResourceServers

func (c *FakeCognitoV1alpha1) ResourceServers(namespace string) v1alpha1.ResourceServerInterface

func (*FakeCognitoV1alpha1) UserGroups

func (c *FakeCognitoV1alpha1) UserGroups(namespace string) v1alpha1.UserGroupInterface

func (*FakeCognitoV1alpha1) UserPoolClients

func (c *FakeCognitoV1alpha1) UserPoolClients(namespace string) v1alpha1.UserPoolClientInterface

func (*FakeCognitoV1alpha1) UserPoolDomains

func (c *FakeCognitoV1alpha1) UserPoolDomains(namespace string) v1alpha1.UserPoolDomainInterface

func (*FakeCognitoV1alpha1) UserPoolUiCustomizations

func (c *FakeCognitoV1alpha1) UserPoolUiCustomizations(namespace string) v1alpha1.UserPoolUiCustomizationInterface

func (*FakeCognitoV1alpha1) UserPools

func (c *FakeCognitoV1alpha1) UserPools(namespace string) v1alpha1.UserPoolInterface

func (*FakeCognitoV1alpha1) Users added in v0.5.0

func (c *FakeCognitoV1alpha1) Users(namespace string) v1alpha1.UserInterface

type FakeIdentityPoolProviderPrincipalTags added in v0.5.0

type FakeIdentityPoolProviderPrincipalTags struct {
	Fake *FakeCognitoV1alpha1
	// contains filtered or unexported fields
}

FakeIdentityPoolProviderPrincipalTags implements IdentityPoolProviderPrincipalTagInterface

func (*FakeIdentityPoolProviderPrincipalTags) Create added in v0.5.0

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

func (*FakeIdentityPoolProviderPrincipalTags) Delete added in v0.5.0

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

func (*FakeIdentityPoolProviderPrincipalTags) DeleteCollection added in v0.5.0

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

DeleteCollection deletes a collection of objects.

func (*FakeIdentityPoolProviderPrincipalTags) Get added in v0.5.0

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

func (*FakeIdentityPoolProviderPrincipalTags) List added in v0.5.0

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

func (*FakeIdentityPoolProviderPrincipalTags) Patch added in v0.5.0

Patch applies the patch and returns the patched identityPoolProviderPrincipalTag.

func (*FakeIdentityPoolProviderPrincipalTags) Update added in v0.5.0

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

func (*FakeIdentityPoolProviderPrincipalTags) UpdateStatus added in v0.5.0

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

func (*FakeIdentityPoolProviderPrincipalTags) Watch added in v0.5.0

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

type FakeIdentityPoolRolesAttachments

type FakeIdentityPoolRolesAttachments struct {
	Fake *FakeCognitoV1alpha1
	// contains filtered or unexported fields
}

FakeIdentityPoolRolesAttachments implements IdentityPoolRolesAttachmentInterface

func (*FakeIdentityPoolRolesAttachments) Create

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

func (*FakeIdentityPoolRolesAttachments) Delete

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

func (*FakeIdentityPoolRolesAttachments) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeIdentityPoolRolesAttachments) Get

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

func (*FakeIdentityPoolRolesAttachments) List

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

func (*FakeIdentityPoolRolesAttachments) Patch

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

Patch applies the patch and returns the patched identityPoolRolesAttachment.

func (*FakeIdentityPoolRolesAttachments) Update

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

func (*FakeIdentityPoolRolesAttachments) UpdateStatus

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

func (*FakeIdentityPoolRolesAttachments) Watch

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

type FakeIdentityPools

type FakeIdentityPools struct {
	Fake *FakeCognitoV1alpha1
	// contains filtered or unexported fields
}

FakeIdentityPools implements IdentityPoolInterface

func (*FakeIdentityPools) Create

func (c *FakeIdentityPools) Create(ctx context.Context, identityPool *v1alpha1.IdentityPool, opts v1.CreateOptions) (result *v1alpha1.IdentityPool, err error)

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

func (*FakeIdentityPools) Delete

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

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

func (*FakeIdentityPools) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeIdentityPools) Get

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

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

func (*FakeIdentityPools) List

func (c *FakeIdentityPools) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.IdentityPoolList, err error)

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

func (*FakeIdentityPools) Patch

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

Patch applies the patch and returns the patched identityPool.

func (*FakeIdentityPools) Update

func (c *FakeIdentityPools) Update(ctx context.Context, identityPool *v1alpha1.IdentityPool, opts v1.UpdateOptions) (result *v1alpha1.IdentityPool, err error)

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

func (*FakeIdentityPools) UpdateStatus

func (c *FakeIdentityPools) UpdateStatus(ctx context.Context, identityPool *v1alpha1.IdentityPool, opts v1.UpdateOptions) (*v1alpha1.IdentityPool, error)

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

func (*FakeIdentityPools) Watch

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

type FakeIdentityProviders

type FakeIdentityProviders struct {
	Fake *FakeCognitoV1alpha1
	// contains filtered or unexported fields
}

FakeIdentityProviders implements IdentityProviderInterface

func (*FakeIdentityProviders) Create

func (c *FakeIdentityProviders) Create(ctx context.Context, identityProvider *v1alpha1.IdentityProvider, opts v1.CreateOptions) (result *v1alpha1.IdentityProvider, err error)

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

func (*FakeIdentityProviders) Delete

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

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

func (*FakeIdentityProviders) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeIdentityProviders) Get

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

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

func (*FakeIdentityProviders) List

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

func (*FakeIdentityProviders) Patch

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

Patch applies the patch and returns the patched identityProvider.

func (*FakeIdentityProviders) Update

func (c *FakeIdentityProviders) Update(ctx context.Context, identityProvider *v1alpha1.IdentityProvider, opts v1.UpdateOptions) (result *v1alpha1.IdentityProvider, err error)

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

func (*FakeIdentityProviders) UpdateStatus

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

func (*FakeIdentityProviders) Watch

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

type FakeResourceServers

type FakeResourceServers struct {
	Fake *FakeCognitoV1alpha1
	// contains filtered or unexported fields
}

FakeResourceServers implements ResourceServerInterface

func (*FakeResourceServers) Create

func (c *FakeResourceServers) Create(ctx context.Context, resourceServer *v1alpha1.ResourceServer, opts v1.CreateOptions) (result *v1alpha1.ResourceServer, err error)

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

func (*FakeResourceServers) Delete

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

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

func (*FakeResourceServers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeResourceServers) Get

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

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

func (*FakeResourceServers) List

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

func (*FakeResourceServers) Patch

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

Patch applies the patch and returns the patched resourceServer.

func (*FakeResourceServers) Update

func (c *FakeResourceServers) Update(ctx context.Context, resourceServer *v1alpha1.ResourceServer, opts v1.UpdateOptions) (result *v1alpha1.ResourceServer, err error)

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

func (*FakeResourceServers) UpdateStatus

func (c *FakeResourceServers) UpdateStatus(ctx context.Context, resourceServer *v1alpha1.ResourceServer, opts v1.UpdateOptions) (*v1alpha1.ResourceServer, error)

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

func (*FakeResourceServers) Watch

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

type FakeUserGroups

type FakeUserGroups struct {
	Fake *FakeCognitoV1alpha1
	// contains filtered or unexported fields
}

FakeUserGroups implements UserGroupInterface

func (*FakeUserGroups) Create

func (c *FakeUserGroups) Create(ctx context.Context, userGroup *v1alpha1.UserGroup, opts v1.CreateOptions) (result *v1alpha1.UserGroup, err error)

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

func (*FakeUserGroups) Delete

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

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

func (*FakeUserGroups) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeUserGroups) Get

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

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

func (*FakeUserGroups) List

func (c *FakeUserGroups) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.UserGroupList, err error)

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

func (*FakeUserGroups) Patch

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

Patch applies the patch and returns the patched userGroup.

func (*FakeUserGroups) Update

func (c *FakeUserGroups) Update(ctx context.Context, userGroup *v1alpha1.UserGroup, opts v1.UpdateOptions) (result *v1alpha1.UserGroup, err error)

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

func (*FakeUserGroups) UpdateStatus

func (c *FakeUserGroups) UpdateStatus(ctx context.Context, userGroup *v1alpha1.UserGroup, opts v1.UpdateOptions) (*v1alpha1.UserGroup, error)

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

func (*FakeUserGroups) Watch

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

type FakeUserPoolClients

type FakeUserPoolClients struct {
	Fake *FakeCognitoV1alpha1
	// contains filtered or unexported fields
}

FakeUserPoolClients implements UserPoolClientInterface

func (*FakeUserPoolClients) Create

func (c *FakeUserPoolClients) Create(ctx context.Context, userPoolClient *v1alpha1.UserPoolClient, opts v1.CreateOptions) (result *v1alpha1.UserPoolClient, err error)

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

func (*FakeUserPoolClients) Delete

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

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

func (*FakeUserPoolClients) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeUserPoolClients) Get

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

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

func (*FakeUserPoolClients) List

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

func (*FakeUserPoolClients) Patch

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

Patch applies the patch and returns the patched userPoolClient.

func (*FakeUserPoolClients) Update

func (c *FakeUserPoolClients) Update(ctx context.Context, userPoolClient *v1alpha1.UserPoolClient, opts v1.UpdateOptions) (result *v1alpha1.UserPoolClient, err error)

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

func (*FakeUserPoolClients) UpdateStatus

func (c *FakeUserPoolClients) UpdateStatus(ctx context.Context, userPoolClient *v1alpha1.UserPoolClient, opts v1.UpdateOptions) (*v1alpha1.UserPoolClient, error)

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

func (*FakeUserPoolClients) Watch

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

type FakeUserPoolDomains

type FakeUserPoolDomains struct {
	Fake *FakeCognitoV1alpha1
	// contains filtered or unexported fields
}

FakeUserPoolDomains implements UserPoolDomainInterface

func (*FakeUserPoolDomains) Create

func (c *FakeUserPoolDomains) Create(ctx context.Context, userPoolDomain *v1alpha1.UserPoolDomain, opts v1.CreateOptions) (result *v1alpha1.UserPoolDomain, err error)

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

func (*FakeUserPoolDomains) Delete

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

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

func (*FakeUserPoolDomains) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeUserPoolDomains) Get

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

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

func (*FakeUserPoolDomains) List

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

func (*FakeUserPoolDomains) Patch

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

Patch applies the patch and returns the patched userPoolDomain.

func (*FakeUserPoolDomains) Update

func (c *FakeUserPoolDomains) Update(ctx context.Context, userPoolDomain *v1alpha1.UserPoolDomain, opts v1.UpdateOptions) (result *v1alpha1.UserPoolDomain, err error)

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

func (*FakeUserPoolDomains) UpdateStatus

func (c *FakeUserPoolDomains) UpdateStatus(ctx context.Context, userPoolDomain *v1alpha1.UserPoolDomain, opts v1.UpdateOptions) (*v1alpha1.UserPoolDomain, error)

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

func (*FakeUserPoolDomains) Watch

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

type FakeUserPoolUiCustomizations

type FakeUserPoolUiCustomizations struct {
	Fake *FakeCognitoV1alpha1
	// contains filtered or unexported fields
}

FakeUserPoolUiCustomizations implements UserPoolUiCustomizationInterface

func (*FakeUserPoolUiCustomizations) Create

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

func (*FakeUserPoolUiCustomizations) Delete

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

func (*FakeUserPoolUiCustomizations) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeUserPoolUiCustomizations) Get

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

func (*FakeUserPoolUiCustomizations) List

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

func (*FakeUserPoolUiCustomizations) Patch

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

Patch applies the patch and returns the patched userPoolUiCustomization.

func (*FakeUserPoolUiCustomizations) Update

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

func (*FakeUserPoolUiCustomizations) UpdateStatus

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

func (*FakeUserPoolUiCustomizations) Watch

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

type FakeUserPools

type FakeUserPools struct {
	Fake *FakeCognitoV1alpha1
	// contains filtered or unexported fields
}

FakeUserPools implements UserPoolInterface

func (*FakeUserPools) Create

func (c *FakeUserPools) Create(ctx context.Context, userPool *v1alpha1.UserPool, opts v1.CreateOptions) (result *v1alpha1.UserPool, err error)

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

func (*FakeUserPools) Delete

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

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

func (*FakeUserPools) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeUserPools) Get

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

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

func (*FakeUserPools) List

func (c *FakeUserPools) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.UserPoolList, err error)

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

func (*FakeUserPools) Patch

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

Patch applies the patch and returns the patched userPool.

func (*FakeUserPools) Update

func (c *FakeUserPools) Update(ctx context.Context, userPool *v1alpha1.UserPool, opts v1.UpdateOptions) (result *v1alpha1.UserPool, err error)

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

func (*FakeUserPools) UpdateStatus

func (c *FakeUserPools) UpdateStatus(ctx context.Context, userPool *v1alpha1.UserPool, opts v1.UpdateOptions) (*v1alpha1.UserPool, error)

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

func (*FakeUserPools) Watch

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

type FakeUsers added in v0.5.0

type FakeUsers struct {
	Fake *FakeCognitoV1alpha1
	// contains filtered or unexported fields
}

FakeUsers implements UserInterface

func (*FakeUsers) Create added in v0.5.0

func (c *FakeUsers) Create(ctx context.Context, user *v1alpha1.User, opts v1.CreateOptions) (result *v1alpha1.User, err error)

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

func (*FakeUsers) Delete added in v0.5.0

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

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

func (*FakeUsers) DeleteCollection added in v0.5.0

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

DeleteCollection deletes a collection of objects.

func (*FakeUsers) Get added in v0.5.0

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

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

func (*FakeUsers) List added in v0.5.0

func (c *FakeUsers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.UserList, err error)

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

func (*FakeUsers) Patch added in v0.5.0

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

Patch applies the patch and returns the patched user.

func (*FakeUsers) Update added in v0.5.0

func (c *FakeUsers) Update(ctx context.Context, user *v1alpha1.User, opts v1.UpdateOptions) (result *v1alpha1.User, err error)

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

func (*FakeUsers) UpdateStatus added in v0.5.0

func (c *FakeUsers) UpdateStatus(ctx context.Context, user *v1alpha1.User, opts v1.UpdateOptions) (*v1alpha1.User, error)

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

func (*FakeUsers) Watch added in v0.5.0

func (c *FakeUsers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

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

Jump to

Keyboard shortcuts

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