Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigMapLoader ¶
type ConfigMapLoader struct {
// contains filtered or unexported fields
}
func NewConfigMapLoader ¶
func NewConfigMapLoader(c client.Client, ns string) ConfigMapLoader
func (ConfigMapLoader) LoadConfigMap ¶
func (cl ConfigMapLoader) LoadConfigMap(selector v1.ConfigMapKeySelector) (string, error)
type Plugin ¶
type Plugin interface { Name() string Params(SecretLoader) (*params.PluginStore, error) }
The Plugin interface defines methods for transferring input, filter and output plugins to textual section content.
type Secret ¶
type Secret struct {
ValueFrom ValueSource `json:"valueFrom,omitempty"`
}
Secret defines the key of a value.
type SecretLoader ¶
type SecretLoader struct {
// contains filtered or unexported fields
}
func NewSecretLoader ¶
func (SecretLoader) LoadSecret ¶
func (sl SecretLoader) LoadSecret(s Secret) (string, error)
type ValueSource ¶
type ValueSource struct { // Selects a key of a secret in the pod's namespace // +optional SecretKeyRef corev1.SecretKeySelector `json:"secretKeyRef,omitempty"` }
ValueSource defines how to find a value's key.
Click to show internal directories.
Click to hide internal directories.