Skip to content

Commit

Permalink
Emoji games
Browse files Browse the repository at this point in the history
  • Loading branch information
majst01 committed Dec 19, 2023
1 parent 2f4d45d commit 1366cf0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
9 changes: 9 additions & 0 deletions cmd/output/shootprinter.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,15 @@ func shootData(shoot *models.V1ClusterResponse, withIssues bool) ([]string, []st
if (*shoot).KubeAPIServerACL != nil && !*shoot.KubeAPIServerACL.Disabled {
shootStats.apiServer += "🔒"
}
if (*shoot).NetworkAccessType != nil {
if *shoot.NetworkAccessType == models.V1ClusterCreateRequestNetworkAccessTypeForbidden {
// shootStats.nodes += "🛡"
shootStats.nodes += "⛓️"
}
if *shoot.NetworkAccessType == models.V1ClusterCreateRequestNetworkAccessTypeRestricted {
shootStats.nodes += "⛓️"
}
}

maintainEmoji := ""
var issues []string
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ require (
github.com/dustin/go-humanize v1.0.1
github.com/fatih/color v1.16.0
github.com/fi-ts/accounting-go v0.9.0
github.com/fi-ts/cloud-go v0.23.3-0.20231219075234-578ec6e27af6
github.com/fi-ts/cloud-go v0.23.3-0.20231219142747-d1b5e9d0ba39
github.com/gardener/gardener v1.73.2
github.com/gardener/machine-controller-manager v0.50.1
github.com/go-openapi/runtime v0.26.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ github.com/fatih/color v1.16.0 h1:zmkK9Ngbjj+K0yRhTVONQh1p/HknKYSlNT+vZCzyokM=
github.com/fatih/color v1.16.0/go.mod h1:fL2Sau1YI5c0pdGEVCbKQbLXB6edEj1ZgiY4NijnWvE=
github.com/fi-ts/accounting-go v0.9.0 h1:XacEMQtFUd0eh1aTFLo5rrzWKDE9CDJw+smS07zOK/0=
github.com/fi-ts/accounting-go v0.9.0/go.mod h1:8ga8xix70wTxZNwdb0Ye4cEmL1miY6SeUio4vQLMBaI=
github.com/fi-ts/cloud-go v0.23.3-0.20231219075234-578ec6e27af6 h1:ry1hH/Lg5zr+SKsIQ5oAwo+o3zLoBS/tX5ks2kpbRfs=
github.com/fi-ts/cloud-go v0.23.3-0.20231219075234-578ec6e27af6/go.mod h1:z4ZWkDa0EiaAfHy1iiv7vlgoZgJQEsAgQnrvG2cJksw=
github.com/fi-ts/cloud-go v0.23.3-0.20231219142747-d1b5e9d0ba39 h1:B1fFUUq2Pb/O1rDLf2FZZdNc3bGPEuSc6Lx0MA69gQc=
github.com/fi-ts/cloud-go v0.23.3-0.20231219142747-d1b5e9d0ba39/go.mod h1:z4ZWkDa0EiaAfHy1iiv7vlgoZgJQEsAgQnrvG2cJksw=
github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHkI4W8=
github.com/frankban/quicktest v1.14.6/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0=
github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA=
Expand Down

0 comments on commit 1366cf0

Please sign in to comment.