Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for submit (0.18 sec)

  1. internal/config/subnet/subnet.go

    		return respStr, nil
    	}
    
    	return respStr, fmt.Errorf("SUBNET request failed with code %d and error: %s", resp.StatusCode, respStr)
    }
    
    // Post submit 'payload' to specified URL
    func (c Config) Post(reqURL string, payload interface{}) (string, error) {
    	if !c.Registered() {
    		return "", errors.New("Deployment is not registered with SUBNET. Please register the deployment via 'mc license register ALIAS'")
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 27 16:35:36 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  2. cmd/utils.go

    	u.Path += "/ldap"
    	// fmt.Println(u)
    
    	// Pick the LDAP login option. This would return a form page after
    	// following some redirects. `lastReq` would be the URL of the form
    	// page, where we need to POST (submit) the form.
    	req, err = http.NewRequestWithContext(ctx, http.MethodGet, u.String(), nil)
    	if err != nil {
    		return "", fmt.Errorf("new request err (/ldap): %v", err)
    	}
    	_, err = dexClient.Do(req)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 31.3K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/arch/arm.go

    	"AL":  arm.C_SCOND_NONE,
    	"U":   arm.C_UBIT,
    	"S":   arm.C_SBIT,
    	"W":   arm.C_WBIT,
    	"P":   arm.C_PBIT,
    	"PW":  arm.C_WBIT | arm.C_PBIT,
    	"WP":  arm.C_WBIT | arm.C_PBIT,
    	"F":   arm.C_FBIT,
    	"IBW": arm.C_WBIT | arm.C_PBIT | arm.C_UBIT,
    	"IAW": arm.C_WBIT | arm.C_UBIT,
    	"DBW": arm.C_WBIT | arm.C_PBIT,
    	"DAW": arm.C_WBIT,
    	"IB":  arm.C_PBIT | arm.C_UBIT,
    	"IA":  arm.C_UBIT,
    	"DB":  arm.C_PBIT,
    	"DA":  0,
    }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Nov 18 17:59:44 GMT 2022
    - 6.1K bytes
    - Viewed (0)
  4. istioctl/pkg/validate/validate_test.go

    metadata:
      name: valid-virtual-service
    spec:
      hosts:
        - c
      http:
        - route:
          - destination:
              host: c
              subset: v1
            weight: 75
          - destination:
              host: c
              subset: v2
            weight: 25`
    	validVirtualServiceJSON = `{
    "apiVersion": "networking.istio.io/v1alpha3",
    "kind": "VirtualService",
    "metadata": {
    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)
  5. istioctl/pkg/writer/envoy/configdump/cluster.go

    		if filter.Verify(c) {
    			if len(strings.Split(c.Name, "|")) > 3 {
    				direction, subset, fqdn, port := model.ParseSubsetKey(c.Name)
    				if subset == "" {
    					subset = "-"
    				}
    				if includeConfigType {
    					c.Name = fmt.Sprintf("cluster/%s", c.Name)
    					_, _ = fmt.Fprintf(w, "%v\t%v\t%v\t%v\t%v\t%s\t%s\n", c.Name, fqdn, port, subset, direction, c.GetType(),
    						describeManagement(c.GetMetadata()))
    				} else {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu May 11 05:38:17 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  6. internal/pubsub/pubsub.go

    		atomic.AddInt32(&ps.numSubscribers, -1)
    		return fmt.Errorf("the limit of `%d` subscribers is reached", ps.maxSubscribers)
    	}
    	ps.Lock()
    	defer ps.Unlock()
    	subChT := make(chan T, 10000)
    	sub := &Sub[T]{ch: subChT, types: Mask(mask.Mask()), filter: filter}
    	ps.subs = append(ps.subs, sub)
    
    	// We hold a lock, so we are safe to update
    	combined := Mask(atomic.LoadUint64(&ps.types))
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Feb 06 16:57:30 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  7. istioctl/pkg/describe/describe.go

    		if extendFQDN(fqdn) == svcHost {
    			if dest.Destination.Subset != "" {
    				if slices.Contains(nonmatchingSubsets, dest.Destination.Subset) {
    					mismatchNotes = append(mismatchNotes, fmt.Sprintf("Route to non-matching subset %s for (%s)",
    						dest.Destination.Subset,
    						renderMatches(route.Match)))
    					continue
    				}
    				if !slices.Contains(matchingSubsets, dest.Destination.Subset) {
    					if dr == nil {
    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. misc/go_android_exec/main.go

    }
    
    // adbCopyTree copies testdata, go.mod, go.sum files from subdir
    // and from parent directories all the way up to the root of subdir.
    // go.mod and go.sum files are needed for the go tool modules queries,
    // and the testdata directories for tests.  It is common for tests to
    // reach out into testdata from parent packages.
    func adbCopyTree(deviceCwd, subdir string) error {
    	dir := ""
    	for {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  9. istioctl/pkg/proxyconfig/proxyconfig.go

    	clusterConfigCmd.PersistentFlags().StringVar(&direction, "direction", "", "Filter clusters by Direction field")
    	clusterConfigCmd.PersistentFlags().StringVar(&subset, "subset", "", "Filter clusters by substring of Subset field")
    	clusterConfigCmd.PersistentFlags().IntVar(&port, "port", 0, "Filter clusters by Port field")
    	clusterConfigCmd.PersistentFlags().StringVarP(&configDumpFile, "file", "f", "",
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  10. misc/ios/go_ios_exec.go

    		)
    		if err != nil {
    			return "", err
    		}
    	}
    
    	return finalPkgpath, nil
    }
    
    // subdir determines the package based on the current working directory,
    // and returns the path to the package source relative to $GOROOT (or $GOPATH).
    func subdir() (pkgpath string, underGoRoot bool, err error) {
    	cwd, err := os.Getwd()
    	if err != nil {
    		return "", false, err
    	}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 23.4K bytes
    - Viewed (0)
Back to top