Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Deprecated. Use github.com/perses/spec/go/plugin/plugin.LatestVersion instead LatestVersion = "latest" // Deprecated. Use github.com/perses/spec/go/plugin/plugin.DefaultRegistry instead DefaultRegistry = "perses.dev" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Kind ¶
type Kind string
Deprecated. Use github.com/perses/spec/go/module/module.Kind instead
const ( KindVariable Kind = "Variable" KindDatasource Kind = "Datasource" KindPanel Kind = "Panel" KindTimeSeriesQuery Kind = "TimeSeriesQuery" KindTraceQuery Kind = "TraceQuery" KindProfileQuery Kind = "ProfileQuery" KindLogQuery Kind = "LogQuery" KindQuery Kind = "Query" KindAlertsQuery Kind = "AlertsQuery" KindSilencesQuery Kind = "SilencesQuery" KindExplore Kind = "Explore" KindAnnotation Kind = "Annotation" )
type ModuleMetadata ¶
type ModuleMetadata struct {
Name string `json:"name" yaml:"name"`
Version string `json:"version" yaml:"version"`
Registry string `json:"registry" yaml:"registry"`
}
Deprecated. Use github.com/perses/spec/go/module/module.Metadata instead
type ModuleSpec ¶
type ModuleSpec struct {
SchemasPath string `json:"schemasPath" yaml:"schemasPath"`
ModuleName string `json:"moduleName,omitempty" yaml:"moduleName,omitempty"`
ModuleOrg string `json:"moduleOrg,omitempty" yaml:"moduleOrg,omitempty"`
Plugins []Plugin `json:"plugins" yaml:"plugins"`
}
Deprecated. Use github.com/perses/spec/go/module/module.Spec instead
func (*ModuleSpec) UnmarshalJSON ¶
func (m *ModuleSpec) UnmarshalJSON(data []byte) error
func (*ModuleSpec) UnmarshalYAML ¶
func (m *ModuleSpec) UnmarshalYAML(unmarshal func(any) error) error
type ModuleStatus ¶
type ModuleStatus struct {
IsLoaded bool `json:"isLoaded" yaml:"isLoaded"`
InDev bool `json:"inDev" yaml:"inDev"`
Error string `json:"error,omitempty" yaml:"error,omitempty"`
}
Deprecated. Use github.com/perses/spec/go/module/module.Status instead
type Plugin ¶
Deprecated. Use github.com/perses/spec/go/module/module.Plugin instead
func (*Plugin) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.