Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthCertificate ¶
type AuthCertificate interface {
GetAuthCertificate(string) (*AuthSSLCert, error)
}
AuthCertificate resolves a given secret name into an SSL certificate. The secret must contain 3 keys named:
ca.crt: contains the certificate chain used for authentication
type AuthSSLCert ¶
type AuthSSLCert struct {
// Secret contains the name of the secret this was fetched from
Secret string `json:"secret"`
// CAFileName contains the path to the secrets 'ca.crt'
CAFileName string `json:"caFilename"`
// PemSHA contains the SHA1 hash of the 'tls.crt' value
PemSHA string `json:"pemSha"`
}
AuthSSLCert contains the necessary information to do certificate based authentication of an ingress location
func (*AuthSSLCert) Equal ¶
func (asslc1 *AuthSSLCert) Equal(assl2 *AuthSSLCert) bool
type DefaultBackend ¶
DefaultBackend has a method that returns the backend that must be used as default
Click to show internal directories.
Click to hide internal directories.