Skip to content

feat: added alertmanager client package #31

feat: added alertmanager client package

feat: added alertmanager client package #31

Triggered via push January 4, 2024 08:57
Status Failure
Total duration 3m 27s
Artifacts

on-pr.yaml

on: push
Run go tests
23s
Run go tests
Lint bash code with shellcheck
7s
Lint bash code with shellcheck
Lint golang code
13s
Lint golang code
Check docs for incorrect links
7s
Check docs for incorrect links
Build image and scan it against known vulnerabilities
1m 28s
Build image and scan it against known vulnerabilities
Matrix: End-to-End test with kured with code and manifests from HEAD (concurrent)
Matrix: End-to-End test with kured with code and manifests from HEAD
Fit to window
Zoom out
Zoom in

Annotations

16 errors
Lint golang code: pkg/alerts/alertmanager/client.go#L21
comment on exported function New should be of the form "New ..."
Lint golang code: pkg/alerts/alertmanager/client.go#L40
comment on exported method AlertManagerClient.Silences should be of the form "Silences ..."
Lint golang code: pkg/alerts/alertmanager/client.go#L48
method BuildUrl should be BuildURL
Lint golang code: pkg/alerts/alertmanager/client.go#L83
method BuildUrl should be BuildURL
Lint golang code: pkg/alerts/alertmanager/types.go#L9
exported var SilenceStates should have comment or be unexported
Lint golang code: pkg/alerts/alertmanager/types.go#L13
type name will be used as alertmanager.AlertManagerClient by other packages, and that stutters; consider calling this Client
Lint golang code: pkg/alerts/alertmanager/types.go#L15
struct field HostUrl should be HostURL
Lint golang code: pkg/alerts/alertmanager/types.go#L19
exported type StatusEndpoint should have comment or be unexported
Lint golang code: pkg/alerts/alertmanager/types.go#L21
struct field FullUrl should be FullURL
Lint golang code: pkg/alerts/alertmanager/types.go#L24
exported type SilencesEndpoint should have comment or be unexported
End-to-End test with kured with code and manifests from HEAD (concurrent) (1.29)
Process completed with exit code 1.
End-to-End test with kured with code and manifests from HEAD (1.29)
Process completed with exit code 1.
End-to-End test with kured with code and manifests from HEAD (concurrent) (1.28)
Process completed with exit code 1.
End-to-End test with kured with code and manifests from HEAD (1.28)
Process completed with exit code 1.
End-to-End test with kured with code and manifests from HEAD (1.27)
Process completed with exit code 1.
End-to-End test with kured with code and manifests from HEAD (concurrent) (1.27)
Process completed with exit code 1.