mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-06-18 11:19:33 -04:00
monorepo
Co-authored-by: Malte Poll <mp@edgeless.systems> Co-authored-by: katexochen <katexochen@users.noreply.github.com> Co-authored-by: Daniel Weiße <dw@edgeless.systems> Co-authored-by: Thomas Tendyck <tt@edgeless.systems> Co-authored-by: Benedict Schlueter <bs@edgeless.systems> Co-authored-by: leongross <leon.gross@rub.de> Co-authored-by: Moritz Eckert <m1gh7ym0@gmail.com>
This commit is contained in:
commit
2d8fcd9bf4
362 changed files with 50980 additions and 0 deletions
26
cli/cloudprovider/cloudprovider_string.go
Normal file
26
cli/cloudprovider/cloudprovider_string.go
Normal file
|
@ -0,0 +1,26 @@
|
|||
// Code generated by "stringer -type=CloudProvider"; DO NOT EDIT.
|
||||
|
||||
package cloudprovider
|
||||
|
||||
import "strconv"
|
||||
|
||||
func _() {
|
||||
// An "invalid array index" compiler error signifies that the constant values have changed.
|
||||
// Re-run the stringer command to generate them again.
|
||||
var x [1]struct{}
|
||||
_ = x[Unknown-0]
|
||||
_ = x[AWS-1]
|
||||
_ = x[Azure-2]
|
||||
_ = x[GCP-3]
|
||||
}
|
||||
|
||||
const _CloudProvider_name = "UnknownAWSAzureGCP"
|
||||
|
||||
var _CloudProvider_index = [...]uint8{0, 7, 10, 15, 18}
|
||||
|
||||
func (i CloudProvider) String() string {
|
||||
if i >= CloudProvider(len(_CloudProvider_index)-1) {
|
||||
return "CloudProvider(" + strconv.FormatInt(int64(i), 10) + ")"
|
||||
}
|
||||
return _CloudProvider_name[_CloudProvider_index[i]:_CloudProvider_index[i+1]]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue