menv

package
v0.0.0-...-110f058 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Prefix = "{{"
	Suffix = "}}"
)
View Source
const (
	PrefixSize = len(Prefix)
	SuffixSize = len(Suffix)
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Env

type Env struct {
	ID          idwrap.IDWrap
	WorkspaceID idwrap.IDWrap
	Type        EnvType
	Description string
	Name        string
	Updated     time.Time
	Order       float64
}

type EnvType

type EnvType int8
const (
	EnvUnkown EnvType = 0
	EnvGlobal EnvType = 1
	EnvNormal EnvType = 2
)

type Variable

type Variable struct {
	ID          idwrap.IDWrap
	EnvID       idwrap.IDWrap
	VarKey      string
	Value       string
	Enabled     bool
	Description string
	Order       float64
}

func (Variable) IsEnabled

func (v Variable) IsEnabled() bool

IsEnabled returns whether the variable is enabled

Jump to

Keyboard shortcuts

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