Put driver names to create --help

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
Akihiro Suda
2019-05-26 07:45:20 +09:00
parent ab5fe3dec5
commit eee78c6c10
2 changed files with 10 additions and 1 deletions

View File

@ -85,3 +85,7 @@ func GetDriver(ctx context.Context, name string, f Factory, api dockerclient.API
}
return f.New(ctx, ic)
}
func GetFactories() map[string]Factory {
return drivers
}