Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 24 of 24 for OK (0.11 sec)

  1. istioctl/pkg/cli/mock_client.go

    	results, ok := c.Results[podName]
    	if !ok {
    		return nil, fmt.Errorf("unable to retrieve Pod: pods %q not found", podName)
    	}
    	return results, nil
    }
    
    func (c MockClient) EnvoyDoWithPort(ctx context.Context, podName, podNamespace, method, path string, port int) ([]byte, error) {
    	results, ok := c.Results[podName]
    	if !ok {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  2. istioctl/pkg/metrics/metrics_test.go

    	return nil, nil
    }
    
    func (client mockPromAPI) Query(ctx context.Context, query string, ts time.Time, opts ...promv1.Option) (prometheus_model.Value, promv1.Warnings, error) {
    	canned, ok := client.cannedResponse[query]
    	if !ok {
    		return prometheus_model.Vector{}, nil, nil
    	}
    	return canned, nil, nil
    }
    
    func (client mockPromAPI) TSDB(ctx context.Context) (promv1.TSDBResult, error) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Oct 25 02:07:44 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  3. istioctl/pkg/cli/option.go

    	if *r.configContext != "" {
    		selectedContext = *r.configContext
    	}
    
    	// Use the namespace associated with the selected context as default, if the context has one
    	context, ok := config.Contexts[selectedContext]
    	if !ok {
    		r.defaultNamespace = v1.NamespaceDefault
    		return
    	}
    	if context.Namespace == "" {
    		r.defaultNamespace = v1.NamespaceDefault
    		return
    	}
    	r.defaultNamespace = context.Namespace
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 18:01:27 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  4. istioctl/pkg/cli/context.go

    	rootFlags *RootFlags
    	results   map[string][]byte
    	objects   []runtime.Object
    	version   string
    }
    
    func (f *fakeInstance) CLIClientWithRevision(rev string) (kube.CLIClient, error) {
    	if _, ok := f.clients[rev]; !ok {
    		var cliclient kube.CLIClient
    		if f.version != "" {
    			cliclient = kube.NewFakeClientWithVersion(f.version, f.objects...)
    		} else {
    			cliclient = kube.NewFakeClient(f.objects...)
    		}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 6.4K bytes
    - Viewed (0)
Back to top