mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-15 10:54:29 -05:00
26 lines
760 B
Go
26 lines
760 B
Go
|
// Code generated by "stringer -type=AuthMethod -trimprefix=AuthMethod"; DO NOT EDIT.
|
||
|
|
||
|
package azureshared
|
||
|
|
||
|
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[AuthMethodUnknown-0]
|
||
|
_ = x[AuthMethodServicePrincipal-1]
|
||
|
_ = x[AuthMethodUserAssignedIdentity-2]
|
||
|
}
|
||
|
|
||
|
const _AuthMethod_name = "UnknownServicePrincipalUserAssignedIdentity"
|
||
|
|
||
|
var _AuthMethod_index = [...]uint8{0, 7, 23, 43}
|
||
|
|
||
|
func (i AuthMethod) String() string {
|
||
|
if i >= AuthMethod(len(_AuthMethod_index)-1) {
|
||
|
return "AuthMethod(" + strconv.FormatInt(int64(i), 10) + ")"
|
||
|
}
|
||
|
return _AuthMethod_name[_AuthMethod_index[i]:_AuthMethod_index[i+1]]
|
||
|
}
|