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

provider

package
v2.52.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authorizer

type Authorizer interface {
	// GetInfoByDomain returns the information of the provider identified by a specific domain.
	GetInfoByDomain(ctx context.Context, domain string) (*ocmprovider.ProviderInfo, error)

	// IsProviderAllowed checks if a given system provider is integrated into the OCM or not.
	IsProviderAllowed(ctx context.Context, provider *ocmprovider.ProviderInfo) error

	// ListAllProviders returns the information of all the providers registered in the mesh.
	ListAllProviders(ctx context.Context) ([]*ocmprovider.ProviderInfo, error)
}

Authorizer provides provisions to verify and add sync'n'share system providers.

Directories

Path Synopsis
authorizer

Jump to

Keyboard shortcuts

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