mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Merge pull request #101 from iron-io/update-worker-repository
updated worker repository references
This commit is contained in:
@@ -4,7 +4,7 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/Sirupsen/logrus"
|
"github.com/Sirupsen/logrus"
|
||||||
titancommon "github.com/iron-io/titan/common"
|
titancommon "github.com/iron-io/worker/common"
|
||||||
"golang.org/x/net/context"
|
"golang.org/x/net/context"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -15,12 +15,12 @@ import (
|
|||||||
"golang.org/x/net/context"
|
"golang.org/x/net/context"
|
||||||
|
|
||||||
"github.com/Sirupsen/logrus"
|
"github.com/Sirupsen/logrus"
|
||||||
"github.com/iron-io/titan/common"
|
"github.com/iron-io/worker/common"
|
||||||
"github.com/iron-io/titan/runner/agent"
|
"github.com/iron-io/worker/runner/agent"
|
||||||
"github.com/iron-io/titan/runner/drivers"
|
"github.com/iron-io/worker/runner/drivers"
|
||||||
driverscommon "github.com/iron-io/titan/runner/drivers"
|
driverscommon "github.com/iron-io/worker/runner/drivers"
|
||||||
"github.com/iron-io/titan/runner/drivers/docker"
|
"github.com/iron-io/worker/runner/drivers/docker"
|
||||||
"github.com/iron-io/titan/runner/drivers/mock"
|
"github.com/iron-io/worker/runner/drivers/mock"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Config struct {
|
type Config struct {
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ import (
|
|||||||
"golang.org/x/net/context"
|
"golang.org/x/net/context"
|
||||||
|
|
||||||
dockercli "github.com/fsouza/go-dockerclient"
|
dockercli "github.com/fsouza/go-dockerclient"
|
||||||
"github.com/iron-io/titan/runner/drivers"
|
"github.com/iron-io/worker/runner/drivers"
|
||||||
"github.com/iron-io/titan/runner/tasker"
|
"github.com/iron-io/worker/runner/tasker"
|
||||||
)
|
)
|
||||||
|
|
||||||
type containerTask struct {
|
type containerTask struct {
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import (
|
|||||||
|
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/iron-io/functions/api/models"
|
"github.com/iron-io/functions/api/models"
|
||||||
titancommon "github.com/iron-io/titan/common"
|
titancommon "github.com/iron-io/worker/common"
|
||||||
)
|
)
|
||||||
|
|
||||||
func handleAppCreate(c *gin.Context) {
|
func handleAppCreate(c *gin.Context) {
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import (
|
|||||||
|
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/iron-io/functions/api/models"
|
"github.com/iron-io/functions/api/models"
|
||||||
titancommon "github.com/iron-io/titan/common"
|
titancommon "github.com/iron-io/worker/common"
|
||||||
)
|
)
|
||||||
|
|
||||||
func handleAppDelete(c *gin.Context) {
|
func handleAppDelete(c *gin.Context) {
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import (
|
|||||||
|
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/iron-io/functions/api/models"
|
"github.com/iron-io/functions/api/models"
|
||||||
titancommon "github.com/iron-io/titan/common"
|
titancommon "github.com/iron-io/worker/common"
|
||||||
)
|
)
|
||||||
|
|
||||||
func handleAppGet(c *gin.Context) {
|
func handleAppGet(c *gin.Context) {
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import (
|
|||||||
|
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/iron-io/functions/api/models"
|
"github.com/iron-io/functions/api/models"
|
||||||
titancommon "github.com/iron-io/titan/common"
|
titancommon "github.com/iron-io/worker/common"
|
||||||
)
|
)
|
||||||
|
|
||||||
func handleAppList(c *gin.Context) {
|
func handleAppList(c *gin.Context) {
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import (
|
|||||||
|
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/iron-io/functions/api/models"
|
"github.com/iron-io/functions/api/models"
|
||||||
titancommon "github.com/iron-io/titan/common"
|
titancommon "github.com/iron-io/worker/common"
|
||||||
)
|
)
|
||||||
|
|
||||||
func handleAppUpdate(c *gin.Context) {
|
func handleAppUpdate(c *gin.Context) {
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ import (
|
|||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/iron-io/functions/api/models"
|
"github.com/iron-io/functions/api/models"
|
||||||
"github.com/iron-io/functions/api/runner"
|
"github.com/iron-io/functions/api/runner"
|
||||||
titancommon "github.com/iron-io/titan/common"
|
titancommon "github.com/iron-io/worker/common"
|
||||||
)
|
)
|
||||||
|
|
||||||
type appResponse struct {
|
type appResponse struct {
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import (
|
|||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/iron-io/functions/api/models"
|
"github.com/iron-io/functions/api/models"
|
||||||
"github.com/iron-io/functions/api/runner"
|
"github.com/iron-io/functions/api/runner"
|
||||||
titancommon "github.com/iron-io/titan/common"
|
titancommon "github.com/iron-io/worker/common"
|
||||||
)
|
)
|
||||||
|
|
||||||
func handleRouteCreate(c *gin.Context) {
|
func handleRouteCreate(c *gin.Context) {
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import (
|
|||||||
|
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/iron-io/functions/api/models"
|
"github.com/iron-io/functions/api/models"
|
||||||
titancommon "github.com/iron-io/titan/common"
|
titancommon "github.com/iron-io/worker/common"
|
||||||
)
|
)
|
||||||
|
|
||||||
func handleRouteDelete(c *gin.Context) {
|
func handleRouteDelete(c *gin.Context) {
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import (
|
|||||||
"github.com/Sirupsen/logrus"
|
"github.com/Sirupsen/logrus"
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/iron-io/functions/api/models"
|
"github.com/iron-io/functions/api/models"
|
||||||
titancommon "github.com/iron-io/titan/common"
|
titancommon "github.com/iron-io/worker/common"
|
||||||
)
|
)
|
||||||
|
|
||||||
func handleRouteGet(c *gin.Context) {
|
func handleRouteGet(c *gin.Context) {
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import (
|
|||||||
"github.com/Sirupsen/logrus"
|
"github.com/Sirupsen/logrus"
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/iron-io/functions/api/models"
|
"github.com/iron-io/functions/api/models"
|
||||||
titancommon "github.com/iron-io/titan/common"
|
titancommon "github.com/iron-io/worker/common"
|
||||||
)
|
)
|
||||||
|
|
||||||
func handleRouteList(c *gin.Context) {
|
func handleRouteList(c *gin.Context) {
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import (
|
|||||||
|
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/iron-io/functions/api/models"
|
"github.com/iron-io/functions/api/models"
|
||||||
titancommon "github.com/iron-io/titan/common"
|
titancommon "github.com/iron-io/worker/common"
|
||||||
)
|
)
|
||||||
|
|
||||||
func handleRouteUpdate(c *gin.Context) {
|
func handleRouteUpdate(c *gin.Context) {
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ import (
|
|||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/iron-io/functions/api/models"
|
"github.com/iron-io/functions/api/models"
|
||||||
"github.com/iron-io/functions/api/runner"
|
"github.com/iron-io/functions/api/runner"
|
||||||
titancommon "github.com/iron-io/titan/common"
|
titancommon "github.com/iron-io/worker/common"
|
||||||
"github.com/satori/go.uuid"
|
"github.com/satori/go.uuid"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import (
|
|||||||
"github.com/iron-io/functions/api/ifaces"
|
"github.com/iron-io/functions/api/ifaces"
|
||||||
"github.com/iron-io/functions/api/models"
|
"github.com/iron-io/functions/api/models"
|
||||||
"github.com/iron-io/functions/api/runner"
|
"github.com/iron-io/functions/api/runner"
|
||||||
titancommon "github.com/iron-io/titan/common"
|
titancommon "github.com/iron-io/worker/common"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Would be nice to not have this is a global, but hard to pass things around to the
|
// Would be nice to not have this is a global, but hard to pass things around to the
|
||||||
|
|||||||
4
glide.lock
generated
4
glide.lock
generated
@@ -102,8 +102,8 @@ imports:
|
|||||||
version: ddbd05bac47f55e533a7ed124211ef7e076b0bf3
|
version: ddbd05bac47f55e533a7ed124211ef7e076b0bf3
|
||||||
subpackages:
|
subpackages:
|
||||||
- registry
|
- registry
|
||||||
- name: github.com/iron-io/titan
|
- name: github.com/iron-io/worker
|
||||||
version: 3bb6aacb244a24e38bba755cc863533810117a5c
|
version: 15dcee7470fed6dcd956b5565e3dc1404cb1b96b
|
||||||
repo: git@github.com:iron-io/worker.git
|
repo: git@github.com:iron-io/worker.git
|
||||||
vcs: git
|
vcs: git
|
||||||
subpackages:
|
subpackages:
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import:
|
|||||||
- package: github.com/go-openapi/errors
|
- package: github.com/go-openapi/errors
|
||||||
- package: github.com/go-openapi/strfmt
|
- package: github.com/go-openapi/strfmt
|
||||||
- package: github.com/go-openapi/validate
|
- package: github.com/go-openapi/validate
|
||||||
- package: github.com/iron-io/titan
|
- package: github.com/iron-io/worker
|
||||||
repo: git@github.com:iron-io/worker.git
|
repo: git@github.com:iron-io/worker.git
|
||||||
vcs: git
|
vcs: git
|
||||||
version: master
|
version: master
|
||||||
|
|||||||
Reference in New Issue
Block a user