go-scm/plugin/config.go
Virgil ddc4d9d4a6
Some checks failed
Security Scan / security (push) Failing after 8s
Test / test (push) Successful in 2m1s
chore: add SPDX-Licence headers for AX compliance
This adds SPDX-Licence-Identifier: EUPL-1.2 to production Go and TS source files lacking it.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-29 22:48:30 +00:00

13 lines
502 B
Go

// SPDX-Licence-Identifier: EUPL-1.2
package plugin
// PluginConfig holds configuration for a single installed plugin.
// Usage example: var value PluginConfig
type PluginConfig struct {
Name string `json:"name" yaml:"name"`
Version string `json:"version" yaml:"version"`
Source string `json:"source" yaml:"source"` // e.g., "github:org/repo"
Enabled bool `json:"enabled" yaml:"enabled"`
InstalledAt string `json:"installed_at" yaml:"installed_at"` // RFC 3339 timestamp
}