Versions in this module Expand all Collapse all v0 v0.1.1 Dec 23, 2023 v0.1.0 Nov 16, 2023 Changes in this version + type Duration time.Duration + func (d *Duration) MarshalJSON() ([]byte, error) + func (d *Duration) UnmarshalJSON(data []byte) error + type Storage struct + func NewStorage(config StorageConfigInterface) *Storage + func (s *Storage) Delete(_ context.Context, key string) error + func (s *Storage) Exists(_ context.Context, key string) bool + func (s *Storage) List(ctx context.Context, prefix string, recursive bool) ([]string, error) + func (s *Storage) Load(_ context.Context, key string) ([]byte, error) + func (s *Storage) Lock(ctx context.Context, key string) error + func (s *Storage) Stat(_ context.Context, key string) (certmagic.KeyInfo, error) + func (s *Storage) Store(_ context.Context, key string, value []byte) error + func (s *Storage) Unlock(_ context.Context, key string) error + type StorageConfigInterface interface + GetApproleLoginPath func() string + GetApproleLogoutPath func() string + GetApproleRoleId func() string + GetApproleSecretId func() string + GetInsecureSkipVerify func() bool + GetLockPollingInterval func() Duration + GetLockTimeout func() Duration + GetLogger func() *zap.SugaredLogger + GetPathPrefix func() string + GetSecretsPath func() string + GetToken func() string + GetVaultBaseUrl func() string + type Time time.Time + func (t *Time) MarshalJSON() ([]byte, error) + func (t *Time) UnmarshalJSON(data []byte) error + type URL struct + func MustParseURL(rawUrl string) *URL + func ParseURL(rawUrl string) (*URL, error) + func (u *URL) MarshalJSON() ([]byte, error) + func (u *URL) UnmarshalJSON(data []byte) error