-
Notifications
You must be signed in to change notification settings - Fork 339
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(*) update project to build kumactl at windows
Signed-off-by: Bart Smykla <bartek@smykla.com>
- Loading branch information
1 parent
19f4803
commit 639327a
Showing
15 changed files
with
119 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// +build !windows | ||
|
||
package cmd | ||
|
||
import ( | ||
"github.com/spf13/cobra" | ||
|
||
"github.com/kumahq/kuma/app/kumactl/cmd/uninstall" | ||
kumactl_cmd "github.com/kumahq/kuma/app/kumactl/pkg/cmd" | ||
) | ||
|
||
var additionalSubcommands = []func(*kumactl_cmd.RootContext) *cobra.Command{ | ||
uninstall.NewUninstallCmd, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package cmd | ||
|
||
import ( | ||
"github.com/kumahq/kuma/app/kumactl/cmd/apply" | ||
"github.com/kumahq/kuma/app/kumactl/cmd/completion" | ||
"github.com/kumahq/kuma/app/kumactl/cmd/config" | ||
"github.com/kumahq/kuma/app/kumactl/cmd/delete" | ||
"github.com/kumahq/kuma/app/kumactl/cmd/generate" | ||
"github.com/kumahq/kuma/app/kumactl/cmd/get" | ||
"github.com/kumahq/kuma/app/kumactl/cmd/inspect" | ||
"github.com/kumahq/kuma/app/kumactl/cmd/install" | ||
"github.com/kumahq/kuma/pkg/cmd/version" | ||
"github.com/spf13/cobra" | ||
|
||
kumactl_cmd "github.com/kumahq/kuma/app/kumactl/pkg/cmd" | ||
) | ||
|
||
var additionalSubcommands []func(*kumactl_cmd.RootContext) *cobra.Command |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// +build !windows | ||
|
||
package install | ||
|
||
import ( | ||
"github.com/spf13/cobra" | ||
) | ||
|
||
var additionalSubcommands = []func() *cobra.Command{ | ||
newInstallTransparentProxy, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package install | ||
|
||
import ( | ||
"github.com/spf13/cobra" | ||
) | ||
|
||
var additionalSubcommands []func() *cobra.Command |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
// +build !windows | ||
|
||
package install | ||
|
||
import ( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// +build !windows | ||
|
||
package uninstall | ||
|
||
import "github.com/spf13/cobra" | ||
|
||
var subcommands = []func() *cobra.Command{ | ||
newUninstallTransparentProxy, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package uninstall | ||
|
||
import "github.com/spf13/cobra" | ||
|
||
var subcommands []func() *cobra.Command |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// +build !windows | ||
|
||
package uninstall | ||
|
||
import ( | ||
"github.com/spf13/cobra" | ||
|
||
kumactl_cmd "github.com/kumahq/kuma/app/kumactl/pkg/cmd" | ||
) | ||
|
||
func NewUninstallCmd(pctx *kumactl_cmd.RootContext) *cobra.Command { | ||
cmd := &cobra.Command{ | ||
Use: "uninstall", | ||
Short: "Uninstall various Kuma components.", | ||
Long: `Uninstall various Kuma components.`, | ||
} | ||
|
||
return cmd | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// +build !windows | ||
|
||
package bootstrap | ||
|
||
func DefaultBootstrapParamsConfig() *BootstrapParamsConfig { | ||
return buildDefaultBootstrapParamsConfig("/dev/null") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package bootstrap | ||
|
||
func DefaultBootstrapParamsConfig() *BootstrapParamsConfig { | ||
return buildDefaultBootstrapParamsConfig("NUL") | ||
} |