Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Canonical imports #911

Merged
merged 5 commits into from
Sep 27, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ endif
.DEFAULT: all
all: clean fmt vet lint build test binaries

ci: fmt vet lint check-docs coverage
ci: fmt vet lint coverage

AUTHORS: .mailmap .git/HEAD
git log --format='%aN <%aE>' | sort -fu > $@
Expand Down
2 changes: 1 addition & 1 deletion cmd/infrakit/base/init.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package base
package base // import "github.com/docker/infrakit/cmd/infrakit/base"

import (
logutil "github.com/docker/infrakit/pkg/log"
Expand Down
2 changes: 1 addition & 1 deletion cmd/infrakit/base/module.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package base
package base // import "github.com/docker/infrakit/cmd/infrakit/base"

import (
"sync"
Expand Down
2 changes: 1 addition & 1 deletion cmd/infrakit/manager/manager.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package manager
package manager // import "github.com/docker/infrakit/cmd/infrakit/manager"

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion cmd/infrakit/manager/schema/v0.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package schema
package schema // import "github.com/docker/infrakit/cmd/infrakit/manager/schema"

import (
group_types "github.com/docker/infrakit/pkg/controller/group/types"
Expand Down
2 changes: 1 addition & 1 deletion cmd/infrakit/playbook/playbook.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package playbook
package playbook // import "github.com/docker/infrakit/cmd/infrakit/playbook"

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion cmd/infrakit/plugin/plugin.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package plugin
package plugin // import "github.com/docker/infrakit/cmd/infrakit/plugin"

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion cmd/infrakit/template/template.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package template
package template // import "github.com/docker/infrakit/cmd/infrakit/template"

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion cmd/infrakit/up/up.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package up
package up // import "github.com/docker/infrakit/cmd/infrakit/up"

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion cmd/infrakit/util/fileserver.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package util
package util // import "github.com/docker/infrakit/cmd/infrakit/util"

import (
"net/http"
Expand Down
2 changes: 1 addition & 1 deletion cmd/infrakit/util/init/init.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package init
package init // import "github.com/docker/infrakit/cmd/infrakit/util/init"

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion cmd/infrakit/util/mux/etcd.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package mux
package mux // import "github.com/docker/infrakit/cmd/infrakit/util/mux"

import (
"time"
Expand Down
2 changes: 1 addition & 1 deletion cmd/infrakit/util/mux/mux.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package mux
package mux // import "github.com/docker/infrakit/cmd/infrakit/util/mux"

import (
"net/url"
Expand Down
2 changes: 1 addition & 1 deletion cmd/infrakit/util/mux/os.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package mux
package mux // import "github.com/docker/infrakit/cmd/infrakit/util/mux"

import (
"os"
Expand Down
2 changes: 1 addition & 1 deletion cmd/infrakit/util/mux/swarm.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package mux
package mux // import "github.com/docker/infrakit/cmd/infrakit/util/mux"

import (
"github.com/docker/go-connections/tlsconfig"
Expand Down
2 changes: 1 addition & 1 deletion cmd/infrakit/util/track.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package util
package util // import "github.com/docker/infrakit/cmd/infrakit/util"

import (
"os"
Expand Down
2 changes: 1 addition & 1 deletion cmd/infrakit/util/util.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package util
package util // import "github.com/docker/infrakit/cmd/infrakit/util"

import (
"github.com/docker/infrakit/cmd/infrakit/base"
Expand Down
2 changes: 1 addition & 1 deletion cmd/infrakit/x/maxlife.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package x
package x // import "github.com/docker/infrakit/cmd/infrakit/x"

import (
"os"
Expand Down
2 changes: 1 addition & 1 deletion cmd/infrakit/x/remoteboot.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package x
package x // import "github.com/docker/infrakit/cmd/infrakit/x"

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion cmd/infrakit/x/vmwscript.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package x
package x // import "github.com/docker/infrakit/cmd/infrakit/x"

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion cmd/infrakit/x/x.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package x
package x // import "github.com/docker/infrakit/cmd/infrakit/x"

import (
"github.com/docker/infrakit/cmd/infrakit/base"
Expand Down
2 changes: 1 addition & 1 deletion pkg/broker/client/sse.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package client // import "github.com/docker/infrakit/pkg/broker/client"

import (
"bufio"
Expand Down
2 changes: 1 addition & 1 deletion pkg/broker/client/sse_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package client // import "github.com/docker/infrakit/pkg/broker/client"

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion pkg/broker/server/interceptor.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package server
package server // import "github.com/docker/infrakit/pkg/broker/server"

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion pkg/broker/server/server.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package server
package server // import "github.com/docker/infrakit/pkg/broker/server"

import (
"net"
Expand Down
2 changes: 1 addition & 1 deletion pkg/broker/server/server_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package server
package server // import "github.com/docker/infrakit/pkg/broker/server"

import (
"io/ioutil"
Expand Down
2 changes: 1 addition & 1 deletion pkg/broker/server/sse.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package server
package server // import "github.com/docker/infrakit/pkg/broker/server"

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion pkg/broker/server/sse_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package server
package server // import "github.com/docker/infrakit/pkg/broker/server"

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion pkg/callable/backend/controller/commit.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package controller
package controller // import "github.com/docker/infrakit/pkg/callable/backend/controller"

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion pkg/callable/backend/http/http.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package http
package http // import "github.com/docker/infrakit/pkg/callable/backend/http"

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion pkg/callable/backend/instance/provision.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package instance
package instance // import "github.com/docker/infrakit/pkg/callable/backend/instance"

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion pkg/callable/backend/print/print.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package print
package print // import "github.com/docker/infrakit/pkg/callable/backend/print"

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion pkg/callable/backend/sh/sh.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package sh
package sh // import "github.com/docker/infrakit/pkg/callable/backend/sh"

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion pkg/callable/backend/ssh/script.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ssh
package ssh // import "github.com/docker/infrakit/pkg/callable/backend/ssh"

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion pkg/callable/backend/ssh/ssh_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ssh
package ssh // import "github.com/docker/infrakit/pkg/callable/backend/ssh"

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion pkg/callable/backend/stack/enforce.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package stack
package stack // import "github.com/docker/infrakit/pkg/callable/backend/stack"

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion pkg/callable/backend/types.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package backend
package backend // import "github.com/docker/infrakit/pkg/callable/backend"

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion pkg/callable/backend/vmwscript/script.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package vmwscript
package vmwscript // import "github.com/docker/infrakit/pkg/callable/backend/vmwscript"

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion pkg/callable/backends.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package callable
package callable // import "github.com/docker/infrakit/pkg/callable"

import (
"github.com/docker/infrakit/pkg/callable/backend"
Expand Down
2 changes: 1 addition & 1 deletion pkg/callable/callable.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package callable
package callable // import "github.com/docker/infrakit/pkg/callable"

import (
"bufio"
Expand Down
2 changes: 1 addition & 1 deletion pkg/callable/callable_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package callable
package callable // import "github.com/docker/infrakit/pkg/callable"

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion pkg/callable/flags.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package callable
package callable // import "github.com/docker/infrakit/pkg/callable"

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion pkg/callable/init.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package callable
package callable // import "github.com/docker/infrakit/pkg/callable"

import (
logutil "github.com/docker/infrakit/pkg/log"
Expand Down
2 changes: 1 addition & 1 deletion pkg/callable/module.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package callable
package callable // import "github.com/docker/infrakit/pkg/callable"

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion pkg/callable/module_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package callable
package callable // import "github.com/docker/infrakit/pkg/callable"

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion pkg/callable/params.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package callable
package callable // import "github.com/docker/infrakit/pkg/callable"

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion pkg/callable/params_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package callable
package callable // import "github.com/docker/infrakit/pkg/callable"

import (
"testing"
Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/cli.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cli
package cli // import "github.com/docker/infrakit/pkg/cli"

import (
"github.com/spf13/cobra"
Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/logging.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cli
package cli // import "github.com/docker/infrakit/pkg/cli"

import (
"github.com/spf13/pflag"
Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/output.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cli
package cli // import "github.com/docker/infrakit/pkg/cli"

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/playbook/modules.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package playbook
package playbook // import "github.com/docker/infrakit/pkg/cli/playbook"

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/playbook/modules_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package playbook
package playbook // import "github.com/docker/infrakit/pkg/cli/playbook"

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/playbook/playbook.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package playbook
package playbook // import "github.com/docker/infrakit/pkg/cli/playbook"

import (
"io/ioutil"
Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/plugins.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cli
package cli // import "github.com/docker/infrakit/pkg/cli"

import (
"time"
Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/registry.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cli
package cli // import "github.com/docker/infrakit/pkg/cli"

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/remotes.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cli
package cli // import "github.com/docker/infrakit/pkg/cli"

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/services.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cli
package cli // import "github.com/docker/infrakit/pkg/cli"

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/util.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cli
package cli // import "github.com/docker/infrakit/pkg/cli"

import (
"os"
Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/v0/controller/cmd.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package controller
package controller // import "github.com/docker/infrakit/pkg/cli/v0/controller"

import (
"github.com/docker/infrakit/pkg/cli"
Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/v0/controller/commit.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package controller
package controller // import "github.com/docker/infrakit/pkg/cli/v0/controller"

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/v0/controller/describe.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package controller
package controller // import "github.com/docker/infrakit/pkg/cli/v0/controller"

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/v0/controller/free.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package controller
package controller // import "github.com/docker/infrakit/pkg/cli/v0/controller"

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/v0/event/cmd.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package event
package event // import "github.com/docker/infrakit/pkg/cli/v0/event"

import (
"github.com/docker/infrakit/pkg/cli"
Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/v0/event/ls.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package event
package event // import "github.com/docker/infrakit/pkg/cli/v0/event"

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/v0/event/tail.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package event
package event // import "github.com/docker/infrakit/pkg/cli/v0/event"

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/v0/flavor/cmd.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package flavor
package flavor // import "github.com/docker/infrakit/pkg/cli/v0/flavor"

import (
"github.com/docker/infrakit/pkg/cli"
Expand Down
Loading