github.com/ijc/docker-app@v0.6.1-0.20181012090447-c7ca8bc483fb/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  }