- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for NamespaceOrDefault (0.14 sec)
-
istioctl/pkg/cli/context.go
Namespace() string // IstioNamespace returns the Istio namespace specified by the user IstioNamespace() string // NamespaceOrDefault returns the namespace specified by the user, or the default namespace if none was specified NamespaceOrDefault(namespace string) string // CLIClientsForContexts returns clients for all the given contexts in a kubeconfig.
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 23 19:31:32 UTC 2024 - 8.9K bytes - Viewed (0) -
istioctl/pkg/waypoint/waypoint.go
enrollNamespace bool overwrite bool ) const waitTimeout = 90 * time.Second func Cmd(ctx cli.Context) *cobra.Command { makeGateway := func(forApply bool) (*gateway.Gateway, error) { ns := ctx.NamespaceOrDefault(ctx.Namespace()) if ctx.Namespace() == "" && !forApply { ns = "" } // If a user sets the waypoint name to an empty string, set it to the default namespace waypoint name. if waypointName == "" {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 19.6K bytes - Viewed (0) -
istioctl/pkg/describe/describe.go
RunE: func(cmd *cobra.Command, args []string) error { describeNamespace = ctx.NamespaceOrDefault(ctx.Namespace()) if len(args) != 1 { return fmt.Errorf("expecting pod name") } podName, ns := handlers.InferPodInfo(args[0], ctx.NamespaceOrDefault("")) client, err := ctx.CLIClient() if err != nil { return err }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 17:36:49 UTC 2024 - 50.6K bytes - Viewed (0) -
istioctl/pkg/analyze/analyze.go
// for file resources that don't have one specified. selectedNamespace = ctx.Namespace() if useKube { // apply default namespace if not specified and useKube is true selectedNamespace = ctx.NamespaceOrDefault(selectedNamespace) if selectedNamespace != "" { client, err := ctx.CLIClient() if err != nil { return err }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 31 06:53:50 UTC 2024 - 17.6K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/proxyconfig.go
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 15:53:49 UTC 2024 - 50.6K bytes - Viewed (0)