Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gateway ¶
type Gateway interface { GetKpiValue(ctx context.Context, request *KpiRequest) (*KpiValue, error) GetDetailedKpiValues(ctx context.Context, request *KpiRequest) (*ListKpiValues, error) }
func NewAdapter ¶
func NewAdapter(client restclient.RestClient, env types.Environment) Gateway
type KpiRequest ¶
type KpiRequest struct { MachineID string KpiType string KpiComponent string FromDate time.Time ToDate time.Time Logger log.Logger }
KPI
type ListKpiValues ¶
type ListKpiValues struct {
KpiValues []KpiValue
}
Click to show internal directories.
Click to hide internal directories.