This commit is contained in:
Barak Michener 2018-03-28 13:28:19 -07:00
parent ec54c4baa0
commit 51fa79ef2f
4 changed files with 64 additions and 0 deletions

9
Gopkg.lock generated Normal file
View file

@ -0,0 +1,9 @@
# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'.
[solve-meta]
analyzer-name = "dep"
analyzer-version = 1
inputs-digest = "ab4fef131ee828e96ba67d31a7d690bd5f2f42040c6766b1b12fe856f87e0ff7"
solver-name = "gps-cdcl"
solver-version = 1

30
Gopkg.toml Normal file
View file

@ -0,0 +1,30 @@
# Gopkg.toml example
#
# Refer to https://golang.github.io/dep/docs/Gopkg.toml.html
# for detailed Gopkg.toml documentation.
#
# required = ["github.com/user/thing/cmd/thing"]
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
#
# [[constraint]]
# name = "github.com/user/project"
# version = "1.0.0"
#
# [[constraint]]
# name = "github.com/user/project2"
# branch = "dev"
# source = "github.com/myfork/project2"
#
# [[override]]
# name = "github.com/x/y"
# version = "2.4.0"
#
# [prune]
# non-go = false
# go-tests = true
# unused-packages = true
[prune]
go-tests = true
unused-packages = true

13
cmd/kubelwagen/main.go Normal file
View file

@ -0,0 +1,13 @@
package main
import (
"fmt"
"os"
)
func main() {
if err := rootCmd.Execute(); err != nil {
fmt.Println(err)
os.Exit(1)
}
}

12
cmd/kubelwagen/root.go Normal file
View file

@ -0,0 +1,12 @@
package main
import "github.com/spf13/cobra"
var rootCmd = &cobra.Command{
Use: "kubelwagen",
Short: "kubelwagen is a FUSE service that mount a directory provided by an HTTP client",
Long: "For more information see https://github.com/barakmich/kubelwagen",
Run: rootRun,
}
func rootRun(cmd *cobra.Command)