utils

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArgsInput

func ArgsInput()

func SetGithubEnv

func SetGithubEnv(key, value string)

func SetGithubEnvOutput

func SetGithubEnvOutput(key, value string)

Types

type ConfigEnv

type ConfigEnv struct {
	TFAPITOKEN     string `json:"tf_api_token"`
	TFWORKSPACE    string `json:"tf_workspace"`
	TFORGANIZATION string `json:"tf_organization"`
	TFRUNTYPE      string `json:"tf_run_type"`

	VariableType        string `json:"variable_type"`
	VariableKey         string `json:"variable_key"`
	VariableValue       string `json:"variable_value"`
	VariableCategory    string `json:"variable_category"`
	VariableSensitive   bool   `json:"variable_sensitive"`
	VariableHcl         bool   `json:"variable_hcl"`
	VariableDescription string `json:"variable_description"`

	DeleteVariable string `json:"delete_variable"`
	CreateVariable string `json:"create_variable"`
}

func LoadEnv

func LoadEnv(path string) (*ConfigEnv, error)

Jump to

Keyboard shortcuts

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