Documentation
¶
Index ¶
- Variables
- func IsValidEnvironment(s string) bool
- func ValidLowercaseEnvironments() []string
- type Environment
- func (Environment) Descriptor() protoreflect.EnumDescriptor
- func (x Environment) Enum() *Environment
- func (Environment) EnumDescriptor() ([]byte, []int)deprecated
- func (e Environment) ImageTagPrefix() string
- func (x Environment) Number() protoreflect.EnumNumber
- func (x Environment) String() string
- func (e Environment) ToLower() string
- func (Environment) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Environment_name = map[int32]string{ 0: "NONE", 1: "DEV", 2: "PROD", 3: "STAGING", } Environment_value = map[string]int32{ "NONE": 0, "DEV": 1, "PROD": 2, "STAGING": 3, } )
Enum value maps for Environment.
View Source
var File_proto_api_env_proto protoreflect.FileDescriptor
Functions ¶
func IsValidEnvironment ¶
func ValidLowercaseEnvironments ¶
func ValidLowercaseEnvironments() []string
Types ¶
type Environment ¶
type Environment int32
const ( // NONE ensures Environment is always explicitly sent by the client Environment_NONE Environment = 0 Environment_DEV Environment = 1 Environment_PROD Environment = 2 Environment_STAGING Environment = 3 )
func EnvironmentFromLowercaseString ¶
func EnvironmentFromLowercaseString(s string) Environment
func (Environment) Descriptor ¶
func (Environment) Descriptor() protoreflect.EnumDescriptor
func (Environment) Enum ¶
func (x Environment) Enum() *Environment
func (Environment) EnumDescriptor
deprecated
func (Environment) EnumDescriptor() ([]byte, []int)
Deprecated: Use Environment.Descriptor instead.
func (Environment) ImageTagPrefix ¶
func (e Environment) ImageTagPrefix() string
func (Environment) Number ¶
func (x Environment) Number() protoreflect.EnumNumber
func (Environment) String ¶
func (x Environment) String() string
func (Environment) ToLower ¶
func (e Environment) ToLower() string
func (Environment) Type ¶
func (Environment) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.