add createStore() funcs and skip consul TLS test

This commit is contained in:
Martin 2016-07-13 17:18:55 +02:00
parent 38cc36980f
commit b153e90ec5
11 changed files with 121 additions and 105 deletions

View file

@ -179,6 +179,7 @@ type TLS struct {
}
// Certificates defines traefik certificates type
// Certs and Keys could be either a file path, or the file content itself
type Certificates []Certificate
//CreateTLSConfig creates a TLS config from Certificate structures
@ -248,7 +249,7 @@ func (certs *Certificates) Type() string {
}
// Certificate holds a SSL cert/key pair
// May can contain either path or file contents
// Certs and Key could be either a file path, or the file content itself
type Certificate struct {
CertFile string
KeyFile string