This commit is contained in:
Eric Chiang
2016-08-10 22:31:42 -07:00
parent 1cbb7700d8
commit bfe560ee21
30 changed files with 52 additions and 52 deletions

View File

@@ -3,14 +3,14 @@ package main
import (
"fmt"
"github.com/coreos/poke/connector"
"github.com/coreos/poke/connector/github"
"github.com/coreos/poke/connector/ldap"
"github.com/coreos/poke/connector/mock"
"github.com/coreos/poke/connector/oidc"
"github.com/coreos/poke/storage"
"github.com/coreos/poke/storage/kubernetes"
"github.com/coreos/poke/storage/memory"
"github.com/coreos/dex/connector"
"github.com/coreos/dex/connector/github"
"github.com/coreos/dex/connector/ldap"
"github.com/coreos/dex/connector/mock"
"github.com/coreos/dex/connector/oidc"
"github.com/coreos/dex/storage"
"github.com/coreos/dex/storage/kubernetes"
"github.com/coreos/dex/storage/memory"
)
// Config is the config format for the main application.

View File

@@ -3,7 +3,7 @@ package main
import (
"testing"
"github.com/coreos/poke/storage"
"github.com/coreos/dex/storage"
"github.com/kylelemons/godebug/pretty"
yaml "gopkg.in/yaml.v2"

View File

@@ -9,7 +9,7 @@ import (
func commandRoot() *cobra.Command {
rootCmd := &cobra.Command{
Use: "poke",
Use: "dex",
Run: func(cmd *cobra.Command, args []string) {
cmd.Help()
os.Exit(2)

View File

@@ -10,8 +10,8 @@ import (
"github.com/spf13/cobra"
yaml "gopkg.in/yaml.v2"
"github.com/coreos/poke/server"
"github.com/coreos/poke/storage"
"github.com/coreos/dex/server"
"github.com/coreos/dex/storage"
)
func commandServe() *cobra.Command {
@@ -19,7 +19,7 @@ func commandServe() *cobra.Command {
Use: "serve [ config file ]",
Short: "Connect to the storage and begin serving requests.",
Long: ``,
Example: "poke serve c.yaml",
Example: "dex serve c.yaml",
RunE: serve,
}
}

View File

@@ -4,7 +4,7 @@ import (
"fmt"
"runtime"
"github.com/coreos/poke/version"
"github.com/coreos/dex/version"
"github.com/spf13/cobra"
)