Help us shape the future of Go! Take the 2026 Go Developer Survey

common

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2023 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package common contains types and helper functions that are used across the different packages under internal/server/controller.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthTokenRepoFactory

type AuthTokenRepoFactory = oidc.AuthTokenRepoFactory

type ConnectionRepoFactory

type ConnectionRepoFactory func() (*session.ConnectionRepository, error)

type Downstreamers added in v0.12.0

type Downstreamers interface {
	// RootId returns the root ID of the downstreamers' graph
	RootId() string
}

Downstreamers provides at least a minimum interface that must be met by a Controller.downstreamWorkers field which is far better than allowing any (empty interface)

type IamRepoFactory

type IamRepoFactory = iam.IamRepoFactory

type LdapAuthRepoFactory added in v0.13.0

type LdapAuthRepoFactory = ldap.RepoFactory

type OidcAuthRepoFactory

type OidcAuthRepoFactory = oidc.OidcRepoFactory

type PasswordAuthRepoFactory

type PasswordAuthRepoFactory func() (*password.Repository, error)

type PluginHostRepoFactory

type PluginHostRepoFactory func() (*pluginhost.Repository, error)

type PluginRepoFactory added in v0.13.0

type PluginRepoFactory func() (*plugin.Repository, error)

type PluginStorageBucketRepoFactory added in v0.13.0

type PluginStorageBucketRepoFactory func() (*pluginstorage.Repository, error)

type ServersRepoFactory

type ServersRepoFactory func() (*server.Repository, error)

type StaticCredentialRepoFactory

type StaticCredentialRepoFactory = func() (*credstatic.Repository, error)

type StaticRepoFactory

type StaticRepoFactory func() (*static.Repository, error)

type VaultCredentialRepoFactory

type VaultCredentialRepoFactory = func() (*vault.Repository, error)

type WorkerAuthRepoStorageFactory

type WorkerAuthRepoStorageFactory func() (*server.WorkerAuthRepositoryStorage, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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