Add custom backend annotation

This commit is contained in:
Manuel de Brito Fontes 2017-08-25 12:50:08 -03:00
parent 3499524282
commit bf12e793f6
10 changed files with 270 additions and 17 deletions

View file

@ -41,6 +41,12 @@ type AuthCertificate interface {
GetAuthCertificate(string) (*AuthSSLCert, error)
}
// Service has a method that searches for services contenating
// the namespace and name using a the character /
type Service interface {
GetService(string) (*api.Service, error)
}
// AuthSSLCert contains the necessary information to do certificate based
// authentication of an ingress location
type AuthSSLCert struct {