forked from flyteorg/flyte
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enable --force flag in flyte demo start (flyteorg#432)
Signed-off-by: Future Outlier <[email protected]> Co-authored-by: Future Outlier <[email protected]>
- Loading branch information
1 parent
58e53ac
commit 2dcd31e
Showing
10 changed files
with
224 additions
and
3 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
116 changes: 116 additions & 0 deletions
116
flytectl/cmd/config/subcommand/docker/config_flags_test.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,13 @@ | ||
package docker | ||
|
||
//go:generate pflags Config --default-var DefaultConfig --bind-default-var | ||
var ( | ||
DefaultConfig = &Config{ | ||
Force: false, | ||
} | ||
) | ||
|
||
// Configs | ||
type Config struct { | ||
Force bool `json:"force" pflag:",Optional. Forcefully delete existing sandbox cluster if it exists."` | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
14 changes: 14 additions & 0 deletions
14
flytectl/cmd/config/subcommand/sandbox/config_flags_test.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,12 @@ | ||
package docker | ||
|
||
// Config holds configuration flags for docker command. | ||
var ( | ||
DefaultConfig = &Config{ | ||
Force: false, | ||
} | ||
) | ||
|
||
type Config struct { | ||
Force bool `json:"force" pflag:",Optional. Forcefully delete existing sandbox cluster if it exists."` | ||
} |
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