Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 43 for suffix (0.16 sec)

  1. istioctl/pkg/writer/ztunnel/configdump/api.go

    	NotDestinationPorts []uint16      `json:"notDestinationPorts,omitempty"`
    }
    
    type StringMatch struct {
    	Exact    string `json:"Exact,omitempty"`
    	Suffix   string `json:"Suffix,omitempty"`
    	Prefix   string `json:"Prefix,omitempty"`
    	Presence any    `json:"Presence,omitempty"`
    }
    
    type ZtunnelPolicy struct {
    	Name      string             `json:"name"`
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 25 02:16:06 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  2. operator/cmd/mesh/manifest-diff.go

    package mesh
    
    import (
    	"fmt"
    	"os"
    	"path/filepath"
    
    	"github.com/spf13/cobra"
    
    	"istio.io/istio/operator/pkg/compare"
    	"istio.io/istio/operator/pkg/util"
    )
    
    // YAMLSuffix is the suffix of a YAML file.
    const YAMLSuffix = ".yaml"
    
    type manifestDiffArgs struct {
    	// compareDir indicates comparison between directory.
    	compareDir bool
    	// verbose generates verbose output.
    	verbose bool
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  3. internal/event/rules_test.go

    package event
    
    import (
    	"reflect"
    	"testing"
    )
    
    func TestNewPattern(t *testing.T) {
    	testCases := []struct {
    		prefix         string
    		suffix         string
    		expectedResult string
    	}{
    		{"", "", ""},
    		{"*", "", "*"},
    		{"", "*", "*"},
    		{"images/", "", "images/*"},
    		{"images/*", "", "images/*"},
    		{"", "jpg", "*jpg"},
    		{"", "*jpg", "*jpg"},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 8.8K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/cgotest/overlaydir.go

    		if err != nil || srcPath == srcRoot {
    			return err
    		}
    
    		suffix := strings.TrimPrefix(srcPath, srcRoot)
    		for len(suffix) > 0 && suffix[0] == filepath.Separator {
    			suffix = suffix[1:]
    		}
    		dstPath := filepath.Join(dstRoot, suffix)
    
    		perm := info.Mode() & os.ModePerm
    		if info.Mode()&os.ModeSymlink != 0 {
    			info, err = os.Stat(srcPath)
    			if err != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon May 22 20:56:09 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  5. cmd/peer-rest-server.go

    	}
    
    	var suffix string
    	if len(values[peerRESTListenSuffix]) > 1 {
    		return grid.NewRemoteErrString("invalid request (peerRESTListenSuffix)")
    	}
    
    	if len(values[peerRESTListenSuffix]) == 1 {
    		if err := event.ValidateFilterRuleValue(values[peerRESTListenSuffix][0]); err != nil {
    			return grid.NewRemoteErr(err)
    		}
    
    		suffix = values[peerRESTListenSuffix][0]
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/podcgroupns.go

    // nolint: lll
    var cgroupREs = []*regexp.Regexp{
    	// the regex used to parse out the pod UID and container ID from a
    	// cgroup name. It assumes that any ".scope" suffix has been trimmed off
    	// beforehand.  CAUTION: we used to verify that the pod and container id were
    	// descendants of a kubepods directory, however, as of Kubernetes 1.21, cgroups
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 11K bytes
    - Viewed (0)
  7. internal/s3select/select.go

    		if start < 0 {
    			return 0, 0, errors.New("ScanRange: Start after EOF")
    		}
    		return start, -1, nil
    	}
    	if s.Start == nil {
    		// Suffix length
    		end := int64(*s.End)
    		if end < 0 {
    			return 0, 0, errors.New("ScanRange: End bigger than file")
    		}
    		// Suffix length
    		return -end, -1, nil
    	}
    	start = int64(*s.Start)
    	end := int64(*s.End)
    	return start, end - start + 1, nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 06 22:26:08 GMT 2023
    - 21K bytes
    - Viewed (0)
  8. operator/cmd/mesh/manifest_shared_test.go

    	// istioctl install
    	cmdApply cmdType = "istioctl install"
    	// in-cluster controller
    	cmdController cmdType = "operator controller"
    )
    
    // Golden output files add a lot of noise to pull requests. Use a unique suffix so
    // we can hide them by default. This should match one of the `linuguist-generated=true`
    // lines in istio.io/istio/.gitattributes.
    const (
    	goldenFileSuffixHideChangesInReview = ".golden.yaml"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  9. src/cmd/asm/internal/asm/asm.go

    		case sys.ARM64:
    			if !arch.ARM64Suffix(prog, cond) {
    				p.errorf("unrecognized suffix .%q", cond)
    				return
    			}
    
    		case sys.AMD64, sys.I386:
    			if err := x86.ParseSuffix(prog, cond); err != nil {
    				p.errorf("%v", err)
    				return
    			}
    		case sys.RISCV64:
    			if err := riscv.ParseSuffix(prog, cond); err != nil {
    				p.errorf("unrecognized suffix .%q", cond)
    				return
    			}
    		default:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
  10. internal/etag/etag.go

    		return ETag(etag), nil
    	}
    
    	prefix, suffix := s[:n], s[n:]
    	if len(prefix) != 32 {
    		return nil, fmt.Errorf("etag: invalid prefix length %d", len(prefix))
    	}
    	if len(suffix) <= 1 {
    		return nil, errors.New("etag: suffix is not a part number")
    	}
    
    	etag, err := hex.DecodeString(prefix)
    	if err != nil {
    		return nil, err
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 13.3K bytes
    - Viewed (0)
Back to top