Fix minor typos (#11941)
Co-authored-by: Nathan Baulch <nathan.baulch@gmail.com>
This commit is contained in:
parent
889afa9abd
commit
dcfa4507ae
47 changed files with 125 additions and 125 deletions
|
|
@ -29,10 +29,10 @@ type Resolver interface {
|
|||
// GetSecurityConfiguration returns the configuration options from Ingress
|
||||
GetSecurityConfiguration() defaults.SecurityConfiguration
|
||||
|
||||
// GetConfigMap searches for configmap containing the namespace and name usting the character /
|
||||
// GetConfigMap searches for configmap containing the namespace and name using the character /
|
||||
GetConfigMap(string) (*apiv1.ConfigMap, error)
|
||||
|
||||
// GetSecret searches for secrets containing the namespace and name using a the character /
|
||||
// GetSecret searches for secrets containing the namespace and name using the character /
|
||||
GetSecret(string) (*apiv1.Secret, error)
|
||||
|
||||
// GetAuthCertificate resolves a given secret name into an SSL certificate and CRL.
|
||||
|
|
@ -42,7 +42,7 @@ type Resolver interface {
|
|||
// ca.crl: contains the revocation list used for authentication
|
||||
GetAuthCertificate(string) (*AuthSSLCert, error)
|
||||
|
||||
// GetService searches for services containing the namespace and name using a the character /
|
||||
// GetService searches for services containing the namespace and name using the character /
|
||||
GetService(string) (*apiv1.Service, error)
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ func (m Mock) GetSecurityConfiguration() defaults.SecurityConfiguration {
|
|||
}
|
||||
}
|
||||
|
||||
// GetSecret searches for secrets contenating the namespace and name using a the character /
|
||||
// GetSecret searches for secrets containing the namespace and name using the character /
|
||||
func (m Mock) GetSecret(string) (*apiv1.Secret, error) {
|
||||
return nil, nil
|
||||
}
|
||||
|
|
@ -60,12 +60,12 @@ func (m Mock) GetAuthCertificate(string) (*AuthSSLCert, error) {
|
|||
return nil, nil
|
||||
}
|
||||
|
||||
// GetService searches for services contenating the namespace and name using a the character /
|
||||
// GetService searches for services containing the namespace and name using the character /
|
||||
func (m Mock) GetService(string) (*apiv1.Service, error) {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
// GetConfigMap searches for configMaps contenating the namespace and name using a the character /
|
||||
// GetConfigMap searches for configMaps containing the namespace and name using the character /
|
||||
func (m Mock) GetConfigMap(name string) (*apiv1.ConfigMap, error) {
|
||||
if v, ok := m.ConfigMaps[name]; ok {
|
||||
return v, nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue