plugins

package
v0.10.0-preview4 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSCredentialStatus added in v0.10.0

type AWSCredentialStatus struct {
	Available bool     `json:"available"`
	Sources   []string `json:"sources"`
	Error     string   `json:"error,omitempty"`

} // @name AWSCredentialStatus

AWSCredentialStatus is the response for GET /api/v1/plugins/aws/credentials/status. The UI calls that endpoint while a user configures an AWS-based plugin (S3, Glue, and so on) to show whether the Marmot server already has AWS credentials in its environment: it tells the user up front whether "use default credentials" will work or whether they need to enter keys. The check itself is pluginsdk.DetectAWSCredentials, which walks the same credential chain the AWS plugins use when they connect. This local struct exists so the API response schema is owned here; the SDK type can change shape without silently changing our API.

type Handler

type Handler struct{}

func NewHandler

func NewHandler() *Handler

func (*Handler) Routes

func (h *Handler) Routes() []common.Route

type ListPluginsResponse added in v0.10.0

type ListPluginsResponse struct {
	Plugins []pluginsdk.Meta `json:"plugins"`
	Loading bool             `json:"loading"`

} // @name ListPluginsResponse

ListPluginsResponse wraps the registered plugin list with a Loading flag so the UI can render a "plugins still loading" banner while server startup finishes registering them, instead of a misleading "no plugins available" state.

Jump to

Keyboard shortcuts

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