secret

package
v0.0.0-...-3fc99e7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 6, 2025 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type K8sInterface

type K8sInterface interface {
	CoreV1() corev1.CoreV1Interface
}

type K8sSecretProvider

type K8sSecretProvider struct {
	Clientset K8sInterface
	Config    K8sSecretProviderConfig
}

func (*K8sSecretProvider) Init

func (*K8sSecretProvider) InitWithMap

func (s *K8sSecretProvider) InitWithMap(properties map[string]string) error

func (*K8sSecretProvider) Read

func (s *K8sSecretProvider) Read(ctx context.Context, name string, field string, localContext interface{}) (string, error)

type K8sSecretProviderConfig

type K8sSecretProviderConfig struct {
	Name       string `json:"name"`
	ConfigType string `json:"configType,omitempty"`
	ConfigData string `json:"configData,omitempty"`
	InCluster  bool   `json:"inCluster"`
}

func K8sSecretProviderConfigFromMap

func K8sSecretProviderConfigFromMap(properties map[string]string) (K8sSecretProviderConfig, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL