Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResolveAuthRef ¶
func ResolveAuthRef(client client.Client, logger logr.Logger, triggerAuthRef *kedav1alpha1.ScaledObjectAuthRef, podSpec *corev1.PodSpec, namespace string) (map[string]string, string)
ResolveAuthRef provides authentication parameters needed authenticate scaler with the environment. based on authentication method define in TriggerAuthentication, authParams and podIdentity is returned
func ResolveContainerEnv ¶
func ResolveContainerEnv(client client.Client, logger logr.Logger, podSpec *corev1.PodSpec, containerName, namespace string) (map[string]string, error)
ResolveContainerEnv resolves all environment variables in a container. It returns either map of env variable key and value or error if there is any.
Types ¶
type HashicorpVaultHandler ¶
type HashicorpVaultHandler struct {
// contains filtered or unexported fields
}
HashicorpVaultHandler is specification of Hashi Corp Vault
func NewHashicorpVaultHandler ¶
func NewHashicorpVaultHandler(v *kedav1alpha1.HashiCorpVault) *HashicorpVaultHandler
NewHashicorpVaultHandler creates a HashicorpVaultHandler object
func (*HashicorpVaultHandler) Initialize ¶
func (vh *HashicorpVaultHandler) Initialize(logger logr.Logger) error
Initialize the Vault client
func (*HashicorpVaultHandler) Read ¶
func (vh *HashicorpVaultHandler) Read(path string) (*vaultApi.Secret, error)
func (*HashicorpVaultHandler) Stop ¶
func (vh *HashicorpVaultHandler) Stop()
Stop is responsible for stoping the renew token proccess
Click to show internal directories.
Click to hide internal directories.