github.com/cockroachdb/cockroach@v20.2.0-alpha.1+incompatible/pkg/ccl/utilccl/licenseccl/license.proto (about) 1 // Copyright 2017 The Cockroach Authors. 2 // 3 // Licensed as a CockroachDB Enterprise file under the Cockroach Community 4 // License (the "License"); you may not use this file except in compliance with 5 // the License. You may obtain a copy of the License at 6 // 7 // https://github.com/cockroachdb/cockroach/blob/master/licenses/CCL.txt 8 9 syntax = "proto3"; 10 package cockroach.ccl.utilccl.licenseccl; 11 option go_package = "licenseccl"; 12 13 import "gogoproto/gogo.proto"; 14 15 message License { 16 repeated bytes cluster_id = 1 [(gogoproto.nullable) = false, 17 (gogoproto.customname) = "ClusterID", 18 (gogoproto.customtype) = "github.com/cockroachdb/cockroach/pkg/util/uuid.UUID"]; 19 int64 valid_until_unix_sec = 2; 20 21 enum Type { 22 NonCommercial = 0; 23 Enterprise = 1; 24 Evaluation = 2; 25 } 26 27 Type type = 3; 28 29 string organization_name = 4; 30 }