Skip to content

Commit 720d298

Browse files
authored
Merge pull request #51 from essentialkaos/develop
Version 1.1.0
2 parents 223f0bc + afe6358 commit 720d298

4 files changed

Lines changed: 36 additions & 21 deletions

File tree

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
<p align="center">
44
<a href="https://kaos.sh/g/ycs"><img src=".github/images/godoc.svg"/></a>
5-
<a href="https://kaos.sh/y/ycs"><img src="https://kaos.sh/y/90af1c80265a4597952829f4fcf679c6.svg" alt="Codacy" /></a>
6-
<a href="https://kaos.sh/c/ycs"><img src="https://kaos.sh/c/ycs.svg" alt="Coverage Status" /></a>
7-
<a href="https://kaos.sh/w/ycs/ci"><img src="https://kaos.sh/w/ycs/ci.svg" alt="GitHub Actions CI Status" /></a>
8-
<a href="https://kaos.sh/w/ycs/codeql"><img src="https://kaos.sh/w/ycs/codeql.svg" alt="GitHub Actions CodeQL Status" /></a>
5+
<a href="https://kaos.sh/y/ycs"><img src="https://app.codacy.com/project/badge/Grade/90af1c80265a4597952829f4fcf679c6" alt="Codacy" /></a>
6+
<a href="https://kaos.sh/c/ycs"><img src="https://coveralls.io/repos/github/essentialkaos/ycs/badge.svg" alt="Coverage Status" /></a>
7+
<a href="https://kaos.sh/w/ycs/ci"><img src="https://github.com/essentialkaos/ycs/actions/workflows/ci.yml/badge.svg" alt="GitHub Actions CI Status" /></a>
8+
<a href="https://kaos.sh/w/ycs/codeql"><img src="https://github.com/essentialkaos/ycs/actions/workflows/codeql.yml/badge.svg" alt="GitHub Actions CodeQL Status" /></a>
99
<a href="#license"><img src=".github/images/license.svg"/></a>
1010
</p>
1111

@@ -19,8 +19,8 @@
1919

2020
| Branch | Status |
2121
|--------|----------|
22-
| `master` | [![CI](https://kaos.sh/w/ycs/ci.svg?branch=master)](https://kaos.sh/w/ycs/ci?query=branch:master) |
23-
| `develop` | [![CI](https://kaos.sh/w/ycs/ci.svg?branch=develop)](https://kaos.sh/w/ycs/ci?query=branch:develop) |
22+
| `master` | [![CI](https://github.com/essentialkaos/ycs/actions/workflows/ci.yml/badge.svg?branch=master)](https://kaos.sh/w/ycs/ci?query=branch:master) |
23+
| `develop` | [![CI](https://github.com/essentialkaos/ycs/actions/workflows/ci.yml/badge.svg?branch=develop)](https://kaos.sh/w/ycs/ci?query=branch:develop) |
2424

2525
### Contributing
2626

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
module github.com/essentialkaos/ycs
22

3-
go 1.24.11
3+
go 1.25.0
44

55
require (
66
github.com/essentialkaos/check v1.4.1
7-
github.com/essentialkaos/ek/v13 v13.37.5
7+
github.com/essentialkaos/ek/v14 v14.2.1
88
)
99

1010
require (
1111
github.com/kr/pretty v0.3.1 // indirect
1212
github.com/kr/text v0.2.0 // indirect
1313
github.com/rogpeppe/go-internal v1.14.1 // indirect
14-
golang.org/x/sys v0.39.0 // indirect
14+
golang.org/x/sys v0.46.0 // indirect
1515
)

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
22
github.com/essentialkaos/check v1.4.1 h1:SuxXzrbokPGTPWxGRnzy0hXvtb44mtVrdNxgPa1s4c8=
33
github.com/essentialkaos/check v1.4.1/go.mod h1:xQOYwFvnxfVZyt5Qvjoa1SxcRqu5VyP77pgALr3iu+M=
4-
github.com/essentialkaos/ek/v13 v13.37.5 h1:/O4Mw9OUZBiQw23ghcW3lh1ruU+lqccMe11wTRHQ5Zs=
5-
github.com/essentialkaos/ek/v13 v13.37.5/go.mod h1:3KNubP9tLl4Pj+TtKe7dXB5NwgJly8RWGGrp0/TlLXs=
4+
github.com/essentialkaos/ek/v14 v14.2.1 h1:DmV/jjtw+wnOviCfKPJsZyVLlKeMfWj448GnMNOWI40=
5+
github.com/essentialkaos/ek/v14 v14.2.1/go.mod h1:Vm2fV6tXTjq9SRS5A3T+brkWF+budlRDPDfyne2kpUs=
66
github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
77
github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
88
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
@@ -11,5 +11,5 @@ github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsK
1111
github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs=
1212
github.com/rogpeppe/go-internal v1.14.1 h1:UQB4HGPB6osV0SQTLymcB4TgvyWu6ZyliaW0tI/otEQ=
1313
github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7so1lCWt35ZSgc=
14-
golang.org/x/sys v0.39.0 h1:CvCKL8MeisomCi6qNZ+wbb0DN9E5AATixKsvNtMoMFk=
15-
golang.org/x/sys v0.39.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks=
14+
golang.org/x/sys v0.46.0 h1:noSf2Fq6F8DBgS+LysIkx7rIExoNHJsxOAtPp4rthXw=
15+
golang.org/x/sys v0.46.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw=

ycs.go

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ import (
1414
"strings"
1515
"time"
1616

17-
"github.com/essentialkaos/ek/v13/req"
18-
"github.com/essentialkaos/ek/v13/reutil"
19-
"github.com/essentialkaos/ek/v13/sliceutil"
20-
"github.com/essentialkaos/ek/v13/strutil"
21-
"github.com/essentialkaos/ek/v13/timeutil"
17+
"github.com/essentialkaos/ek/v14/req"
18+
"github.com/essentialkaos/ek/v14/reutil"
19+
"github.com/essentialkaos/ek/v14/sliceutil"
20+
"github.com/essentialkaos/ek/v14/strutil"
21+
"github.com/essentialkaos/ek/v14/timeutil"
2222
)
2323

2424
// ////////////////////////////////////////////////////////////////////////////////// //
@@ -44,6 +44,7 @@ const (
4444
ZONE_RU_B = "ru-central1-b"
4545
ZONE_RU_C = "ru-central1-c"
4646
ZONE_RU_D = "ru-central1-d"
47+
ZONE_RU_E = "ru-central1-e"
4748
ZONE_KZ_A = "kz1-a"
4849
)
4950

@@ -185,13 +186,27 @@ type IncidentsRequest struct {
185186
// ////////////////////////////////////////////////////////////////////////////////// //
186187

187188
// AllLangs is a slice with all supported languages
188-
var AllLangs = []string{LANG_EN, LANG_RU}
189+
var AllLangs = []string{
190+
LANG_EN,
191+
LANG_RU,
192+
}
189193

190194
// AllRegions is a slice with all regions
191-
var AllRegions = []string{REGION_ALL, REGION_KZ, REGION_RU}
195+
var AllRegions = []string{
196+
REGION_ALL,
197+
REGION_KZ,
198+
REGION_RU,
199+
}
192200

193201
// AllZones is a slice with all availability zones
194-
var AllZones = []string{ZONE_KZ_A, ZONE_RU_A, ZONE_RU_B, ZONE_RU_C, ZONE_RU_D}
202+
var AllZones = []string{
203+
ZONE_KZ_A,
204+
ZONE_RU_A,
205+
ZONE_RU_B,
206+
ZONE_RU_C,
207+
ZONE_RU_D,
208+
ZONE_RU_E,
209+
}
195210

196211
// ////////////////////////////////////////////////////////////////////////////////// //
197212

0 commit comments

Comments
 (0)