common

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2023 License: MPL-2.0 Imports: 10 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 HostPluginRepoFactory

type HostPluginRepoFactory func() (*hostplugin.Repository, error)

type IamRepoFactory

type IamRepoFactory = iam.IamRepoFactory

type OidcAuthRepoFactory

type OidcAuthRepoFactory = oidc.OidcRepoFactory

type PasswordAuthRepoFactory

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

type PluginHostRepoFactory

type PluginHostRepoFactory func() (*pluginhost.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