Versions in this module Expand all Collapse all v0 v0.0.1 Aug 19, 2026 Changes in this version + const ComponentName + const ComponentStage + type CFSecrets struct + func New(opts ...Option) *CFSecrets + func (c *CFSecrets) Get(ctx context.Context, provider string, ref Ref) ([]byte, error) + func (c *CFSecrets) GetDependencies() []string + func (c *CFSecrets) GetInitOrderStage() cf.Stage + func (c *CFSecrets) GetString(ctx context.Context, provider string, ref Ref) (string, error) + func (c *CFSecrets) Health(ctx context.Context) error + func (c *CFSecrets) Init(ctx context.Context, fw *cf.CaerusFramework) error + func (c *CFSecrets) Metrics() []cf_observability.Metric + func (c *CFSecrets) Name() string + func (c *CFSecrets) OnConfigReload(source string, cfg any) + func (c *CFSecrets) RegisterConfigSources(conf any) error + func (c *CFSecrets) Shutdown(ctx context.Context) error + type Option func(*options) + func WithConfig(cfg SecretsConfig) Option + func WithConfigSource(name, path string, opts ...SourceOption) Option + func WithDegradedMode() Option + func WithLogger(logger *slog.Logger) Option + func WithName(name string) Option + type ProviderConfig struct + Address string + CredentialsFile string + Endpoint string + K8sJWTPath string + K8sMount string + K8sRole string + KVMount string + Kind string + Namespace string + Project string + Region string + Root string + TLSCAFile string + TLSInsecureSkipVerify *bool + TimeoutSec float64 + Token string + TokenPath string + type Ref struct + Key string + Path string + Version string + type SecretsConfig struct + DegradedMode *bool + HealthWhenDegraded string + Providers map[string]ProviderConfig + type SourceOption func(*sourceOptions) + func WithSourceEnvPrefix(prefix string) SourceOption + func WithSourceFormat(f cf_configuration.Format) SourceOption