api

package
v0.0.0-...-2dfab7d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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 IsValidEnvironment(s string) bool

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) 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL