- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for GitTag (0.14 sec)
-
pkg/version/version_test.go
`Version: 1.0.0 GitRevision: 3a136c90ec5e308f236e0d7ebb5c4c5e405217f4 GolangVersion: go1.10.1 BuildStatus: Clean GitTag: tag `, false, BuildInfo{ Version: "1.0.0", GitRevision: "3a136c90ec5e308f236e0d7ebb5c4c5e405217f4", GolangVersion: "go1.10.1", BuildStatus: "Clean", GitTag: "tag", }, }, { "Legacy input 1", `Version: 1.0.0
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 3K bytes - Viewed (0) -
pkg/version/version.go
res.Version = value case "GitRevision": res.GitRevision = value case "GolangVersion": res.GolangVersion = value case "BuildStatus": res.BuildStatus = value case "GitTag": res.GitTag = value default: // Skip unknown fields, as older versions may report other fields continue } } } return res, nil } var (
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 29 14:15:26 UTC 2023 - 3.8K bytes - Viewed (0) -
tests/binary/binaries_test.go
validateField(t, "GitRevision", verInfo.GitRevision) validateField(t, "GolangVersion", verInfo.GolangVersion) validateField(t, "BuildStatus", verInfo.BuildStatus) validateField(t, "GitTag", verInfo.GitTag) }) } var ( nonGoBinaries = sets.New("ztunnel", "envoy") nonVersionBinaries = sets.New("client", "server") ) // Test that flags do not get polluted with unexpected flags
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 15:07:03 UTC 2024 - 4.8K bytes - Viewed (0) -
pkg/version/stats.go
// RecordComponentBuildTag sets the value for a metric that will be used to track component build tags for // tracking rollouts, etc. func (b BuildInfo) RecordComponentBuildTag(component string) { istioBuildTag.With(gitTagKey.Value(b.GitTag), componentTagKey.Value(component)).Increment()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 17 20:25:52 UTC 2023 - 1.1K bytes - Viewed (0) -
pkg/version/version_linux_test.go
in BuildInfo wantTag string }{ { "record", BuildInfo{ Version: "VER", GitRevision: "GITREV", GolangVersion: "GOLANGVER", BuildStatus: "STATUS", GitTag: "1.0.5-test", }, "1.0.5-test", }, } for _, v := range cases { t.Run(v.name, func(tt *testing.T) { mt := monitortest.New(t) v.in.RecordComponentBuildTag("test")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 07 23:36:03 UTC 2023 - 1.2K bytes - Viewed (0) -
pkg/version/cobra_test.go
expectedRegexp: regexp.MustCompile("version.BuildInfo{Version:\"unknown\", GitRevision:\"unknown\", " + "GolangVersion:\"go1.([0-9+?(\\.)?]+).*\", " + "BuildStatus:\"unknown\", GitTag:\"unknown\"}"), }, { // case 1 client-side only, short output args: strings.Split("version -s --remote=false", " "), expectedOutput: "unknown\n", }, { // case 2 client-side only, yaml output
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 29 14:15:26 UTC 2023 - 8.5K bytes - Viewed (0) -
pkg/version/cobra.go
} func identicalVersions(remoteVersion MeshInfo) bool { exemplar := remoteVersion[0].Info for i := 1; i < len(remoteVersion); i++ { candidate := (remoteVersion)[i].Info // Note that we don't compare GitTag, GitRevision, BuildStatus, // or DockerHub because released Istio versions may use the same version tag // but differ in those fields. if exemplar.Version != candidate.Version { return false } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 08 16:43:05 UTC 2023 - 6.1K bytes - Viewed (0) -
operator/cmd/mesh/install.go
var icpTag string // create normalized tags for multiple control plane revisions for _, icp := range *icps { if icp.Revision != revision { continue } tagVer, err := GetTagVersion(icp.Info.GitTag) if err != nil { return err } icpTags = append(icpTags, tagVer) } // sort different versions of control plane revisions sort.Strings(icpTags)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 17 21:52:35 UTC 2024 - 15.4K bytes - Viewed (0) -
pkg/kube/client.go
if serverInfo.GitRevision == "dirty" { serverInfo.GitRevision = strings.Join([]string{versionParts[nParts-3], "dirty"}, "-") serverInfo.Version = strings.Join(versionParts[:nParts-3], "-") } serverInfo.GitTag = serverInfo.Version } else { serverInfo.Version = istioInfo } } func SetRevisionForTest(c CLIClient, rev string) CLIClient { tc := c.(*client) tc.revision = rev return tc }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 25 14:44:17 UTC 2024 - 39K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/iexport.go
// // type DefinedType struct { // Tag itag // definedType // Name stringOff // PkgPath stringOff // } // // type PointerType struct { // Tag itag // pointerType // Elem typeOff // } // // type SliceType struct { // Tag itag // sliceType // Elem typeOff // }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jul 21 02:40:02 UTC 2023 - 6.8K bytes - Viewed (0)