provider

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 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