Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Data ¶
type Data struct { ResultType ResultType `json:"resultType"` Result []interface{} `json:"result"` }
type MatrixResult ¶
type ResultType ¶
type ResultType string
var MatrixResultType ResultType = "matrix"
var ScalarResultType ResultType = "scalar"
var StringResultType ResultType = "string"
var VectorResultType ResultType = "vector"
type ScalarResult ¶
type ScalarResult Value
type StringResult ¶
type StringResult Value
type TLSConfig ¶
type TLSConfig struct { // Path to CA certificate to validate API server certificate with. // CAFile string // Certificate and key files for client cert authentication to the server. // CertFile string // KeyFile string InsecureSkipVerify bool `mapstructure:"insecure-skip-verify"` }
type VectorResult ¶
Click to show internal directories.
Click to hide internal directories.