add kubernetes.Namespaces parser
This commit is contained in:
parent
fe0a8f3363
commit
414fb1f406
2 changed files with 26 additions and 1 deletions
|
@ -6,6 +6,7 @@ import (
|
|||
"github.com/containous/flaeg"
|
||||
"github.com/containous/staert"
|
||||
"github.com/containous/traefik/middlewares"
|
||||
"github.com/containous/traefik/provider"
|
||||
fmtlog "log"
|
||||
"net/http"
|
||||
"os"
|
||||
|
@ -53,7 +54,7 @@ Complete documentation is available at https://traefik.io`,
|
|||
//add custom parsers
|
||||
f.AddParser(reflect.TypeOf(EntryPoints{}), &EntryPoints{})
|
||||
f.AddParser(reflect.TypeOf(DefaultEntryPoints{}), &DefaultEntryPoints{})
|
||||
//Wait for DefaultSliceStringParser
|
||||
f.AddParser(reflect.TypeOf(provider.Namespaces{}), &provider.Namespaces{})
|
||||
//add version command
|
||||
f.AddCommand(versionCmd)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue