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.
Click to show internal directories.
Click to hide internal directories.