Documentation
¶
Index ¶
- func DeleteEnvVar(ctx context.Context, client *vers.Client, key string) error
- func ListEnvVars(ctx context.Context, client *vers.Client) (map[string]string, error)
- func ReplaceAllEnvVars(ctx context.Context, client *vers.Client, vars map[string]string) error
- func SetEnvVar(ctx context.Context, client *vers.Client, key, value string) error
- type EnvVarsResponse
- type SetEnvVarsRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteEnvVar ¶
DeleteEnvVar deletes an environment variable by key
func ListEnvVars ¶
ListEnvVars retrieves all environment variables for the current user
func ReplaceAllEnvVars ¶
ReplaceAllEnvVars replaces all environment variables with the provided set
Types ¶
type EnvVarsResponse ¶
EnvVarsResponse matches the API response structure
type SetEnvVarsRequest ¶
type SetEnvVarsRequest struct {
Vars map[string]string `json:"vars"`
Replace bool `json:"replace"`
}
SetEnvVarsRequest matches the API request structure
Click to show internal directories.
Click to hide internal directories.