Documentation ¶
Index ¶
- Variables
- type GetServiceRequest
- func (*GetServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetServiceRequest) GetInstance() string
- func (x *GetServiceRequest) GetName() string
- func (*GetServiceRequest) ProtoMessage()
- func (x *GetServiceRequest) ProtoReflect() protoreflect.Message
- func (x *GetServiceRequest) Reset()
- func (x *GetServiceRequest) String() string
- type ListServicesRequest
- func (*ListServicesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListServicesRequest) GetInstance() string
- func (*ListServicesRequest) ProtoMessage()
- func (x *ListServicesRequest) ProtoReflect() protoreflect.Message
- func (x *ListServicesRequest) Reset()
- func (x *ListServicesRequest) String() string
- type ListServicesResponse
- func (*ListServicesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListServicesResponse) GetServices() []*ServiceInfo
- func (*ListServicesResponse) ProtoMessage()
- func (x *ListServicesResponse) ProtoReflect() protoreflect.Message
- func (x *ListServicesResponse) Reset()
- func (x *ListServicesResponse) String() string
- type ServiceInfo
- func (*ServiceInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceInfo) GetClassName() string
- func (x *ServiceInfo) GetFailureCause() string
- func (x *ServiceInfo) GetFailureMessage() string
- func (x *ServiceInfo) GetInstance() string
- func (x *ServiceInfo) GetName() string
- func (x *ServiceInfo) GetProcessor() string
- func (x *ServiceInfo) GetState() ServiceState
- func (*ServiceInfo) ProtoMessage()
- func (x *ServiceInfo) ProtoReflect() protoreflect.Message
- func (x *ServiceInfo) Reset()
- func (x *ServiceInfo) String() string
- type ServiceState
- func (ServiceState) Descriptor() protoreflect.EnumDescriptor
- func (x ServiceState) Enum() *ServiceState
- func (ServiceState) EnumDescriptor() ([]byte, []int)deprecated
- func (x ServiceState) Number() protoreflect.EnumNumber
- func (x ServiceState) String() string
- func (ServiceState) Type() protoreflect.EnumType
- func (x *ServiceState) UnmarshalJSON(b []byte) errordeprecated
- type StartServiceRequest
- func (*StartServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StartServiceRequest) GetInstance() string
- func (x *StartServiceRequest) GetName() string
- func (*StartServiceRequest) ProtoMessage()
- func (x *StartServiceRequest) ProtoReflect() protoreflect.Message
- func (x *StartServiceRequest) Reset()
- func (x *StartServiceRequest) String() string
- type StopServiceRequest
- func (*StopServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StopServiceRequest) GetInstance() string
- func (x *StopServiceRequest) GetName() string
- func (*StopServiceRequest) ProtoMessage()
- func (x *StopServiceRequest) ProtoReflect() protoreflect.Message
- func (x *StopServiceRequest) Reset()
- func (x *StopServiceRequest) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ServiceState_name = map[int32]string{ 0: "NEW", 1: "STARTING", 2: "RUNNING", 3: "STOPPING", 4: "TERMINATED", 5: "FAILED", } ServiceState_value = map[string]int32{ "NEW": 0, "STARTING": 1, "RUNNING": 2, "STOPPING": 3, "TERMINATED": 4, "FAILED": 5, } )
Enum value maps for ServiceState.
View Source
var File_yamcs_protobuf_services_services_proto protoreflect.FileDescriptor
View Source
var File_yamcs_protobuf_services_services_service_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type GetServiceRequest ¶
type GetServiceRequest struct { // Yamcs instance name. Or _global for system-wide services. Instance *string `protobuf:"bytes,1,opt,name=instance" json:"instance,omitempty"` // Service name Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetServiceRequest) Descriptor
deprecated
func (*GetServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetServiceRequest.ProtoReflect.Descriptor instead.
func (*GetServiceRequest) GetInstance ¶
func (x *GetServiceRequest) GetInstance() string
func (*GetServiceRequest) GetName ¶
func (x *GetServiceRequest) GetName() string
func (*GetServiceRequest) ProtoMessage ¶
func (*GetServiceRequest) ProtoMessage()
func (*GetServiceRequest) ProtoReflect ¶
func (x *GetServiceRequest) ProtoReflect() protoreflect.Message
func (*GetServiceRequest) Reset ¶
func (x *GetServiceRequest) Reset()
func (*GetServiceRequest) String ¶
func (x *GetServiceRequest) String() string
type ListServicesRequest ¶
type ListServicesRequest struct { // Yamcs instance name. Or _global for system-wide services. Instance *string `protobuf:"bytes,1,opt,name=instance" json:"instance,omitempty"` // contains filtered or unexported fields }
func (*ListServicesRequest) Descriptor
deprecated
func (*ListServicesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListServicesRequest.ProtoReflect.Descriptor instead.
func (*ListServicesRequest) GetInstance ¶
func (x *ListServicesRequest) GetInstance() string
func (*ListServicesRequest) ProtoMessage ¶
func (*ListServicesRequest) ProtoMessage()
func (*ListServicesRequest) ProtoReflect ¶
func (x *ListServicesRequest) ProtoReflect() protoreflect.Message
func (*ListServicesRequest) Reset ¶
func (x *ListServicesRequest) Reset()
func (*ListServicesRequest) String ¶
func (x *ListServicesRequest) String() string
type ListServicesResponse ¶
type ListServicesResponse struct { Services []*ServiceInfo `protobuf:"bytes,1,rep,name=services" json:"services,omitempty"` // contains filtered or unexported fields }
func (*ListServicesResponse) Descriptor
deprecated
func (*ListServicesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListServicesResponse.ProtoReflect.Descriptor instead.
func (*ListServicesResponse) GetServices ¶
func (x *ListServicesResponse) GetServices() []*ServiceInfo
func (*ListServicesResponse) ProtoMessage ¶
func (*ListServicesResponse) ProtoMessage()
func (*ListServicesResponse) ProtoReflect ¶
func (x *ListServicesResponse) ProtoReflect() protoreflect.Message
func (*ListServicesResponse) Reset ¶
func (x *ListServicesResponse) Reset()
func (*ListServicesResponse) String ¶
func (x *ListServicesResponse) String() string
type ServiceInfo ¶
type ServiceInfo struct { // Yamcs instance name Instance *string `protobuf:"bytes,1,opt,name=instance" json:"instance,omitempty"` // Service name Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` // Service state State *ServiceState `protobuf:"varint,3,opt,name=state,enum=yamcs.protobuf.services.ServiceState" json:"state,omitempty"` // Java class name ClassName *string `protobuf:"bytes,4,opt,name=className" json:"className,omitempty"` // Processor name (in case this is a processor service) Processor *string `protobuf:"bytes,5,opt,name=processor" json:"processor,omitempty"` // Short failure message when `state` is FAILED. FailureMessage *string `protobuf:"bytes,6,opt,name=failureMessage" json:"failureMessage,omitempty"` // Stacktrace when `state` is FAILED. FailureCause *string `protobuf:"bytes,7,opt,name=failureCause" json:"failureCause,omitempty"` // contains filtered or unexported fields }
func (*ServiceInfo) Descriptor
deprecated
func (*ServiceInfo) Descriptor() ([]byte, []int)
Deprecated: Use ServiceInfo.ProtoReflect.Descriptor instead.
func (*ServiceInfo) GetClassName ¶
func (x *ServiceInfo) GetClassName() string
func (*ServiceInfo) GetFailureCause ¶
func (x *ServiceInfo) GetFailureCause() string
func (*ServiceInfo) GetFailureMessage ¶
func (x *ServiceInfo) GetFailureMessage() string
func (*ServiceInfo) GetInstance ¶
func (x *ServiceInfo) GetInstance() string
func (*ServiceInfo) GetName ¶
func (x *ServiceInfo) GetName() string
func (*ServiceInfo) GetProcessor ¶
func (x *ServiceInfo) GetProcessor() string
func (*ServiceInfo) GetState ¶
func (x *ServiceInfo) GetState() ServiceState
func (*ServiceInfo) ProtoMessage ¶
func (*ServiceInfo) ProtoMessage()
func (*ServiceInfo) ProtoReflect ¶
func (x *ServiceInfo) ProtoReflect() protoreflect.Message
func (*ServiceInfo) Reset ¶
func (x *ServiceInfo) Reset()
func (*ServiceInfo) String ¶
func (x *ServiceInfo) String() string
type ServiceState ¶
type ServiceState int32
service states coming from guava (numbers have to correspond)
const ( // A service in this state is inactive. It does minimal work and // consumes minimal resources. ServiceState_NEW ServiceState = 0 // A service in this state is transitioning to “RUNNING“. ServiceState_STARTING ServiceState = 1 // A service in this state is operational. ServiceState_RUNNING ServiceState = 2 // A service in this state is transitioning to “TERMINATED“. ServiceState_STOPPING ServiceState = 3 // A service in this state has completed execution normally. // It does minimal work and consumes minimal resources. ServiceState_TERMINATED ServiceState = 4 // A service in this state has encountered a problem and may // not be operational. It cannot be started nor stopped. ServiceState_FAILED ServiceState = 5 )
func (ServiceState) Descriptor ¶
func (ServiceState) Descriptor() protoreflect.EnumDescriptor
func (ServiceState) Enum ¶
func (x ServiceState) Enum() *ServiceState
func (ServiceState) EnumDescriptor
deprecated
func (ServiceState) EnumDescriptor() ([]byte, []int)
Deprecated: Use ServiceState.Descriptor instead.
func (ServiceState) Number ¶
func (x ServiceState) Number() protoreflect.EnumNumber
func (ServiceState) String ¶
func (x ServiceState) String() string
func (ServiceState) Type ¶
func (ServiceState) Type() protoreflect.EnumType
func (*ServiceState) UnmarshalJSON
deprecated
func (x *ServiceState) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type StartServiceRequest ¶
type StartServiceRequest struct { // Yamcs instance name. Or _global for system-wide services. Instance *string `protobuf:"bytes,1,opt,name=instance" json:"instance,omitempty"` // Service name Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` // contains filtered or unexported fields }
func (*StartServiceRequest) Descriptor
deprecated
func (*StartServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartServiceRequest.ProtoReflect.Descriptor instead.
func (*StartServiceRequest) GetInstance ¶
func (x *StartServiceRequest) GetInstance() string
func (*StartServiceRequest) GetName ¶
func (x *StartServiceRequest) GetName() string
func (*StartServiceRequest) ProtoMessage ¶
func (*StartServiceRequest) ProtoMessage()
func (*StartServiceRequest) ProtoReflect ¶
func (x *StartServiceRequest) ProtoReflect() protoreflect.Message
func (*StartServiceRequest) Reset ¶
func (x *StartServiceRequest) Reset()
func (*StartServiceRequest) String ¶
func (x *StartServiceRequest) String() string
type StopServiceRequest ¶
type StopServiceRequest struct { // Yamcs instance name. Or _global for system-wide services. Instance *string `protobuf:"bytes,1,opt,name=instance" json:"instance,omitempty"` // Service name Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` // contains filtered or unexported fields }
func (*StopServiceRequest) Descriptor
deprecated
func (*StopServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use StopServiceRequest.ProtoReflect.Descriptor instead.
func (*StopServiceRequest) GetInstance ¶
func (x *StopServiceRequest) GetInstance() string
func (*StopServiceRequest) GetName ¶
func (x *StopServiceRequest) GetName() string
func (*StopServiceRequest) ProtoMessage ¶
func (*StopServiceRequest) ProtoMessage()
func (*StopServiceRequest) ProtoReflect ¶
func (x *StopServiceRequest) ProtoReflect() protoreflect.Message
func (*StopServiceRequest) Reset ¶
func (x *StopServiceRequest) Reset()
func (*StopServiceRequest) String ¶
func (x *StopServiceRequest) String() string
Click to show internal directories.
Click to hide internal directories.