Documentation ¶
Index ¶
- Variables
- func Register(manifest *Manifest, mod modutil.Module) error
- func Start(ctx context.Context, deps *modutil.Deps) error
- type BusTopics
- type Config
- type CurrentModuleState
- func (*CurrentModuleState) Descriptor() ([]byte, []int)deprecated
- func (x *CurrentModuleState) GetConfig() *Config
- func (x *CurrentModuleState) GetModuleId() string
- func (x *CurrentModuleState) GetModuleState() ModuleState
- func (x *CurrentModuleState) GetStateDetail() string
- func (*CurrentModuleState) ProtoMessage()
- func (x *CurrentModuleState) ProtoReflect() protoreflect.Message
- func (x *CurrentModuleState) Reset()
- func (x *CurrentModuleState) String() string
- type Manifest
- func (*Manifest) Descriptor() ([]byte, []int)deprecated
- func (x *Manifest) GetDescription() string
- func (x *Manifest) GetId() string
- func (x *Manifest) GetName() string
- func (x *Manifest) GetWebPaths() []*ManifestWebPath
- func (*Manifest) ProtoMessage()
- func (x *Manifest) ProtoReflect() protoreflect.Message
- func (x *Manifest) Reset()
- func (x *Manifest) String() string
- type ManifestWebPath
- func (*ManifestWebPath) Descriptor() ([]byte, []int)deprecated
- func (x *ManifestWebPath) GetDescription() string
- func (x *ManifestWebPath) GetPath() string
- func (x *ManifestWebPath) GetType() ManifestWebPathType
- func (*ManifestWebPath) ProtoMessage()
- func (x *ManifestWebPath) ProtoReflect() protoreflect.Message
- func (x *ManifestWebPath) Reset()
- func (x *ManifestWebPath) String() string
- type ManifestWebPathType
- func (ManifestWebPathType) Descriptor() protoreflect.EnumDescriptor
- func (x ManifestWebPathType) Enum() *ManifestWebPathType
- func (ManifestWebPathType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ManifestWebPathType) Number() protoreflect.EnumNumber
- func (x ManifestWebPathType) String() string
- func (ManifestWebPathType) Type() protoreflect.EnumType
- type MessageTypeCommand
- func (MessageTypeCommand) Descriptor() protoreflect.EnumDescriptor
- func (x MessageTypeCommand) Enum() *MessageTypeCommand
- func (MessageTypeCommand) EnumDescriptor() ([]byte, []int)deprecated
- func (x MessageTypeCommand) Number() protoreflect.EnumNumber
- func (x MessageTypeCommand) String() string
- func (MessageTypeCommand) Type() protoreflect.EnumType
- type MessageTypeEvent
- func (MessageTypeEvent) Descriptor() protoreflect.EnumDescriptor
- func (x MessageTypeEvent) Enum() *MessageTypeEvent
- func (MessageTypeEvent) EnumDescriptor() ([]byte, []int)deprecated
- func (x MessageTypeEvent) Number() protoreflect.EnumNumber
- func (x MessageTypeEvent) String() string
- func (MessageTypeEvent) Type() protoreflect.EnumType
- type MessageTypeRequest
- func (MessageTypeRequest) Descriptor() protoreflect.EnumDescriptor
- func (x MessageTypeRequest) Enum() *MessageTypeRequest
- func (MessageTypeRequest) EnumDescriptor() ([]byte, []int)deprecated
- func (x MessageTypeRequest) Number() protoreflect.EnumNumber
- func (x MessageTypeRequest) String() string
- func (MessageTypeRequest) Type() protoreflect.EnumType
- type ModuleAutostartSetRequest
- func (*ModuleAutostartSetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ModuleAutostartSetRequest) GetAutostart() bool
- func (x *ModuleAutostartSetRequest) GetModuleId() string
- func (*ModuleAutostartSetRequest) ProtoMessage()
- func (x *ModuleAutostartSetRequest) ProtoReflect() protoreflect.Message
- func (x *ModuleAutostartSetRequest) Reset()
- func (x *ModuleAutostartSetRequest) String() string
- type ModuleAutostartSetResponse
- type ModuleCurrentStateEvent
- func (*ModuleCurrentStateEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ModuleCurrentStateEvent) GetConfig() *Config
- func (x *ModuleCurrentStateEvent) GetModuleId() string
- func (x *ModuleCurrentStateEvent) GetModuleState() ModuleState
- func (x *ModuleCurrentStateEvent) GetStateDetail() string
- func (*ModuleCurrentStateEvent) ProtoMessage()
- func (x *ModuleCurrentStateEvent) ProtoReflect() protoreflect.Message
- func (x *ModuleCurrentStateEvent) Reset()
- func (x *ModuleCurrentStateEvent) String() string
- type ModuleDetailSetRequest
- func (*ModuleDetailSetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ModuleDetailSetRequest) GetModuleId() string
- func (x *ModuleDetailSetRequest) GetStateDetail() string
- func (*ModuleDetailSetRequest) ProtoMessage()
- func (x *ModuleDetailSetRequest) ProtoReflect() protoreflect.Message
- func (x *ModuleDetailSetRequest) Reset()
- func (x *ModuleDetailSetRequest) String() string
- type ModuleDetailSetResponse
- type ModuleListEntry
- func (*ModuleListEntry) Descriptor() ([]byte, []int)deprecated
- func (x *ModuleListEntry) GetManifest() *Manifest
- func (x *ModuleListEntry) GetState() *CurrentModuleState
- func (*ModuleListEntry) ProtoMessage()
- func (x *ModuleListEntry) ProtoReflect() protoreflect.Message
- func (x *ModuleListEntry) Reset()
- func (x *ModuleListEntry) String() string
- type ModuleState
- func (ModuleState) Descriptor() protoreflect.EnumDescriptor
- func (x ModuleState) Enum() *ModuleState
- func (ModuleState) EnumDescriptor() ([]byte, []int)deprecated
- func (x ModuleState) Number() protoreflect.EnumNumber
- func (x ModuleState) String() string
- func (ModuleState) Type() protoreflect.EnumType
- type ModuleStateSetRequest
- func (*ModuleStateSetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ModuleStateSetRequest) GetModuleId() string
- func (x *ModuleStateSetRequest) GetState() ModuleState
- func (*ModuleStateSetRequest) ProtoMessage()
- func (x *ModuleStateSetRequest) ProtoReflect() protoreflect.Message
- func (x *ModuleStateSetRequest) Reset()
- func (x *ModuleStateSetRequest) String() string
- type ModuleStateSetResponse
- type ModulesListRequest
- type ModulesListResponse
- func (*ModulesListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ModulesListResponse) GetEntries() []*ModuleListEntry
- func (*ModulesListResponse) ProtoMessage()
- func (x *ModulesListResponse) ProtoReflect() protoreflect.Message
- func (x *ModulesListResponse) Reset()
- func (x *ModulesListResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var ( BusTopics_name = map[int32]string{ 0: "MODULE_EVENT", 1: "MODULE_REQUEST", 2: "MODULE_COMMAND", } BusTopics_value = map[string]int32{ "MODULE_EVENT": 0, "MODULE_REQUEST": 1, "MODULE_COMMAND": 2, } )
Enum value maps for BusTopics.
var ( MessageTypeEvent_name = map[int32]string{ 0: "MODULE_CURRENT_STATE", } MessageTypeEvent_value = map[string]int32{ "MODULE_CURRENT_STATE": 0, } )
Enum value maps for MessageTypeEvent.
var ( MessageTypeRequest_name = map[int32]string{ 0: "MODULES_LIST_REQ", 1: "MODULES_LIST_RESP", } MessageTypeRequest_value = map[string]int32{ "MODULES_LIST_REQ": 0, "MODULES_LIST_RESP": 1, } )
Enum value maps for MessageTypeRequest.
var ( MessageTypeCommand_name = map[int32]string{ 0: "MODULE_AUTOSTART_SET_REQ", 1: "MODULE_AUTOSTART_SET_RESP", 2: "MODULE_STATE_SET_REQ", 3: "MODULE_STATE_SET_RESP", 4: "MODULE_DETAIL_SET_REQ", 5: "MODULE_DETAIL_SET_RESP", } MessageTypeCommand_value = map[string]int32{ "MODULE_AUTOSTART_SET_REQ": 0, "MODULE_AUTOSTART_SET_RESP": 1, "MODULE_STATE_SET_REQ": 2, "MODULE_STATE_SET_RESP": 3, "MODULE_DETAIL_SET_REQ": 4, "MODULE_DETAIL_SET_RESP": 5, } )
Enum value maps for MessageTypeCommand.
var ( ModuleState_name = map[int32]string{ 0: "UNSPECIFIED", 1: "UNSTARTED", 2: "STARTED", 3: "STOPPED", 4: "FAILED", 5: "FINISHED", } ModuleState_value = map[string]int32{ "UNSPECIFIED": 0, "UNSTARTED": 1, "STARTED": 2, "STOPPED": 3, "FAILED": 4, "FINISHED": 5, } )
Enum value maps for ModuleState.
var ( ManifestWebPathType_name = map[int32]string{ 0: "MANIFEST_WEB_PATH_TYPE_GENERAL", 1: "MANIFEST_WEB_PATH_TYPE_OBS_OVERLAY", 2: "MANIFEST_WEB_PATH_TYPE_EMBED_CONTROL", 3: "MANIFEST_WEB_PATH_TYPE_HELP", 4: "MANIFEST_WEB_PATH_TYPE_CONTROL_PAGE", } ManifestWebPathType_value = map[string]int32{ "MANIFEST_WEB_PATH_TYPE_GENERAL": 0, "MANIFEST_WEB_PATH_TYPE_OBS_OVERLAY": 1, "MANIFEST_WEB_PATH_TYPE_EMBED_CONTROL": 2, "MANIFEST_WEB_PATH_TYPE_HELP": 3, "MANIFEST_WEB_PATH_TYPE_CONTROL_PAGE": 4, } )
Enum value maps for ManifestWebPathType.
var (
ErrDuplicate = errors.New("duplicate module")
)
var File_modules_config_proto protoreflect.FileDescriptor
var File_modules_control_proto protoreflect.FileDescriptor
var File_modules_manifest_proto protoreflect.FileDescriptor
Functions ¶
Types ¶
type BusTopics ¶
type BusTopics int32
func (BusTopics) Descriptor ¶
func (BusTopics) Descriptor() protoreflect.EnumDescriptor
func (BusTopics) EnumDescriptor
deprecated
func (BusTopics) Number ¶
func (x BusTopics) Number() protoreflect.EnumNumber
func (BusTopics) Type ¶
func (BusTopics) Type() protoreflect.EnumType
type Config ¶
type Config struct { AutomaticStart bool `protobuf:"varint,1,opt,name=automatic_start,json=automaticStart,proto3" json:"automatic_start,omitempty"` // contains filtered or unexported fields }
func (*Config) Descriptor
deprecated
func (*Config) GetAutomaticStart ¶
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
type CurrentModuleState ¶
type CurrentModuleState struct { ModuleId string `protobuf:"bytes,1,opt,name=module_id,json=moduleId,proto3" json:"module_id,omitempty"` ModuleState ModuleState `protobuf:"varint,2,opt,name=module_state,json=moduleState,proto3,enum=modules.ModuleState" json:"module_state,omitempty"` Config *Config `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"` StateDetail string `protobuf:"bytes,4,opt,name=state_detail,json=stateDetail,proto3" json:"state_detail,omitempty"` // contains filtered or unexported fields }
func (*CurrentModuleState) Descriptor
deprecated
func (*CurrentModuleState) Descriptor() ([]byte, []int)
Deprecated: Use CurrentModuleState.ProtoReflect.Descriptor instead.
func (*CurrentModuleState) GetConfig ¶
func (x *CurrentModuleState) GetConfig() *Config
func (*CurrentModuleState) GetModuleId ¶
func (x *CurrentModuleState) GetModuleId() string
func (*CurrentModuleState) GetModuleState ¶
func (x *CurrentModuleState) GetModuleState() ModuleState
func (*CurrentModuleState) GetStateDetail ¶
func (x *CurrentModuleState) GetStateDetail() string
func (*CurrentModuleState) ProtoMessage ¶
func (*CurrentModuleState) ProtoMessage()
func (*CurrentModuleState) ProtoReflect ¶
func (x *CurrentModuleState) ProtoReflect() protoreflect.Message
func (*CurrentModuleState) Reset ¶
func (x *CurrentModuleState) Reset()
func (*CurrentModuleState) String ¶
func (x *CurrentModuleState) String() string
type Manifest ¶
type Manifest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` WebPaths []*ManifestWebPath `protobuf:"bytes,4,rep,name=web_paths,json=webPaths,proto3" json:"web_paths,omitempty"` // contains filtered or unexported fields }
func (*Manifest) Descriptor
deprecated
func (*Manifest) GetDescription ¶
func (*Manifest) GetWebPaths ¶
func (x *Manifest) GetWebPaths() []*ManifestWebPath
func (*Manifest) ProtoMessage ¶
func (*Manifest) ProtoMessage()
func (*Manifest) ProtoReflect ¶
func (x *Manifest) ProtoReflect() protoreflect.Message
type ManifestWebPath ¶
type ManifestWebPath struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Type ManifestWebPathType `protobuf:"varint,2,opt,name=type,proto3,enum=modules.ManifestWebPathType" json:"type,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*ManifestWebPath) Descriptor
deprecated
func (*ManifestWebPath) Descriptor() ([]byte, []int)
Deprecated: Use ManifestWebPath.ProtoReflect.Descriptor instead.
func (*ManifestWebPath) GetDescription ¶
func (x *ManifestWebPath) GetDescription() string
func (*ManifestWebPath) GetPath ¶
func (x *ManifestWebPath) GetPath() string
func (*ManifestWebPath) GetType ¶
func (x *ManifestWebPath) GetType() ManifestWebPathType
func (*ManifestWebPath) ProtoMessage ¶
func (*ManifestWebPath) ProtoMessage()
func (*ManifestWebPath) ProtoReflect ¶
func (x *ManifestWebPath) ProtoReflect() protoreflect.Message
func (*ManifestWebPath) Reset ¶
func (x *ManifestWebPath) Reset()
func (*ManifestWebPath) String ¶
func (x *ManifestWebPath) String() string
type ManifestWebPathType ¶
type ManifestWebPathType int32
const ( ManifestWebPathType_MANIFEST_WEB_PATH_TYPE_GENERAL ManifestWebPathType = 0 ManifestWebPathType_MANIFEST_WEB_PATH_TYPE_OBS_OVERLAY ManifestWebPathType = 1 ManifestWebPathType_MANIFEST_WEB_PATH_TYPE_EMBED_CONTROL ManifestWebPathType = 2 ManifestWebPathType_MANIFEST_WEB_PATH_TYPE_HELP ManifestWebPathType = 3 ManifestWebPathType_MANIFEST_WEB_PATH_TYPE_CONTROL_PAGE ManifestWebPathType = 4 )
func (ManifestWebPathType) Descriptor ¶
func (ManifestWebPathType) Descriptor() protoreflect.EnumDescriptor
func (ManifestWebPathType) Enum ¶
func (x ManifestWebPathType) Enum() *ManifestWebPathType
func (ManifestWebPathType) EnumDescriptor
deprecated
func (ManifestWebPathType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ManifestWebPathType.Descriptor instead.
func (ManifestWebPathType) Number ¶
func (x ManifestWebPathType) Number() protoreflect.EnumNumber
func (ManifestWebPathType) String ¶
func (x ManifestWebPathType) String() string
func (ManifestWebPathType) Type ¶
func (ManifestWebPathType) Type() protoreflect.EnumType
type MessageTypeCommand ¶
type MessageTypeCommand int32
const ( MessageTypeCommand_MODULE_AUTOSTART_SET_REQ MessageTypeCommand = 0 MessageTypeCommand_MODULE_AUTOSTART_SET_RESP MessageTypeCommand = 1 MessageTypeCommand_MODULE_STATE_SET_REQ MessageTypeCommand = 2 MessageTypeCommand_MODULE_STATE_SET_RESP MessageTypeCommand = 3 MessageTypeCommand_MODULE_DETAIL_SET_REQ MessageTypeCommand = 4 MessageTypeCommand_MODULE_DETAIL_SET_RESP MessageTypeCommand = 5 )
func (MessageTypeCommand) Descriptor ¶
func (MessageTypeCommand) Descriptor() protoreflect.EnumDescriptor
func (MessageTypeCommand) Enum ¶
func (x MessageTypeCommand) Enum() *MessageTypeCommand
func (MessageTypeCommand) EnumDescriptor
deprecated
func (MessageTypeCommand) EnumDescriptor() ([]byte, []int)
Deprecated: Use MessageTypeCommand.Descriptor instead.
func (MessageTypeCommand) Number ¶
func (x MessageTypeCommand) Number() protoreflect.EnumNumber
func (MessageTypeCommand) String ¶
func (x MessageTypeCommand) String() string
func (MessageTypeCommand) Type ¶
func (MessageTypeCommand) Type() protoreflect.EnumType
type MessageTypeEvent ¶
type MessageTypeEvent int32
const (
MessageTypeEvent_MODULE_CURRENT_STATE MessageTypeEvent = 0
)
func (MessageTypeEvent) Descriptor ¶
func (MessageTypeEvent) Descriptor() protoreflect.EnumDescriptor
func (MessageTypeEvent) Enum ¶
func (x MessageTypeEvent) Enum() *MessageTypeEvent
func (MessageTypeEvent) EnumDescriptor
deprecated
func (MessageTypeEvent) EnumDescriptor() ([]byte, []int)
Deprecated: Use MessageTypeEvent.Descriptor instead.
func (MessageTypeEvent) Number ¶
func (x MessageTypeEvent) Number() protoreflect.EnumNumber
func (MessageTypeEvent) String ¶
func (x MessageTypeEvent) String() string
func (MessageTypeEvent) Type ¶
func (MessageTypeEvent) Type() protoreflect.EnumType
type MessageTypeRequest ¶
type MessageTypeRequest int32
const ( MessageTypeRequest_MODULES_LIST_REQ MessageTypeRequest = 0 MessageTypeRequest_MODULES_LIST_RESP MessageTypeRequest = 1 )
func (MessageTypeRequest) Descriptor ¶
func (MessageTypeRequest) Descriptor() protoreflect.EnumDescriptor
func (MessageTypeRequest) Enum ¶
func (x MessageTypeRequest) Enum() *MessageTypeRequest
func (MessageTypeRequest) EnumDescriptor
deprecated
func (MessageTypeRequest) EnumDescriptor() ([]byte, []int)
Deprecated: Use MessageTypeRequest.Descriptor instead.
func (MessageTypeRequest) Number ¶
func (x MessageTypeRequest) Number() protoreflect.EnumNumber
func (MessageTypeRequest) String ¶
func (x MessageTypeRequest) String() string
func (MessageTypeRequest) Type ¶
func (MessageTypeRequest) Type() protoreflect.EnumType
type ModuleAutostartSetRequest ¶
type ModuleAutostartSetRequest struct { ModuleId string `protobuf:"bytes,1,opt,name=module_id,json=moduleId,proto3" json:"module_id,omitempty"` Autostart bool `protobuf:"varint,2,opt,name=autostart,proto3" json:"autostart,omitempty"` // contains filtered or unexported fields }
func (*ModuleAutostartSetRequest) Descriptor
deprecated
func (*ModuleAutostartSetRequest) Descriptor() ([]byte, []int)
Deprecated: Use ModuleAutostartSetRequest.ProtoReflect.Descriptor instead.
func (*ModuleAutostartSetRequest) GetAutostart ¶
func (x *ModuleAutostartSetRequest) GetAutostart() bool
func (*ModuleAutostartSetRequest) GetModuleId ¶
func (x *ModuleAutostartSetRequest) GetModuleId() string
func (*ModuleAutostartSetRequest) ProtoMessage ¶
func (*ModuleAutostartSetRequest) ProtoMessage()
func (*ModuleAutostartSetRequest) ProtoReflect ¶
func (x *ModuleAutostartSetRequest) ProtoReflect() protoreflect.Message
func (*ModuleAutostartSetRequest) Reset ¶
func (x *ModuleAutostartSetRequest) Reset()
func (*ModuleAutostartSetRequest) String ¶
func (x *ModuleAutostartSetRequest) String() string
type ModuleAutostartSetResponse ¶
type ModuleAutostartSetResponse struct {
// contains filtered or unexported fields
}
func (*ModuleAutostartSetResponse) Descriptor
deprecated
func (*ModuleAutostartSetResponse) Descriptor() ([]byte, []int)
Deprecated: Use ModuleAutostartSetResponse.ProtoReflect.Descriptor instead.
func (*ModuleAutostartSetResponse) ProtoMessage ¶
func (*ModuleAutostartSetResponse) ProtoMessage()
func (*ModuleAutostartSetResponse) ProtoReflect ¶
func (x *ModuleAutostartSetResponse) ProtoReflect() protoreflect.Message
func (*ModuleAutostartSetResponse) Reset ¶
func (x *ModuleAutostartSetResponse) Reset()
func (*ModuleAutostartSetResponse) String ¶
func (x *ModuleAutostartSetResponse) String() string
type ModuleCurrentStateEvent ¶
type ModuleCurrentStateEvent struct { ModuleId string `protobuf:"bytes,1,opt,name=module_id,json=moduleId,proto3" json:"module_id,omitempty"` ModuleState ModuleState `protobuf:"varint,2,opt,name=module_state,json=moduleState,proto3,enum=modules.ModuleState" json:"module_state,omitempty"` Config *Config `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"` StateDetail string `protobuf:"bytes,4,opt,name=state_detail,json=stateDetail,proto3" json:"state_detail,omitempty"` // contains filtered or unexported fields }
func (*ModuleCurrentStateEvent) Descriptor
deprecated
func (*ModuleCurrentStateEvent) Descriptor() ([]byte, []int)
Deprecated: Use ModuleCurrentStateEvent.ProtoReflect.Descriptor instead.
func (*ModuleCurrentStateEvent) GetConfig ¶
func (x *ModuleCurrentStateEvent) GetConfig() *Config
func (*ModuleCurrentStateEvent) GetModuleId ¶
func (x *ModuleCurrentStateEvent) GetModuleId() string
func (*ModuleCurrentStateEvent) GetModuleState ¶
func (x *ModuleCurrentStateEvent) GetModuleState() ModuleState
func (*ModuleCurrentStateEvent) GetStateDetail ¶
func (x *ModuleCurrentStateEvent) GetStateDetail() string
func (*ModuleCurrentStateEvent) ProtoMessage ¶
func (*ModuleCurrentStateEvent) ProtoMessage()
func (*ModuleCurrentStateEvent) ProtoReflect ¶
func (x *ModuleCurrentStateEvent) ProtoReflect() protoreflect.Message
func (*ModuleCurrentStateEvent) Reset ¶
func (x *ModuleCurrentStateEvent) Reset()
func (*ModuleCurrentStateEvent) String ¶
func (x *ModuleCurrentStateEvent) String() string
type ModuleDetailSetRequest ¶
type ModuleDetailSetRequest struct { ModuleId string `protobuf:"bytes,1,opt,name=module_id,json=moduleId,proto3" json:"module_id,omitempty"` StateDetail string `protobuf:"bytes,2,opt,name=state_detail,json=stateDetail,proto3" json:"state_detail,omitempty"` // contains filtered or unexported fields }
func (*ModuleDetailSetRequest) Descriptor
deprecated
func (*ModuleDetailSetRequest) Descriptor() ([]byte, []int)
Deprecated: Use ModuleDetailSetRequest.ProtoReflect.Descriptor instead.
func (*ModuleDetailSetRequest) GetModuleId ¶
func (x *ModuleDetailSetRequest) GetModuleId() string
func (*ModuleDetailSetRequest) GetStateDetail ¶
func (x *ModuleDetailSetRequest) GetStateDetail() string
func (*ModuleDetailSetRequest) ProtoMessage ¶
func (*ModuleDetailSetRequest) ProtoMessage()
func (*ModuleDetailSetRequest) ProtoReflect ¶
func (x *ModuleDetailSetRequest) ProtoReflect() protoreflect.Message
func (*ModuleDetailSetRequest) Reset ¶
func (x *ModuleDetailSetRequest) Reset()
func (*ModuleDetailSetRequest) String ¶
func (x *ModuleDetailSetRequest) String() string
type ModuleDetailSetResponse ¶
type ModuleDetailSetResponse struct {
// contains filtered or unexported fields
}
func (*ModuleDetailSetResponse) Descriptor
deprecated
func (*ModuleDetailSetResponse) Descriptor() ([]byte, []int)
Deprecated: Use ModuleDetailSetResponse.ProtoReflect.Descriptor instead.
func (*ModuleDetailSetResponse) ProtoMessage ¶
func (*ModuleDetailSetResponse) ProtoMessage()
func (*ModuleDetailSetResponse) ProtoReflect ¶
func (x *ModuleDetailSetResponse) ProtoReflect() protoreflect.Message
func (*ModuleDetailSetResponse) Reset ¶
func (x *ModuleDetailSetResponse) Reset()
func (*ModuleDetailSetResponse) String ¶
func (x *ModuleDetailSetResponse) String() string
type ModuleListEntry ¶
type ModuleListEntry struct { Manifest *Manifest `protobuf:"bytes,1,opt,name=manifest,proto3" json:"manifest,omitempty"` State *CurrentModuleState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
func (*ModuleListEntry) Descriptor
deprecated
func (*ModuleListEntry) Descriptor() ([]byte, []int)
Deprecated: Use ModuleListEntry.ProtoReflect.Descriptor instead.
func (*ModuleListEntry) GetManifest ¶
func (x *ModuleListEntry) GetManifest() *Manifest
func (*ModuleListEntry) GetState ¶
func (x *ModuleListEntry) GetState() *CurrentModuleState
func (*ModuleListEntry) ProtoMessage ¶
func (*ModuleListEntry) ProtoMessage()
func (*ModuleListEntry) ProtoReflect ¶
func (x *ModuleListEntry) ProtoReflect() protoreflect.Message
func (*ModuleListEntry) Reset ¶
func (x *ModuleListEntry) Reset()
func (*ModuleListEntry) String ¶
func (x *ModuleListEntry) String() string
type ModuleState ¶
type ModuleState int32
const ( ModuleState_UNSPECIFIED ModuleState = 0 ModuleState_UNSTARTED ModuleState = 1 ModuleState_STARTED ModuleState = 2 ModuleState_STOPPED ModuleState = 3 ModuleState_FAILED ModuleState = 4 ModuleState_FINISHED ModuleState = 5 )
func (ModuleState) Descriptor ¶
func (ModuleState) Descriptor() protoreflect.EnumDescriptor
func (ModuleState) Enum ¶
func (x ModuleState) Enum() *ModuleState
func (ModuleState) EnumDescriptor
deprecated
func (ModuleState) EnumDescriptor() ([]byte, []int)
Deprecated: Use ModuleState.Descriptor instead.
func (ModuleState) Number ¶
func (x ModuleState) Number() protoreflect.EnumNumber
func (ModuleState) String ¶
func (x ModuleState) String() string
func (ModuleState) Type ¶
func (ModuleState) Type() protoreflect.EnumType
type ModuleStateSetRequest ¶
type ModuleStateSetRequest struct { ModuleId string `protobuf:"bytes,1,opt,name=module_id,json=moduleId,proto3" json:"module_id,omitempty"` State ModuleState `protobuf:"varint,2,opt,name=state,proto3,enum=modules.ModuleState" json:"state,omitempty"` // contains filtered or unexported fields }
func (*ModuleStateSetRequest) Descriptor
deprecated
func (*ModuleStateSetRequest) Descriptor() ([]byte, []int)
Deprecated: Use ModuleStateSetRequest.ProtoReflect.Descriptor instead.
func (*ModuleStateSetRequest) GetModuleId ¶
func (x *ModuleStateSetRequest) GetModuleId() string
func (*ModuleStateSetRequest) GetState ¶
func (x *ModuleStateSetRequest) GetState() ModuleState
func (*ModuleStateSetRequest) ProtoMessage ¶
func (*ModuleStateSetRequest) ProtoMessage()
func (*ModuleStateSetRequest) ProtoReflect ¶
func (x *ModuleStateSetRequest) ProtoReflect() protoreflect.Message
func (*ModuleStateSetRequest) Reset ¶
func (x *ModuleStateSetRequest) Reset()
func (*ModuleStateSetRequest) String ¶
func (x *ModuleStateSetRequest) String() string
type ModuleStateSetResponse ¶
type ModuleStateSetResponse struct {
// contains filtered or unexported fields
}
func (*ModuleStateSetResponse) Descriptor
deprecated
func (*ModuleStateSetResponse) Descriptor() ([]byte, []int)
Deprecated: Use ModuleStateSetResponse.ProtoReflect.Descriptor instead.
func (*ModuleStateSetResponse) ProtoMessage ¶
func (*ModuleStateSetResponse) ProtoMessage()
func (*ModuleStateSetResponse) ProtoReflect ¶
func (x *ModuleStateSetResponse) ProtoReflect() protoreflect.Message
func (*ModuleStateSetResponse) Reset ¶
func (x *ModuleStateSetResponse) Reset()
func (*ModuleStateSetResponse) String ¶
func (x *ModuleStateSetResponse) String() string
type ModulesListRequest ¶
type ModulesListRequest struct {
// contains filtered or unexported fields
}
func (*ModulesListRequest) Descriptor
deprecated
func (*ModulesListRequest) Descriptor() ([]byte, []int)
Deprecated: Use ModulesListRequest.ProtoReflect.Descriptor instead.
func (*ModulesListRequest) ProtoMessage ¶
func (*ModulesListRequest) ProtoMessage()
func (*ModulesListRequest) ProtoReflect ¶
func (x *ModulesListRequest) ProtoReflect() protoreflect.Message
func (*ModulesListRequest) Reset ¶
func (x *ModulesListRequest) Reset()
func (*ModulesListRequest) String ¶
func (x *ModulesListRequest) String() string
type ModulesListResponse ¶
type ModulesListResponse struct { Entries []*ModuleListEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` // contains filtered or unexported fields }
func (*ModulesListResponse) Descriptor
deprecated
func (*ModulesListResponse) Descriptor() ([]byte, []int)
Deprecated: Use ModulesListResponse.ProtoReflect.Descriptor instead.
func (*ModulesListResponse) GetEntries ¶
func (x *ModulesListResponse) GetEntries() []*ModuleListEntry
func (*ModulesListResponse) ProtoMessage ¶
func (*ModulesListResponse) ProtoMessage()
func (*ModulesListResponse) ProtoReflect ¶
func (x *ModulesListResponse) ProtoReflect() protoreflect.Message
func (*ModulesListResponse) Reset ¶
func (x *ModulesListResponse) Reset()
func (*ModulesListResponse) String ¶
func (x *ModulesListResponse) String() string