app

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 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 Provider

type Provider interface {
	GetIFrame(ctx context.Context, resID *provider.Reference, token string) (string, error)
}

Provider is the interface that application providers implement for providing the iframe location to a iframe UI Provider

type ProviderInfo

type ProviderInfo struct {
	Location string
}

ProviderInfo contains the information about a Application Provider

type Registry

type Registry interface {
	FindProvider(ctx context.Context, mimeType string) (*ProviderInfo, error)
	ListProviders(ctx context.Context) ([]*ProviderInfo, error)
}

Registry is the interface that application registries implement for discovering application providers

Directories

Path Synopsis
provider
registry

Jump to

Keyboard shortcuts

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