Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Add ability to export env variables through salt

Aperta
#12 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
go
Ambito
tooling

Direzione di ricerca

Start in config/config.go at getFlattenedStructKeys and read the related Meteor recipe in recipe/envs.go, especially populateData. Determine how the requested helper should expose environment-variable key-value pairs as a map[string]string. Done means the salt API provides those pairs for the use case described in the issue.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Scope/Type: config

Related discussion here.

I think that salt should have the ability to export environment variables and their respective values through a helper function; the closest we can get as of now is through the getFlattenedStructKeys function, which allows us to get keys. (which is private in nature, as it is an utility function)

It could be helpful in situations like this, where we need to get env vars. (salt could help in exporting values (more specifically, env variable key-value pair) into a map[string]string, which can then be used in populateData in meteor.)

Lingua principale
Go
Stelle
14
Fork
8
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di raystack/salt

Tutte le issue di raystack/salt

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.