keycodes

package
v4.2.789+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2020 License: Apache-2.0 Imports: 10 Imported by: 4

Documentation

Index

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 (*ActivateRegistrationDataRequest) ProtoMessage

func (*ActivateRegistrationDataRequest) ProtoMessage()

func (*ActivateRegistrationDataRequest) Reset

func (*ActivateRegistrationDataRequest) 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) Descriptor() ([]byte, []int)

func (*Capacity) GetDisks

func (m *Capacity) GetDisks() int32

func (*Capacity) GetHosts

func (m *Capacity) GetHosts() int32

func (*Capacity) GetUsers

func (m *Capacity) GetUsers() int32

func (*Capacity) ProtoMessage

func (*Capacity) ProtoMessage()

func (*Capacity) Reset

func (m *Capacity) Reset()

func (*Capacity) String

func (m *Capacity) String() string

func (*Capacity) XXX_DiscardUnknown

func (m *Capacity) XXX_DiscardUnknown()

func (*Capacity) XXX_Marshal

func (m *Capacity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Capacity) XXX_Merge

func (m *Capacity) XXX_Merge(src proto.Message)

func (*Capacity) XXX_Size

func (m *Capacity) XXX_Size() int

func (*Capacity) XXX_Unmarshal

func (m *Capacity) XXX_Unmarshal(b []byte) error

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 (*GenerateRegistrationDataResponse) GetStatus

func (*GenerateRegistrationDataResponse) ProtoMessage

func (*GenerateRegistrationDataResponse) ProtoMessage()

func (*GenerateRegistrationDataResponse) Reset

func (*GenerateRegistrationDataResponse) 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 (*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) Descriptor() ([]byte, []int)

func (*Keycode) GetApplyTime

func (m *Keycode) GetApplyTime() *timestamp.Timestamp

func (*Keycode) GetCapacity

func (m *Keycode) GetCapacity() *Capacity

func (*Keycode) GetExpireTime

func (m *Keycode) GetExpireTime() *timestamp.Timestamp

func (*Keycode) GetFunctionality

func (m *Keycode) GetFunctionality() *Functionality

func (*Keycode) GetKeycode

func (m *Keycode) GetKeycode() string

func (*Keycode) GetKeycodeType

func (m *Keycode) GetKeycodeType() string

func (*Keycode) GetKeycodeVersion

func (m *Keycode) GetKeycodeVersion() int32

func (*Keycode) GetLicenseState

func (m *Keycode) GetLicenseState() string

func (*Keycode) GetRegistered

func (m *Keycode) GetRegistered() bool

func (*Keycode) GetRetention

func (m *Keycode) GetRetention() *Retention

func (*Keycode) GetServiceAgreement

func (m *Keycode) GetServiceAgreement() *ServiceAgreement

func (*Keycode) ProtoMessage

func (*Keycode) ProtoMessage()

func (*Keycode) Reset

func (m *Keycode) Reset()

func (*Keycode) String

func (m *Keycode) String() string

func (*Keycode) XXX_DiscardUnknown

func (m *Keycode) XXX_DiscardUnknown()

func (*Keycode) XXX_Marshal

func (m *Keycode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Keycode) XXX_Merge

func (m *Keycode) XXX_Merge(src proto.Message)

func (*Keycode) XXX_Size

func (m *Keycode) XXX_Size() int

func (*Keycode) XXX_Unmarshal

func (m *Keycode) XXX_Unmarshal(b []byte) error

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.

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) Descriptor() ([]byte, []int)

func (*Retention) GetValidMonth

func (m *Retention) GetValidMonth() int32

func (*Retention) GetYears

func (m *Retention) GetYears() int32

func (*Retention) ProtoMessage

func (*Retention) ProtoMessage()

func (*Retention) Reset

func (m *Retention) Reset()

func (*Retention) String

func (m *Retention) String() string

func (*Retention) XXX_DiscardUnknown

func (m *Retention) XXX_DiscardUnknown()

func (*Retention) XXX_Marshal

func (m *Retention) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Retention) XXX_Merge

func (m *Retention) XXX_Merge(src proto.Message)

func (*Retention) XXX_Size

func (m *Retention) XXX_Size() int

func (*Retention) XXX_Unmarshal

func (m *Retention) XXX_Unmarshal(b []byte) error

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) AddKeycode

func (*UnimplementedKeycodesServiceServer) DeleteKeycode

func (*UnimplementedKeycodesServiceServer) GenerateRegistrationData

func (*UnimplementedKeycodesServiceServer) ListKeycodes

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL