-
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 (#2597)
(cherry picked from commit 1fc030e) Signed-off-by: Bart Smykla <bartek@smykla.com>
- Loading branch information
1 parent
1b62b2a
commit 9fc3c73
Showing
8 changed files
with
50 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
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 ( | ||
|
16 changes: 16 additions & 0 deletions
16
app/kumactl/cmd/install/install_transparent_proxy_windows.go
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,16 @@ | ||
package install | ||
|
||
import ( | ||
"github.com/pkg/errors" | ||
"github.com/spf13/cobra" | ||
) | ||
|
||
func newInstallTransparentProxy() *cobra.Command { | ||
return &cobra.Command{ | ||
Use: "transparent-proxy", | ||
Short: "Install Transparent Proxy pre-requisites on the host", | ||
RunE: func(_ *cobra.Command, _ []string) error { | ||
return errors.New("This command is not supported on your operating system") | ||
}, | ||
} | ||
} |
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
16 changes: 16 additions & 0 deletions
16
app/kumactl/cmd/uninstall/uninstall_transparent_proxy_windows.go
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,16 @@ | ||
package uninstall | ||
|
||
import ( | ||
"github.com/pkg/errors" | ||
"github.com/spf13/cobra" | ||
) | ||
|
||
func newUninstallTransparentProxy() *cobra.Command { | ||
return &cobra.Command{ | ||
Use: "transparent-proxy", | ||
Short: "Uninstall Transparent Proxy pre-requisites on the host", | ||
RunE: func(_ *cobra.Command, _ []string) error { | ||
return errors.New("This command is not supported on your operating system") | ||
}, | ||
} | ||
} |
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