Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecretData ¶
type SecretData struct {
Path string
Reference string
Owner string
Group string
Mode string
Symlinks []string
Variables map[string]string
Services interface{} // Can be []string or map[string]ServiceConfig
PathTemplate string
Defaults map[string]string
}
Secret represents a secret for validation
type Validator ¶
type Validator struct{}
Validator provides comprehensive validation with helpful error messages
func (*Validator) ValidateConfigStruct ¶
func (v *Validator) ValidateConfigStruct(secrets []SecretData) error
ValidateConfigStruct validates a config with slice of SecretData
func (*Validator) ValidateTokenFile ¶
ValidateTokenFile validates the token file exists and has correct permissions
Click to show internal directories.
Click to hide internal directories.