Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for InferPodInfoFromTypedResource (0.2 sec)

  1. istioctl/pkg/cli/context.go

    	CLIClient() (kube.CLIClient, error)
    	// CLIClientWithRevision returns a client for the given revision
    	CLIClientWithRevision(rev string) (kube.CLIClient, error)
    	// InferPodInfoFromTypedResource returns the pod name and namespace for the given typed resource
    	InferPodInfoFromTypedResource(name, namespace string) (pod string, ns string, err error)
    	// InferPodsFromTypedResource returns the pod names and namespace for the given typed resource
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 23 19:31:32 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. istioctl/pkg/proxyconfig/proxyconfig.go

    }
    
    func getPodNameWithNamespace(ctx cli.Context, podflag, ns string) (string, string, error) {
    	var podName, podNamespace string
    	podName, podNamespace, err := ctx.InferPodInfoFromTypedResource(podflag, ns)
    	if err != nil {
    		return "", "", err
    	}
    	return podName, podNamespace, nil
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 15:53:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
Back to top