Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of about 10,000 for kversion (0.45 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/metrics/metrics_test.go

    	"k8s.io/apiserver/pkg/admission"
    	"k8s.io/component-base/metrics/legacyregistry"
    )
    
    var (
    	kind     = schema.GroupVersionKind{Group: "kgroup", Version: "kversion", Kind: "kind"}
    	resource = schema.GroupVersionResource{Group: "rgroup", Version: "rversion", Resource: "resource"}
    	attr     = admission.NewAttributesRecord(nil, nil, kind, "ns", "name", resource, "subresource", admission.Create, &metav1.CreateOptions{}, false, nil)
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 17:01:37 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  2. build/build-image/VERSION

    Lucas Käldström <******@****.***> 1485540217 +0200
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 27 18:03:37 UTC 2017
    - 2 bytes
    - Viewed (0)
  3. build/build-image/cross/VERSION

    cpanato <******@****.***> 1717690383 +0200
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 28 bytes
    - Viewed (0)
  4. VERSION

    zirain <******@****.***> 1713809620 +0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 22 18:13:40 UTC 2024
    - 5 bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/version.go

    func asGoVersion(v string) goVersion {
    	return goVersion(version.Lang(v))
    }
    
    // isValid reports whether v is a valid Go version.
    func (v goVersion) isValid() bool {
    	return v != ""
    }
    
    // cmp returns -1, 0, or +1 depending on whether x < y, x == y, or x > y,
    // interpreted as Go versions.
    func (x goVersion) cmp(y goVersion) int {
    	return version.Compare(string(x), string(y))
    }
    
    var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 20:44:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/version/version.go

    // This function assumes that the highest supported version must be v1.x.
    func HighestSupportedVersion(versions []string) (*Version, error) {
    	if len(versions) == 0 {
    		return nil, errors.New("empty array for supported versions")
    	}
    
    	var (
    		highestSupportedVersion *Version
    		theErr                  error
    	)
    
    	for i := len(versions) - 1; i >= 0; i-- {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 18 19:25:29 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/util/version.go

    // Internal helper: returns normalized build version (with "v" prefix if needed)
    // If input doesn't match known version pattern, returns empty string.
    func normalizedBuildVersion(version string) string {
    	if kubeReleaseRegex.MatchString(version) {
    		if strings.HasPrefix(version, "v") {
    			return version
    		}
    		return "v" + version
    	}
    	return ""
    }
    
    // Internal helper: split version parts,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 10:50:19 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  8. pkg/version/version.go

    	buildArch        = "unknown"
    )
    
    // BuildInfo describes version information about the binary build.
    type BuildInfo struct {
    	Version       string `json:"version"`
    	GitRevision   string `json:"revision"`
    	GolangVersion string `json:"golang_version"`
    	BuildStatus   string `json:"status"`
    	GitTag        string `json:"tag"`
    }
    
    // ServerInfo contains the version for a single control plane component
    type ServerInfo struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 29 14:15:26 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  9. src/go/version/version.go

    // If v does not start with "go", stripGo returns the empty string (a known invalid version).
    func stripGo(v string) string {
    	v, _, _ = strings.Cut(v, "-") // strip -bigcorp suffix.
    	if len(v) < 2 || v[:2] != "go" {
    		return ""
    	}
    	return v[2:]
    }
    
    // Lang returns the Go language version for version x.
    // If x is not a valid version, Lang returns the empty string.
    // For example:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 19:56:48 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/version.txt

    go version
    stdout '^go version'
    
    # Flags without files, or paths to missing files, should error.
    ! go version missing.exe
    ! go version -m
    stderr 'with arguments'
    ! go version -v
    stderr 'with arguments'
    
    # Check that 'go version' succeed even when it does not contain Go build info.
    # It should print an error if the file has a known Go binary extension.
    #
    go version empty.txt
    ! stdout .
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 14:52:04 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top