- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 183 for cobra (0.04 sec)
-
staging/src/k8s.io/cli-runtime/pkg/genericclioptions/template_flags.go
allowMissingKeys = *f.AllowMissingKeys } p.AllowMissingKeys(allowMissingKeys) return p, nil } // AddFlags receives a *cobra.Command reference and binds // flags related to template printing to it func (f *GoTemplatePrintFlags) AddFlags(c *cobra.Command) { if f.TemplateArgument != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 02 09:47:52 UTC 2023 - 4.4K bytes - Viewed (0) -
istioctl/pkg/util/testutil/util.go
// See the License for the specific language governing permissions and // limitations under the License. package testutil import ( "bytes" "regexp" "strings" "testing" "github.com/spf13/cobra" "istio.io/istio/pilot/test/util" ) type TestCase struct { Args []string // Typically use one of the three ExpectedOutput string // Expected constant output
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 15 15:02:17 UTC 2023 - 2K bytes - Viewed (0) -
istioctl/pkg/internaldebug/internal-debug.go
"config_distribution?resource=VirtualService/default/bookinfo") } } } return nil, nil } func DebugCommand(ctx cli.Context) *cobra.Command { var opts clioptions.ControlPlaneOptions var centralOpts clioptions.CentralControlPlaneOptions debugCommand := &cobra.Command{ Use: "internal-debug [<type>/]<name>[.<namespace>]", Short: "Retrieves the debug information of istio", Long: `
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 15 04:16:55 UTC 2024 - 6.9K bytes - Viewed (0) -
pkg/cmd/cmd.go
// See the License for the specific language governing permissions and // limitations under the License. package cmd import ( "flag" "os" "os/signal" "syscall" "github.com/spf13/cobra" "github.com/spf13/pflag" "istio.io/istio/pkg/log" ) // WaitSignal awaits for SIGINT or SIGTERM and closes the channel func WaitSignal(stop chan struct{}) { sigs := make(chan os.Signal, 1)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 1.5K bytes - Viewed (0) -
pkg/keepalive/options_test.go
// See the License for the specific language governing permissions and // limitations under the License. package keepalive_test import ( "bytes" "fmt" "testing" "time" "github.com/spf13/cobra" "istio.io/istio/pkg/keepalive" ) // Test default maximum connection age is set to infinite, preserving previous // unbounded lifetime behavior. func TestAgeDefaultsToInfinite(t *testing.T) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 29 15:00:10 UTC 2020 - 1.6K bytes - Viewed (0) -
operator/cmd/mesh/install.go
`, Args: cobra.ExactArgs(0), PreRunE: func(cmd *cobra.Command, args []string) error { if !labels.IsDNS1123Label(iArgs.Revision) && cmd.PersistentFlags().Changed("revision") { return fmt.Errorf("invalid revision specified: %v", iArgs.Revision) } return nil }, RunE: func(cmd *cobra.Command, args []string) error { kubeClient, err := ctx.CLIClient()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 17 21:52:35 UTC 2024 - 15.4K bytes - Viewed (0) -
istioctl/pkg/admin/istiodconfig.go
validationPattern = `^\w+:(debug|error|warn|info|debug)` ) func istiodLogCmd(ctx cli.Context) *cobra.Command { var controlzPort int var opts clioptions.ControlPlaneOptions outputLogLevel := "" stackTraceLevel := "" // output format (yaml or short) outputFormat := "short" logCmd := &cobra.Command{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 13.5K bytes - Viewed (0) -
cmd/genkubedocs/postprocessing.go
limitations under the License. */ package main import ( "os" "path/filepath" "strings" "github.com/spf13/cobra" ) // MarkdownPostProcessing goes though the generated files func MarkdownPostProcessing(cmd *cobra.Command, dir string, processor func(string) string) error { for _, c := range cmd.Commands() { if !c.IsAvailableCommand() || c.IsAdditionalHelpTopicCommand() { continue
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 01 05:59:41 UTC 2022 - 1.8K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/workflow/doc_test.go
See the License for the specific language governing permissions and limitations under the License. */ package workflow import ( "fmt" "github.com/pkg/errors" "github.com/spf13/cobra" ) var myWorkflowRunner = NewRunner() type myWorkflowData struct { data string } func (c *myWorkflowData) Data() string { return c.data } type myPhaseData interface { Data() string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 10 07:27:25 UTC 2019 - 2.7K bytes - Viewed (0) -
pkg/log/options.go
} return s, level, nil } // AttachCobraFlags attaches a set of Cobra flags to the given Cobra command. // // Cobra is the command-line processor that Istio uses. This command attaches // the necessary set of flags to expose a CLI to let the user control all // logging options. func (o *Options) AttachCobraFlags(cmd *cobra.Command) { o.AttachFlags( cmd.PersistentFlags().StringArrayVar,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 07 04:04:34 UTC 2024 - 10.6K bytes - Viewed (0)