Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/service.go

    	serviceFreeze                             // Freeze all S3 API calls.
    	serviceUnFreeze                           // Un-Freeze previously frozen S3 API calls.
    	// Add new service requests here.
    )
    
    // Global service signal channel.
    var globalServiceSignalCh = make(chan serviceSignal)
    
    // GlobalContext context that is canceled when server is requested to shut down.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Feb 28 07:02:14 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  2. 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)
  3. internal/arn/arn.go

    	}
    	return ARN{
    		Partition:    arnPartitionMinio,
    		Service:      arnServiceIAM,
    		Region:       serverRegion,
    		ResourceType: arnResourceTypeRole,
    		ResourceID:   resourceID,
    	}, nil
    }
    
    // String - returns string representation of the ARN.
    func (arn ARN) String() string {
    	return strings.Join(
    		[]string{
    			arnPrefixArn,
    			arn.Partition,
    			arn.Service,
    			arn.Region,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 08:31:34 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. istioctl/pkg/writer/ztunnel/configdump/services.go

    			return r
    		}
    		return cmp.Compare(a.Hostname, b.Hostname)
    	})
    	fmt.Fprintln(w, "NAMESPACE\tSERVICE NAME\tSERVICE VIP\tWAYPOINT")
    
    	for _, svc := range svcs {
    		var ip string
    		if len(svc.Addresses) > 0 {
    			_, ip, _ = strings.Cut(svc.Addresses[0], "/")
    		}
    		waypoint := serviceWaypointName(svc, zDump.Services)
    		fmt.Fprintf(w, "%v\t%v\t%v\t%v\n",
    			svc.Namespace, svc.Name, ip, waypoint)
    	}
    	return w.Flush()
    }
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  7. istioctl/pkg/describe/describe.go

    	cmd := &cobra.Command{
    		Use:     "service <svc>",
    		Aliases: []string{"svc"},
    		Short:   "Describe services and their Istio configuration [kube-only]",
    		Long: `Analyzes service, pods, DestinationRules, and VirtualServices and reports
    the configuration objects that affect that service.`,
    		Example: `  istioctl experimental describe service productpage`,
    		Args: func(cmd *cobra.Command, args []string) error {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top