mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Rewrite imports to use forks files on gitlab not use githubs.
This commit is contained in:
@@ -14,8 +14,8 @@ import (
|
|||||||
|
|
||||||
"github.com/Sirupsen/logrus"
|
"github.com/Sirupsen/logrus"
|
||||||
"github.com/boltdb/bolt"
|
"github.com/boltdb/bolt"
|
||||||
"github.com/treeder/functions/api/models"
|
"gitlab.oracledx.com/odx/functions/api/models"
|
||||||
"github.com/treeder/functions/api/datastore/internal/datastoreutil"
|
"gitlab.oracledx.com/odx/functions/api/datastore/internal/datastoreutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
type BoltDatastore struct {
|
type BoltDatastore struct {
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/treeder/functions/api/datastore/internal/datastoretest"
|
"gitlab.oracledx.com/odx/functions/api/datastore/internal/datastoretest"
|
||||||
)
|
)
|
||||||
|
|
||||||
const tmpBolt = "/tmp/func_test_bolt.db"
|
const tmpBolt = "/tmp/func_test_bolt.db"
|
||||||
|
|||||||
@@ -5,11 +5,11 @@ import (
|
|||||||
"net/url"
|
"net/url"
|
||||||
|
|
||||||
"github.com/Sirupsen/logrus"
|
"github.com/Sirupsen/logrus"
|
||||||
"github.com/treeder/functions/api/datastore/bolt"
|
"gitlab.oracledx.com/odx/functions/api/datastore/bolt"
|
||||||
"github.com/treeder/functions/api/datastore/mysql"
|
"gitlab.oracledx.com/odx/functions/api/datastore/mysql"
|
||||||
"github.com/treeder/functions/api/datastore/postgres"
|
"gitlab.oracledx.com/odx/functions/api/datastore/postgres"
|
||||||
"github.com/treeder/functions/api/datastore/redis"
|
"gitlab.oracledx.com/odx/functions/api/datastore/redis"
|
||||||
"github.com/treeder/functions/api/models"
|
"gitlab.oracledx.com/odx/functions/api/models"
|
||||||
)
|
)
|
||||||
|
|
||||||
func New(dbURL string) (models.Datastore, error) {
|
func New(dbURL string) (models.Datastore, error) {
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import (
|
|||||||
"log"
|
"log"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/treeder/functions/api/models"
|
"gitlab.oracledx.com/odx/functions/api/models"
|
||||||
|
|
||||||
"net/http"
|
"net/http"
|
||||||
"net/url"
|
"net/url"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ package datastoreutil
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"github.com/treeder/functions/api/models"
|
"gitlab.oracledx.com/odx/functions/api/models"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Datastore is a copy of models.Datastore, with additional comments on parameter guarantees.
|
// Datastore is a copy of models.Datastore, with additional comments on parameter guarantees.
|
||||||
|
|||||||
@@ -3,8 +3,8 @@ package datastore
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"github.com/treeder/functions/api/datastore/internal/datastoreutil"
|
"gitlab.oracledx.com/odx/functions/api/datastore/internal/datastoreutil"
|
||||||
"github.com/treeder/functions/api/models"
|
"gitlab.oracledx.com/odx/functions/api/models"
|
||||||
)
|
)
|
||||||
|
|
||||||
type mock struct {
|
type mock struct {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ package datastore
|
|||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/treeder/functions/api/datastore/internal/datastoretest"
|
"gitlab.oracledx.com/odx/functions/api/datastore/internal/datastoretest"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestDatastore(t *testing.T) {
|
func TestDatastore(t *testing.T) {
|
||||||
|
|||||||
@@ -11,8 +11,8 @@ import (
|
|||||||
"github.com/Sirupsen/logrus"
|
"github.com/Sirupsen/logrus"
|
||||||
"github.com/go-sql-driver/mysql"
|
"github.com/go-sql-driver/mysql"
|
||||||
_ "github.com/go-sql-driver/mysql"
|
_ "github.com/go-sql-driver/mysql"
|
||||||
"github.com/treeder/functions/api/datastore/internal/datastoreutil"
|
"gitlab.oracledx.com/odx/functions/api/datastore/internal/datastoreutil"
|
||||||
"github.com/treeder/functions/api/models"
|
"gitlab.oracledx.com/odx/functions/api/models"
|
||||||
)
|
)
|
||||||
|
|
||||||
const routesTableCreate = `CREATE TABLE IF NOT EXISTS routes (
|
const routesTableCreate = `CREATE TABLE IF NOT EXISTS routes (
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/treeder/functions/api/datastore/internal/datastoretest"
|
"gitlab.oracledx.com/odx/functions/api/datastore/internal/datastoretest"
|
||||||
)
|
)
|
||||||
|
|
||||||
const tmpMysql = "mysql://root:root@tcp(%v:3307)/funcs"
|
const tmpMysql = "mysql://root:root@tcp(%v:3307)/funcs"
|
||||||
|
|||||||
@@ -10,8 +10,8 @@ import (
|
|||||||
|
|
||||||
"bytes"
|
"bytes"
|
||||||
"github.com/Sirupsen/logrus"
|
"github.com/Sirupsen/logrus"
|
||||||
"github.com/treeder/functions/api/datastore/internal/datastoreutil"
|
"gitlab.oracledx.com/odx/functions/api/datastore/internal/datastoreutil"
|
||||||
"github.com/treeder/functions/api/models"
|
"gitlab.oracledx.com/odx/functions/api/models"
|
||||||
"github.com/lib/pq"
|
"github.com/lib/pq"
|
||||||
_ "github.com/lib/pq"
|
_ "github.com/lib/pq"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/treeder/functions/api/datastore/internal/datastoretest"
|
"gitlab.oracledx.com/odx/functions/api/datastore/internal/datastoretest"
|
||||||
)
|
)
|
||||||
|
|
||||||
const tmpPostgres = "postgres://postgres@%v:15432/funcs?sslmode=disable"
|
const tmpPostgres = "postgres://postgres@%v:15432/funcs?sslmode=disable"
|
||||||
|
|||||||
@@ -12,8 +12,8 @@ import (
|
|||||||
|
|
||||||
"github.com/Sirupsen/logrus"
|
"github.com/Sirupsen/logrus"
|
||||||
"github.com/garyburd/redigo/redis"
|
"github.com/garyburd/redigo/redis"
|
||||||
"github.com/treeder/functions/api/models"
|
"gitlab.oracledx.com/odx/functions/api/models"
|
||||||
"github.com/treeder/functions/api/datastore/internal/datastoreutil"
|
"gitlab.oracledx.com/odx/functions/api/datastore/internal/datastoreutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
type RedisDataStore struct {
|
type RedisDataStore struct {
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/garyburd/redigo/redis"
|
"github.com/garyburd/redigo/redis"
|
||||||
"github.com/treeder/functions/api/datastore/internal/datastoretest"
|
"gitlab.oracledx.com/odx/functions/api/datastore/internal/datastoretest"
|
||||||
)
|
)
|
||||||
|
|
||||||
const tmpRedis = "redis://%v:6301/"
|
const tmpRedis = "redis://%v:6301/"
|
||||||
|
|||||||
@@ -13,8 +13,8 @@ import (
|
|||||||
|
|
||||||
"github.com/Sirupsen/logrus"
|
"github.com/Sirupsen/logrus"
|
||||||
"github.com/boltdb/bolt"
|
"github.com/boltdb/bolt"
|
||||||
"github.com/treeder/functions/api/models"
|
"gitlab.oracledx.com/odx/functions/api/models"
|
||||||
"github.com/treeder/functions/api/runner/common"
|
"gitlab.oracledx.com/odx/functions/api/runner/common"
|
||||||
)
|
)
|
||||||
|
|
||||||
type BoltDbMQ struct {
|
type BoltDbMQ struct {
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ import (
|
|||||||
"github.com/Sirupsen/logrus"
|
"github.com/Sirupsen/logrus"
|
||||||
mq_config "github.com/iron-io/iron_go3/config"
|
mq_config "github.com/iron-io/iron_go3/config"
|
||||||
ironmq "github.com/iron-io/iron_go3/mq"
|
ironmq "github.com/iron-io/iron_go3/mq"
|
||||||
"github.com/treeder/functions/api/models"
|
"gitlab.oracledx.com/odx/functions/api/models"
|
||||||
)
|
)
|
||||||
|
|
||||||
type assoc struct {
|
type assoc struct {
|
||||||
|
|||||||
@@ -9,8 +9,8 @@ import (
|
|||||||
|
|
||||||
"github.com/Sirupsen/logrus"
|
"github.com/Sirupsen/logrus"
|
||||||
"github.com/google/btree"
|
"github.com/google/btree"
|
||||||
"github.com/treeder/functions/api/models"
|
"gitlab.oracledx.com/odx/functions/api/models"
|
||||||
"github.com/treeder/functions/api/runner/common"
|
"gitlab.oracledx.com/odx/functions/api/runner/common"
|
||||||
)
|
)
|
||||||
|
|
||||||
type MemoryMQ struct {
|
type MemoryMQ struct {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ package mqs
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"github.com/treeder/functions/api/models"
|
"gitlab.oracledx.com/odx/functions/api/models"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Mock struct {
|
type Mock struct {
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/Sirupsen/logrus"
|
"github.com/Sirupsen/logrus"
|
||||||
"github.com/treeder/functions/api/models"
|
"gitlab.oracledx.com/odx/functions/api/models"
|
||||||
)
|
)
|
||||||
|
|
||||||
// New will parse the URL and return the correct MQ implementation.
|
// New will parse the URL and return the correct MQ implementation.
|
||||||
|
|||||||
@@ -11,8 +11,8 @@ import (
|
|||||||
|
|
||||||
"github.com/Sirupsen/logrus"
|
"github.com/Sirupsen/logrus"
|
||||||
"github.com/garyburd/redigo/redis"
|
"github.com/garyburd/redigo/redis"
|
||||||
"github.com/treeder/functions/api/models"
|
"gitlab.oracledx.com/odx/functions/api/models"
|
||||||
"github.com/treeder/functions/api/runner/common"
|
"gitlab.oracledx.com/odx/functions/api/runner/common"
|
||||||
)
|
)
|
||||||
|
|
||||||
type RedisMQ struct {
|
type RedisMQ struct {
|
||||||
|
|||||||
@@ -13,9 +13,9 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/Sirupsen/logrus"
|
"github.com/Sirupsen/logrus"
|
||||||
"github.com/treeder/functions/api/models"
|
"gitlab.oracledx.com/odx/functions/api/models"
|
||||||
"github.com/treeder/functions/api/runner/task"
|
"gitlab.oracledx.com/odx/functions/api/runner/task"
|
||||||
"github.com/treeder/functions/api/runner/common"
|
"gitlab.oracledx.com/odx/functions/api/runner/common"
|
||||||
)
|
)
|
||||||
|
|
||||||
func getTask(ctx context.Context, url string) (*models.Task, error) {
|
func getTask(ctx context.Context, url string) (*models.Task, error) {
|
||||||
|
|||||||
@@ -15,9 +15,9 @@ import (
|
|||||||
|
|
||||||
"github.com/Sirupsen/logrus"
|
"github.com/Sirupsen/logrus"
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/treeder/functions/api/models"
|
"gitlab.oracledx.com/odx/functions/api/models"
|
||||||
"github.com/treeder/functions/api/mqs"
|
"gitlab.oracledx.com/odx/functions/api/mqs"
|
||||||
"github.com/treeder/functions/api/runner/task"
|
"gitlab.oracledx.com/odx/functions/api/runner/task"
|
||||||
)
|
)
|
||||||
|
|
||||||
func setLogBuffer() *bytes.Buffer {
|
func setLogBuffer() *bytes.Buffer {
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
package common
|
package common
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/treeder/functions/api/runner/common/stats"
|
"gitlab.oracledx.com/odx/functions/api/runner/common/stats"
|
||||||
)
|
)
|
||||||
|
|
||||||
// An Environment is a long lived object that carries around 'configuration'
|
// An Environment is a long lived object that carries around 'configuration'
|
||||||
|
|||||||
@@ -32,9 +32,9 @@ import (
|
|||||||
manifest "github.com/docker/distribution/manifest/schema1"
|
manifest "github.com/docker/distribution/manifest/schema1"
|
||||||
"github.com/fsouza/go-dockerclient"
|
"github.com/fsouza/go-dockerclient"
|
||||||
"github.com/heroku/docker-registry-client/registry"
|
"github.com/heroku/docker-registry-client/registry"
|
||||||
"github.com/treeder/functions/api/runner/common"
|
"gitlab.oracledx.com/odx/functions/api/runner/common"
|
||||||
"github.com/treeder/functions/api/runner/common/stats"
|
"gitlab.oracledx.com/odx/functions/api/runner/common/stats"
|
||||||
"github.com/treeder/functions/api/runner/drivers"
|
"gitlab.oracledx.com/odx/functions/api/runner/drivers"
|
||||||
)
|
)
|
||||||
|
|
||||||
const hubURL = "https://registry.hub.docker.com"
|
const hubURL = "https://registry.hub.docker.com"
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ import (
|
|||||||
|
|
||||||
"github.com/Sirupsen/logrus"
|
"github.com/Sirupsen/logrus"
|
||||||
"github.com/fsouza/go-dockerclient"
|
"github.com/fsouza/go-dockerclient"
|
||||||
"github.com/treeder/functions/api/runner/common"
|
"gitlab.oracledx.com/odx/functions/api/runner/common"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|||||||
@@ -23,8 +23,8 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/treeder/functions/api/runner/common"
|
"gitlab.oracledx.com/odx/functions/api/runner/common"
|
||||||
"github.com/treeder/functions/api/runner/drivers"
|
"gitlab.oracledx.com/odx/functions/api/runner/drivers"
|
||||||
"github.com/vrischmann/envconfig"
|
"github.com/vrischmann/envconfig"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/treeder/functions/api/runner/drivers"
|
"gitlab.oracledx.com/odx/functions/api/runner/drivers"
|
||||||
)
|
)
|
||||||
|
|
||||||
func New() drivers.Driver {
|
func New() drivers.Driver {
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import (
|
|||||||
|
|
||||||
"context"
|
"context"
|
||||||
"github.com/Sirupsen/logrus"
|
"github.com/Sirupsen/logrus"
|
||||||
"github.com/treeder/functions/api/runner/common"
|
"gitlab.oracledx.com/odx/functions/api/runner/common"
|
||||||
)
|
)
|
||||||
|
|
||||||
type FuncLogger interface {
|
type FuncLogger interface {
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/Sirupsen/logrus"
|
"github.com/Sirupsen/logrus"
|
||||||
"github.com/treeder/functions/api/runner/common"
|
"gitlab.oracledx.com/odx/functions/api/runner/common"
|
||||||
)
|
)
|
||||||
|
|
||||||
type MetricLogger interface {
|
type MetricLogger interface {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ package protocol
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"github.com/treeder/functions/api/runner/task"
|
"gitlab.oracledx.com/odx/functions/api/runner/task"
|
||||||
)
|
)
|
||||||
|
|
||||||
// DefaultProtocol is the protocol used by cold-containers
|
// DefaultProtocol is the protocol used by cold-containers
|
||||||
|
|||||||
@@ -5,8 +5,8 @@ import (
|
|||||||
"errors"
|
"errors"
|
||||||
"io"
|
"io"
|
||||||
|
|
||||||
"github.com/treeder/functions/api/models"
|
"gitlab.oracledx.com/odx/functions/api/models"
|
||||||
"github.com/treeder/functions/api/runner/task"
|
"gitlab.oracledx.com/odx/functions/api/runner/task"
|
||||||
)
|
)
|
||||||
|
|
||||||
var errInvalidProtocol = errors.New("Invalid Protocol")
|
var errInvalidProtocol = errors.New("Invalid Protocol")
|
||||||
|
|||||||
@@ -10,8 +10,8 @@ import (
|
|||||||
"net/http/httputil"
|
"net/http/httputil"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/treeder/functions/api/models"
|
"gitlab.oracledx.com/odx/functions/api/models"
|
||||||
"github.com/treeder/functions/api/runner/task"
|
"gitlab.oracledx.com/odx/functions/api/runner/task"
|
||||||
)
|
)
|
||||||
|
|
||||||
// HTTPProtocol converts stdin/stdout streams into HTTP/1.1 compliant
|
// HTTPProtocol converts stdin/stdout streams into HTTP/1.1 compliant
|
||||||
|
|||||||
@@ -14,12 +14,12 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/Sirupsen/logrus"
|
"github.com/Sirupsen/logrus"
|
||||||
"github.com/treeder/functions/api/runner/common"
|
"gitlab.oracledx.com/odx/functions/api/runner/common"
|
||||||
"github.com/treeder/functions/api/runner/drivers"
|
"gitlab.oracledx.com/odx/functions/api/runner/drivers"
|
||||||
driverscommon "github.com/treeder/functions/api/runner/drivers"
|
driverscommon "gitlab.oracledx.com/odx/functions/api/runner/drivers"
|
||||||
"github.com/treeder/functions/api/runner/drivers/docker"
|
"gitlab.oracledx.com/odx/functions/api/runner/drivers/docker"
|
||||||
"github.com/treeder/functions/api/runner/drivers/mock"
|
"gitlab.oracledx.com/odx/functions/api/runner/drivers/mock"
|
||||||
"github.com/treeder/functions/api/runner/task"
|
"gitlab.oracledx.com/odx/functions/api/runner/task"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Runner struct {
|
type Runner struct {
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/treeder/functions/api/models"
|
"gitlab.oracledx.com/odx/functions/api/models"
|
||||||
"github.com/treeder/functions/api/runner/task"
|
"gitlab.oracledx.com/odx/functions/api/runner/task"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestRunnerHello(t *testing.T) {
|
func TestRunnerHello(t *testing.T) {
|
||||||
|
|||||||
@@ -11,8 +11,8 @@ import (
|
|||||||
|
|
||||||
"github.com/moby/moby/cli/config/configfile"
|
"github.com/moby/moby/cli/config/configfile"
|
||||||
docker "github.com/fsouza/go-dockerclient"
|
docker "github.com/fsouza/go-dockerclient"
|
||||||
"github.com/treeder/functions/api/runner/task"
|
"gitlab.oracledx.com/odx/functions/api/runner/task"
|
||||||
"github.com/treeder/functions/api/runner/drivers"
|
"gitlab.oracledx.com/odx/functions/api/runner/drivers"
|
||||||
)
|
)
|
||||||
|
|
||||||
var registries dockerRegistries
|
var registries dockerRegistries
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import (
|
|||||||
"io"
|
"io"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/treeder/functions/api/runner/drivers"
|
"gitlab.oracledx.com/odx/functions/api/runner/drivers"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Config struct {
|
type Config struct {
|
||||||
|
|||||||
@@ -9,9 +9,9 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/Sirupsen/logrus"
|
"github.com/Sirupsen/logrus"
|
||||||
"github.com/treeder/functions/api/runner/protocol"
|
"gitlab.oracledx.com/odx/functions/api/runner/protocol"
|
||||||
"github.com/treeder/functions/api/runner/task"
|
"gitlab.oracledx.com/odx/functions/api/runner/task"
|
||||||
"github.com/treeder/functions/api/runner/drivers"
|
"gitlab.oracledx.com/odx/functions/api/runner/drivers"
|
||||||
)
|
)
|
||||||
|
|
||||||
// hot functions - theory of operation
|
// hot functions - theory of operation
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ package server
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"github.com/treeder/functions/api/models"
|
"gitlab.oracledx.com/odx/functions/api/models"
|
||||||
)
|
)
|
||||||
|
|
||||||
type AppListener interface {
|
type AppListener interface {
|
||||||
|
|||||||
@@ -5,8 +5,8 @@ import (
|
|||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/treeder/functions/api/models"
|
"gitlab.oracledx.com/odx/functions/api/models"
|
||||||
"github.com/treeder/functions/api/runner/common"
|
"gitlab.oracledx.com/odx/functions/api/runner/common"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (s *Server) handleAppCreate(c *gin.Context) {
|
func (s *Server) handleAppCreate(c *gin.Context) {
|
||||||
|
|||||||
@@ -5,9 +5,9 @@ import (
|
|||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/treeder/functions/api"
|
"gitlab.oracledx.com/odx/functions/api"
|
||||||
"github.com/treeder/functions/api/models"
|
"gitlab.oracledx.com/odx/functions/api/models"
|
||||||
"github.com/treeder/functions/api/runner/common"
|
"gitlab.oracledx.com/odx/functions/api/runner/common"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (s *Server) handleAppDelete(c *gin.Context) {
|
func (s *Server) handleAppDelete(c *gin.Context) {
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import (
|
|||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/treeder/functions/api"
|
"gitlab.oracledx.com/odx/functions/api"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (s *Server) handleAppGet(c *gin.Context) {
|
func (s *Server) handleAppGet(c *gin.Context) {
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import (
|
|||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/treeder/functions/api/models"
|
"gitlab.oracledx.com/odx/functions/api/models"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (s *Server) handleAppList(c *gin.Context) {
|
func (s *Server) handleAppList(c *gin.Context) {
|
||||||
|
|||||||
@@ -9,10 +9,10 @@ import (
|
|||||||
|
|
||||||
"github.com/Sirupsen/logrus"
|
"github.com/Sirupsen/logrus"
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/treeder/functions/api/datastore"
|
"gitlab.oracledx.com/odx/functions/api/datastore"
|
||||||
"github.com/treeder/functions/api/models"
|
"gitlab.oracledx.com/odx/functions/api/models"
|
||||||
"github.com/treeder/functions/api/mqs"
|
"gitlab.oracledx.com/odx/functions/api/mqs"
|
||||||
"github.com/treeder/functions/api/runner/task"
|
"gitlab.oracledx.com/odx/functions/api/runner/task"
|
||||||
)
|
)
|
||||||
|
|
||||||
func setLogBuffer() *bytes.Buffer {
|
func setLogBuffer() *bytes.Buffer {
|
||||||
|
|||||||
@@ -5,9 +5,9 @@ import (
|
|||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/treeder/functions/api"
|
"gitlab.oracledx.com/odx/functions/api"
|
||||||
"github.com/treeder/functions/api/models"
|
"gitlab.oracledx.com/odx/functions/api/models"
|
||||||
"github.com/treeder/functions/api/runner/common"
|
"gitlab.oracledx.com/odx/functions/api/runner/common"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (s *Server) handleAppUpdate(c *gin.Context) {
|
func (s *Server) handleAppUpdate(c *gin.Context) {
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/treeder/functions/api/models"
|
"gitlab.oracledx.com/odx/functions/api/models"
|
||||||
"github.com/treeder/functions/api/runner/common"
|
"gitlab.oracledx.com/odx/functions/api/runner/common"
|
||||||
"net/http"
|
"net/http"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -5,8 +5,8 @@ import (
|
|||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/treeder/functions/api"
|
"gitlab.oracledx.com/odx/functions/api"
|
||||||
"github.com/treeder/functions/api/models"
|
"gitlab.oracledx.com/odx/functions/api/models"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ApiHandlerFunc func(w http.ResponseWriter, r *http.Request)
|
type ApiHandlerFunc func(w http.ResponseWriter, r *http.Request)
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ package routecache
|
|||||||
import (
|
import (
|
||||||
"container/list"
|
"container/list"
|
||||||
|
|
||||||
"github.com/treeder/functions/api/models"
|
"gitlab.oracledx.com/odx/functions/api/models"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Cache holds an internal linkedlist for hotness management. It is not safe
|
// Cache holds an internal linkedlist for hotness management. It is not safe
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import (
|
|||||||
|
|
||||||
"github.com/Sirupsen/logrus"
|
"github.com/Sirupsen/logrus"
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/treeder/functions/api/models"
|
"gitlab.oracledx.com/odx/functions/api/models"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Middleware is the interface required for implementing functions middlewar
|
// Middleware is the interface required for implementing functions middlewar
|
||||||
|
|||||||
@@ -5,9 +5,9 @@ import (
|
|||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/treeder/functions/api"
|
"gitlab.oracledx.com/odx/functions/api"
|
||||||
"github.com/treeder/functions/api/models"
|
"gitlab.oracledx.com/odx/functions/api/models"
|
||||||
"github.com/treeder/functions/api/runner/common"
|
"gitlab.oracledx.com/odx/functions/api/runner/common"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (s *Server) handleRouteCreate(c *gin.Context) {
|
func (s *Server) handleRouteCreate(c *gin.Context) {
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import (
|
|||||||
"path"
|
"path"
|
||||||
|
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/treeder/functions/api"
|
"gitlab.oracledx.com/odx/functions/api"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (s *Server) handleRouteDelete(c *gin.Context) {
|
func (s *Server) handleRouteDelete(c *gin.Context) {
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import (
|
|||||||
"path"
|
"path"
|
||||||
|
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/treeder/functions/api"
|
"gitlab.oracledx.com/odx/functions/api"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (s *Server) handleRouteGet(c *gin.Context) {
|
func (s *Server) handleRouteGet(c *gin.Context) {
|
||||||
|
|||||||
@@ -5,8 +5,8 @@ import (
|
|||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/treeder/functions/api"
|
"gitlab.oracledx.com/odx/functions/api"
|
||||||
"github.com/treeder/functions/api/models"
|
"gitlab.oracledx.com/odx/functions/api/models"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (s *Server) handleRouteList(c *gin.Context) {
|
func (s *Server) handleRouteList(c *gin.Context) {
|
||||||
|
|||||||
@@ -6,9 +6,9 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/treeder/functions/api/datastore"
|
"gitlab.oracledx.com/odx/functions/api/datastore"
|
||||||
"github.com/treeder/functions/api/models"
|
"gitlab.oracledx.com/odx/functions/api/models"
|
||||||
"github.com/treeder/functions/api/mqs"
|
"gitlab.oracledx.com/odx/functions/api/mqs"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestRouteCreate(t *testing.T) {
|
func TestRouteCreate(t *testing.T) {
|
||||||
|
|||||||
@@ -6,9 +6,9 @@ import (
|
|||||||
"path"
|
"path"
|
||||||
|
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/treeder/functions/api"
|
"gitlab.oracledx.com/odx/functions/api"
|
||||||
"github.com/treeder/functions/api/models"
|
"gitlab.oracledx.com/odx/functions/api/models"
|
||||||
"github.com/treeder/functions/api/runner/common"
|
"gitlab.oracledx.com/odx/functions/api/runner/common"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (s *Server) handleRouteUpdate(c *gin.Context) {
|
func (s *Server) handleRouteUpdate(c *gin.Context) {
|
||||||
|
|||||||
@@ -14,11 +14,11 @@ import (
|
|||||||
|
|
||||||
"github.com/Sirupsen/logrus"
|
"github.com/Sirupsen/logrus"
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/treeder/functions/api"
|
"gitlab.oracledx.com/odx/functions/api"
|
||||||
"github.com/treeder/functions/api/models"
|
"gitlab.oracledx.com/odx/functions/api/models"
|
||||||
"github.com/treeder/functions/api/runner"
|
"gitlab.oracledx.com/odx/functions/api/runner"
|
||||||
"github.com/treeder/functions/api/runner/task"
|
"gitlab.oracledx.com/odx/functions/api/runner/task"
|
||||||
"github.com/treeder/functions/api/runner/common"
|
"gitlab.oracledx.com/odx/functions/api/runner/common"
|
||||||
uuid "github.com/satori/go.uuid"
|
uuid "github.com/satori/go.uuid"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -9,12 +9,12 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/treeder/functions/api/datastore"
|
"gitlab.oracledx.com/odx/functions/api/datastore"
|
||||||
"github.com/treeder/functions/api/models"
|
"gitlab.oracledx.com/odx/functions/api/models"
|
||||||
"github.com/treeder/functions/api/mqs"
|
"gitlab.oracledx.com/odx/functions/api/mqs"
|
||||||
"github.com/treeder/functions/api/runner"
|
"gitlab.oracledx.com/odx/functions/api/runner"
|
||||||
"github.com/treeder/functions/api/runner/task"
|
"gitlab.oracledx.com/odx/functions/api/runner/task"
|
||||||
"github.com/treeder/functions/api/server/internal/routecache"
|
"gitlab.oracledx.com/odx/functions/api/server/internal/routecache"
|
||||||
)
|
)
|
||||||
|
|
||||||
func testRouterAsync(ds models.Datastore, mq models.MessageQueue, rnr *runner.Runner, tasks chan task.Request, enqueue models.Enqueue) *gin.Engine {
|
func testRouterAsync(ds models.Datastore, mq models.MessageQueue, rnr *runner.Runner, tasks chan task.Request, enqueue models.Enqueue) *gin.Engine {
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ package server
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"github.com/treeder/functions/api/models"
|
"gitlab.oracledx.com/odx/functions/api/models"
|
||||||
)
|
)
|
||||||
|
|
||||||
type RunnerListener interface {
|
type RunnerListener interface {
|
||||||
|
|||||||
@@ -7,11 +7,11 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/treeder/functions/api/datastore"
|
"gitlab.oracledx.com/odx/functions/api/datastore"
|
||||||
"github.com/treeder/functions/api/models"
|
"gitlab.oracledx.com/odx/functions/api/models"
|
||||||
"github.com/treeder/functions/api/mqs"
|
"gitlab.oracledx.com/odx/functions/api/mqs"
|
||||||
"github.com/treeder/functions/api/runner"
|
"gitlab.oracledx.com/odx/functions/api/runner"
|
||||||
"github.com/treeder/functions/api/runner/task"
|
"gitlab.oracledx.com/odx/functions/api/runner/task"
|
||||||
)
|
)
|
||||||
|
|
||||||
func testRunner(t *testing.T) (*runner.Runner, context.CancelFunc) {
|
func testRunner(t *testing.T) (*runner.Runner, context.CancelFunc) {
|
||||||
|
|||||||
@@ -14,14 +14,14 @@ import (
|
|||||||
"github.com/Sirupsen/logrus"
|
"github.com/Sirupsen/logrus"
|
||||||
"github.com/ccirello/supervisor"
|
"github.com/ccirello/supervisor"
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/treeder/functions/api"
|
"gitlab.oracledx.com/odx/functions/api"
|
||||||
"github.com/treeder/functions/api/datastore"
|
"gitlab.oracledx.com/odx/functions/api/datastore"
|
||||||
"github.com/treeder/functions/api/models"
|
"gitlab.oracledx.com/odx/functions/api/models"
|
||||||
"github.com/treeder/functions/api/mqs"
|
"gitlab.oracledx.com/odx/functions/api/mqs"
|
||||||
"github.com/treeder/functions/api/runner"
|
"gitlab.oracledx.com/odx/functions/api/runner"
|
||||||
"github.com/treeder/functions/api/runner/task"
|
"gitlab.oracledx.com/odx/functions/api/runner/task"
|
||||||
"github.com/treeder/functions/api/server/internal/routecache"
|
"gitlab.oracledx.com/odx/functions/api/server/internal/routecache"
|
||||||
"github.com/treeder/functions/api/runner/common"
|
"gitlab.oracledx.com/odx/functions/api/runner/common"
|
||||||
"github.com/spf13/viper"
|
"github.com/spf13/viper"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -12,12 +12,12 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/treeder/functions/api/datastore"
|
"gitlab.oracledx.com/odx/functions/api/datastore"
|
||||||
"github.com/treeder/functions/api/models"
|
"gitlab.oracledx.com/odx/functions/api/models"
|
||||||
"github.com/treeder/functions/api/mqs"
|
"gitlab.oracledx.com/odx/functions/api/mqs"
|
||||||
"github.com/treeder/functions/api/runner"
|
"gitlab.oracledx.com/odx/functions/api/runner"
|
||||||
"github.com/treeder/functions/api/runner/task"
|
"gitlab.oracledx.com/odx/functions/api/runner/task"
|
||||||
"github.com/treeder/functions/api/server/internal/routecache"
|
"gitlab.oracledx.com/odx/functions/api/server/internal/routecache"
|
||||||
)
|
)
|
||||||
|
|
||||||
var tmpBolt = "/tmp/func_test_bolt.db"
|
var tmpBolt = "/tmp/func_test_bolt.db"
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ package server
|
|||||||
import (
|
import (
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"github.com/treeder/functions/api/models"
|
"gitlab.oracledx.com/odx/functions/api/models"
|
||||||
)
|
)
|
||||||
|
|
||||||
// call is an in-flight or completed do call
|
// call is an in-flight or completed do call
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import (
|
|||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/treeder/functions/api/version"
|
"gitlab.oracledx.com/odx/functions/api/version"
|
||||||
)
|
)
|
||||||
|
|
||||||
func handleVersion(c *gin.Context) {
|
func handleVersion(c *gin.Context) {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ package database
|
|||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
|
|
||||||
"github.com/treeder/functions/examples/blog/models"
|
"gitlab.oracledx.com/odx/functions/examples/blog/models"
|
||||||
"gopkg.in/mgo.v2"
|
"gopkg.in/mgo.v2"
|
||||||
"gopkg.in/mgo.v2/bson"
|
"gopkg.in/mgo.v2/bson"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
package database
|
package database
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/treeder/functions/examples/blog/models"
|
"gitlab.oracledx.com/odx/functions/examples/blog/models"
|
||||||
"gopkg.in/mgo.v2"
|
"gopkg.in/mgo.v2"
|
||||||
"gopkg.in/mgo.v2/bson"
|
"gopkg.in/mgo.v2/bson"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -5,9 +5,9 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/treeder/functions/examples/blog/database"
|
"gitlab.oracledx.com/odx/functions/examples/blog/database"
|
||||||
"github.com/treeder/functions/examples/blog/models"
|
"gitlab.oracledx.com/odx/functions/examples/blog/models"
|
||||||
"github.com/treeder/functions/examples/blog/routes"
|
"gitlab.oracledx.com/odx/functions/examples/blog/routes"
|
||||||
)
|
)
|
||||||
|
|
||||||
var noAuth = map[string]interface{}{}
|
var noAuth = map[string]interface{}{}
|
||||||
|
|||||||
@@ -5,8 +5,8 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/treeder/functions/examples/blog/database"
|
"gitlab.oracledx.com/odx/functions/examples/blog/database"
|
||||||
"github.com/treeder/functions/examples/blog/models"
|
"gitlab.oracledx.com/odx/functions/examples/blog/models"
|
||||||
)
|
)
|
||||||
|
|
||||||
func HandlePostCreate(db *database.Database, auth map[string]interface{}) {
|
func HandlePostCreate(db *database.Database, auth map[string]interface{}) {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
package route
|
package route
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/treeder/functions/examples/blog/database"
|
"gitlab.oracledx.com/odx/functions/examples/blog/database"
|
||||||
"gopkg.in/mgo.v2/bson"
|
"gopkg.in/mgo.v2/bson"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ package route
|
|||||||
import (
|
import (
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/treeder/functions/examples/blog/database"
|
"gitlab.oracledx.com/odx/functions/examples/blog/database"
|
||||||
)
|
)
|
||||||
|
|
||||||
func HandlePostRead(db *database.Database, auth map[string]interface{}) {
|
func HandlePostRead(db *database.Database, auth map[string]interface{}) {
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/dgrijalva/jwt-go"
|
"github.com/dgrijalva/jwt-go"
|
||||||
"github.com/treeder/functions/examples/blog/database"
|
"gitlab.oracledx.com/odx/functions/examples/blog/database"
|
||||||
"github.com/treeder/functions/examples/blog/models"
|
"gitlab.oracledx.com/odx/functions/examples/blog/models"
|
||||||
"golang.org/x/crypto/bcrypt"
|
"golang.org/x/crypto/bcrypt"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ import (
|
|||||||
"html"
|
"html"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/treeder/functions/api/models"
|
"gitlab.oracledx.com/odx/functions/api/models"
|
||||||
"github.com/treeder/functions/api/server"
|
"gitlab.oracledx.com/odx/functions/api/server"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|||||||
@@ -9,8 +9,8 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/treeder/functions/api/models"
|
"gitlab.oracledx.com/odx/functions/api/models"
|
||||||
"github.com/treeder/functions/api/server"
|
"gitlab.oracledx.com/odx/functions/api/server"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"text/template"
|
"text/template"
|
||||||
|
|
||||||
"github.com/treeder/functions/fn/langs"
|
"gitlab.oracledx.com/odx/functions/fn/langs"
|
||||||
)
|
)
|
||||||
|
|
||||||
func verbwriter(verbose bool) io.Writer {
|
func verbwriter(verbose bool) io.Writer {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ import (
|
|||||||
|
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/treeder/functions/fn/langs"
|
"gitlab.oracledx.com/odx/functions/fn/langs"
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
vers "github.com/treeder/functions/api/version"
|
vers "gitlab.oracledx.com/odx/functions/api/version"
|
||||||
functions "github.com/iron-io/functions_go"
|
functions "github.com/iron-io/functions_go"
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import (
|
|||||||
"net/url"
|
"net/url"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
vers "github.com/treeder/functions/api/version"
|
vers "gitlab.oracledx.com/odx/functions/api/version"
|
||||||
functions "github.com/iron-io/functions_go"
|
functions "github.com/iron-io/functions_go"
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/treeder/functions/lb"
|
"gitlab.oracledx.com/odx/functions/lb"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|||||||
Reference in New Issue
Block a user