Documentation ¶
Index ¶
- func RegisterKeycodesServiceServer(s *grpc.Server, srv KeycodesServiceServer)
- type ActivateRegistrationDataRequest
- func (*ActivateRegistrationDataRequest) Descriptor() ([]byte, []int)
- func (m *ActivateRegistrationDataRequest) GetData() string
- func (*ActivateRegistrationDataRequest) ProtoMessage()
- func (m *ActivateRegistrationDataRequest) Reset()
- func (m *ActivateRegistrationDataRequest) String() string
- func (m *ActivateRegistrationDataRequest) XXX_DiscardUnknown()
- func (m *ActivateRegistrationDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ActivateRegistrationDataRequest) XXX_Merge(src proto.Message)
- func (m *ActivateRegistrationDataRequest) XXX_Size() int
- func (m *ActivateRegistrationDataRequest) XXX_Unmarshal(b []byte) error
- type AddKeycodeRequest
- func (*AddKeycodeRequest) Descriptor() ([]byte, []int)
- func (m *AddKeycodeRequest) GetKeycode() string
- func (*AddKeycodeRequest) ProtoMessage()
- func (m *AddKeycodeRequest) Reset()
- func (m *AddKeycodeRequest) String() string
- func (m *AddKeycodeRequest) XXX_DiscardUnknown()
- func (m *AddKeycodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AddKeycodeRequest) XXX_Merge(src proto.Message)
- func (m *AddKeycodeRequest) XXX_Size() int
- func (m *AddKeycodeRequest) XXX_Unmarshal(b []byte) error
- type AddKeycodeResponse
- func (*AddKeycodeResponse) Descriptor() ([]byte, []int)
- func (m *AddKeycodeResponse) GetKeycode() *Keycode
- func (m *AddKeycodeResponse) GetStatus() *status.Status
- func (*AddKeycodeResponse) ProtoMessage()
- func (m *AddKeycodeResponse) Reset()
- func (m *AddKeycodeResponse) String() string
- func (m *AddKeycodeResponse) XXX_DiscardUnknown()
- func (m *AddKeycodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AddKeycodeResponse) XXX_Merge(src proto.Message)
- func (m *AddKeycodeResponse) XXX_Size() int
- func (m *AddKeycodeResponse) XXX_Unmarshal(b []byte) error
- type Capacity
- func (*Capacity) Descriptor() ([]byte, []int)
- func (m *Capacity) GetDisks() int32
- func (m *Capacity) GetHosts() int32
- func (m *Capacity) GetUsers() int32
- func (*Capacity) ProtoMessage()
- func (m *Capacity) Reset()
- func (m *Capacity) String() string
- func (m *Capacity) XXX_DiscardUnknown()
- func (m *Capacity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Capacity) XXX_Merge(src proto.Message)
- func (m *Capacity) XXX_Size() int
- func (m *Capacity) XXX_Unmarshal(b []byte) error
- type DeleteKeycodeRequest
- func (*DeleteKeycodeRequest) Descriptor() ([]byte, []int)
- func (m *DeleteKeycodeRequest) GetKeycode() string
- func (*DeleteKeycodeRequest) ProtoMessage()
- func (m *DeleteKeycodeRequest) Reset()
- func (m *DeleteKeycodeRequest) String() string
- func (m *DeleteKeycodeRequest) XXX_DiscardUnknown()
- func (m *DeleteKeycodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteKeycodeRequest) XXX_Merge(src proto.Message)
- func (m *DeleteKeycodeRequest) XXX_Size() int
- func (m *DeleteKeycodeRequest) XXX_Unmarshal(b []byte) error
- type Functionality
- func (*Functionality) Descriptor() ([]byte, []int)
- func (m *Functionality) GetDiskProphet() bool
- func (m *Functionality) GetWorkload() bool
- func (*Functionality) ProtoMessage()
- func (m *Functionality) Reset()
- func (m *Functionality) String() string
- func (m *Functionality) XXX_DiscardUnknown()
- func (m *Functionality) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Functionality) XXX_Merge(src proto.Message)
- func (m *Functionality) XXX_Size() int
- func (m *Functionality) XXX_Unmarshal(b []byte) error
- type GenerateRegistrationDataResponse
- func (*GenerateRegistrationDataResponse) Descriptor() ([]byte, []int)
- func (m *GenerateRegistrationDataResponse) GetData() string
- func (m *GenerateRegistrationDataResponse) GetStatus() *status.Status
- func (*GenerateRegistrationDataResponse) ProtoMessage()
- func (m *GenerateRegistrationDataResponse) Reset()
- func (m *GenerateRegistrationDataResponse) String() string
- func (m *GenerateRegistrationDataResponse) XXX_DiscardUnknown()
- func (m *GenerateRegistrationDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenerateRegistrationDataResponse) XXX_Merge(src proto.Message)
- func (m *GenerateRegistrationDataResponse) XXX_Size() int
- func (m *GenerateRegistrationDataResponse) XXX_Unmarshal(b []byte) error
- type Keycode
- func (*Keycode) Descriptor() ([]byte, []int)
- func (m *Keycode) GetApplyTime() *timestamp.Timestamp
- func (m *Keycode) GetCapacity() *Capacity
- func (m *Keycode) GetExpireTime() *timestamp.Timestamp
- func (m *Keycode) GetFunctionality() *Functionality
- func (m *Keycode) GetKeycode() string
- func (m *Keycode) GetKeycodeType() string
- func (m *Keycode) GetKeycodeVersion() int32
- func (m *Keycode) GetLicenseState() string
- func (m *Keycode) GetRegistered() bool
- func (m *Keycode) GetRetention() *Retention
- func (m *Keycode) GetServiceAgreement() *ServiceAgreement
- func (*Keycode) ProtoMessage()
- func (m *Keycode) Reset()
- func (m *Keycode) String() string
- func (m *Keycode) XXX_DiscardUnknown()
- func (m *Keycode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Keycode) XXX_Merge(src proto.Message)
- func (m *Keycode) XXX_Size() int
- func (m *Keycode) XXX_Unmarshal(b []byte) error
- type KeycodesServiceClient
- type KeycodesServiceServer
- type ListKeycodesRequest
- func (*ListKeycodesRequest) Descriptor() ([]byte, []int)
- func (m *ListKeycodesRequest) GetKeycodes() []string
- func (*ListKeycodesRequest) ProtoMessage()
- func (m *ListKeycodesRequest) Reset()
- func (m *ListKeycodesRequest) String() string
- func (m *ListKeycodesRequest) XXX_DiscardUnknown()
- func (m *ListKeycodesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListKeycodesRequest) XXX_Merge(src proto.Message)
- func (m *ListKeycodesRequest) XXX_Size() int
- func (m *ListKeycodesRequest) XXX_Unmarshal(b []byte) error
- type ListKeycodesResponse
- func (*ListKeycodesResponse) Descriptor() ([]byte, []int)
- func (m *ListKeycodesResponse) GetKeycodes() []*Keycode
- func (m *ListKeycodesResponse) GetStatus() *status.Status
- func (m *ListKeycodesResponse) GetSummary() *Keycode
- func (*ListKeycodesResponse) ProtoMessage()
- func (m *ListKeycodesResponse) Reset()
- func (m *ListKeycodesResponse) String() string
- func (m *ListKeycodesResponse) XXX_DiscardUnknown()
- func (m *ListKeycodesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListKeycodesResponse) XXX_Merge(src proto.Message)
- func (m *ListKeycodesResponse) XXX_Size() int
- func (m *ListKeycodesResponse) XXX_Unmarshal(b []byte) error
- type Retention
- func (*Retention) Descriptor() ([]byte, []int)
- func (m *Retention) GetValidMonth() int32
- func (m *Retention) GetYears() int32
- func (*Retention) ProtoMessage()
- func (m *Retention) Reset()
- func (m *Retention) String() string
- func (m *Retention) XXX_DiscardUnknown()
- func (m *Retention) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Retention) XXX_Merge(src proto.Message)
- func (m *Retention) XXX_Size() int
- func (m *Retention) XXX_Unmarshal(b []byte) error
- type ServiceAgreement
- func (*ServiceAgreement) Descriptor() ([]byte, []int)
- func (*ServiceAgreement) ProtoMessage()
- func (m *ServiceAgreement) Reset()
- func (m *ServiceAgreement) String() string
- func (m *ServiceAgreement) XXX_DiscardUnknown()
- func (m *ServiceAgreement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServiceAgreement) XXX_Merge(src proto.Message)
- func (m *ServiceAgreement) XXX_Size() int
- func (m *ServiceAgreement) XXX_Unmarshal(b []byte) error
- type UnimplementedKeycodesServiceServer
- func (*UnimplementedKeycodesServiceServer) ActivateRegistrationData(ctx context.Context, req *ActivateRegistrationDataRequest) (*status.Status, error)
- func (*UnimplementedKeycodesServiceServer) AddKeycode(ctx context.Context, req *AddKeycodeRequest) (*AddKeycodeResponse, error)
- func (*UnimplementedKeycodesServiceServer) DeleteKeycode(ctx context.Context, req *DeleteKeycodeRequest) (*status.Status, error)
- func (*UnimplementedKeycodesServiceServer) GenerateRegistrationData(ctx context.Context, req *empty.Empty) (*GenerateRegistrationDataResponse, error)
- func (*UnimplementedKeycodesServiceServer) ListKeycodes(ctx context.Context, req *ListKeycodesRequest) (*ListKeycodesResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterKeycodesServiceServer ¶
func RegisterKeycodesServiceServer(s *grpc.Server, srv KeycodesServiceServer)
Types ¶
type ActivateRegistrationDataRequest ¶
type ActivateRegistrationDataRequest struct { Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Represents a request for activating license signature data
func (*ActivateRegistrationDataRequest) Descriptor ¶
func (*ActivateRegistrationDataRequest) Descriptor() ([]byte, []int)
func (*ActivateRegistrationDataRequest) GetData ¶
func (m *ActivateRegistrationDataRequest) GetData() string
func (*ActivateRegistrationDataRequest) ProtoMessage ¶
func (*ActivateRegistrationDataRequest) ProtoMessage()
func (*ActivateRegistrationDataRequest) Reset ¶
func (m *ActivateRegistrationDataRequest) Reset()
func (*ActivateRegistrationDataRequest) String ¶
func (m *ActivateRegistrationDataRequest) String() string
func (*ActivateRegistrationDataRequest) XXX_DiscardUnknown ¶
func (m *ActivateRegistrationDataRequest) XXX_DiscardUnknown()
func (*ActivateRegistrationDataRequest) XXX_Marshal ¶
func (m *ActivateRegistrationDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ActivateRegistrationDataRequest) XXX_Merge ¶
func (m *ActivateRegistrationDataRequest) XXX_Merge(src proto.Message)
func (*ActivateRegistrationDataRequest) XXX_Size ¶
func (m *ActivateRegistrationDataRequest) XXX_Size() int
func (*ActivateRegistrationDataRequest) XXX_Unmarshal ¶
func (m *ActivateRegistrationDataRequest) XXX_Unmarshal(b []byte) error
type AddKeycodeRequest ¶
type AddKeycodeRequest struct { Keycode string `protobuf:"bytes,1,opt,name=keycode,proto3" json:"keycode,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Represents a request for adding a keycode
func (*AddKeycodeRequest) Descriptor ¶
func (*AddKeycodeRequest) Descriptor() ([]byte, []int)
func (*AddKeycodeRequest) GetKeycode ¶
func (m *AddKeycodeRequest) GetKeycode() string
func (*AddKeycodeRequest) ProtoMessage ¶
func (*AddKeycodeRequest) ProtoMessage()
func (*AddKeycodeRequest) Reset ¶
func (m *AddKeycodeRequest) Reset()
func (*AddKeycodeRequest) String ¶
func (m *AddKeycodeRequest) String() string
func (*AddKeycodeRequest) XXX_DiscardUnknown ¶
func (m *AddKeycodeRequest) XXX_DiscardUnknown()
func (*AddKeycodeRequest) XXX_Marshal ¶
func (m *AddKeycodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddKeycodeRequest) XXX_Merge ¶
func (m *AddKeycodeRequest) XXX_Merge(src proto.Message)
func (*AddKeycodeRequest) XXX_Size ¶
func (m *AddKeycodeRequest) XXX_Size() int
func (*AddKeycodeRequest) XXX_Unmarshal ¶
func (m *AddKeycodeRequest) XXX_Unmarshal(b []byte) error
type AddKeycodeResponse ¶
type AddKeycodeResponse struct { Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Keycode *Keycode `protobuf:"bytes,2,opt,name=keycode,proto3" json:"keycode,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Represents a response for adding a keycode
func (*AddKeycodeResponse) Descriptor ¶
func (*AddKeycodeResponse) Descriptor() ([]byte, []int)
func (*AddKeycodeResponse) GetKeycode ¶
func (m *AddKeycodeResponse) GetKeycode() *Keycode
func (*AddKeycodeResponse) GetStatus ¶
func (m *AddKeycodeResponse) GetStatus() *status.Status
func (*AddKeycodeResponse) ProtoMessage ¶
func (*AddKeycodeResponse) ProtoMessage()
func (*AddKeycodeResponse) Reset ¶
func (m *AddKeycodeResponse) Reset()
func (*AddKeycodeResponse) String ¶
func (m *AddKeycodeResponse) String() string
func (*AddKeycodeResponse) XXX_DiscardUnknown ¶
func (m *AddKeycodeResponse) XXX_DiscardUnknown()
func (*AddKeycodeResponse) XXX_Marshal ¶
func (m *AddKeycodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddKeycodeResponse) XXX_Merge ¶
func (m *AddKeycodeResponse) XXX_Merge(src proto.Message)
func (*AddKeycodeResponse) XXX_Size ¶
func (m *AddKeycodeResponse) XXX_Size() int
func (*AddKeycodeResponse) XXX_Unmarshal ¶
func (m *AddKeycodeResponse) XXX_Unmarshal(b []byte) error
type Capacity ¶
type Capacity struct { Users int32 `protobuf:"varint,1,opt,name=users,proto3" json:"users,omitempty"` Hosts int32 `protobuf:"varint,2,opt,name=hosts,proto3" json:"hosts,omitempty"` Disks int32 `protobuf:"varint,3,opt,name=disks,proto3" json:"disks,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Capacity) Descriptor ¶
func (*Capacity) ProtoMessage ¶
func (*Capacity) ProtoMessage()
func (*Capacity) XXX_DiscardUnknown ¶
func (m *Capacity) XXX_DiscardUnknown()
func (*Capacity) XXX_Marshal ¶
func (*Capacity) XXX_Unmarshal ¶
type DeleteKeycodeRequest ¶
type DeleteKeycodeRequest struct { Keycode string `protobuf:"bytes,1,opt,name=keycode,proto3" json:"keycode,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Represents a request for deleting a keycode
func (*DeleteKeycodeRequest) Descriptor ¶
func (*DeleteKeycodeRequest) Descriptor() ([]byte, []int)
func (*DeleteKeycodeRequest) GetKeycode ¶
func (m *DeleteKeycodeRequest) GetKeycode() string
func (*DeleteKeycodeRequest) ProtoMessage ¶
func (*DeleteKeycodeRequest) ProtoMessage()
func (*DeleteKeycodeRequest) Reset ¶
func (m *DeleteKeycodeRequest) Reset()
func (*DeleteKeycodeRequest) String ¶
func (m *DeleteKeycodeRequest) String() string
func (*DeleteKeycodeRequest) XXX_DiscardUnknown ¶
func (m *DeleteKeycodeRequest) XXX_DiscardUnknown()
func (*DeleteKeycodeRequest) XXX_Marshal ¶
func (m *DeleteKeycodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteKeycodeRequest) XXX_Merge ¶
func (m *DeleteKeycodeRequest) XXX_Merge(src proto.Message)
func (*DeleteKeycodeRequest) XXX_Size ¶
func (m *DeleteKeycodeRequest) XXX_Size() int
func (*DeleteKeycodeRequest) XXX_Unmarshal ¶
func (m *DeleteKeycodeRequest) XXX_Unmarshal(b []byte) error
type Functionality ¶
type Functionality struct { DiskProphet bool `protobuf:"varint,1,opt,name=disk_prophet,json=diskProphet,proto3" json:"disk_prophet,omitempty"` Workload bool `protobuf:"varint,2,opt,name=workload,proto3" json:"workload,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Functionality) Descriptor ¶
func (*Functionality) Descriptor() ([]byte, []int)
func (*Functionality) GetDiskProphet ¶
func (m *Functionality) GetDiskProphet() bool
func (*Functionality) GetWorkload ¶
func (m *Functionality) GetWorkload() bool
func (*Functionality) ProtoMessage ¶
func (*Functionality) ProtoMessage()
func (*Functionality) Reset ¶
func (m *Functionality) Reset()
func (*Functionality) String ¶
func (m *Functionality) String() string
func (*Functionality) XXX_DiscardUnknown ¶
func (m *Functionality) XXX_DiscardUnknown()
func (*Functionality) XXX_Marshal ¶
func (m *Functionality) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Functionality) XXX_Merge ¶
func (m *Functionality) XXX_Merge(src proto.Message)
func (*Functionality) XXX_Size ¶
func (m *Functionality) XXX_Size() int
func (*Functionality) XXX_Unmarshal ¶
func (m *Functionality) XXX_Unmarshal(b []byte) error
type GenerateRegistrationDataResponse ¶
type GenerateRegistrationDataResponse struct { Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Data string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Represents a request for generating license registration data
func (*GenerateRegistrationDataResponse) Descriptor ¶
func (*GenerateRegistrationDataResponse) Descriptor() ([]byte, []int)
func (*GenerateRegistrationDataResponse) GetData ¶
func (m *GenerateRegistrationDataResponse) GetData() string
func (*GenerateRegistrationDataResponse) GetStatus ¶
func (m *GenerateRegistrationDataResponse) GetStatus() *status.Status
func (*GenerateRegistrationDataResponse) ProtoMessage ¶
func (*GenerateRegistrationDataResponse) ProtoMessage()
func (*GenerateRegistrationDataResponse) Reset ¶
func (m *GenerateRegistrationDataResponse) Reset()
func (*GenerateRegistrationDataResponse) String ¶
func (m *GenerateRegistrationDataResponse) String() string
func (*GenerateRegistrationDataResponse) XXX_DiscardUnknown ¶
func (m *GenerateRegistrationDataResponse) XXX_DiscardUnknown()
func (*GenerateRegistrationDataResponse) XXX_Marshal ¶
func (m *GenerateRegistrationDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenerateRegistrationDataResponse) XXX_Merge ¶
func (m *GenerateRegistrationDataResponse) XXX_Merge(src proto.Message)
func (*GenerateRegistrationDataResponse) XXX_Size ¶
func (m *GenerateRegistrationDataResponse) XXX_Size() int
func (*GenerateRegistrationDataResponse) XXX_Unmarshal ¶
func (m *GenerateRegistrationDataResponse) XXX_Unmarshal(b []byte) error
type Keycode ¶
type Keycode struct { Keycode string `protobuf:"bytes,1,opt,name=keycode,proto3" json:"keycode,omitempty"` KeycodeType string `protobuf:"bytes,2,opt,name=keycode_type,json=keycodeType,proto3" json:"keycode_type,omitempty"` KeycodeVersion int32 `protobuf:"varint,3,opt,name=keycode_version,json=keycodeVersion,proto3" json:"keycode_version,omitempty"` ApplyTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=apply_time,json=applyTime,proto3" json:"apply_time,omitempty"` ExpireTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` LicenseState string `protobuf:"bytes,6,opt,name=license_state,json=licenseState,proto3" json:"license_state,omitempty"` Registered bool `protobuf:"varint,7,opt,name=registered,proto3" json:"registered,omitempty"` Capacity *Capacity `protobuf:"bytes,8,opt,name=capacity,proto3" json:"capacity,omitempty"` Functionality *Functionality `protobuf:"bytes,9,opt,name=functionality,proto3" json:"functionality,omitempty"` Retention *Retention `protobuf:"bytes,10,opt,name=retention,proto3" json:"retention,omitempty"` ServiceAgreement *ServiceAgreement `protobuf:"bytes,11,opt,name=service_agreement,json=serviceAgreement,proto3" json:"service_agreement,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Keycode) Descriptor ¶
func (*Keycode) GetApplyTime ¶
func (*Keycode) GetCapacity ¶
func (*Keycode) GetExpireTime ¶
func (*Keycode) GetFunctionality ¶
func (m *Keycode) GetFunctionality() *Functionality
func (*Keycode) GetKeycode ¶
func (*Keycode) GetKeycodeType ¶
func (*Keycode) GetKeycodeVersion ¶
func (*Keycode) GetLicenseState ¶
func (*Keycode) GetRegistered ¶
func (*Keycode) GetRetention ¶
func (*Keycode) GetServiceAgreement ¶
func (m *Keycode) GetServiceAgreement() *ServiceAgreement
func (*Keycode) ProtoMessage ¶
func (*Keycode) ProtoMessage()
func (*Keycode) XXX_DiscardUnknown ¶
func (m *Keycode) XXX_DiscardUnknown()
func (*Keycode) XXX_Marshal ¶
func (*Keycode) XXX_Unmarshal ¶
type KeycodesServiceClient ¶
type KeycodesServiceClient interface { // Used to add a keycode AddKeycode(ctx context.Context, in *AddKeycodeRequest, opts ...grpc.CallOption) (*AddKeycodeResponse, error) // Used to retrieve keycodes detailed information ListKeycodes(ctx context.Context, in *ListKeycodesRequest, opts ...grpc.CallOption) (*ListKeycodesResponse, error) // Used to delete a keycode DeleteKeycode(ctx context.Context, in *DeleteKeycodeRequest, opts ...grpc.CallOption) (*status.Status, error) // Used to generate license registration data GenerateRegistrationData(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GenerateRegistrationDataResponse, error) // Used to activate license signature data ActivateRegistrationData(ctx context.Context, in *ActivateRegistrationDataRequest, opts ...grpc.CallOption) (*status.Status, error) }
KeycodesServiceClient is the client API for KeycodesService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewKeycodesServiceClient ¶
func NewKeycodesServiceClient(cc grpc.ClientConnInterface) KeycodesServiceClient
type KeycodesServiceServer ¶
type KeycodesServiceServer interface { // Used to add a keycode AddKeycode(context.Context, *AddKeycodeRequest) (*AddKeycodeResponse, error) // Used to retrieve keycodes detailed information ListKeycodes(context.Context, *ListKeycodesRequest) (*ListKeycodesResponse, error) // Used to delete a keycode DeleteKeycode(context.Context, *DeleteKeycodeRequest) (*status.Status, error) // Used to generate license registration data GenerateRegistrationData(context.Context, *empty.Empty) (*GenerateRegistrationDataResponse, error) // Used to activate license signature data ActivateRegistrationData(context.Context, *ActivateRegistrationDataRequest) (*status.Status, error) }
KeycodesServiceServer is the server API for KeycodesService service.
type ListKeycodesRequest ¶
type ListKeycodesRequest struct { Keycodes []string `protobuf:"bytes,1,rep,name=keycodes,proto3" json:"keycodes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Represents a request for retrieving keycodes detailed information
func (*ListKeycodesRequest) Descriptor ¶
func (*ListKeycodesRequest) Descriptor() ([]byte, []int)
func (*ListKeycodesRequest) GetKeycodes ¶
func (m *ListKeycodesRequest) GetKeycodes() []string
func (*ListKeycodesRequest) ProtoMessage ¶
func (*ListKeycodesRequest) ProtoMessage()
func (*ListKeycodesRequest) Reset ¶
func (m *ListKeycodesRequest) Reset()
func (*ListKeycodesRequest) String ¶
func (m *ListKeycodesRequest) String() string
func (*ListKeycodesRequest) XXX_DiscardUnknown ¶
func (m *ListKeycodesRequest) XXX_DiscardUnknown()
func (*ListKeycodesRequest) XXX_Marshal ¶
func (m *ListKeycodesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListKeycodesRequest) XXX_Merge ¶
func (m *ListKeycodesRequest) XXX_Merge(src proto.Message)
func (*ListKeycodesRequest) XXX_Size ¶
func (m *ListKeycodesRequest) XXX_Size() int
func (*ListKeycodesRequest) XXX_Unmarshal ¶
func (m *ListKeycodesRequest) XXX_Unmarshal(b []byte) error
type ListKeycodesResponse ¶
type ListKeycodesResponse struct { Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Keycodes []*Keycode `protobuf:"bytes,2,rep,name=keycodes,proto3" json:"keycodes,omitempty"` Summary *Keycode `protobuf:"bytes,3,opt,name=summary,proto3" json:"summary,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Represents a response for a retrieving keycodes detailed information request
func (*ListKeycodesResponse) Descriptor ¶
func (*ListKeycodesResponse) Descriptor() ([]byte, []int)
func (*ListKeycodesResponse) GetKeycodes ¶
func (m *ListKeycodesResponse) GetKeycodes() []*Keycode
func (*ListKeycodesResponse) GetStatus ¶
func (m *ListKeycodesResponse) GetStatus() *status.Status
func (*ListKeycodesResponse) GetSummary ¶
func (m *ListKeycodesResponse) GetSummary() *Keycode
func (*ListKeycodesResponse) ProtoMessage ¶
func (*ListKeycodesResponse) ProtoMessage()
func (*ListKeycodesResponse) Reset ¶
func (m *ListKeycodesResponse) Reset()
func (*ListKeycodesResponse) String ¶
func (m *ListKeycodesResponse) String() string
func (*ListKeycodesResponse) XXX_DiscardUnknown ¶
func (m *ListKeycodesResponse) XXX_DiscardUnknown()
func (*ListKeycodesResponse) XXX_Marshal ¶
func (m *ListKeycodesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListKeycodesResponse) XXX_Merge ¶
func (m *ListKeycodesResponse) XXX_Merge(src proto.Message)
func (*ListKeycodesResponse) XXX_Size ¶
func (m *ListKeycodesResponse) XXX_Size() int
func (*ListKeycodesResponse) XXX_Unmarshal ¶
func (m *ListKeycodesResponse) XXX_Unmarshal(b []byte) error
type Retention ¶
type Retention struct { ValidMonth int32 `protobuf:"varint,1,opt,name=valid_month,json=validMonth,proto3" json:"valid_month,omitempty"` Years int32 `protobuf:"varint,2,opt,name=years,proto3" json:"years,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Retention) Descriptor ¶
func (*Retention) GetValidMonth ¶
func (*Retention) ProtoMessage ¶
func (*Retention) ProtoMessage()
func (*Retention) XXX_DiscardUnknown ¶
func (m *Retention) XXX_DiscardUnknown()
func (*Retention) XXX_Marshal ¶
func (*Retention) XXX_Unmarshal ¶
type ServiceAgreement ¶
type ServiceAgreement struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ServiceAgreement) Descriptor ¶
func (*ServiceAgreement) Descriptor() ([]byte, []int)
func (*ServiceAgreement) ProtoMessage ¶
func (*ServiceAgreement) ProtoMessage()
func (*ServiceAgreement) Reset ¶
func (m *ServiceAgreement) Reset()
func (*ServiceAgreement) String ¶
func (m *ServiceAgreement) String() string
func (*ServiceAgreement) XXX_DiscardUnknown ¶
func (m *ServiceAgreement) XXX_DiscardUnknown()
func (*ServiceAgreement) XXX_Marshal ¶
func (m *ServiceAgreement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServiceAgreement) XXX_Merge ¶
func (m *ServiceAgreement) XXX_Merge(src proto.Message)
func (*ServiceAgreement) XXX_Size ¶
func (m *ServiceAgreement) XXX_Size() int
func (*ServiceAgreement) XXX_Unmarshal ¶
func (m *ServiceAgreement) XXX_Unmarshal(b []byte) error
type UnimplementedKeycodesServiceServer ¶
type UnimplementedKeycodesServiceServer struct { }
UnimplementedKeycodesServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedKeycodesServiceServer) ActivateRegistrationData ¶
func (*UnimplementedKeycodesServiceServer) ActivateRegistrationData(ctx context.Context, req *ActivateRegistrationDataRequest) (*status.Status, error)
func (*UnimplementedKeycodesServiceServer) AddKeycode ¶
func (*UnimplementedKeycodesServiceServer) AddKeycode(ctx context.Context, req *AddKeycodeRequest) (*AddKeycodeResponse, error)
func (*UnimplementedKeycodesServiceServer) DeleteKeycode ¶
func (*UnimplementedKeycodesServiceServer) DeleteKeycode(ctx context.Context, req *DeleteKeycodeRequest) (*status.Status, error)
func (*UnimplementedKeycodesServiceServer) GenerateRegistrationData ¶
func (*UnimplementedKeycodesServiceServer) GenerateRegistrationData(ctx context.Context, req *empty.Empty) (*GenerateRegistrationDataResponse, error)
func (*UnimplementedKeycodesServiceServer) ListKeycodes ¶
func (*UnimplementedKeycodesServiceServer) ListKeycodes(ctx context.Context, req *ListKeycodesRequest) (*ListKeycodesResponse, error)