github.com/docker/app@v0.9.1-beta3.0.20210611140623-a48f773ab002/internal/formatter/driver/driver.go (about) 1 package driver 2 3 import ( 4 composetypes "github.com/docker/cli/cli/compose/types" 5 ) 6 7 // Driver is the interface that must be implemented by a formatter driver. 8 type Driver interface { 9 // Format executes the formatter on the source config 10 Format(config *composetypes.Config) (string, error) 11 }