@ -123,7 +123,7 @@ type ErrMissingConfig struct {
}
func ( e ErrMissingConfig ) Error ( ) string {
return " M issing configuration: " + e . What
return " m issing configuration: " + e . What
}
// ErrConfigFailed returned in case of failure during configuration
@ -195,7 +195,7 @@ type ErrConflictingAuthOptions struct {
}
func ( e ErrConflictingAuthOptions ) Error ( ) string {
return " S pecifying token and username/password is not allowed at the same time."
return " s pecifying token and username/password is not allowed at the same time."
}
// ErrConflictingClusterOptions returned when both certificate-authority and
@ -204,7 +204,7 @@ type ErrConflictingClusterOptions struct {
}
func ( e ErrConflictingClusterOptions ) Error ( ) string {
return " S pecifying certificate-authority and insecure-skip-tls-verify mode is not allowed at the same time."
return " s pecifying certificate-authority and insecure-skip-tls-verify mode is not allowed at the same time."
}
// ErrConflictingContextOptions returned when both context and --current is set at same time
@ -212,7 +212,7 @@ type ErrConflictingContextOptions struct {
}
func ( e ErrConflictingContextOptions ) Error ( ) string {
return " S pecifying context and --current Flag is not allowed at the same time."
return " s pecifying context and --current Flag is not allowed at the same time."
}
// ErrEmptyContextName returned when empty context name is set
@ -220,7 +220,7 @@ type ErrEmptyContextName struct {
}
func ( e ErrEmptyContextName ) Error ( ) string {
return " C ontext name must not be empty."
return " c ontext name must not be empty."
}
// ErrDecodingCredentials returned when the given string cannot be decoded
@ -265,7 +265,7 @@ type ErrMutuallyExclusiveEncryptionConfigType struct {
}
func ( e ErrMutuallyExclusiveEncryptionConfigType ) Error ( ) string {
return " S pecify mutually exclusive encryption config sources, use either: " +
return " s pecify mutually exclusive encryption config sources, use either: " +
"--decryption-key-path/--decryption-key-path or --secret-name/--secret-namespace."
}
@ -275,7 +275,7 @@ type ErrInvalidEncryptionKeyPath struct {
}
func ( e ErrInvalidEncryptionKeyPath ) Error ( ) string {
return " S pecify both encryption and decryption keys when setting encryption config"
return " s pecify both encryption and decryption keys when setting encryption config"
}
// ErrInvalidEncryptionKey is returned when encryption config specifies only one of
@ -284,7 +284,7 @@ type ErrInvalidEncryptionKey struct {
}
func ( e ErrInvalidEncryptionKey ) Error ( ) string {
return " S pecify both secret name and namespace when setting encryption config"
return " s pecify both secret name and namespace when setting encryption config"
}
// ErrMissingFlag is returned when flag is not provided