Move templates to pkg/templates

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
Vincent Demeester 2016-12-12 09:34:03 +01:00
parent ce37550347
commit 04f7a03359
No known key found for this signature in database
GPG Key ID: 083CC6FD6EB699A3
11 changed files with 9 additions and 9 deletions

View File

@ -10,7 +10,7 @@ import (
"github.com/docker/docker/cli/command" "github.com/docker/docker/cli/command"
"github.com/docker/docker/cli/command/formatter" "github.com/docker/docker/cli/command/formatter"
"github.com/docker/docker/opts" "github.com/docker/docker/opts"
"github.com/docker/docker/utils/templates" "github.com/docker/docker/pkg/templates"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View File

@ -8,7 +8,7 @@ import (
"text/tabwriter" "text/tabwriter"
"text/template" "text/template"
"github.com/docker/docker/utils/templates" "github.com/docker/docker/pkg/templates"
) )
// Format keys used to specify certain kinds of output formats // Format keys used to specify certain kinds of output formats

View File

@ -9,7 +9,7 @@ import (
"github.com/Sirupsen/logrus" "github.com/Sirupsen/logrus"
"github.com/docker/docker/cli" "github.com/docker/docker/cli"
"github.com/docker/docker/utils/templates" "github.com/docker/docker/pkg/templates"
) )
// Inspector defines an interface to implement to process elements // Inspector defines an interface to implement to process elements

View File

@ -5,7 +5,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/docker/docker/utils/templates" "github.com/docker/docker/pkg/templates"
) )
type testElement struct { type testElement struct {

View File

@ -17,7 +17,7 @@ import (
"github.com/docker/docker/cli/command" "github.com/docker/docker/cli/command"
"github.com/docker/docker/opts" "github.com/docker/docker/opts"
"github.com/docker/docker/pkg/jsonlog" "github.com/docker/docker/pkg/jsonlog"
"github.com/docker/docker/utils/templates" "github.com/docker/docker/pkg/templates"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View File

@ -14,7 +14,7 @@ import (
"github.com/docker/docker/cli/command" "github.com/docker/docker/cli/command"
"github.com/docker/docker/cli/debug" "github.com/docker/docker/cli/debug"
"github.com/docker/docker/pkg/ioutils" "github.com/docker/docker/pkg/ioutils"
"github.com/docker/docker/utils/templates" "github.com/docker/docker/pkg/templates"
"github.com/docker/go-units" "github.com/docker/go-units"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View File

@ -11,7 +11,7 @@ import (
"github.com/docker/docker/cli" "github.com/docker/docker/cli"
"github.com/docker/docker/cli/command" "github.com/docker/docker/cli/command"
"github.com/docker/docker/dockerversion" "github.com/docker/docker/dockerversion"
"github.com/docker/docker/utils/templates" "github.com/docker/docker/pkg/templates"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View File

@ -4,7 +4,7 @@ import (
"bytes" "bytes"
"github.com/docker/docker/daemon/logger" "github.com/docker/docker/daemon/logger"
"github.com/docker/docker/utils/templates" "github.com/docker/docker/pkg/templates"
) )
// DefaultTemplate defines the defaults template logger should use. // DefaultTemplate defines the defaults template logger should use.

View File

@ -11,7 +11,7 @@ import (
"strings" "strings"
"github.com/docker/docker/pkg/aaparser" "github.com/docker/docker/pkg/aaparser"
"github.com/docker/docker/utils/templates" "github.com/docker/docker/pkg/templates"
) )
var ( var (