Skip to content

Commit

Permalink
Added filters flag (flyteorg#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
yindia authored and austin362667 committed May 7, 2024
1 parent 0c859f3 commit 8b91781
Show file tree
Hide file tree
Showing 86 changed files with 2,094 additions and 624 deletions.
11 changes: 10 additions & 1 deletion flytectl/cmd/config/config_flags.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 13 additions & 15 deletions flytectl/cmd/config/config_flags_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

58 changes: 58 additions & 0 deletions flytectl/cmd/config/subcommand/execution/config_flags.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

158 changes: 158 additions & 0 deletions flytectl/cmd/config/subcommand/execution/config_flags_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions flytectl/cmd/config/subcommand/execution/execution_config.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package execution

import (
"github.com/flyteorg/flytectl/pkg/filters"
)

//go:generate pflags Config --default-var DefaultConfig
var (
DefaultConfig = &Config{
Filter: filters.DefaultFilter,
}
)

// Config
type Config struct {
Filter filters.Filters `json:"filter" pflag:","`
}
62 changes: 62 additions & 0 deletions flytectl/cmd/config/subcommand/launchplan/config_flags.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8b91781

Please sign in to comment.