Versions in this module Expand all Collapse all v1 v1.1.4 Sep 7, 2022 Changes in this version + func UserAgent() string + func Version() string + type BaseClient struct + Endpoint string + func New(endpoint string) BaseClient + func NewWithoutDefaults(endpoint string) BaseClient + func (client BaseClient) DetectChangePoint(ctx context.Context, body ChangePointDetectRequest) (result ChangePointDetectResponse, err error) + func (client BaseClient) DetectChangePointPreparer(ctx context.Context, body ChangePointDetectRequest) (*http.Request, error) + func (client BaseClient) DetectChangePointResponder(resp *http.Response) (result ChangePointDetectResponse, err error) + func (client BaseClient) DetectChangePointSender(req *http.Request) (*http.Response, error) + func (client BaseClient) DetectEntireSeries(ctx context.Context, body DetectRequest) (result EntireDetectResponse, err error) + func (client BaseClient) DetectEntireSeriesPreparer(ctx context.Context, body DetectRequest) (*http.Request, error) + func (client BaseClient) DetectEntireSeriesResponder(resp *http.Response) (result EntireDetectResponse, err error) + func (client BaseClient) DetectEntireSeriesSender(req *http.Request) (*http.Response, error) + func (client BaseClient) DetectLastPoint(ctx context.Context, body DetectRequest) (result LastDetectResponse, err error) + func (client BaseClient) DetectLastPointPreparer(ctx context.Context, body DetectRequest) (*http.Request, error) + func (client BaseClient) DetectLastPointResponder(resp *http.Response) (result LastDetectResponse, err error) + func (client BaseClient) DetectLastPointSender(req *http.Request) (*http.Response, error) + type ChangePointDetectRequest struct + CustomInterval *int32 + Granularity TimeGranularity + Period *int32 + Series *[]TimeSeriesPoint + StableTrendWindow *int32 + Threshold *float64 + type ChangePointDetectResponse struct + ConfidenceScores *[]float64 + IsChangePoint *[]bool + Period *int32 + type DetectRequest struct + CustomInterval *int32 + Granularity TimeGranularity + MaxAnomalyRatio *float64 + Period *int32 + Sensitivity *int32 + Series *[]TimeSeriesPoint + type EntireDetectResponse struct + ExpectedValues *[]float64 + IsAnomaly *[]bool + IsNegativeAnomaly *[]bool + IsPositiveAnomaly *[]bool + LowerMargins *[]float64 + Period *int32 + UpperMargins *[]float64 + type Error struct + Code interface{} + Message *string + type LastDetectResponse struct + ExpectedValue *float64 + IsAnomaly *bool + IsNegativeAnomaly *bool + IsPositiveAnomaly *bool + LowerMargin *float64 + Period *int32 + SuggestedWindow *int32 + UpperMargin *float64 + type TimeGranularity string + const Daily + const Hourly + const Monthly + const PerMinute + const PerSecond + const Weekly + const Yearly + func PossibleTimeGranularityValues() []TimeGranularity + type TimeSeriesPoint struct + Timestamp *date.Time + Value *float64