Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for service (0.2 sec)

  1. istioctl/pkg/validate/validate_test.go

    metadata:
      resourceVersion: ""`
    	udpService = `
    kind: Service
    metadata:
      name: hello
    spec:
      ports:
        -
          protocol: udp`
    	skippedService = `
    kind: Service
    metadata:
      name: hello
      namespace: istio-system
    spec:
      ports:
        -
          name: http
          port: 9080`
    	validPortNamingSvc = `
    apiVersion: v1
    kind: Service
    metadata:
      name: hello
    spec:
      ports:
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Jul 25 08:08:36 GMT 2023
    - 21.5K bytes
    - Viewed (0)
  2. cmd/admin-handlers_test.go

    // go-routine waiting on service signal.
    func testServiceSignalReceiver(cmd cmdType, t *testing.T) {
    	expectedCmd := cmd.toServiceSignal()
    	serviceCmd := <-globalServiceSignalCh
    	if serviceCmd != expectedCmd {
    		t.Errorf("Expected service command %v but received %v", expectedCmd, serviceCmd)
    	}
    }
    
    // getServiceCmdRequest - Constructs a management REST API request for service
    // subcommands for a given cmdType value.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  3. istioctl/pkg/describe/describe_test.go

    		},
    		{ // case 8 unknown service
    			args:           strings.Split("service not-a-service", " "),
    			expectedString: "services \"not-a-service\" not found",
    			wantException:  true, // "istioctl experimental describe service not-a-service" should fail
    		},
    		{
    			k8sConfigs: []runtime.Object{
    				&corev1.Service{
    					ObjectMeta: metav1.ObjectMeta{
    						Name:      "productpage",
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Mar 28 09:54:01 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  4. istioctl/pkg/kubeinject/kubeinject.go

    	client := http.Client{
    		Timeout: time.Second * 5,
    		Transport: &http.Transport{
    			TLSClientConfig: tlsClientConfig,
    		},
    	}
    	if cc.Service != nil {
    		svc, err := e.client.Kube().CoreV1().Services(cc.Service.Namespace).Get(context.Background(), cc.Service.Name, metav1.GetOptions{})
    		if err != nil {
    			return nil, err
    		}
    		namespace, selector, err := polymorphichelpers.SelectorsForObject(svc)
    		if err != nil {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  5. istioctl/pkg/tag/generate_test.go

    					if validationWhConf.Service == nil {
    						t.Fatalf("expected validation service %s, got nil", tc.whSVC)
    					}
    					if validationWhConf.Service.Name != tc.whSVC {
    						t.Fatalf("expected validation service %s, got %s", tc.whSVC, validationWhConf.Service.Name)
    					}
    					if validationWhConf.Service.Namespace != tc.istioNamespace {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  6. cmd/admin-handlers-users_test.go

    	// Check that the service account can access the public bucket.
    	buckets, err := svcClient.ListBuckets(ctx)
    	if err != nil {
    		c.Fatalf("err fetching buckets %s", err)
    	}
    	if len(buckets) != 1 || buckets[0].Name != "public" {
    		c.Fatalf("service account should only have access to public bucket")
    	}
    
    	// Create an madmin client with the service account creds.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
  7. cmd/signature-v4-parser_test.go

    	}
    	if expectedCredentials.scope.service != actualCredential.scope.service {
    		t.Errorf("Test %d: service mismatch:Expected \"%s\", got \"%s\"", testNum, expectedCredentials.scope.service, actualCredential.scope.service)
    	}
    
    	if expectedCredentials.scope.request != actualCredential.scope.request {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 27.4K bytes
    - Viewed (0)
  8. cmd/signature-v4.go

    	date := sumHMAC([]byte("AWS4"+secretKey), []byte(t.Format(yyyymmdd)))
    	regionBytes := sumHMAC(date, []byte(region))
    	service := sumHMAC(regionBytes, []byte(stype))
    	signingKey := sumHMAC(service, []byte("aws4_request"))
    	return signingKey
    }
    
    // getSignature final signature in hexadecimal form.
    func getSignature(signingKey []byte, stringToSign string) string {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  9. istioctl/pkg/validate/validate.go

    					errs = multierror.Append(errs, fmt.Errorf("service %q doesn't follow Istio protocol selection. "+
    						"This is not recommended, See "+url.ProtocolSelection, fmt.Sprintf("%s/%s/:", un.GetName(), un.GetNamespace())))
    				}
    			} else {
    				if p["name"] == nil {
    					errs = multierror.Append(errs, fmt.Errorf("service %q has an unnamed port. This is not recommended,"+
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
  10. cmd/admin-handlers-idp-ldap.go

    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	writeSuccessResponseJSON(w, encryptedData)
    }
    
    // AddServiceAccountLDAP adds a new service account for provided LDAP username or DN
    //
    // PUT /minio/admin/v3/idp/ldap/add-service-account
    func (a adminAPIHandlers) AddServiceAccountLDAP(w http.ResponseWriter, r *http.Request) {
    	ctx, cred, opts, createReq, targetUser, APIError := commonAddServiceAccount(r)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 13.3K bytes
    - Viewed (0)
Back to top