Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,477 for VERSION (0.07 sec)

  1. operator/pkg/version/version_test.go

    	tests := map[string]struct {
    		version Version
    		want    string
    	}{
    		"with suffix": {
    			version: NewVersion(1, 2, 3, "xyz"),
    			want:    "1.2.3-xyz",
    		},
    		"without suffix": {
    			version: NewVersion(1, 5, 0, ""),
    			want:    "1.5.0",
    		},
    	}
    	for name, tt := range tests {
    		t.Run(name, func(t *testing.T) {
    			got := tt.version.String()
    			if got != tt.want {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  2. pkg/config/resource/metadata_test.go

    	g := NewWithT(t)
    
    	m := Metadata{
    		FullName: NewFullName("ns1", "rs1"),
    		Version:  Version("v1"),
    	}
    
    	c := m.Clone()
    	g.Expect(m).To(Equal(c))
    }
    
    func TestMetadata_Clone_NonNilMaps(t *testing.T) {
    	g := NewWithT(t)
    
    	m := Metadata{
    		FullName:    NewFullName("ns1", "rs1"),
    		Version:     Version("v1"),
    		Annotations: map[string]string{"foo": "bar"},
    		Labels:      map[string]string{"l1": "l2"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/envoy/configdump/configdump.go

    		statusKey     = "revision.status"
    		sslVersionKey = "ssl.version"
    	)
    
    	var (
    		buildVersion = bootstrapDump.GetBootstrap().GetNode().GetUserAgentBuildVersion()
    		version      = buildVersion.GetVersion()
    		md           = buildVersion.GetMetadata().GetFields()
    
    		sb strings.Builder
    	)
    
    	fmt.Fprintf(&sb, "%d.%d.%d", version.GetMajorNumber(), version.GetMinorNumber(), version.GetPatch())
    	if label, ok := md[buildLabelKey]; ok {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 20:46:41 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. pkg/test/echo/response.go

    	RawContent string
    	// ID is a unique identifier of the resource in the response
    	ID string
    	// URL is the url the request is sent to
    	URL string
    	// Version is the version of the resource in the response
    	Version string
    	// Port is the port of the resource in the response
    	Port string
    	// Code is the response code
    	Code string
    	// Host is the host called by the request
    	Host string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 01 01:05:45 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  5. pkg/version/version_linux_test.go

    // limitations under the License.
    
    package version
    
    import (
    	"testing"
    
    	"istio.io/istio/pkg/monitoring/monitortest"
    )
    
    func TestRecordComponentBuildTag(t *testing.T) {
    	cases := []struct {
    		name    string
    		in      BuildInfo
    		wantTag string
    	}{
    		{
    			"record",
    			BuildInfo{
    				Version:       "VER",
    				GitRevision:   "GITREV",
    				GolangVersion: "GOLANGVER",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 07 23:36:03 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. operator/cmd/operator/root.go

    // Copyright Istio Authors
    //
    // Licensed under the Apache License, Version 2.0 (the "License");
    // you may not use this file except in compliance with the License.
    // You may obtain a copy of the License at
    //
    //     http://www.apache.org/licenses/LICENSE-2.0
    //
    // Unless required by applicable law or agreed to in writing, software
    // distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 03:51:36 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. pkg/bootstrap/config_test.go

    }
    
    func TestSetIstioVersion(t *testing.T) {
    	test.SetForTest(t, &version.Info.Version, "binary")
    
    	testCases := []struct {
    		name            string
    		meta            *model.BootstrapNodeMetadata
    		binaryVersion   string
    		expectedVersion string
    	}{
    		{
    			name:            "if IstioVersion is not specified, set it from binary version",
    			meta:            &model.BootstrapNodeMetadata{},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. pkg/proxy/proxyinfo.go

    // Copyright Istio Authors
    //
    // Licensed under the Apache License, Version 2.0 (the "License");
    // you may not use this file except in compliance with the License.
    // You may obtain a copy of the License at
    //
    //     http://www.apache.org/licenses/LICENSE-2.0
    //
    // Unless required by applicable law or agreed to in writing, software
    // distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 06 22:41:32 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. istioctl/pkg/install/k8sversion/version_test.go

    	cases := []struct {
    		version  *version.Info
    		expected int
    		errMsg   error
    		isValid  bool
    	}{
    		{
    			version:  version1_17,
    			expected: 17,
    			errMsg:   nil,
    			isValid:  true,
    		},
    		{
    			version:  version1_8,
    			expected: 8,
    			errMsg:   nil,
    			isValid:  true,
    		},
    		{
    			version:  version1_18,
    			expected: 18,
    			errMsg:   nil,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 19 02:46:48 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. pkg/version/stats.go

    // Copyright Istio Authors
    //
    // Licensed under the Apache License, Version 2.0 (the "License");
    // you may not use this file except in compliance with the License.
    // You may obtain a copy of the License at
    //
    //     http://www.apache.org/licenses/LICENSE-2.0
    //
    // Unless required by applicable law or agreed to in writing, software
    // distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 17 20:25:52 UTC 2023
    - 1.1K bytes
    - Viewed (0)
Back to top