Documentation ¶
Index ¶
Constants ¶
View Source
const ( AuthTypeUserLogin = "userLogin" AuthTypeToken = "token" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ZabbixDatasourceSettings ¶
type ZabbixDatasourceSettings struct { AuthType string Trends bool TrendsFrom time.Duration TrendsRange time.Duration CacheTTL time.Duration Timeout time.Duration DisableDataAlignment bool `json:"disableDataAlignment"` DisableReadOnlyUsersAck bool `json:"disableReadOnlyUsersAck"` }
ZabbixDatasourceSettings model
func ReadZabbixSettings ¶
func ReadZabbixSettings(dsInstanceSettings *backend.DataSourceInstanceSettings) (*ZabbixDatasourceSettings, error)
type ZabbixDatasourceSettingsDTO ¶
type ZabbixDatasourceSettingsDTO struct { AuthType string `json:"authType"` Trends bool `json:"trends"` TrendsFrom string `json:"trendsFrom"` TrendsRange string `json:"trendsRange"` CacheTTL string `json:"cacheTTL"` Timeout interface{} `json:"timeout"` DisableDataAlignment bool `json:"disableDataAlignment"` DisableReadOnlyUsersAck bool `json:"disableReadOnlyUsersAck"` }
ZabbixDatasourceSettingsDTO model
Click to show internal directories.
Click to hide internal directories.