# This is a combination of 2 commits.
# This is the 1st commit message: Changed package names to match the new organization # This is the commit message #2: Forgot Cache
This commit is contained in:
Vendored
+1
-1
@@ -21,7 +21,7 @@ import (
|
||||
|
||||
"errors"
|
||||
"fmt"
|
||||
"github.com/platform9/fission"
|
||||
"github.com/fission/fission"
|
||||
)
|
||||
|
||||
type requestType int
|
||||
|
||||
+1
-1
@@ -26,7 +26,7 @@ import (
|
||||
"github.com/gorilla/handlers"
|
||||
"github.com/gorilla/mux"
|
||||
|
||||
"github.com/platform9/fission"
|
||||
"github.com/fission/fission"
|
||||
)
|
||||
|
||||
type API struct {
|
||||
|
||||
@@ -28,8 +28,8 @@ import (
|
||||
etcdClient "github.com/coreos/etcd/client"
|
||||
"golang.org/x/net/context"
|
||||
|
||||
"github.com/platform9/fission"
|
||||
"github.com/platform9/fission/controller/client"
|
||||
"github.com/fission/fission"
|
||||
"github.com/fission/fission/controller/client"
|
||||
)
|
||||
|
||||
var g struct {
|
||||
|
||||
@@ -28,7 +28,7 @@ import (
|
||||
|
||||
log "github.com/Sirupsen/logrus"
|
||||
|
||||
"github.com/platform9/fission"
|
||||
"github.com/fission/fission"
|
||||
)
|
||||
|
||||
type (
|
||||
|
||||
@@ -24,7 +24,7 @@ import (
|
||||
log "github.com/Sirupsen/logrus"
|
||||
"github.com/gorilla/mux"
|
||||
|
||||
"github.com/platform9/fission"
|
||||
"github.com/fission/fission"
|
||||
)
|
||||
|
||||
func (api *API) EnvironmentApiList(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
@@ -19,7 +19,7 @@ package controller
|
||||
import (
|
||||
"github.com/satori/go.uuid"
|
||||
|
||||
"github.com/platform9/fission"
|
||||
"github.com/fission/fission"
|
||||
)
|
||||
|
||||
type EnvironmentStore struct {
|
||||
|
||||
@@ -25,7 +25,7 @@ import (
|
||||
"github.com/gorilla/mux"
|
||||
|
||||
"encoding/base64"
|
||||
"github.com/platform9/fission"
|
||||
"github.com/fission/fission"
|
||||
)
|
||||
|
||||
func (api *API) FunctionApiList(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
@@ -19,7 +19,7 @@ package controller
|
||||
import (
|
||||
log "github.com/Sirupsen/logrus"
|
||||
|
||||
"github.com/platform9/fission"
|
||||
"github.com/fission/fission"
|
||||
)
|
||||
|
||||
type FunctionStore struct {
|
||||
|
||||
@@ -24,7 +24,7 @@ import (
|
||||
log "github.com/Sirupsen/logrus"
|
||||
"github.com/gorilla/mux"
|
||||
|
||||
"github.com/platform9/fission"
|
||||
"github.com/fission/fission"
|
||||
)
|
||||
|
||||
func (api *API) HTTPTriggerApiList(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
@@ -19,7 +19,7 @@ package controller
|
||||
import (
|
||||
"github.com/satori/go.uuid"
|
||||
|
||||
"github.com/platform9/fission"
|
||||
"github.com/fission/fission"
|
||||
)
|
||||
|
||||
type HTTPTriggerStore struct {
|
||||
|
||||
@@ -24,7 +24,7 @@ import (
|
||||
log "github.com/Sirupsen/logrus"
|
||||
"github.com/gorilla/mux"
|
||||
|
||||
"github.com/platform9/fission"
|
||||
"github.com/fission/fission"
|
||||
)
|
||||
|
||||
func (api *API) WatchApiList(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
@@ -19,7 +19,7 @@ package controller
|
||||
import (
|
||||
"github.com/satori/go.uuid"
|
||||
|
||||
"github.com/platform9/fission"
|
||||
"github.com/fission/fission"
|
||||
)
|
||||
|
||||
type WatchStore struct {
|
||||
|
||||
@@ -5,10 +5,10 @@ import (
|
||||
"strconv"
|
||||
|
||||
"github.com/docopt/docopt-go"
|
||||
"github.com/platform9/fission/controller"
|
||||
"github.com/platform9/fission/kubewatcher"
|
||||
"github.com/platform9/fission/poolmgr"
|
||||
"github.com/platform9/fission/router"
|
||||
"github.com/fission/fission/controller"
|
||||
"github.com/fission/fission/kubewatcher"
|
||||
"github.com/fission/fission/poolmgr"
|
||||
"github.com/fission/fission/router"
|
||||
)
|
||||
|
||||
func runController(port int, etcdUrl string, filepath string) {
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@ import (
|
||||
"os"
|
||||
"strings"
|
||||
|
||||
"github.com/platform9/fission/controller/client"
|
||||
"github.com/fission/fission/controller/client"
|
||||
)
|
||||
|
||||
func fatal(msg string) {
|
||||
|
||||
@@ -22,7 +22,7 @@ import (
|
||||
|
||||
"github.com/urfave/cli"
|
||||
|
||||
"github.com/platform9/fission"
|
||||
"github.com/fission/fission"
|
||||
"os"
|
||||
)
|
||||
|
||||
|
||||
+1
-1
@@ -26,7 +26,7 @@ import (
|
||||
"github.com/satori/go.uuid"
|
||||
"github.com/urfave/cli"
|
||||
|
||||
"github.com/platform9/fission"
|
||||
"github.com/fission/fission"
|
||||
)
|
||||
|
||||
func fnCreate(c *cli.Context) error {
|
||||
|
||||
@@ -26,7 +26,7 @@ import (
|
||||
"github.com/satori/go.uuid"
|
||||
"github.com/urfave/cli"
|
||||
|
||||
"github.com/platform9/fission"
|
||||
"github.com/fission/fission"
|
||||
)
|
||||
|
||||
// returns one of http.Method*
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@ import (
|
||||
"github.com/satori/go.uuid"
|
||||
"github.com/urfave/cli"
|
||||
|
||||
"github.com/platform9/fission"
|
||||
"github.com/fission/fission"
|
||||
)
|
||||
|
||||
func wCreate(c *cli.Context) error {
|
||||
|
||||
@@ -31,7 +31,7 @@ import (
|
||||
"k8s.io/client-go/1.5/pkg/runtime"
|
||||
"k8s.io/client-go/1.5/pkg/watch"
|
||||
|
||||
"github.com/platform9/fission"
|
||||
"github.com/fission/fission"
|
||||
)
|
||||
|
||||
type requestType int
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@ import (
|
||||
"k8s.io/client-go/1.5/kubernetes"
|
||||
"k8s.io/client-go/1.5/rest"
|
||||
|
||||
"github.com/platform9/fission/controller/client"
|
||||
"github.com/fission/fission/controller/client"
|
||||
)
|
||||
|
||||
// Get a kubernetes client using the pod's service account.
|
||||
|
||||
@@ -20,7 +20,7 @@ import (
|
||||
"log"
|
||||
"time"
|
||||
|
||||
"github.com/platform9/fission/controller/client"
|
||||
"github.com/fission/fission/controller/client"
|
||||
)
|
||||
|
||||
type (
|
||||
|
||||
+3
-3
@@ -29,9 +29,9 @@ import (
|
||||
"github.com/gorilla/handlers"
|
||||
"github.com/gorilla/mux"
|
||||
|
||||
"github.com/platform9/fission"
|
||||
"github.com/platform9/fission/cache"
|
||||
controllerclient "github.com/platform9/fission/controller/client"
|
||||
"github.com/fission/fission"
|
||||
"github.com/fission/fission/cache"
|
||||
controllerclient "github.com/fission/fission/controller/client"
|
||||
)
|
||||
|
||||
type funcSvc struct {
|
||||
|
||||
@@ -22,7 +22,7 @@ import (
|
||||
|
||||
"bytes"
|
||||
"encoding/json"
|
||||
"github.com/platform9/fission"
|
||||
"github.com/fission/fission"
|
||||
"io/ioutil"
|
||||
"net/url"
|
||||
)
|
||||
|
||||
@@ -20,8 +20,8 @@ import (
|
||||
"log"
|
||||
"time"
|
||||
|
||||
"github.com/platform9/fission"
|
||||
"github.com/platform9/fission/cache"
|
||||
"github.com/fission/fission"
|
||||
"github.com/fission/fission/cache"
|
||||
)
|
||||
|
||||
type fscRequestType int
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"log"
|
||||
"testing"
|
||||
|
||||
"github.com/platform9/fission"
|
||||
"github.com/fission/fission"
|
||||
"time"
|
||||
)
|
||||
|
||||
|
||||
+1
-1
@@ -36,7 +36,7 @@ import (
|
||||
"k8s.io/client-go/1.5/pkg/labels"
|
||||
"k8s.io/client-go/1.5/pkg/util/intstr"
|
||||
|
||||
"github.com/platform9/fission"
|
||||
"github.com/fission/fission"
|
||||
)
|
||||
|
||||
type (
|
||||
|
||||
+2
-2
@@ -22,8 +22,8 @@ import (
|
||||
|
||||
"k8s.io/client-go/1.5/kubernetes"
|
||||
|
||||
"github.com/platform9/fission"
|
||||
"github.com/platform9/fission/controller/client"
|
||||
"github.com/fission/fission"
|
||||
"github.com/fission/fission/controller/client"
|
||||
)
|
||||
|
||||
type (
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@ import (
|
||||
"k8s.io/client-go/1.5/kubernetes"
|
||||
"k8s.io/client-go/1.5/rest"
|
||||
|
||||
controllerclient "github.com/platform9/fission/controller/client"
|
||||
controllerclient "github.com/fission/fission/controller/client"
|
||||
)
|
||||
|
||||
// Get a kubernetes client using the pod's service account. This only
|
||||
|
||||
@@ -25,8 +25,8 @@ import (
|
||||
"net/url"
|
||||
"time"
|
||||
|
||||
"github.com/platform9/fission"
|
||||
poolmgrClient "github.com/platform9/fission/poolmgr/client"
|
||||
"github.com/fission/fission"
|
||||
poolmgrClient "github.com/fission/fission/poolmgr/client"
|
||||
)
|
||||
|
||||
type functionHandler struct {
|
||||
|
||||
@@ -23,7 +23,7 @@ import (
|
||||
"net/url"
|
||||
"testing"
|
||||
|
||||
"github.com/platform9/fission"
|
||||
"github.com/fission/fission"
|
||||
)
|
||||
|
||||
func createBackendService(testResponseString string) *url.URL {
|
||||
|
||||
@@ -21,8 +21,8 @@ import (
|
||||
"net/url"
|
||||
"time"
|
||||
|
||||
"github.com/platform9/fission"
|
||||
"github.com/platform9/fission/cache"
|
||||
"github.com/fission/fission"
|
||||
"github.com/fission/fission/cache"
|
||||
)
|
||||
|
||||
type functionServiceMap struct {
|
||||
|
||||
@@ -20,7 +20,7 @@ import (
|
||||
"net/url"
|
||||
"testing"
|
||||
|
||||
"github.com/platform9/fission"
|
||||
"github.com/fission/fission"
|
||||
)
|
||||
|
||||
func TestFunctionServiceMap(t *testing.T) {
|
||||
|
||||
@@ -24,9 +24,9 @@ import (
|
||||
|
||||
"github.com/gorilla/mux"
|
||||
|
||||
"github.com/platform9/fission"
|
||||
controllerClient "github.com/platform9/fission/controller/client"
|
||||
poolmgrClient "github.com/platform9/fission/poolmgr/client"
|
||||
"github.com/fission/fission"
|
||||
controllerClient "github.com/fission/fission/controller/client"
|
||||
poolmgrClient "github.com/fission/fission/poolmgr/client"
|
||||
)
|
||||
|
||||
type HTTPTriggerSet struct {
|
||||
|
||||
+2
-2
@@ -49,8 +49,8 @@ import (
|
||||
"github.com/gorilla/handlers"
|
||||
"github.com/gorilla/mux"
|
||||
|
||||
controllerClient "github.com/platform9/fission/controller/client"
|
||||
poolmgrClient "github.com/platform9/fission/poolmgr/client"
|
||||
controllerClient "github.com/fission/fission/controller/client"
|
||||
poolmgrClient "github.com/fission/fission/poolmgr/client"
|
||||
)
|
||||
|
||||
// request url ---[mux]---> Function(name,uid) ----[fmap]----> k8s service url
|
||||
|
||||
@@ -21,7 +21,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/platform9/fission"
|
||||
"github.com/fission/fission"
|
||||
)
|
||||
|
||||
func TestRouter(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user