environment

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 License: MIT Imports: 9 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(envFilePath string)

Load ... 環境変数を読み込む

func LoadSecret added in v1.2.2

func LoadSecret(projectID string, params []*LoadSecretParam)

Types

type LoadSecretParam added in v1.2.2

type LoadSecretParam struct {
	Key     string
	Version string
}

type Project

type Project struct {
	Local      string `json:"local"`
	Staging    string `json:"staging"`
	Production string `json:"production"`
}

Project ... プロジェクト

type Variable

type Variable struct {
	Local      map[string]string `yaml:"local"`
	Staging    map[string]string `yaml:"staging"`
	Production map[string]string `yaml:"production"`
}

Variable ... 値

Jump to

Keyboard shortcuts

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