Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestSerializeEtcdVersionPair (0.18 sec)

  1. cluster/images/etcd/migrate/versions_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package main
    
    import (
    	"testing"
    
    	"github.com/blang/semver/v4"
    )
    
    func TestSerializeEtcdVersionPair(t *testing.T) {
    	cases := []struct {
    		versionTxt string
    		version    *EtcdVersionPair
    		match      bool
    	}{
    		{"3.1.2/etcd3", &EtcdVersionPair{&EtcdVersion{semver.MustParse("3.1.2")}, storageEtcd3}, true},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 28 07:33:23 UTC 2022
    - 2.6K bytes
    - Viewed (0)
Back to top