Documentation ¶
Index ¶
- Constants
- func NewAdminValidator() *adminValidator
- func NewDoguValidator(registry remote.Registry) *doguValidator
- func NewNamingValidator() *namingValidator
- func NewRegistryConfigEncryptedValidator() *registryConfigEncryptedValidator
- func NewResourcePatchConfigurationValidator() *resourcePatchValidator
- func NewSetupJsonConfigurationValidator(registry remote.Registry) *validator
- func NewUserBackendValidator() *userBackendValidator
- func SplitPemCertificates(chain string) []string
- type AdminValidator
- type DoguValidator
- type NamingValidator
- type RegistryConfigEncryptedValidator
- type UserBackendValidator
Constants ¶
const ( // DsTypeEmbedded is used to set up the EcoSystem with an embedded user backend (e.g. the ldap dogu). DsTypeEmbedded = "embedded" // DsTypeExternal is used to set up the EcoSystem with an external user backend. DsTypeExternal = "external" )
Variables ¶
This section is empty.
Functions ¶
func NewAdminValidator ¶
func NewAdminValidator() *adminValidator
NewAdminValidator creates a new validator for the admin section of the setup configuration
func NewDoguValidator ¶
NewDoguValidator creates a new validator for the dogu region of the setup configuration.
func NewNamingValidator ¶
func NewNamingValidator() *namingValidator
NewNamingValidator creates a new validator for the naming section of the setup configuration
func NewRegistryConfigEncryptedValidator ¶ added in v0.5.0
func NewRegistryConfigEncryptedValidator() *registryConfigEncryptedValidator
NewRegistryConfigEncryptedValidator creates a new validator for the registryConfigEncrypted region of the setup configuration.
func NewResourcePatchConfigurationValidator ¶ added in v0.16.0
func NewResourcePatchConfigurationValidator() *resourcePatchValidator
NewResourcePatchConfigurationValidator creates a new validator.
func NewSetupJsonConfigurationValidator ¶ added in v0.16.0
NewSetupJsonConfigurationValidator creates a new setup json validator
func NewUserBackendValidator ¶
func NewUserBackendValidator() *userBackendValidator
NewUserBackendValidator creates a new validator for the user backend section of the setup configuration
func SplitPemCertificates ¶
SplitPemCertificates splits a certificate chain in pem format and returns all certificates of the chain as []string
Types ¶
type AdminValidator ¶
AdminValidator is used to validate the admin section of the setup configuration
type DoguValidator ¶
DoguValidator is used to validate the dogu section of the setup configuration
type NamingValidator ¶
NamingValidator is used to validate the naming section of the setup configuration
type RegistryConfigEncryptedValidator ¶ added in v0.5.0
type RegistryConfigEncryptedValidator interface {
ValidateRegistryConfigEncrypted(config *context.SetupJsonConfiguration) error
}
RegistryConfigEncryptedValidator is used to validate the registry config encrypted section of the setup configuration
type UserBackendValidator ¶
type UserBackendValidator interface {
ValidateUserBackend(backend context.UserBackend) error
}
UserBackendValidator is used to validate the user backend section of the setup configuration