serviceapi

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Registry

type Registry interface {
	io.Closer

	// CertificateIssuer returns the active CertificateIssuer service.
	CertificateIssuer() (certificateissuer.CertificateIssuer, error)

	// Notification returns the active Notification service.
	Notification() (notification.Notification, error)

	// SystemInformation returns the active SystemInformation service.
	SystemInformation() (systeminformation.SystemInformation, error)

	// IdentityManagement returns the active IdentityManagement service.
	IdentityManagement() (identitymanagement.IdentityManagement, error)

	// KeystoreManagements returns a map of all available KeystoreManagement services,
	// typically keyed by their unique configuration name or provider ID (e.g., "aws-kms").
	KeystoreManagements() (map[string]keystoremanagement.KeystoreManagement, error)

	// KeystoreManagementList returns a slice of all available KeystoreManagement services.
	// This is optimized for scenarios where ordered iteration is preferred over key lookup.
	KeystoreManagementList() ([]keystoremanagement.KeystoreManagement, error)

	// KeyManagements returns a map of all available KeyManagement services,
	// typically keyed by their unique configuration name or provider ID.
	KeyManagements() (map[string]keymanagement.KeyManagement, error)

	// KeyManagementList returns a slice of all available KeyManagement services.
	// This is optimized for scenarios where ordered iteration is preferred over key lookup.
	KeyManagementList() ([]keymanagement.KeyManagement, error)
}

Registry defines the central contract for accessing and managing system services. It embeds io.Closer to facilitate the graceful shutdown of all active subsystems.

Jump to

Keyboard shortcuts

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