Documentation ¶
Index ¶
- Variables
- func GetExternalSecretLocation(extsec *v1.ExternalSecret) string
- func GetSecretKey(backendType v1alpha1.BackendType, externalSecretName string, keyName string) string
- func GetSecretStore(backendType v1alpha1.BackendType) secretstore.SecretStoreType
- func KubectlExecRunner(podName string, sidecar string, runner cmdrunner.CommandRunner) func(c *cmdrunner.Command) (string, error)
- func ResolveResourceNames(name string, currentNamespace string) (string, string)
- type Options
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultBackoff = k8swait.Backoff{ Steps: 5, Duration: 2 * time.Second, Factor: 2.0, Jitter: 0.1, } )
Functions ¶
func GetExternalSecretLocation ¶
func GetExternalSecretLocation(extsec *v1.ExternalSecret) string
func GetSecretKey ¶ added in v0.1.15
func GetSecretKey(backendType v1alpha1.BackendType, externalSecretName string, keyName string) string
func GetSecretStore ¶
func GetSecretStore(backendType v1alpha1.BackendType) secretstore.SecretStoreType
func KubectlExecRunner ¶
Types ¶
type Options ¶
type Options struct { secretfacade.Options WaitDuration time.Duration HelmSecretFolder string Backoff *k8swait.Backoff Results []*secretfacade.SecretPair CommandRunner cmdrunner.CommandRunner QuietCommandRunner cmdrunner.CommandRunner NoWait bool Generators map[string]generators.Generator HelmSecretValues map[string]map[string]string Requirements *jxcore.RequirementsConfig BootSecretNamespace string }
Options the options for the command
func NewCmdPopulate ¶
NewCmdPopulate creates a command object for the command
func (*Options) EvaluateTemplate ¶
func (o *Options) EvaluateTemplate(namespace, secretName, property, templateText string, retryTemplate bool) (string, error)
EvaluateTemplate evaluates the go template to create the value
func (*Options) PopulateLoop ¶ added in v0.1.20
func (o *Options) PopulateLoop(results []*secretfacade.SecretPair, waited map[string]bool) error
PopulateLoop populates any external secret stores
Click to show internal directories.
Click to hide internal directories.