Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NamespaceOrDefault (0.18 sec)

  1. 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
    			}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
Back to top