- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for parent (0.16 sec)
-
istioctl/cmd/root_test.go
func TestHideInheritedFlags(t *testing.T) { const ( parentFlag0 = "parent-flag0" parentFlag1 = "parent-flag1" parentFlag2 = "parent-flag2" childFlag2 = "child-flag2" ) parent := &cobra.Command{Use: "parent"} _ = parent.PersistentFlags().String(parentFlag0, "", parentFlag0) _ = parent.PersistentFlags().String(parentFlag1, "", parentFlag1) _ = parent.PersistentFlags().String(parentFlag2, "", parentFlag2) var out bytes.Buffer
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 15 17:59:55 GMT 2021 - 2.4K bytes - Viewed (0) -
cni/pkg/install/cniconfig.go
return cniConfigFilepath, nil } // If configured as chained CNI plugin, waits indefinitely for a main CNI config file to exist before returning // Or until cancelled by parent context func getCNIConfigFilepath(ctx context.Context, cfg pluginConfig) (string, error) { filename := cfg.cniConfName if !cfg.chainedCNIPlugin { if len(filename) == 0 { filename = "YYY-istio-cni.conf"
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 10.4K bytes - Viewed (0) -
istioctl/pkg/kubeinject/kubeinject.go
// the default for log messages should be stderr, not stdout root := c.Root() if root != nil { _ = c.Root().PersistentFlags().Set("log_target", "stderr") } if c.Parent() != nil && c.Parent().PersistentPreRunE != nil { return c.Parent().PersistentPreRunE(c, args) } return nil }, } injectCmd.PersistentFlags().StringVar(&meshConfigFile, "meshConfigFile", "",
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 29 02:29:02 GMT 2024 - 21.6K bytes - Viewed (0) -
cni/pkg/install/cniconfig_test.go
if len(c.expectedConfName) > 0 { expectedFilepath = filepath.Join(tempDir, c.expectedConfName) } if !c.chainedCNIPlugin { // Standalone CNI plugin parent := context.Background() ctx1, cancel := context.WithTimeout(parent, 100*time.Millisecond) defer cancel() result, err := getCNIConfigFilepath(ctx1, cfg) if err != nil { assert.Equal(t, result, "")
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 17 02:22:22 GMT 2023 - 15.4K bytes - Viewed (0)