Documentation ¶
Overview ¶
Package licenseccl is a generated protocol buffer package.
It is generated from these files:
cockroach/pkg/ccl/utilccl/licenseccl/license.proto
It has these top-level messages:
License
Index ¶
- Constants
- Variables
- type License
- func (l *License) Check(at time.Time, cluster uuid.UUID, org, feature string) error
- func (*License) Descriptor() ([]byte, []int)
- func (l License) Encode() (string, error)
- func (m *License) Marshal() (dAtA []byte, err error)
- func (m *License) MarshalTo(dAtA []byte) (int, error)
- func (*License) ProtoMessage()
- func (m *License) Reset()
- func (m *License) Size() (n int)
- func (m *License) String() string
- func (m *License) Unmarshal(dAtA []byte) error
- type License_Type
Constants ¶
View Source
const LicensePrefix = "crl-0-"
LicensePrefix is a prefix on license strings to make them easily recognized.
Variables ¶
View Source
var ( ErrInvalidLengthLicense = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowLicense = fmt.Errorf("proto: integer overflow") )
View Source
var License_Type_name = map[int32]string{
0: "NonCommercial",
1: "Enterprise",
2: "Evaluation",
}
View Source
var License_Type_value = map[string]int32{
"NonCommercial": 0,
"Enterprise": 1,
"Evaluation": 2,
}
Functions ¶
This section is empty.
Types ¶
type License ¶
type License struct { ClusterID []github_com_cockroachdb_cockroach_pkg_util_uuid.UUID `` /* 134-byte string literal not displayed */ ValidUntilUnixSec int64 `protobuf:"varint,2,opt,name=valid_until_unix_sec,json=validUntilUnixSec,proto3" json:"valid_until_unix_sec,omitempty"` Type License_Type `protobuf:"varint,3,opt,name=type,proto3,enum=cockroach.ccl.utilccl.licenseccl.License_Type" json:"type,omitempty"` OrganizationName string `protobuf:"bytes,4,opt,name=organization_name,json=organizationName,proto3" json:"organization_name,omitempty"` }
func (*License) Descriptor ¶
func (*License) ProtoMessage ¶
func (*License) ProtoMessage()
type License_Type ¶
type License_Type int32
const ( License_NonCommercial License_Type = 0 License_Enterprise License_Type = 1 License_Evaluation License_Type = 2 )
func (License_Type) EnumDescriptor ¶
func (License_Type) EnumDescriptor() ([]byte, []int)
func (License_Type) String ¶
func (x License_Type) String() string
Click to show internal directories.
Click to hide internal directories.