Documentation ¶
Overview ¶
Package secret fetches and caches development secrets for Encore apps.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Data struct { // Synced is when the values were last synced, // or the zero value if no sync has taken place. Synced time.Time // Values is a key-value map of defined secrets. Values map[string]string }
Data is a snapshot of an Encore app's development secret values.
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager manages the secrets cache for running Encore apps.
func (*Manager) Get ¶
func (f *Manager) Get(ctx context.Context, app *apps.Instance, expSet *experiments.Set) (data *Data, err error)
Get gets the secrets for the given app.
Click to show internal directories.
Click to hide internal directories.