indexer

package
v2.6.1 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AtlasStreamInstanceByConnectionIndex = "atlasstreaminstance.spec.connectionRegistry"
	AtlasStreamInstanceByProjectIndex    = "atlasstreaminstance.spec.projectRef"
)
View Source
const (
	AtlasBackupScheduleByBackupPolicyIndex = "atlasbackupschedule.spec.policyRef"
)
View Source
const (
	AtlasCustomRoleByProject = "atlascustomrole.spec.projectRef,externalProjectID"
)
View Source
const (
	AtlasCustomRoleCredentialsIndex = "atlascustomrole.credentials"
)
View Source
const (
	AtlasDataFederationByProject = "atlasdatafederation.spec.project"
)
View Source
const (
	AtlasDatabaseUserByProject = "atlasdatabaseuser.spec.projectRef,externalProjectID"
)
View Source
const (
	AtlasDatabaseUserBySecretsIndex = "atlasdatabaseuser.spec.passwordSecret"
)
View Source
const (
	AtlasDatabaseUserCredentialsIndex = "atlasdatabaseuser.credentials"
)
View Source
const (
	AtlasDeploymentByBackupScheduleIndex = "atlasdeployment.spec.backupScheduleRef"
)
View Source
const (
	AtlasDeploymentBySearchIndexIndex = "atlasdeployment.spec.deploymentSpec.searchIndexes"
)
View Source
const (
	AtlasDeploymentCredentialsIndex = "atlasdeployment.credentials"
)
View Source
const (
	AtlasFederatedAuthBySecretsIndex = "atlasfederatedauth.spec.connectionSecret"
)
View Source
const (
	AtlasPrivateEndpointByProjectIndex = "atlasprivateendpoint.spec.projectRef"
)
View Source
const (
	AtlasPrivateEndpointCredentialsIndex = "atlasprivateendpoint.credentials"
)
View Source
const (
	AtlasProjectByBackupCompliancePolicyIndex = "atlasproject.spec.backupCompliancePolicyRef"
)
View Source
const (
	AtlasProjectBySecretsIndex = "atlasproject.spec.secrets"
)
View Source
const (
	AtlasProjectByTeamIndex = "atlasproject.spec.teams"
)
View Source
const AtlasStreamConnectionBySecretIndex = "atlasstreamconnection.spec.kafkaConfig"

nolint:gosec,stylecheck

Variables

This section is empty.

Functions

func CredentialsIndexMapperFunc

func CredentialsIndexMapperFunc[L client.ObjectList](indexerName string, listGenFn func() L, reqsFn requestsFunc[L], kubeClient client.Client, logger *zap.SugaredLogger) handler.MapFunc

func CustomRoleRequests

func CustomRoleRequests(list *akov2.AtlasCustomRoleList) []reconcile.Request

func DatabaseUserRequests

func DatabaseUserRequests(list *akov2.AtlasDatabaseUserList) []reconcile.Request

func DeploymentRequests

func DeploymentRequests(list *akov2.AtlasDeploymentList) []reconcile.Request

func PrivateEndpointRequests

func PrivateEndpointRequests(list *akov2.AtlasPrivateEndpointList) []reconcile.Request

func Register

func Register(ctx context.Context, mgr manager.Manager, indexers ...Indexer) error

Register registers the given indexers to the given manager's field indexer.

func RegisterAll

func RegisterAll(ctx context.Context, mgr manager.Manager, logger *zap.Logger) error

RegisterAll registers all known indexers to the given manager. It uses the given logger to create a new named "indexer" logger, passing that to each indexer.

Types

type AtlasBackupScheduleByBackupPolicyIndexer

type AtlasBackupScheduleByBackupPolicyIndexer struct {
	// contains filtered or unexported fields
}

func NewAtlasBackupScheduleByBackupPolicyIndexer

func NewAtlasBackupScheduleByBackupPolicyIndexer(logger *zap.Logger) *AtlasBackupScheduleByBackupPolicyIndexer

func (*AtlasBackupScheduleByBackupPolicyIndexer) Keys

func (*AtlasBackupScheduleByBackupPolicyIndexer) Name

func (*AtlasBackupScheduleByBackupPolicyIndexer) Object

type AtlasCustomRoleByProjectIndexer

type AtlasCustomRoleByProjectIndexer struct {
	// contains filtered or unexported fields
}

func NewAtlasCustomRoleByProjectIndexer

func NewAtlasCustomRoleByProjectIndexer(logger *zap.Logger) *AtlasCustomRoleByProjectIndexer

func (*AtlasCustomRoleByProjectIndexer) Keys

func (*AtlasCustomRoleByProjectIndexer) Name

func (*AtlasCustomRoleByProjectIndexer) Object

type AtlasDataFederationByProjectIndexer

type AtlasDataFederationByProjectIndexer struct {
	// contains filtered or unexported fields
}

func NewAtlasDataFederationByProjectIndexer

func NewAtlasDataFederationByProjectIndexer(logger *zap.Logger) *AtlasDataFederationByProjectIndexer

func (*AtlasDataFederationByProjectIndexer) Keys

func (*AtlasDataFederationByProjectIndexer) Name

func (*AtlasDataFederationByProjectIndexer) Object

type AtlasDatabaseUserByProjectIndexer

type AtlasDatabaseUserByProjectIndexer struct {
	// contains filtered or unexported fields
}

func NewAtlasDatabaseUserByProjectIndexer

func NewAtlasDatabaseUserByProjectIndexer(ctx context.Context, client client.Client, logger *zap.Logger) *AtlasDatabaseUserByProjectIndexer

func (*AtlasDatabaseUserByProjectIndexer) Keys

func (*AtlasDatabaseUserByProjectIndexer) Name

func (*AtlasDatabaseUserByProjectIndexer) Object

type AtlasDatabaseUserBySecretsIndexer

type AtlasDatabaseUserBySecretsIndexer struct {
	// contains filtered or unexported fields
}

func NewAtlasDatabaseUserBySecretsIndexer

func NewAtlasDatabaseUserBySecretsIndexer(logger *zap.Logger) *AtlasDatabaseUserBySecretsIndexer

func (*AtlasDatabaseUserBySecretsIndexer) Keys

func (*AtlasDatabaseUserBySecretsIndexer) Name

func (*AtlasDatabaseUserBySecretsIndexer) Object

type AtlasDeploymentByBackupScheduleIndexer

type AtlasDeploymentByBackupScheduleIndexer struct {
	// contains filtered or unexported fields
}

func NewAtlasDeploymentByBackupScheduleIndexer

func NewAtlasDeploymentByBackupScheduleIndexer(logger *zap.Logger) *AtlasDeploymentByBackupScheduleIndexer

func (*AtlasDeploymentByBackupScheduleIndexer) Keys

func (*AtlasDeploymentByBackupScheduleIndexer) Name

func (*AtlasDeploymentByBackupScheduleIndexer) Object

type AtlasDeploymentBySearchIndexIndexer

type AtlasDeploymentBySearchIndexIndexer struct {
	// contains filtered or unexported fields
}

func NewAtlasDeploymentBySearchIndexIndexer

func NewAtlasDeploymentBySearchIndexIndexer(logger *zap.Logger) *AtlasDeploymentBySearchIndexIndexer

func (*AtlasDeploymentBySearchIndexIndexer) Keys

func (*AtlasDeploymentBySearchIndexIndexer) Name

func (*AtlasDeploymentBySearchIndexIndexer) Object

type AtlasFederatedAuthBySecretsIndexer

type AtlasFederatedAuthBySecretsIndexer struct {
	// contains filtered or unexported fields
}

func NewAtlasFederatedAuthBySecretsIndexer

func NewAtlasFederatedAuthBySecretsIndexer(logger *zap.Logger) *AtlasFederatedAuthBySecretsIndexer

func (*AtlasFederatedAuthBySecretsIndexer) Keys

func (*AtlasFederatedAuthBySecretsIndexer) Name

func (*AtlasFederatedAuthBySecretsIndexer) Object

type AtlasPrivateEndpointByProjectIndexer

type AtlasPrivateEndpointByProjectIndexer struct {
	// contains filtered or unexported fields
}

func NewAtlasPrivateEndpointByProjectIndexer

func NewAtlasPrivateEndpointByProjectIndexer(logger *zap.Logger) *AtlasPrivateEndpointByProjectIndexer

func (*AtlasPrivateEndpointByProjectIndexer) Keys

func (*AtlasPrivateEndpointByProjectIndexer) Name

func (*AtlasPrivateEndpointByProjectIndexer) Object

type AtlasProjectByBackupCompliancePolicyIndexer

type AtlasProjectByBackupCompliancePolicyIndexer struct {
	// contains filtered or unexported fields
}

func NewAtlasProjectByBackupCompliancePolicyIndexer

func NewAtlasProjectByBackupCompliancePolicyIndexer(logger *zap.Logger) *AtlasProjectByBackupCompliancePolicyIndexer

func (*AtlasProjectByBackupCompliancePolicyIndexer) Keys

func (*AtlasProjectByBackupCompliancePolicyIndexer) Name

func (AtlasProjectByBackupCompliancePolicyIndexer) Object

type AtlasProjectByConnectionSecretIndexer

type AtlasProjectByConnectionSecretIndexer struct {
	// contains filtered or unexported fields
}

func NewAtlasProjectByConnectionSecretIndexer

func NewAtlasProjectByConnectionSecretIndexer(logger *zap.Logger) *AtlasProjectByConnectionSecretIndexer

func (*AtlasProjectByConnectionSecretIndexer) Keys

func (*AtlasProjectByConnectionSecretIndexer) Name

func (AtlasProjectByConnectionSecretIndexer) Object

type AtlasProjectByTeamIndexer

type AtlasProjectByTeamIndexer struct {
	// contains filtered or unexported fields
}

func NewAtlasProjectByTeamIndexer

func NewAtlasProjectByTeamIndexer(logger *zap.Logger) *AtlasProjectByTeamIndexer

func (*AtlasProjectByTeamIndexer) Keys

func (a *AtlasProjectByTeamIndexer) Keys(object client.Object) []string

func (*AtlasProjectByTeamIndexer) Name

func (*AtlasProjectByTeamIndexer) Object

type AtlasStreamConnectionBySecretIndexer

type AtlasStreamConnectionBySecretIndexer struct {
	// contains filtered or unexported fields
}

func NewAtlasStreamConnectionBySecretIndexer

func NewAtlasStreamConnectionBySecretIndexer(logger *zap.Logger) *AtlasStreamConnectionBySecretIndexer

func (*AtlasStreamConnectionBySecretIndexer) Keys

func (*AtlasStreamConnectionBySecretIndexer) Name

func (*AtlasStreamConnectionBySecretIndexer) Object

type AtlasStreamInstanceByConnectionIndexer

type AtlasStreamInstanceByConnectionIndexer struct {
	// contains filtered or unexported fields
}

func NewAtlasStreamInstanceByConnectionIndexer

func NewAtlasStreamInstanceByConnectionIndexer(logger *zap.Logger) *AtlasStreamInstanceByConnectionIndexer

func (*AtlasStreamInstanceByConnectionIndexer) Keys

func (*AtlasStreamInstanceByConnectionIndexer) Name

func (*AtlasStreamInstanceByConnectionIndexer) Object

type AtlasStreamInstanceByProjectIndexer

type AtlasStreamInstanceByProjectIndexer struct {
	// contains filtered or unexported fields
}

func NewAtlasStreamInstanceByProjectIndexer

func NewAtlasStreamInstanceByProjectIndexer(logger *zap.Logger) *AtlasStreamInstanceByProjectIndexer

func (*AtlasStreamInstanceByProjectIndexer) Keys

func (*AtlasStreamInstanceByProjectIndexer) Name

func (*AtlasStreamInstanceByProjectIndexer) Object

type Indexer

type Indexer interface {
	Object() client.Object
	Name() string
	Keys(client.Object) []string
}

type LocalCredentialIndexer

type LocalCredentialIndexer struct {
	// contains filtered or unexported fields
}

func NewAtlasCustomRoleByCredentialIndexer

func NewAtlasCustomRoleByCredentialIndexer(logger *zap.Logger) *LocalCredentialIndexer

func NewAtlasDatabaseUserByCredentialIndexer

func NewAtlasDatabaseUserByCredentialIndexer(logger *zap.Logger) *LocalCredentialIndexer

func NewAtlasDeploymentByCredentialIndexer

func NewAtlasDeploymentByCredentialIndexer(logger *zap.Logger) *LocalCredentialIndexer

func NewAtlasPrivateEndpointByCredentialIndexer

func NewAtlasPrivateEndpointByCredentialIndexer(logger *zap.Logger) *LocalCredentialIndexer

func NewLocalCredentialsIndexer

func NewLocalCredentialsIndexer(name string, obj client.Object, logger *zap.Logger) *LocalCredentialIndexer

func (*LocalCredentialIndexer) Keys

func (lc *LocalCredentialIndexer) Keys(object client.Object) []string

func (*LocalCredentialIndexer) Name

func (lc *LocalCredentialIndexer) Name() string

func (*LocalCredentialIndexer) Object

func (lc *LocalCredentialIndexer) Object() client.Object

Jump to

Keyboard shortcuts

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