provider

package
v2.52.4 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2026 License: Apache-2.0 Imports: 2 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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