mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
27 lines
694 B
Go
27 lines
694 B
Go
// 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 Provider) String() string {
|
|
if i >= Provider(len(_CloudProvider_index)-1) {
|
|
return "CloudProvider(" + strconv.FormatInt(int64(i), 10) + ")"
|
|
}
|
|
return _CloudProvider_name[_CloudProvider_index[i]:_CloudProvider_index[i+1]]
|
|
}
|