Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for gitVersion (3.26 sec)

  1. pkg/kube/version_test.go

    			gitVersion: "v1.28.9-eks-036c24b",
    			want:       128,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			c := NewFakeClient()
    			c.Kube().Discovery().(*fakediscovery.FakeDiscovery).FakedServerVersion = &kubeVersion.Info{Major: tt.major, Minor: tt.minor, GitVersion: tt.gitVersion}
    			if got := GetVersionAsInt(c); got != tt.want {
    				t.Errorf("TestGetVersionAsInt() = %v, want %v", got, tt.want)
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 23:16:29 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. pkg/kube/version.go

    	if err != nil {
    		return -1
    	}
    	v, err := strconv.Atoi(clusterVersion.Major + clusterVersion.Minor)
    	if err != nil {
    		// Apparently some clusters don't put proper numbers here. Try GitVersion
    		vp, err := version.ParseGeneric(clusterVersion.GitVersion)
    		if err != nil {
    			// no good
    			return -1
    		}
    		np, err := strconv.Atoi(fmt.Sprintf("%d%d", vp.Major(), vp.Minor()))
    		if err != nil {
    			// no good...
    			return -1
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 23:16:29 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. manifests/charts/istio-cni/templates/daemonset.yaml

    # This manifest installs the Istio install-cni container, as well
    # as the Istio CNI plugin and config on
    # each master and worker node in a Kubernetes cluster.
    {{- $defaultBinDir :=
        (.Capabilities.KubeVersion.GitVersion | contains "-gke") | ternary
          "/home/kubernetes/bin"
          "/opt/cni/bin"
    }}
    kind: DaemonSet
    apiVersion: apps/v1
    metadata:
      name: {{ template "name" . }}-node
      namespace: {{ .Release.Namespace }}
      labels:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:29 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/BuildModelTransformer.java

                if (dep.getVersion() == null) {
                    Model depModel = context.getRawModel(model.getPomFile(), dep.getGroupId(), dep.getArtifactId());
                    if (depModel != null) {
                        String v = depModel.getVersion();
                        if (v == null && depModel.getParent() != null) {
                            v = depModel.getParent().getVersion();
                        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Jun 07 07:31:02 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/GradleVersionSpec.java

                    "The minimum version that can be provided is '%s'", value, constraint, lowestTestedVersion.getVersion()));
            }
        }
    
        private static GradleVersion getVersion(String value, int beginIndex) {
            return GradleVersion.version(value.substring(beginIndex));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/resolver/MavenUniqueSnapshotComponentIdentifier.java

        }
    
        public String getSnapshotVersion() {
            return getVersion().replace(timestamp, "SNAPSHOT");
        }
    
        public ModuleComponentIdentifier getSnapshotComponent() {
            return DefaultModuleComponentIdentifier.newId(getModuleIdentifier(), getSnapshotVersion());
        }
    
        public String getTimestampedVersion() {
            return getVersion().replace("SNAPSHOT", timestamp);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 10:27:56 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelVersionParser.java

                if (bound == null) {
                    return null;
                }
                return new Boundary() {
                    @Override
                    public Version getVersion() {
                        return new DefaultVersion(versionScheme, bound.getVersion());
                    }
    
                    @Override
                    public boolean isInclusive() {
                        return bound.isInclusive();
                    }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue May 21 09:54:32 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

        }
    
        @Nonnull
        @Override
        public String getArtifactId() {
            return project.getArtifactId();
        }
    
        @Nonnull
        @Override
        public String getVersion() {
            return project.getVersion();
        }
    
        @Nonnull
        @Override
        public List<Artifact> getArtifacts() {
            org.eclipse.aether.artifact.Artifact pomArtifact = RepositoryUtils.toArtifact(new ProjectArtifact(project));
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 16 08:45:24 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. buildscripts/checkdeps.sh

    	installed_git_version=$(git version | perl -ne '$_ =~ m/git version (.*?)( |$)/; print "$1\n";')
    	if ! check_minimum_version "${GIT_VERSION}" "${installed_git_version}"; then
    		echo "Git version '${installed_git_version}' is not supported. Minimum supported version: ${GIT_VERSION}"
    		exit 1
    	fi
    }
    
    main() {
    	## Check for supported arch
    	assert_is_supported_arch
    
    	## Check for supported os
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 05:08:11 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. platforms/core-runtime/logging/src/main/java/org/gradle/internal/jvm/UnsupportedJavaRuntimeException.java

                return;
            }
            throw new UnsupportedJavaRuntimeException(String.format("%s %s requires Java %s or later to run. You are currently using Java %s.", component, GradleVersion.current().getVersion(),
                minVersion, current));
        }
    
        public static void assertUsingVersion(String component, int minVersion, int configuredVersion) throws UnsupportedJavaRuntimeException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:16:16 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top