Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶ added in v0.10.0
type Config struct {
Integrations Integrations `json:"integrations"`
}
Config is the configuration for the resources API. At the moment it allows users to configure integration, which can be used to set a list of default dashboards which should be added to a resource. This is the same as the "kobs.io/dashboards" annotation, but allows to set a list of dashboards for all resources of a certain type which are matching the specified labels.
type Dashboard ¶ added in v0.10.0
type Dashboard struct { Resource string `json:"resource"` Labels map[string]string `json:"labels"` Dashboard dashboardv1.Reference `json:"dashboard"` }
type Integrations ¶ added in v0.10.0
type Integrations struct {
Dashboards []Dashboard `json:"dashboards"`
}
type ResourceList ¶
type ResourceResponse ¶
type ResourceResponse struct { Resource shared.Resource `json:"resource"` ResourceLists []ResourceList `json:"resourceLists"` Errors []string `json:"errors"` Integrations Integrations `json:"integrations"` }
Click to show internal directories.
Click to hide internal directories.