Documentation ¶
Index ¶
- Variables
- func RegisterRegistrationServer(s grpc.ServiceRegistrar, srv RegistrationServer)
- type ActivateRequest
- type ActivateResponse
- func (*ActivateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ActivateResponse) GetErrorMessage() string
- func (x *ActivateResponse) GetSuccess() bool
- func (*ActivateResponse) ProtoMessage()
- func (x *ActivateResponse) ProtoReflect() protoreflect.Message
- func (x *ActivateResponse) Reset()
- func (x *ActivateResponse) String() string
- type AdminWebLinkItem
- func (*AdminWebLinkItem) Descriptor() ([]byte, []int)deprecated
- func (x *AdminWebLinkItem) GetGetDisabled() bool
- func (x *AdminWebLinkItem) GetPath() string
- func (x *AdminWebLinkItem) GetPostAllowed() bool
- func (*AdminWebLinkItem) ProtoMessage()
- func (x *AdminWebLinkItem) ProtoReflect() protoreflect.Message
- func (x *AdminWebLinkItem) Reset()
- func (x *AdminWebLinkItem) String() string
- type ConfigItem
- func (*ConfigItem) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigItem) GetButtons() []*InputButton
- func (x *ConfigItem) GetDefaultValue() string
- func (x *ConfigItem) GetHelpText() string
- func (x *ConfigItem) GetHideOnHtml() bool
- func (x *ConfigItem) GetInputAttributes() *InputAttributes
- func (x *ConfigItem) GetInputType() InputType
- func (x *ConfigItem) GetKey() string
- func (x *ConfigItem) GetLabel() string
- func (x *ConfigItem) GetNotInConfig() bool
- func (x *ConfigItem) GetOptions() []string
- func (x *ConfigItem) GetRestartRequired() bool
- func (x *ConfigItem) GetType() config.ValueType
- func (*ConfigItem) ProtoMessage()
- func (x *ConfigItem) ProtoReflect() protoreflect.Message
- func (x *ConfigItem) Reset()
- func (x *ConfigItem) String() string
- type DeactivateRequest
- type DeactivateResponse
- func (*DeactivateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeactivateResponse) GetErrorMessage() string
- func (x *DeactivateResponse) GetSuccess() bool
- func (*DeactivateResponse) ProtoMessage()
- func (x *DeactivateResponse) ProtoReflect() protoreflect.Message
- func (x *DeactivateResponse) Reset()
- func (x *DeactivateResponse) String() string
- type DeregisterRequest
- type DeregisterResponse
- func (*DeregisterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeregisterResponse) GetErrorMessage() string
- func (x *DeregisterResponse) GetSuccess() bool
- func (*DeregisterResponse) ProtoMessage()
- func (x *DeregisterResponse) ProtoReflect() protoreflect.Message
- func (x *DeregisterResponse) Reset()
- func (x *DeregisterResponse) String() string
- type DisconnectRequest
- type DisconnectResponse
- func (*DisconnectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DisconnectResponse) GetErrorMessage() string
- func (x *DisconnectResponse) GetSuccess() bool
- func (*DisconnectResponse) ProtoMessage()
- func (x *DisconnectResponse) ProtoReflect() protoreflect.Message
- func (x *DisconnectResponse) Reset()
- func (x *DisconnectResponse) String() string
- type FoundRequiredService
- func (*FoundRequiredService) Descriptor() ([]byte, []int)deprecated
- func (x *FoundRequiredService) GetBaseId() string
- func (x *FoundRequiredService) GetKey() string
- func (x *FoundRequiredService) GetName() string
- func (x *FoundRequiredService) GetPort() uint32
- func (x *FoundRequiredService) GetServiceId() uint64
- func (x *FoundRequiredService) GetSingleRun() bool
- func (x *FoundRequiredService) GetType() string
- func (x *FoundRequiredService) GetUrl() string
- func (x *FoundRequiredService) GetVersion() *Version
- func (*FoundRequiredService) ProtoMessage()
- func (x *FoundRequiredService) ProtoReflect() protoreflect.Message
- func (x *FoundRequiredService) Reset()
- func (x *FoundRequiredService) String() string
- type InputAttributes
- func (*InputAttributes) Descriptor() ([]byte, []int)deprecated
- func (x *InputAttributes) GetAutofocus() bool
- func (x *InputAttributes) GetDisabled() bool
- func (x *InputAttributes) GetHidden() bool
- func (x *InputAttributes) GetMultiple() bool
- func (x *InputAttributes) GetOther() map[string]string
- func (x *InputAttributes) GetReadonly() bool
- func (x *InputAttributes) GetRequired() bool
- func (x *InputAttributes) GetSelected() bool
- func (*InputAttributes) ProtoMessage()
- func (x *InputAttributes) ProtoReflect() protoreflect.Message
- func (x *InputAttributes) Reset()
- func (x *InputAttributes) String() string
- type InputButton
- func (*InputButton) Descriptor() ([]byte, []int)deprecated
- func (x *InputButton) GetAction() string
- func (x *InputButton) GetAttributes() map[string]string
- func (x *InputButton) GetLabel() string
- func (*InputButton) ProtoMessage()
- func (x *InputButton) ProtoReflect() protoreflect.Message
- func (x *InputButton) Reset()
- func (x *InputButton) String() string
- type InputType
- type LinkType
- type NavItem
- func (*NavItem) Descriptor() ([]byte, []int)deprecated
- func (x *NavItem) GetIcon() string
- func (x *NavItem) GetLinkType() LinkType
- func (x *NavItem) GetPath() string
- func (x *NavItem) GetPermission() string
- func (x *NavItem) GetSubLinks() []*NavItem
- func (x *NavItem) GetTitle() string
- func (*NavItem) ProtoMessage()
- func (x *NavItem) ProtoReflect() protoreflect.Message
- func (x *NavItem) Reset()
- func (x *NavItem) String() string
- type RegisterRequest
- func (*RegisterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterRequest) GetAdminWebLinkItems() []*AdminWebLinkItem
- func (x *RegisterRequest) GetConfigItems() []*ConfigItem
- func (x *RegisterRequest) GetGroups() []string
- func (x *RegisterRequest) GetMulti() bool
- func (x *RegisterRequest) GetNavItems() []*NavItem
- func (x *RegisterRequest) GetPermissions() []string
- func (x *RegisterRequest) GetPort() uint32
- func (x *RegisterRequest) GetRequiredServices() []*RequiredService
- func (x *RegisterRequest) GetServiceName() string
- func (x *RegisterRequest) GetServiceType() string
- func (x *RegisterRequest) GetSingleRun() bool
- func (x *RegisterRequest) GetStartActive() bool
- func (x *RegisterRequest) GetVersion() *Version
- func (x *RegisterRequest) GetWebLinkItems() []*WebLinkItem
- func (x *RegisterRequest) GetWebSocketItems() []*WebSocketItem
- func (*RegisterRequest) ProtoMessage()
- func (x *RegisterRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterRequest) Reset()
- func (x *RegisterRequest) String() string
- type RegisterResponse
- func (*RegisterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterResponse) GetBaseId() string
- func (x *RegisterResponse) GetErrorMessage() string
- func (x *RegisterResponse) GetFoundServices() []*FoundRequiredService
- func (x *RegisterResponse) GetKey() string
- func (x *RegisterResponse) GetMissingServices() []*RequiredService
- func (x *RegisterResponse) GetServiceId() uint64
- func (x *RegisterResponse) GetSuccess() bool
- func (*RegisterResponse) ProtoMessage()
- func (x *RegisterResponse) ProtoReflect() protoreflect.Message
- func (x *RegisterResponse) Reset()
- func (x *RegisterResponse) String() string
- type RegistrationClient
- type RegistrationServer
- type RequiredService
- func (*RequiredService) Descriptor() ([]byte, []int)deprecated
- func (x *RequiredService) GetName() string
- func (x *RequiredService) GetType() string
- func (x *RequiredService) GetVersion() *Version
- func (*RequiredService) ProtoMessage()
- func (x *RequiredService) ProtoReflect() protoreflect.Message
- func (x *RequiredService) Reset()
- func (x *RequiredService) String() string
- type UnimplementedRegistrationServer
- func (UnimplementedRegistrationServer) Activate(context.Context, *ActivateRequest) (*ActivateResponse, error)
- func (UnimplementedRegistrationServer) Deactivate(context.Context, *DeactivateRequest) (*DeactivateResponse, error)
- func (UnimplementedRegistrationServer) Deregister(context.Context, *DeregisterRequest) (*DeregisterResponse, error)
- func (UnimplementedRegistrationServer) Disconnect(context.Context, *DisconnectRequest) (*DisconnectResponse, error)
- func (UnimplementedRegistrationServer) Register(context.Context, *RegisterRequest) (*RegisterResponse, error)
- type UnsafeRegistrationServer
- type Version
- func (*Version) Descriptor() ([]byte, []int)deprecated
- func (x *Version) GetHotfix() uint32
- func (x *Version) GetMajor() uint32
- func (x *Version) GetMinor() uint32
- func (*Version) ProtoMessage()
- func (x *Version) ProtoReflect() protoreflect.Message
- func (x *Version) Reset()
- func (x *Version) String() string
- type WebLinkItem
- func (*WebLinkItem) Descriptor() ([]byte, []int)deprecated
- func (x *WebLinkItem) GetGetDisabled() bool
- func (x *WebLinkItem) GetPath() string
- func (x *WebLinkItem) GetPermission() string
- func (x *WebLinkItem) GetPostAllowed() bool
- func (*WebLinkItem) ProtoMessage()
- func (x *WebLinkItem) ProtoReflect() protoreflect.Message
- func (x *WebLinkItem) Reset()
- func (x *WebLinkItem) String() string
- type WebSocketItem
- func (*WebSocketItem) Descriptor() ([]byte, []int)deprecated
- func (x *WebSocketItem) GetAdminOnly() bool
- func (x *WebSocketItem) GetCommand() string
- func (x *WebSocketItem) GetPermission() string
- func (x *WebSocketItem) GetRequiredVariables() []string
- func (*WebSocketItem) ProtoMessage()
- func (x *WebSocketItem) ProtoReflect() protoreflect.Message
- func (x *WebSocketItem) Reset()
- func (x *WebSocketItem) String() string
Constants ¶
This section is empty.
Variables ¶
var ( LinkType_name = map[int32]string{ 0: "Main", 1: "User", 2: "Admin", 3: "Top", } LinkType_value = map[string]int32{ "Main": 0, "User": 1, "Admin": 2, "Top": 3, } )
Enum value maps for LinkType.
var ( InputType_name = map[int32]string{ 0: "None", 1: "ICheckbox", 2: "IColor", 3: "IDate", 4: "IDatetimelocal", 5: "IEmail", 6: "INumber", 7: "IPassword", 8: "IRadio", 9: "IRange", 10: "ITel", 11: "IText", 12: "ITime", 13: "IUrl", 14: "TextArea", 15: "Select", 16: "Switch", } InputType_value = map[string]int32{ "None": 0, "ICheckbox": 1, "IColor": 2, "IDate": 3, "IDatetimelocal": 4, "IEmail": 5, "INumber": 6, "IPassword": 7, "IRadio": 8, "IRange": 9, "ITel": 10, "IText": 11, "ITime": 12, "IUrl": 13, "TextArea": 14, "Select": 15, "Switch": 16, } )
Enum value maps for InputType.
var File_registration_proto protoreflect.FileDescriptor
var Registration_ServiceDesc = grpc.ServiceDesc{ ServiceName: "registration.Registration", HandlerType: (*RegistrationServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Register", Handler: _Registration_Register_Handler, }, { MethodName: "Deregister", Handler: _Registration_Deregister_Handler, }, { MethodName: "Disconnect", Handler: _Registration_Disconnect_Handler, }, { MethodName: "Activate", Handler: _Registration_Activate_Handler, }, { MethodName: "Deactivate", Handler: _Registration_Deactivate_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "registration.proto", }
Registration_ServiceDesc is the grpc.ServiceDesc for Registration service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterRegistrationServer ¶
func RegisterRegistrationServer(s grpc.ServiceRegistrar, srv RegistrationServer)
Types ¶
type ActivateRequest ¶
type ActivateRequest struct {
// contains filtered or unexported fields
}
func (*ActivateRequest) Descriptor
deprecated
func (*ActivateRequest) Descriptor() ([]byte, []int)
Deprecated: Use ActivateRequest.ProtoReflect.Descriptor instead.
func (*ActivateRequest) ProtoMessage ¶
func (*ActivateRequest) ProtoMessage()
func (*ActivateRequest) ProtoReflect ¶
func (x *ActivateRequest) ProtoReflect() protoreflect.Message
func (*ActivateRequest) Reset ¶
func (x *ActivateRequest) Reset()
func (*ActivateRequest) String ¶
func (x *ActivateRequest) String() string
type ActivateResponse ¶
type ActivateResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` // contains filtered or unexported fields }
func (*ActivateResponse) Descriptor
deprecated
func (*ActivateResponse) Descriptor() ([]byte, []int)
Deprecated: Use ActivateResponse.ProtoReflect.Descriptor instead.
func (*ActivateResponse) GetErrorMessage ¶
func (x *ActivateResponse) GetErrorMessage() string
func (*ActivateResponse) GetSuccess ¶
func (x *ActivateResponse) GetSuccess() bool
func (*ActivateResponse) ProtoMessage ¶
func (*ActivateResponse) ProtoMessage()
func (*ActivateResponse) ProtoReflect ¶
func (x *ActivateResponse) ProtoReflect() protoreflect.Message
func (*ActivateResponse) Reset ¶
func (x *ActivateResponse) Reset()
func (*ActivateResponse) String ¶
func (x *ActivateResponse) String() string
type AdminWebLinkItem ¶
type AdminWebLinkItem struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` PostAllowed bool `protobuf:"varint,2,opt,name=post_allowed,json=postAllowed,proto3" json:"post_allowed,omitempty"` GetDisabled bool `protobuf:"varint,3,opt,name=get_disabled,json=getDisabled,proto3" json:"get_disabled,omitempty"` // contains filtered or unexported fields }
func (*AdminWebLinkItem) Descriptor
deprecated
func (*AdminWebLinkItem) Descriptor() ([]byte, []int)
Deprecated: Use AdminWebLinkItem.ProtoReflect.Descriptor instead.
func (*AdminWebLinkItem) GetGetDisabled ¶
func (x *AdminWebLinkItem) GetGetDisabled() bool
func (*AdminWebLinkItem) GetPath ¶
func (x *AdminWebLinkItem) GetPath() string
func (*AdminWebLinkItem) GetPostAllowed ¶
func (x *AdminWebLinkItem) GetPostAllowed() bool
func (*AdminWebLinkItem) ProtoMessage ¶
func (*AdminWebLinkItem) ProtoMessage()
func (*AdminWebLinkItem) ProtoReflect ¶
func (x *AdminWebLinkItem) ProtoReflect() protoreflect.Message
func (*AdminWebLinkItem) Reset ¶
func (x *AdminWebLinkItem) Reset()
func (*AdminWebLinkItem) String ¶
func (x *AdminWebLinkItem) String() string
type ConfigItem ¶
type ConfigItem struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` DefaultValue string `protobuf:"bytes,2,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"` Type config.ValueType `protobuf:"varint,3,opt,name=type,proto3,enum=config.ValueType" json:"type,omitempty"` Label string `protobuf:"bytes,4,opt,name=label,proto3" json:"label,omitempty"` HelpText string `protobuf:"bytes,5,opt,name=help_text,json=helpText,proto3" json:"help_text,omitempty"` HideOnHtml bool `protobuf:"varint,6,opt,name=hide_on_html,json=hideOnHtml,proto3" json:"hide_on_html,omitempty"` NotInConfig bool `protobuf:"varint,7,opt,name=not_in_config,json=notInConfig,proto3" json:"not_in_config,omitempty"` RestartRequired bool `protobuf:"varint,8,opt,name=restart_required,json=restartRequired,proto3" json:"restart_required,omitempty"` InputType InputType `protobuf:"varint,9,opt,name=input_type,json=inputType,proto3,enum=registration.InputType" json:"input_type,omitempty"` Options []string `protobuf:"bytes,10,rep,name=options,proto3" json:"options,omitempty"` InputAttributes *InputAttributes `protobuf:"bytes,11,opt,name=input_attributes,json=inputAttributes,proto3" json:"input_attributes,omitempty"` Buttons []*InputButton `protobuf:"bytes,12,rep,name=buttons,proto3" json:"buttons,omitempty"` // contains filtered or unexported fields }
func (*ConfigItem) Descriptor
deprecated
func (*ConfigItem) Descriptor() ([]byte, []int)
Deprecated: Use ConfigItem.ProtoReflect.Descriptor instead.
func (*ConfigItem) GetButtons ¶
func (x *ConfigItem) GetButtons() []*InputButton
func (*ConfigItem) GetDefaultValue ¶
func (x *ConfigItem) GetDefaultValue() string
func (*ConfigItem) GetHelpText ¶
func (x *ConfigItem) GetHelpText() string
func (*ConfigItem) GetHideOnHtml ¶
func (x *ConfigItem) GetHideOnHtml() bool
func (*ConfigItem) GetInputAttributes ¶
func (x *ConfigItem) GetInputAttributes() *InputAttributes
func (*ConfigItem) GetInputType ¶
func (x *ConfigItem) GetInputType() InputType
func (*ConfigItem) GetKey ¶
func (x *ConfigItem) GetKey() string
func (*ConfigItem) GetLabel ¶
func (x *ConfigItem) GetLabel() string
func (*ConfigItem) GetNotInConfig ¶
func (x *ConfigItem) GetNotInConfig() bool
func (*ConfigItem) GetOptions ¶
func (x *ConfigItem) GetOptions() []string
func (*ConfigItem) GetRestartRequired ¶
func (x *ConfigItem) GetRestartRequired() bool
func (*ConfigItem) GetType ¶
func (x *ConfigItem) GetType() config.ValueType
func (*ConfigItem) ProtoMessage ¶
func (*ConfigItem) ProtoMessage()
func (*ConfigItem) ProtoReflect ¶
func (x *ConfigItem) ProtoReflect() protoreflect.Message
func (*ConfigItem) Reset ¶
func (x *ConfigItem) Reset()
func (*ConfigItem) String ¶
func (x *ConfigItem) String() string
type DeactivateRequest ¶
type DeactivateRequest struct {
// contains filtered or unexported fields
}
func (*DeactivateRequest) Descriptor
deprecated
func (*DeactivateRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeactivateRequest.ProtoReflect.Descriptor instead.
func (*DeactivateRequest) ProtoMessage ¶
func (*DeactivateRequest) ProtoMessage()
func (*DeactivateRequest) ProtoReflect ¶
func (x *DeactivateRequest) ProtoReflect() protoreflect.Message
func (*DeactivateRequest) Reset ¶
func (x *DeactivateRequest) Reset()
func (*DeactivateRequest) String ¶
func (x *DeactivateRequest) String() string
type DeactivateResponse ¶
type DeactivateResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` // contains filtered or unexported fields }
func (*DeactivateResponse) Descriptor
deprecated
func (*DeactivateResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeactivateResponse.ProtoReflect.Descriptor instead.
func (*DeactivateResponse) GetErrorMessage ¶
func (x *DeactivateResponse) GetErrorMessage() string
func (*DeactivateResponse) GetSuccess ¶
func (x *DeactivateResponse) GetSuccess() bool
func (*DeactivateResponse) ProtoMessage ¶
func (*DeactivateResponse) ProtoMessage()
func (*DeactivateResponse) ProtoReflect ¶
func (x *DeactivateResponse) ProtoReflect() protoreflect.Message
func (*DeactivateResponse) Reset ¶
func (x *DeactivateResponse) Reset()
func (*DeactivateResponse) String ¶
func (x *DeactivateResponse) String() string
type DeregisterRequest ¶
type DeregisterRequest struct {
// contains filtered or unexported fields
}
func (*DeregisterRequest) Descriptor
deprecated
func (*DeregisterRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeregisterRequest.ProtoReflect.Descriptor instead.
func (*DeregisterRequest) ProtoMessage ¶
func (*DeregisterRequest) ProtoMessage()
func (*DeregisterRequest) ProtoReflect ¶
func (x *DeregisterRequest) ProtoReflect() protoreflect.Message
func (*DeregisterRequest) Reset ¶
func (x *DeregisterRequest) Reset()
func (*DeregisterRequest) String ¶
func (x *DeregisterRequest) String() string
type DeregisterResponse ¶
type DeregisterResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` // contains filtered or unexported fields }
func (*DeregisterResponse) Descriptor
deprecated
func (*DeregisterResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeregisterResponse.ProtoReflect.Descriptor instead.
func (*DeregisterResponse) GetErrorMessage ¶
func (x *DeregisterResponse) GetErrorMessage() string
func (*DeregisterResponse) GetSuccess ¶
func (x *DeregisterResponse) GetSuccess() bool
func (*DeregisterResponse) ProtoMessage ¶
func (*DeregisterResponse) ProtoMessage()
func (*DeregisterResponse) ProtoReflect ¶
func (x *DeregisterResponse) ProtoReflect() protoreflect.Message
func (*DeregisterResponse) Reset ¶
func (x *DeregisterResponse) Reset()
func (*DeregisterResponse) String ¶
func (x *DeregisterResponse) String() string
type DisconnectRequest ¶
type DisconnectRequest struct {
// contains filtered or unexported fields
}
func (*DisconnectRequest) Descriptor
deprecated
func (*DisconnectRequest) Descriptor() ([]byte, []int)
Deprecated: Use DisconnectRequest.ProtoReflect.Descriptor instead.
func (*DisconnectRequest) ProtoMessage ¶
func (*DisconnectRequest) ProtoMessage()
func (*DisconnectRequest) ProtoReflect ¶
func (x *DisconnectRequest) ProtoReflect() protoreflect.Message
func (*DisconnectRequest) Reset ¶
func (x *DisconnectRequest) Reset()
func (*DisconnectRequest) String ¶
func (x *DisconnectRequest) String() string
type DisconnectResponse ¶
type DisconnectResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` // contains filtered or unexported fields }
func (*DisconnectResponse) Descriptor
deprecated
func (*DisconnectResponse) Descriptor() ([]byte, []int)
Deprecated: Use DisconnectResponse.ProtoReflect.Descriptor instead.
func (*DisconnectResponse) GetErrorMessage ¶
func (x *DisconnectResponse) GetErrorMessage() string
func (*DisconnectResponse) GetSuccess ¶
func (x *DisconnectResponse) GetSuccess() bool
func (*DisconnectResponse) ProtoMessage ¶
func (*DisconnectResponse) ProtoMessage()
func (*DisconnectResponse) ProtoReflect ¶
func (x *DisconnectResponse) ProtoReflect() protoreflect.Message
func (*DisconnectResponse) Reset ¶
func (x *DisconnectResponse) Reset()
func (*DisconnectResponse) String ¶
func (x *DisconnectResponse) String() string
type FoundRequiredService ¶
type FoundRequiredService struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Version *Version `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` BaseId string `protobuf:"bytes,4,opt,name=base_id,json=baseId,proto3" json:"base_id,omitempty"` ServiceId uint64 `protobuf:"varint,5,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` Key string `protobuf:"bytes,6,opt,name=key,proto3" json:"key,omitempty"` Url string `protobuf:"bytes,7,opt,name=url,proto3" json:"url,omitempty"` Port uint32 `protobuf:"varint,8,opt,name=port,proto3" json:"port,omitempty"` SingleRun bool `protobuf:"varint,9,opt,name=single_run,json=singleRun,proto3" json:"single_run,omitempty"` // contains filtered or unexported fields }
func (*FoundRequiredService) Descriptor
deprecated
func (*FoundRequiredService) Descriptor() ([]byte, []int)
Deprecated: Use FoundRequiredService.ProtoReflect.Descriptor instead.
func (*FoundRequiredService) GetBaseId ¶
func (x *FoundRequiredService) GetBaseId() string
func (*FoundRequiredService) GetKey ¶
func (x *FoundRequiredService) GetKey() string
func (*FoundRequiredService) GetName ¶
func (x *FoundRequiredService) GetName() string
func (*FoundRequiredService) GetPort ¶
func (x *FoundRequiredService) GetPort() uint32
func (*FoundRequiredService) GetServiceId ¶
func (x *FoundRequiredService) GetServiceId() uint64
func (*FoundRequiredService) GetSingleRun ¶
func (x *FoundRequiredService) GetSingleRun() bool
func (*FoundRequiredService) GetType ¶
func (x *FoundRequiredService) GetType() string
func (*FoundRequiredService) GetUrl ¶
func (x *FoundRequiredService) GetUrl() string
func (*FoundRequiredService) GetVersion ¶
func (x *FoundRequiredService) GetVersion() *Version
func (*FoundRequiredService) ProtoMessage ¶
func (*FoundRequiredService) ProtoMessage()
func (*FoundRequiredService) ProtoReflect ¶
func (x *FoundRequiredService) ProtoReflect() protoreflect.Message
func (*FoundRequiredService) Reset ¶
func (x *FoundRequiredService) Reset()
func (*FoundRequiredService) String ¶
func (x *FoundRequiredService) String() string
type InputAttributes ¶
type InputAttributes struct { Autofocus bool `protobuf:"varint,1,opt,name=autofocus,proto3" json:"autofocus,omitempty"` Readonly bool `protobuf:"varint,2,opt,name=readonly,proto3" json:"readonly,omitempty"` Disabled bool `protobuf:"varint,3,opt,name=disabled,proto3" json:"disabled,omitempty"` Multiple bool `protobuf:"varint,4,opt,name=multiple,proto3" json:"multiple,omitempty"` Required bool `protobuf:"varint,5,opt,name=required,proto3" json:"required,omitempty"` Selected bool `protobuf:"varint,6,opt,name=selected,proto3" json:"selected,omitempty"` Hidden bool `protobuf:"varint,7,opt,name=hidden,proto3" json:"hidden,omitempty"` Other map[string]string `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
func (*InputAttributes) Descriptor
deprecated
func (*InputAttributes) Descriptor() ([]byte, []int)
Deprecated: Use InputAttributes.ProtoReflect.Descriptor instead.
func (*InputAttributes) GetAutofocus ¶
func (x *InputAttributes) GetAutofocus() bool
func (*InputAttributes) GetDisabled ¶
func (x *InputAttributes) GetDisabled() bool
func (*InputAttributes) GetHidden ¶
func (x *InputAttributes) GetHidden() bool
func (*InputAttributes) GetMultiple ¶
func (x *InputAttributes) GetMultiple() bool
func (*InputAttributes) GetOther ¶
func (x *InputAttributes) GetOther() map[string]string
func (*InputAttributes) GetReadonly ¶
func (x *InputAttributes) GetReadonly() bool
func (*InputAttributes) GetRequired ¶
func (x *InputAttributes) GetRequired() bool
func (*InputAttributes) GetSelected ¶
func (x *InputAttributes) GetSelected() bool
func (*InputAttributes) ProtoMessage ¶
func (*InputAttributes) ProtoMessage()
func (*InputAttributes) ProtoReflect ¶
func (x *InputAttributes) ProtoReflect() protoreflect.Message
func (*InputAttributes) Reset ¶
func (x *InputAttributes) Reset()
func (*InputAttributes) String ¶
func (x *InputAttributes) String() string
type InputButton ¶
type InputButton struct { Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"` Attributes map[string]string `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
func (*InputButton) Descriptor
deprecated
func (*InputButton) Descriptor() ([]byte, []int)
Deprecated: Use InputButton.ProtoReflect.Descriptor instead.
func (*InputButton) GetAction ¶
func (x *InputButton) GetAction() string
func (*InputButton) GetAttributes ¶
func (x *InputButton) GetAttributes() map[string]string
func (*InputButton) GetLabel ¶
func (x *InputButton) GetLabel() string
func (*InputButton) ProtoMessage ¶
func (*InputButton) ProtoMessage()
func (*InputButton) ProtoReflect ¶
func (x *InputButton) ProtoReflect() protoreflect.Message
func (*InputButton) Reset ¶
func (x *InputButton) Reset()
func (*InputButton) String ¶
func (x *InputButton) String() string
type InputType ¶
type InputType int32
const ( InputType_None InputType = 0 InputType_ICheckbox InputType = 1 InputType_IColor InputType = 2 InputType_IDate InputType = 3 InputType_IDatetimelocal InputType = 4 InputType_IEmail InputType = 5 InputType_INumber InputType = 6 InputType_IPassword InputType = 7 InputType_IRadio InputType = 8 InputType_IRange InputType = 9 InputType_ITel InputType = 10 InputType_IText InputType = 11 InputType_ITime InputType = 12 InputType_IUrl InputType = 13 InputType_TextArea InputType = 14 InputType_Select InputType = 15 InputType_Switch InputType = 16 )
func (InputType) Descriptor ¶
func (InputType) Descriptor() protoreflect.EnumDescriptor
func (InputType) EnumDescriptor
deprecated
func (InputType) Number ¶
func (x InputType) Number() protoreflect.EnumNumber
func (InputType) Type ¶
func (InputType) Type() protoreflect.EnumType
type LinkType ¶
type LinkType int32
func (LinkType) Descriptor ¶
func (LinkType) Descriptor() protoreflect.EnumDescriptor
func (LinkType) EnumDescriptor
deprecated
func (LinkType) Number ¶
func (x LinkType) Number() protoreflect.EnumNumber
func (LinkType) Type ¶
func (LinkType) Type() protoreflect.EnumType
type NavItem ¶
type NavItem struct { // contains filtered or unexported fields }
func (*NavItem) Descriptor
deprecated
func (*NavItem) GetLinkType ¶
func (*NavItem) GetPermission ¶
func (*NavItem) GetSubLinks ¶
func (*NavItem) ProtoMessage ¶
func (*NavItem) ProtoMessage()
func (*NavItem) ProtoReflect ¶
func (x *NavItem) ProtoReflect() protoreflect.Message
type RegisterRequest ¶
type RegisterRequest struct { ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` ServiceType string `protobuf:"bytes,2,opt,name=service_type,json=serviceType,proto3" json:"service_type,omitempty"` Version *Version `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` Port uint32 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"` Multi bool `protobuf:"varint,5,opt,name=multi,proto3" json:"multi,omitempty"` SingleRun bool `protobuf:"varint,6,opt,name=single_run,json=singleRun,proto3" json:"single_run,omitempty"` StartActive bool `protobuf:"varint,7,opt,name=start_active,json=startActive,proto3" json:"start_active,omitempty"` ConfigItems []*ConfigItem `protobuf:"bytes,8,rep,name=config_items,json=configItems,proto3" json:"config_items,omitempty"` RequiredServices []*RequiredService `protobuf:"bytes,9,rep,name=required_services,json=requiredServices,proto3" json:"required_services,omitempty"` WebLinkItems []*WebLinkItem `protobuf:"bytes,10,rep,name=web_link_items,json=webLinkItems,proto3" json:"web_link_items,omitempty"` AdminWebLinkItems []*AdminWebLinkItem `protobuf:"bytes,11,rep,name=admin_web_link_items,json=adminWebLinkItems,proto3" json:"admin_web_link_items,omitempty"` WebSocketItems []*WebSocketItem `protobuf:"bytes,13,rep,name=web_socket_items,json=webSocketItems,proto3" json:"web_socket_items,omitempty"` Groups []string `protobuf:"bytes,14,rep,name=groups,proto3" json:"groups,omitempty"` Permissions []string `protobuf:"bytes,15,rep,name=permissions,proto3" json:"permissions,omitempty"` // contains filtered or unexported fields }
func (*RegisterRequest) Descriptor
deprecated
func (*RegisterRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.
func (*RegisterRequest) GetAdminWebLinkItems ¶
func (x *RegisterRequest) GetAdminWebLinkItems() []*AdminWebLinkItem
func (*RegisterRequest) GetConfigItems ¶
func (x *RegisterRequest) GetConfigItems() []*ConfigItem
func (*RegisterRequest) GetGroups ¶
func (x *RegisterRequest) GetGroups() []string
func (*RegisterRequest) GetMulti ¶
func (x *RegisterRequest) GetMulti() bool
func (*RegisterRequest) GetNavItems ¶
func (x *RegisterRequest) GetNavItems() []*NavItem
func (*RegisterRequest) GetPermissions ¶
func (x *RegisterRequest) GetPermissions() []string
func (*RegisterRequest) GetPort ¶
func (x *RegisterRequest) GetPort() uint32
func (*RegisterRequest) GetRequiredServices ¶
func (x *RegisterRequest) GetRequiredServices() []*RequiredService
func (*RegisterRequest) GetServiceName ¶
func (x *RegisterRequest) GetServiceName() string
func (*RegisterRequest) GetServiceType ¶
func (x *RegisterRequest) GetServiceType() string
func (*RegisterRequest) GetSingleRun ¶
func (x *RegisterRequest) GetSingleRun() bool
func (*RegisterRequest) GetStartActive ¶
func (x *RegisterRequest) GetStartActive() bool
func (*RegisterRequest) GetVersion ¶
func (x *RegisterRequest) GetVersion() *Version
func (*RegisterRequest) GetWebLinkItems ¶
func (x *RegisterRequest) GetWebLinkItems() []*WebLinkItem
func (*RegisterRequest) GetWebSocketItems ¶
func (x *RegisterRequest) GetWebSocketItems() []*WebSocketItem
func (*RegisterRequest) ProtoMessage ¶
func (*RegisterRequest) ProtoMessage()
func (*RegisterRequest) ProtoReflect ¶
func (x *RegisterRequest) ProtoReflect() protoreflect.Message
func (*RegisterRequest) Reset ¶
func (x *RegisterRequest) Reset()
func (*RegisterRequest) String ¶
func (x *RegisterRequest) String() string
type RegisterResponse ¶
type RegisterResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` BaseId string `protobuf:"bytes,3,opt,name=base_id,json=baseId,proto3" json:"base_id,omitempty"` ServiceId uint64 `protobuf:"varint,4,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` Key string `protobuf:"bytes,5,opt,name=key,proto3" json:"key,omitempty"` MissingServices []*RequiredService `protobuf:"bytes,6,rep,name=missing_services,json=missingServices,proto3" json:"missing_services,omitempty"` FoundServices []*FoundRequiredService `protobuf:"bytes,7,rep,name=found_services,json=foundServices,proto3" json:"found_services,omitempty"` // contains filtered or unexported fields }
func (*RegisterResponse) Descriptor
deprecated
func (*RegisterResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegisterResponse.ProtoReflect.Descriptor instead.
func (*RegisterResponse) GetBaseId ¶
func (x *RegisterResponse) GetBaseId() string
func (*RegisterResponse) GetErrorMessage ¶
func (x *RegisterResponse) GetErrorMessage() string
func (*RegisterResponse) GetFoundServices ¶
func (x *RegisterResponse) GetFoundServices() []*FoundRequiredService
func (*RegisterResponse) GetKey ¶
func (x *RegisterResponse) GetKey() string
func (*RegisterResponse) GetMissingServices ¶
func (x *RegisterResponse) GetMissingServices() []*RequiredService
func (*RegisterResponse) GetServiceId ¶
func (x *RegisterResponse) GetServiceId() uint64
func (*RegisterResponse) GetSuccess ¶
func (x *RegisterResponse) GetSuccess() bool
func (*RegisterResponse) ProtoMessage ¶
func (*RegisterResponse) ProtoMessage()
func (*RegisterResponse) ProtoReflect ¶
func (x *RegisterResponse) ProtoReflect() protoreflect.Message
func (*RegisterResponse) Reset ¶
func (x *RegisterResponse) Reset()
func (*RegisterResponse) String ¶
func (x *RegisterResponse) String() string
type RegistrationClient ¶
type RegistrationClient interface { Register(ctx context.Context, in *RegisterRequest, opts ...grpc.CallOption) (*RegisterResponse, error) Deregister(ctx context.Context, in *DeregisterRequest, opts ...grpc.CallOption) (*DeregisterResponse, error) Disconnect(ctx context.Context, in *DisconnectRequest, opts ...grpc.CallOption) (*DisconnectResponse, error) Activate(ctx context.Context, in *ActivateRequest, opts ...grpc.CallOption) (*ActivateResponse, error) Deactivate(ctx context.Context, in *DeactivateRequest, opts ...grpc.CallOption) (*DeactivateResponse, error) }
RegistrationClient is the client API for Registration service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewRegistrationClient ¶
func NewRegistrationClient(cc grpc.ClientConnInterface) RegistrationClient
type RegistrationServer ¶
type RegistrationServer interface { Register(context.Context, *RegisterRequest) (*RegisterResponse, error) Deregister(context.Context, *DeregisterRequest) (*DeregisterResponse, error) Disconnect(context.Context, *DisconnectRequest) (*DisconnectResponse, error) Activate(context.Context, *ActivateRequest) (*ActivateResponse, error) Deactivate(context.Context, *DeactivateRequest) (*DeactivateResponse, error) // contains filtered or unexported methods }
RegistrationServer is the server API for Registration service. All implementations must embed UnimplementedRegistrationServer for forward compatibility
type RequiredService ¶
type RequiredService struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Version *Version `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*RequiredService) Descriptor
deprecated
func (*RequiredService) Descriptor() ([]byte, []int)
Deprecated: Use RequiredService.ProtoReflect.Descriptor instead.
func (*RequiredService) GetName ¶
func (x *RequiredService) GetName() string
func (*RequiredService) GetType ¶
func (x *RequiredService) GetType() string
func (*RequiredService) GetVersion ¶
func (x *RequiredService) GetVersion() *Version
func (*RequiredService) ProtoMessage ¶
func (*RequiredService) ProtoMessage()
func (*RequiredService) ProtoReflect ¶
func (x *RequiredService) ProtoReflect() protoreflect.Message
func (*RequiredService) Reset ¶
func (x *RequiredService) Reset()
func (*RequiredService) String ¶
func (x *RequiredService) String() string
type UnimplementedRegistrationServer ¶
type UnimplementedRegistrationServer struct { }
UnimplementedRegistrationServer must be embedded to have forward compatible implementations.
func (UnimplementedRegistrationServer) Activate ¶
func (UnimplementedRegistrationServer) Activate(context.Context, *ActivateRequest) (*ActivateResponse, error)
func (UnimplementedRegistrationServer) Deactivate ¶
func (UnimplementedRegistrationServer) Deactivate(context.Context, *DeactivateRequest) (*DeactivateResponse, error)
func (UnimplementedRegistrationServer) Deregister ¶
func (UnimplementedRegistrationServer) Deregister(context.Context, *DeregisterRequest) (*DeregisterResponse, error)
func (UnimplementedRegistrationServer) Disconnect ¶
func (UnimplementedRegistrationServer) Disconnect(context.Context, *DisconnectRequest) (*DisconnectResponse, error)
func (UnimplementedRegistrationServer) Register ¶
func (UnimplementedRegistrationServer) Register(context.Context, *RegisterRequest) (*RegisterResponse, error)
type UnsafeRegistrationServer ¶
type UnsafeRegistrationServer interface {
// contains filtered or unexported methods
}
UnsafeRegistrationServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RegistrationServer will result in compilation errors.
type Version ¶
type Version struct { Major uint32 `protobuf:"varint,1,opt,name=major,proto3" json:"major,omitempty"` Minor uint32 `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty"` Hotfix uint32 `protobuf:"varint,3,opt,name=hotfix,proto3" json:"hotfix,omitempty"` // contains filtered or unexported fields }
func (*Version) Descriptor
deprecated
func (*Version) ProtoMessage ¶
func (*Version) ProtoMessage()
func (*Version) ProtoReflect ¶
func (x *Version) ProtoReflect() protoreflect.Message
type WebLinkItem ¶
type WebLinkItem struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Permission string `protobuf:"bytes,2,opt,name=permission,proto3" json:"permission,omitempty"` PostAllowed bool `protobuf:"varint,3,opt,name=post_allowed,json=postAllowed,proto3" json:"post_allowed,omitempty"` GetDisabled bool `protobuf:"varint,4,opt,name=get_disabled,json=getDisabled,proto3" json:"get_disabled,omitempty"` // contains filtered or unexported fields }
func (*WebLinkItem) Descriptor
deprecated
func (*WebLinkItem) Descriptor() ([]byte, []int)
Deprecated: Use WebLinkItem.ProtoReflect.Descriptor instead.
func (*WebLinkItem) GetGetDisabled ¶
func (x *WebLinkItem) GetGetDisabled() bool
func (*WebLinkItem) GetPath ¶
func (x *WebLinkItem) GetPath() string
func (*WebLinkItem) GetPermission ¶
func (x *WebLinkItem) GetPermission() string
func (*WebLinkItem) GetPostAllowed ¶
func (x *WebLinkItem) GetPostAllowed() bool
func (*WebLinkItem) ProtoMessage ¶
func (*WebLinkItem) ProtoMessage()
func (*WebLinkItem) ProtoReflect ¶
func (x *WebLinkItem) ProtoReflect() protoreflect.Message
func (*WebLinkItem) Reset ¶
func (x *WebLinkItem) Reset()
func (*WebLinkItem) String ¶
func (x *WebLinkItem) String() string
type WebSocketItem ¶
type WebSocketItem struct { Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"` Permission string `protobuf:"bytes,2,opt,name=permission,proto3" json:"permission,omitempty"` AdminOnly bool `protobuf:"varint,3,opt,name=admin_only,json=adminOnly,proto3" json:"admin_only,omitempty"` RequiredVariables []string `protobuf:"bytes,5,rep,name=required_variables,json=requiredVariables,proto3" json:"required_variables,omitempty"` // contains filtered or unexported fields }
func (*WebSocketItem) Descriptor
deprecated
func (*WebSocketItem) Descriptor() ([]byte, []int)
Deprecated: Use WebSocketItem.ProtoReflect.Descriptor instead.
func (*WebSocketItem) GetAdminOnly ¶
func (x *WebSocketItem) GetAdminOnly() bool
func (*WebSocketItem) GetCommand ¶
func (x *WebSocketItem) GetCommand() string
func (*WebSocketItem) GetPermission ¶
func (x *WebSocketItem) GetPermission() string
func (*WebSocketItem) GetRequiredVariables ¶
func (x *WebSocketItem) GetRequiredVariables() []string
func (*WebSocketItem) ProtoMessage ¶
func (*WebSocketItem) ProtoMessage()
func (*WebSocketItem) ProtoReflect ¶
func (x *WebSocketItem) ProtoReflect() protoreflect.Message
func (*WebSocketItem) Reset ¶
func (x *WebSocketItem) Reset()
func (*WebSocketItem) String ¶
func (x *WebSocketItem) String() string