Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FullVersionName = fmt.Sprintf("%s-%s", Version, Tag)
FullVersionName is the user-visible aggregation of version and tag of this codebase
View Source
var Tag = "dev"
Tag field denotes the specific build type for the broker. It may be replaced by compile-time variables if needed to provide the git commit information in the final binary.
View Source
var Version = "1.1.6"
Version field is a SemVer that should indicate the baked-in version
Functions ¶
This section is empty.
Types ¶
type ProviderFunc ¶
type ProviderFunc func() error
ProviderFunc describes a function type responsible for providing secrets to an unspecified target.
func NewProviderForType ¶
func NewProviderForType( retrievek8sSecret k8s.RetrieveK8sSecretFunc, updatek8sSecret k8s.UpdateK8sSecretFunc, secretsRetrieverFunc conjur.RetrieveSecretsFunc, storeType string, podNamespace string, requiredK8sSecrets []string, annotations map[string]string, ) (ProviderFunc, []error)
NewProviderForType returns a ProviderFunc responsible for providing secrets in a given mode.
func RetryableSecretProvider ¶
func RetryableSecretProvider( retryInterval time.Duration, retryCountLimit int, provideSecrets ProviderFunc, ) ProviderFunc
RetryableSecretProvider returns a new ProviderFunc, which wraps the provided ProviderFunc in a limitedBackOff-restricted Retry call.
Click to show internal directories.
Click to hide internal directories.