|
|
@ -1,6 +1,7 @@
|
|
|
|
package main // import "github.com/CenturyLinkLabs/watchtower"
|
|
|
|
package main // import "github.com/CenturyLinkLabs/watchtower"
|
|
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
import (
|
|
|
|
|
|
|
|
"context"
|
|
|
|
"crypto/tls"
|
|
|
|
"crypto/tls"
|
|
|
|
"crypto/x509"
|
|
|
|
"crypto/x509"
|
|
|
|
"fmt"
|
|
|
|
"fmt"
|
|
|
@ -11,14 +12,13 @@ import (
|
|
|
|
"sync"
|
|
|
|
"sync"
|
|
|
|
"syscall"
|
|
|
|
"syscall"
|
|
|
|
"time"
|
|
|
|
"time"
|
|
|
|
"context"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
"github.com/CenturyLinkLabs/watchtower/actions"
|
|
|
|
"github.com/CenturyLinkLabs/watchtower/actions"
|
|
|
|
"github.com/CenturyLinkLabs/watchtower/container"
|
|
|
|
"github.com/CenturyLinkLabs/watchtower/container"
|
|
|
|
log "github.com/Sirupsen/logrus"
|
|
|
|
log "github.com/Sirupsen/logrus"
|
|
|
|
"github.com/codegangsta/cli"
|
|
|
|
"github.com/codegangsta/cli"
|
|
|
|
dockerclient "github.com/docker/docker/client"
|
|
|
|
|
|
|
|
"github.com/docker/docker/api/types"
|
|
|
|
"github.com/docker/docker/api/types"
|
|
|
|
|
|
|
|
dockerclient "github.com/docker/docker/client"
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
var (
|
|
|
|
var (
|
|
|
|