Documentation ¶
Index ¶
- Variables
- func CreateRequirementsMap(req *jxcore.RequirementsConfig) (map[string]interface{}, error)
- func CreateSecretValue(backendType v1alpha1.BackendType, values []editor.PropertyValue, ...) secretstore.SecretValue
- func GetExternalSecretLocation(extsec *v1.ExternalSecret) string
- func GetSecretKey(backendType v1alpha1.BackendType, externalSecretName, keyName string) string
- func GetSecretStore(backendType v1alpha1.BackendType) secretstore.Type
- func KubectlExecRunner(podName, sidecar string, runner cmdrunner.CommandRunner) func(c *cmdrunner.Command) (string, error)
- func ResolveResourceNames(name, 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 CreateRequirementsMap ¶ added in v0.1.25
func CreateRequirementsMap(req *jxcore.RequirementsConfig) (map[string]interface{}, error)
CreateRequirementsMap creates the requirements map thats used to send into
func CreateSecretValue ¶ added in v0.1.44
func CreateSecretValue(backendType v1alpha1.BackendType, values []editor.PropertyValue, annotations, labels map[string]string, secretType corev1.SecretType) secretstore.SecretValue
func GetExternalSecretLocation ¶
func GetExternalSecretLocation(extsec *v1.ExternalSecret) string
func GetSecretKey ¶ added in v0.1.15
func GetSecretKey(backendType v1alpha1.BackendType, externalSecretName, keyName string) string
func GetSecretStore ¶
func GetSecretStore(backendType v1alpha1.BackendType) secretstore.Type
func KubectlExecRunner ¶
func ResolveResourceNames ¶
ResolveResourceNames if the secret name contains a dot then assume its namespace.name otherwise return the name in the current namespace
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 DisableLoadResults bool Generators map[string]generators.Generator HelmSecretValues map[string]map[string]string Requirements *jxcore.RequirementsConfig BootSecretNamespace string DisableSecretFolder bool }
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.