mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-11 08:54:21 -05:00
b79f7d0c8c
* image: support OpenStack image build / upload * cli: add OpenStack terraform template * config: add OpenStack as CSP * versionsapi: add OpenStack as CSP * cli: add OpenStack as provider for `config generate` and `create` * disk-mapper: add basic support for boot on OpenStack * debugd: add placeholder for OpenStack * image: fix config file sourcing for image upload
29 lines
710 B
Go
29 lines
710 B
Go
// Code generated by "stringer -type=Provider"; 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]
|
|
_ = x[OpenStack-4]
|
|
_ = x[QEMU-5]
|
|
}
|
|
|
|
const _Provider_name = "UnknownAWSAzureGCPOpenStackQEMU"
|
|
|
|
var _Provider_index = [...]uint8{0, 7, 10, 15, 18, 27, 31}
|
|
|
|
func (i Provider) String() string {
|
|
if i >= Provider(len(_Provider_index)-1) {
|
|
return "Provider(" + strconv.FormatInt(int64(i), 10) + ")"
|
|
}
|
|
return _Provider_name[_Provider_index[i]:_Provider_index[i+1]]
|
|
}
|