Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminV1 ¶
type AdminV1 struct {
// contains filtered or unexported fields
}
QueryV1 struct
func NewAdminClient ¶
func NewAdminClient(logger *zap.Logger, uri string, insecure bool, bucket, username, password string) *AdminV1
NewAdminClient returns admin client
func (*AdminV1) CreateBucket ¶
CreateBucket adds a database to influxdb
type QueryInput ¶
type QueryInput struct { Datbase string `json:"db"` Epoch string `json:"epoch"` // ns,u,µ,ms,s,m,h Username string `json:"u"` Password string `json:"p"` Pretty bool `json:"pretty"` Query string `json:"q"` }
QueryInput struct
type QueryResult ¶
type QueryV1 ¶
type QueryV1 struct {
// contains filtered or unexported fields
}
QueryV1 struct
func NewQueryClient ¶
func (*QueryV1) ExecuteQuery ¶
func (qv1 *QueryV1) ExecuteQuery(query *metricType.Query, measurement string) ([]metricType.ResponseData, error)
Click to show internal directories.
Click to hide internal directories.