dashboards

package
v0.0.0-testrgm3 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileStore

type FileStore interface {
	// ListPluginDashboardFiles lists plugin dashboard files.
	ListPluginDashboardFiles(ctx context.Context, args *ListPluginDashboardFilesArgs) (*ListPluginDashboardFilesResult, error)
	// GetPluginDashboardFileContents gets the referenced plugin dashboard file content.
	GetPluginDashboardFileContents(ctx context.Context, args *GetPluginDashboardFileContentsArgs) (*GetPluginDashboardFileContentsResult, error)
}

FileStore is the interface for plugin dashboard file storage.

type FileStoreManager

type FileStoreManager struct {
	// contains filtered or unexported fields
}

func ProvideFileStoreManager

func ProvideFileStoreManager(pluginStore plugins.Store, pluginFileStore plugins.FileStore) *FileStoreManager

func (*FileStoreManager) ListPluginDashboardFiles

type GetPluginDashboardFileContentsArgs

type GetPluginDashboardFileContentsArgs struct {
	PluginID      string
	FileReference string
}

GetPluginDashboardFileContentsArgs get plugin dashboard file content argument model.

type GetPluginDashboardFileContentsResult

type GetPluginDashboardFileContentsResult struct {
	Content []byte
}

GetPluginDashboardFileContentsResult get plugin dashboard file content result model.

type ListPluginDashboardFilesArgs

type ListPluginDashboardFilesArgs struct {
	PluginID string
}

ListPluginDashboardFilesArgs list plugin dashboard files argument model.

type ListPluginDashboardFilesResult

type ListPluginDashboardFilesResult struct {
	FileReferences []string
}

ListPluginDashboardFilesResult list plugin dashboard files result model.

Jump to

Keyboard shortcuts

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