Documentation ¶
Index ¶
- Variables
- type ClientDetails
- func (*ClientDetails) Descriptor() ([]byte, []int)deprecated
- func (x *ClientDetails) GetHealthState() ProcessHealthState
- func (x *ClientDetails) GetLocation() *GeoPoint
- func (x *ClientDetails) GetMetadata() []*Metadata
- func (x *ClientDetails) GetPid() string
- func (x *ClientDetails) GetProcessKind() ProcessKind
- func (x *ClientDetails) GetRunningState() ProcessRunningState
- func (x *ClientDetails) GetToken() string
- func (*ClientDetails) ProtoMessage()
- func (x *ClientDetails) ProtoReflect() protoreflect.Message
- func (x *ClientDetails) Reset()
- func (x *ClientDetails) String() string
- func (m *ClientDetails) Validate() error
- func (m *ClientDetails) ValidateAll() error
- type ClientDetailsMultiError
- type ClientDetailsValidationError
- func (e ClientDetailsValidationError) Cause() error
- func (e ClientDetailsValidationError) Error() string
- func (e ClientDetailsValidationError) ErrorName() string
- func (e ClientDetailsValidationError) Field() string
- func (e ClientDetailsValidationError) Key() bool
- func (e ClientDetailsValidationError) Reason() string
- type Empty
- type EmptyMultiError
- type EmptyValidationError
- type Filter
- func (*Filter) Descriptor() ([]byte, []int)deprecated
- func (x *Filter) GetAll() string
- func (m *Filter) GetAttribute() isFilter_Attribute
- func (x *Filter) GetGroup() string
- func (x *Filter) GetId() string
- func (*Filter) ProtoMessage()
- func (x *Filter) ProtoReflect() protoreflect.Message
- func (x *Filter) Reset()
- func (x *Filter) String() string
- func (m *Filter) Validate() error
- func (m *Filter) ValidateAll() error
- type FilterMultiError
- type FilterValidationError
- type Filter_All
- type Filter_Group
- type Filter_Id
- type FinalizeRequest
- func (*FinalizeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FinalizeRequest) GetPid() string
- func (*FinalizeRequest) ProtoMessage()
- func (x *FinalizeRequest) ProtoReflect() protoreflect.Message
- func (x *FinalizeRequest) Reset()
- func (x *FinalizeRequest) String() string
- func (m *FinalizeRequest) Validate() error
- func (m *FinalizeRequest) ValidateAll() error
- type FinalizeRequestMultiError
- type FinalizeRequestValidationError
- func (e FinalizeRequestValidationError) Cause() error
- func (e FinalizeRequestValidationError) Error() string
- func (e FinalizeRequestValidationError) ErrorName() string
- func (e FinalizeRequestValidationError) Field() string
- func (e FinalizeRequestValidationError) Key() bool
- func (e FinalizeRequestValidationError) Reason() string
- type FinalizeResponse
- func (*FinalizeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FinalizeResponse) GetPid() string
- func (*FinalizeResponse) ProtoMessage()
- func (x *FinalizeResponse) ProtoReflect() protoreflect.Message
- func (x *FinalizeResponse) Reset()
- func (x *FinalizeResponse) String() string
- func (m *FinalizeResponse) Validate() error
- func (m *FinalizeResponse) ValidateAll() error
- type FinalizeResponseMultiError
- type FinalizeResponseValidationError
- func (e FinalizeResponseValidationError) Cause() error
- func (e FinalizeResponseValidationError) Error() string
- func (e FinalizeResponseValidationError) ErrorName() string
- func (e FinalizeResponseValidationError) Field() string
- func (e FinalizeResponseValidationError) Key() bool
- func (e FinalizeResponseValidationError) Reason() string
- type GeoPoint
- func (*GeoPoint) Descriptor() ([]byte, []int)deprecated
- func (x *GeoPoint) GetLat() float32
- func (x *GeoPoint) GetLng() float32
- func (*GeoPoint) ProtoMessage()
- func (x *GeoPoint) ProtoReflect() protoreflect.Message
- func (x *GeoPoint) Reset()
- func (x *GeoPoint) String() string
- func (m *GeoPoint) Validate() error
- func (m *GeoPoint) ValidateAll() error
- type GeoPointMultiError
- type GeoPointValidationError
- type InitializeRequest
- func (*InitializeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InitializeRequest) GetName() string
- func (x *InitializeRequest) GetNonce() string
- func (*InitializeRequest) ProtoMessage()
- func (x *InitializeRequest) ProtoReflect() protoreflect.Message
- func (x *InitializeRequest) Reset()
- func (x *InitializeRequest) String() string
- func (m *InitializeRequest) Validate() error
- func (m *InitializeRequest) ValidateAll() error
- type InitializeRequestMultiError
- type InitializeRequestValidationError
- func (e InitializeRequestValidationError) Cause() error
- func (e InitializeRequestValidationError) Error() string
- func (e InitializeRequestValidationError) ErrorName() string
- func (e InitializeRequestValidationError) Field() string
- func (e InitializeRequestValidationError) Key() bool
- func (e InitializeRequestValidationError) Reason() string
- type InitializeResponse
- func (*InitializeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InitializeResponse) GetConfiguration() *StartupConfiguration
- func (x *InitializeResponse) GetProcessIdentity() *ProcessIdentity
- func (*InitializeResponse) ProtoMessage()
- func (x *InitializeResponse) ProtoReflect() protoreflect.Message
- func (x *InitializeResponse) Reset()
- func (x *InitializeResponse) String() string
- func (m *InitializeResponse) Validate() error
- func (m *InitializeResponse) ValidateAll() error
- type InitializeResponseMultiError
- type InitializeResponseValidationError
- func (e InitializeResponseValidationError) Cause() error
- func (e InitializeResponseValidationError) Error() string
- func (e InitializeResponseValidationError) ErrorName() string
- func (e InitializeResponseValidationError) Field() string
- func (e InitializeResponseValidationError) Key() bool
- func (e InitializeResponseValidationError) Reason() string
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata) GetKey() string
- func (x *Metadata) GetPid() string
- func (x *Metadata) GetValue() string
- func (*Metadata) ProtoMessage()
- func (x *Metadata) ProtoReflect() protoreflect.Message
- func (x *Metadata) Reset()
- func (x *Metadata) String() string
- func (m *Metadata) Validate() error
- func (m *Metadata) ValidateAll() error
- type MetadataMultiError
- type MetadataValidationError
- type Process
- func (*Process) Descriptor() ([]byte, []int)deprecated
- func (x *Process) GetGroup() string
- func (x *Process) GetHealthState() ProcessHealthState
- func (x *Process) GetIpAddress() string
- func (x *Process) GetJoinedTime() *timestamppb.Timestamp
- func (x *Process) GetLastStatusTime() *timestamppb.Timestamp
- func (x *Process) GetLeftTime() *timestamppb.Timestamp
- func (x *Process) GetLocal() string
- func (x *Process) GetLocation() *GeoPoint
- func (x *Process) GetMetadata() []*Metadata
- func (x *Process) GetName() string
- func (x *Process) GetPid() string
- func (x *Process) GetProcessKind() ProcessKind
- func (x *Process) GetRunningState() ProcessRunningState
- func (x *Process) GetToken() *Token
- func (*Process) ProtoMessage()
- func (x *Process) ProtoReflect() protoreflect.Message
- func (x *Process) Reset()
- func (x *Process) String() string
- func (m *Process) Validate() error
- func (m *Process) ValidateAll() error
- type ProcessHealthState
- func (ProcessHealthState) Descriptor() protoreflect.EnumDescriptor
- func (x ProcessHealthState) Enum() *ProcessHealthState
- func (ProcessHealthState) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProcessHealthState) Number() protoreflect.EnumNumber
- func (x ProcessHealthState) String() string
- func (ProcessHealthState) Type() protoreflect.EnumType
- type ProcessIdentity
- func (*ProcessIdentity) Descriptor() ([]byte, []int)deprecated
- func (x *ProcessIdentity) GetPid() string
- func (x *ProcessIdentity) GetRegistryAddress() string
- func (x *ProcessIdentity) GetToken() *Token
- func (*ProcessIdentity) ProtoMessage()
- func (x *ProcessIdentity) ProtoReflect() protoreflect.Message
- func (x *ProcessIdentity) Reset()
- func (x *ProcessIdentity) String() string
- func (m *ProcessIdentity) Validate() error
- func (m *ProcessIdentity) ValidateAll() error
- type ProcessIdentityMultiError
- type ProcessIdentityValidationError
- func (e ProcessIdentityValidationError) Cause() error
- func (e ProcessIdentityValidationError) Error() string
- func (e ProcessIdentityValidationError) ErrorName() string
- func (e ProcessIdentityValidationError) Field() string
- func (e ProcessIdentityValidationError) Key() bool
- func (e ProcessIdentityValidationError) Reason() string
- type ProcessKind
- func (ProcessKind) Descriptor() protoreflect.EnumDescriptor
- func (x ProcessKind) Enum() *ProcessKind
- func (ProcessKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProcessKind) Number() protoreflect.EnumNumber
- func (x ProcessKind) String() string
- func (ProcessKind) Type() protoreflect.EnumType
- type ProcessMultiError
- type ProcessRunningState
- func (ProcessRunningState) Descriptor() protoreflect.EnumDescriptor
- func (x ProcessRunningState) Enum() *ProcessRunningState
- func (ProcessRunningState) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProcessRunningState) Number() protoreflect.EnumNumber
- func (x ProcessRunningState) String() string
- func (ProcessRunningState) Type() protoreflect.EnumType
- type ProcessValidationError
- type QueryRequest
- func (*QueryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryRequest) GetFilter() *Filter
- func (*QueryRequest) ProtoMessage()
- func (x *QueryRequest) ProtoReflect() protoreflect.Message
- func (x *QueryRequest) Reset()
- func (x *QueryRequest) String() string
- func (m *QueryRequest) Validate() error
- func (m *QueryRequest) ValidateAll() error
- type QueryRequestMultiError
- type QueryRequestValidationError
- func (e QueryRequestValidationError) Cause() error
- func (e QueryRequestValidationError) Error() string
- func (e QueryRequestValidationError) ErrorName() string
- func (e QueryRequestValidationError) Field() string
- func (e QueryRequestValidationError) Key() bool
- func (e QueryRequestValidationError) Reason() string
- type QueryResponse
- func (*QueryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryResponse) GetData() map[string]*Process
- func (*QueryResponse) ProtoMessage()
- func (x *QueryResponse) ProtoReflect() protoreflect.Message
- func (x *QueryResponse) Reset()
- func (x *QueryResponse) String() string
- func (m *QueryResponse) Validate() error
- func (m *QueryResponse) ValidateAll() error
- type QueryResponseMultiError
- type QueryResponseValidationError
- func (e QueryResponseValidationError) Cause() error
- func (e QueryResponseValidationError) Error() string
- func (e QueryResponseValidationError) ErrorName() string
- func (e QueryResponseValidationError) Field() string
- func (e QueryResponseValidationError) Key() bool
- func (e QueryResponseValidationError) Reason() string
- type ReportHealthRequest
- func (*ReportHealthRequest) Descriptor() ([]byte, []int)deprecated
- func (*ReportHealthRequest) ProtoMessage()
- func (x *ReportHealthRequest) ProtoReflect() protoreflect.Message
- func (x *ReportHealthRequest) Reset()
- func (x *ReportHealthRequest) String() string
- func (m *ReportHealthRequest) Validate() error
- func (m *ReportHealthRequest) ValidateAll() error
- type ReportHealthRequestMultiError
- type ReportHealthRequestValidationError
- func (e ReportHealthRequestValidationError) Cause() error
- func (e ReportHealthRequestValidationError) Error() string
- func (e ReportHealthRequestValidationError) ErrorName() string
- func (e ReportHealthRequestValidationError) Field() string
- func (e ReportHealthRequestValidationError) Key() bool
- func (e ReportHealthRequestValidationError) Reason() string
- type ReportHealthResponse
- func (*ReportHealthResponse) Descriptor() ([]byte, []int)deprecated
- func (*ReportHealthResponse) ProtoMessage()
- func (x *ReportHealthResponse) ProtoReflect() protoreflect.Message
- func (x *ReportHealthResponse) Reset()
- func (x *ReportHealthResponse) String() string
- func (m *ReportHealthResponse) Validate() error
- func (m *ReportHealthResponse) ValidateAll() error
- type ReportHealthResponseMultiError
- type ReportHealthResponseValidationError
- func (e ReportHealthResponseValidationError) Cause() error
- func (e ReportHealthResponseValidationError) Error() string
- func (e ReportHealthResponseValidationError) ErrorName() string
- func (e ReportHealthResponseValidationError) Field() string
- func (e ReportHealthResponseValidationError) Key() bool
- func (e ReportHealthResponseValidationError) Reason() string
- type StartupConfiguration
- func (*StartupConfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *StartupConfiguration) GetAssignedPort() uint32
- func (*StartupConfiguration) ProtoMessage()
- func (x *StartupConfiguration) ProtoReflect() protoreflect.Message
- func (x *StartupConfiguration) Reset()
- func (x *StartupConfiguration) String() string
- func (m *StartupConfiguration) Validate() error
- func (m *StartupConfiguration) ValidateAll() error
- type StartupConfigurationMultiError
- type StartupConfigurationValidationError
- func (e StartupConfigurationValidationError) Cause() error
- func (e StartupConfigurationValidationError) Error() string
- func (e StartupConfigurationValidationError) ErrorName() string
- func (e StartupConfigurationValidationError) Field() string
- func (e StartupConfigurationValidationError) Key() bool
- func (e StartupConfigurationValidationError) Reason() string
- type Token
- func (*Token) Descriptor() ([]byte, []int)deprecated
- func (x *Token) GetId() string
- func (x *Token) GetJwt() string
- func (*Token) ProtoMessage()
- func (x *Token) ProtoReflect() protoreflect.Message
- func (x *Token) Reset()
- func (x *Token) String() string
- func (m *Token) Validate() error
- func (m *Token) ValidateAll() error
- type TokenMultiError
- type TokenValidationError
- type Zone
- type ZoneMultiError
- type ZoneValidationError
Constants ¶
This section is empty.
Variables ¶
var ( ProcessKind_name = map[int32]string{ 0: "INVALID_PROCESS_KIND", 1: "SERVER_PROCESS", 2: "JOB_PROCESS", } ProcessKind_value = map[string]int32{ "INVALID_PROCESS_KIND": 0, "SERVER_PROCESS": 1, "JOB_PROCESS": 2, } )
Enum value maps for ProcessKind.
var ( ProcessRunningState_name = map[int32]string{ 0: "INVALID_PROCESS_RUNNING_STATE", 1: "PROCESS_STARTING", 2: "PROCESS_TESTING", 3: "PROCESS_RUNNING", 4: "PROCESS_DICONNECTED", } ProcessRunningState_value = map[string]int32{ "INVALID_PROCESS_RUNNING_STATE": 0, "PROCESS_STARTING": 1, "PROCESS_TESTING": 2, "PROCESS_RUNNING": 3, "PROCESS_DICONNECTED": 4, } )
Enum value maps for ProcessRunningState.
var ( ProcessHealthState_name = map[int32]string{ 0: "INVALID_PROCESS_HEALTH_STATE", 1: "PROCESS_HEALTHY", 2: "PROCESS_UNHEALTHY", } ProcessHealthState_value = map[string]int32{ "INVALID_PROCESS_HEALTH_STATE": 0, "PROCESS_HEALTHY": 1, "PROCESS_UNHEALTHY": 2, } )
Enum value maps for ProcessHealthState.
var File_core_registry_service_discovery_v1_models_proto protoreflect.FileDescriptor
var File_core_registry_service_discovery_v1_service_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ClientDetails ¶
type ClientDetails struct { Pid string `protobuf:"bytes,1,opt,name=pid,proto3" json:"pid" pg:"pid" bun:"pid" yaml:"pid" csv:"pid"` // Ops details RunningState ProcessRunningState `` /* 228-byte string literal not displayed */ HealthState ProcessHealthState `` /* 220-byte string literal not displayed */ ProcessKind ProcessKind `` /* 213-byte string literal not displayed */ // only check the token when a `ProcessDetails` message is received. Token string `protobuf:"bytes,5,opt,name=token,proto3" json:"token" csv:"token" pg:"token" bun:"token" yaml:"token"` Location *GeoPoint `protobuf:"bytes,7,opt,name=location,proto3" json:"location" pg:"location" bun:"location" yaml:"location" csv:"location"` Metadata []*Metadata `protobuf:"bytes,8,rep,name=metadata,proto3" json:"metadata" pg:"metadata" bun:"metadata" yaml:"metadata" csv:"metadata"` // contains filtered or unexported fields }
ProcessDetails - Messages that are sent from the `Process` to the registry. These details are basic operating messages
func (*ClientDetails) Descriptor
deprecated
func (*ClientDetails) Descriptor() ([]byte, []int)
Deprecated: Use ClientDetails.ProtoReflect.Descriptor instead.
func (*ClientDetails) GetHealthState ¶
func (x *ClientDetails) GetHealthState() ProcessHealthState
func (*ClientDetails) GetLocation ¶
func (x *ClientDetails) GetLocation() *GeoPoint
func (*ClientDetails) GetMetadata ¶
func (x *ClientDetails) GetMetadata() []*Metadata
func (*ClientDetails) GetPid ¶
func (x *ClientDetails) GetPid() string
func (*ClientDetails) GetProcessKind ¶
func (x *ClientDetails) GetProcessKind() ProcessKind
func (*ClientDetails) GetRunningState ¶
func (x *ClientDetails) GetRunningState() ProcessRunningState
func (*ClientDetails) GetToken ¶
func (x *ClientDetails) GetToken() string
func (*ClientDetails) ProtoMessage ¶
func (*ClientDetails) ProtoMessage()
func (*ClientDetails) ProtoReflect ¶
func (x *ClientDetails) ProtoReflect() protoreflect.Message
func (*ClientDetails) Reset ¶
func (x *ClientDetails) Reset()
func (*ClientDetails) String ¶
func (x *ClientDetails) String() string
func (*ClientDetails) Validate ¶
func (m *ClientDetails) Validate() error
Validate checks the field values on ClientDetails with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ClientDetails) ValidateAll ¶
func (m *ClientDetails) ValidateAll() error
ValidateAll checks the field values on ClientDetails with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ClientDetailsMultiError, or nil if none found.
type ClientDetailsMultiError ¶
type ClientDetailsMultiError []error
ClientDetailsMultiError is an error wrapping multiple validation errors returned by ClientDetails.ValidateAll() if the designated constraints aren't met.
func (ClientDetailsMultiError) AllErrors ¶
func (m ClientDetailsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ClientDetailsMultiError) Error ¶
func (m ClientDetailsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ClientDetailsValidationError ¶
type ClientDetailsValidationError struct {
// contains filtered or unexported fields
}
ClientDetailsValidationError is the validation error returned by ClientDetails.Validate if the designated constraints aren't met.
func (ClientDetailsValidationError) Cause ¶
func (e ClientDetailsValidationError) Cause() error
Cause function returns cause value.
func (ClientDetailsValidationError) Error ¶
func (e ClientDetailsValidationError) Error() string
Error satisfies the builtin error interface
func (ClientDetailsValidationError) ErrorName ¶
func (e ClientDetailsValidationError) ErrorName() string
ErrorName returns error name.
func (ClientDetailsValidationError) Field ¶
func (e ClientDetailsValidationError) Field() string
Field function returns field value.
func (ClientDetailsValidationError) Key ¶
func (e ClientDetailsValidationError) Key() bool
Key function returns key value.
func (ClientDetailsValidationError) Reason ¶
func (e ClientDetailsValidationError) Reason() string
Reason function returns reason value.
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
Empty - The `Connect` method is intentionally uni-directional from the process. In the future it might be worth sending messages from blueprint to the process.
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
func (*Empty) Validate ¶
Validate checks the field values on Empty with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Empty) ValidateAll ¶
ValidateAll checks the field values on Empty with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EmptyMultiError, or nil if none found.
type EmptyMultiError ¶
type EmptyMultiError []error
EmptyMultiError is an error wrapping multiple validation errors returned by Empty.ValidateAll() if the designated constraints aren't met.
func (EmptyMultiError) AllErrors ¶
func (m EmptyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EmptyMultiError) Error ¶
func (m EmptyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EmptyValidationError ¶
type EmptyValidationError struct {
// contains filtered or unexported fields
}
EmptyValidationError is the validation error returned by Empty.Validate if the designated constraints aren't met.
func (EmptyValidationError) Cause ¶
func (e EmptyValidationError) Cause() error
Cause function returns cause value.
func (EmptyValidationError) Error ¶
func (e EmptyValidationError) Error() string
Error satisfies the builtin error interface
func (EmptyValidationError) ErrorName ¶
func (e EmptyValidationError) ErrorName() string
ErrorName returns error name.
func (EmptyValidationError) Field ¶
func (e EmptyValidationError) Field() string
Field function returns field value.
func (EmptyValidationError) Key ¶
func (e EmptyValidationError) Key() bool
Key function returns key value.
func (EmptyValidationError) Reason ¶
func (e EmptyValidationError) Reason() string
Reason function returns reason value.
type Filter ¶
type Filter struct { // Types that are assignable to Attribute: // // *Filter_Id // *Filter_Group // *Filter_All Attribute isFilter_Attribute `protobuf_oneof:"attribute"` // contains filtered or unexported fields }
func (*Filter) Descriptor
deprecated
func (*Filter) GetAttribute ¶
func (m *Filter) GetAttribute() isFilter_Attribute
func (*Filter) ProtoMessage ¶
func (*Filter) ProtoMessage()
func (*Filter) ProtoReflect ¶
func (x *Filter) ProtoReflect() protoreflect.Message
func (*Filter) Validate ¶
Validate checks the field values on Filter with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Filter) ValidateAll ¶
ValidateAll checks the field values on Filter with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FilterMultiError, or nil if none found.
type FilterMultiError ¶
type FilterMultiError []error
FilterMultiError is an error wrapping multiple validation errors returned by Filter.ValidateAll() if the designated constraints aren't met.
func (FilterMultiError) AllErrors ¶
func (m FilterMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FilterMultiError) Error ¶
func (m FilterMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FilterValidationError ¶
type FilterValidationError struct {
// contains filtered or unexported fields
}
FilterValidationError is the validation error returned by Filter.Validate if the designated constraints aren't met.
func (FilterValidationError) Cause ¶
func (e FilterValidationError) Cause() error
Cause function returns cause value.
func (FilterValidationError) Error ¶
func (e FilterValidationError) Error() string
Error satisfies the builtin error interface
func (FilterValidationError) ErrorName ¶
func (e FilterValidationError) ErrorName() string
ErrorName returns error name.
func (FilterValidationError) Field ¶
func (e FilterValidationError) Field() string
Field function returns field value.
func (FilterValidationError) Key ¶
func (e FilterValidationError) Key() bool
Key function returns key value.
func (FilterValidationError) Reason ¶
func (e FilterValidationError) Reason() string
Reason function returns reason value.
type Filter_All ¶
type Filter_All struct {
All string `protobuf:"bytes,3,opt,name=all,proto3,oneof" pg:"all" bun:"all" yaml:"all" csv:"all" json:"all"`
}
type Filter_Group ¶
type Filter_Group struct {
Group string `protobuf:"bytes,2,opt,name=group,proto3,oneof" yaml:"group" csv:"group" json:"group" pg:"group" bun:"group"`
}
type Filter_Id ¶
type Filter_Id struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3,oneof" bun:"id" yaml:"id" csv:"id" json:"id" pg:"id"`
}
type FinalizeRequest ¶
type FinalizeRequest struct { Pid string `protobuf:"bytes,1,opt,name=pid,proto3" json:"pid" pg:"pid" bun:"pid" yaml:"pid" csv:"pid"` // contains filtered or unexported fields }
func (*FinalizeRequest) Descriptor
deprecated
func (*FinalizeRequest) Descriptor() ([]byte, []int)
Deprecated: Use FinalizeRequest.ProtoReflect.Descriptor instead.
func (*FinalizeRequest) GetPid ¶
func (x *FinalizeRequest) GetPid() string
func (*FinalizeRequest) ProtoMessage ¶
func (*FinalizeRequest) ProtoMessage()
func (*FinalizeRequest) ProtoReflect ¶
func (x *FinalizeRequest) ProtoReflect() protoreflect.Message
func (*FinalizeRequest) Reset ¶
func (x *FinalizeRequest) Reset()
func (*FinalizeRequest) String ¶
func (x *FinalizeRequest) String() string
func (*FinalizeRequest) Validate ¶
func (m *FinalizeRequest) Validate() error
Validate checks the field values on FinalizeRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*FinalizeRequest) ValidateAll ¶
func (m *FinalizeRequest) ValidateAll() error
ValidateAll checks the field values on FinalizeRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FinalizeRequestMultiError, or nil if none found.
type FinalizeRequestMultiError ¶
type FinalizeRequestMultiError []error
FinalizeRequestMultiError is an error wrapping multiple validation errors returned by FinalizeRequest.ValidateAll() if the designated constraints aren't met.
func (FinalizeRequestMultiError) AllErrors ¶
func (m FinalizeRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FinalizeRequestMultiError) Error ¶
func (m FinalizeRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FinalizeRequestValidationError ¶
type FinalizeRequestValidationError struct {
// contains filtered or unexported fields
}
FinalizeRequestValidationError is the validation error returned by FinalizeRequest.Validate if the designated constraints aren't met.
func (FinalizeRequestValidationError) Cause ¶
func (e FinalizeRequestValidationError) Cause() error
Cause function returns cause value.
func (FinalizeRequestValidationError) Error ¶
func (e FinalizeRequestValidationError) Error() string
Error satisfies the builtin error interface
func (FinalizeRequestValidationError) ErrorName ¶
func (e FinalizeRequestValidationError) ErrorName() string
ErrorName returns error name.
func (FinalizeRequestValidationError) Field ¶
func (e FinalizeRequestValidationError) Field() string
Field function returns field value.
func (FinalizeRequestValidationError) Key ¶
func (e FinalizeRequestValidationError) Key() bool
Key function returns key value.
func (FinalizeRequestValidationError) Reason ¶
func (e FinalizeRequestValidationError) Reason() string
Reason function returns reason value.
type FinalizeResponse ¶
type FinalizeResponse struct { Pid string `protobuf:"bytes,1,opt,name=pid,proto3" json:"pid" yaml:"pid" csv:"pid" pg:"pid" bun:"pid"` // contains filtered or unexported fields }
func (*FinalizeResponse) Descriptor
deprecated
func (*FinalizeResponse) Descriptor() ([]byte, []int)
Deprecated: Use FinalizeResponse.ProtoReflect.Descriptor instead.
func (*FinalizeResponse) GetPid ¶
func (x *FinalizeResponse) GetPid() string
func (*FinalizeResponse) ProtoMessage ¶
func (*FinalizeResponse) ProtoMessage()
func (*FinalizeResponse) ProtoReflect ¶
func (x *FinalizeResponse) ProtoReflect() protoreflect.Message
func (*FinalizeResponse) Reset ¶
func (x *FinalizeResponse) Reset()
func (*FinalizeResponse) String ¶
func (x *FinalizeResponse) String() string
func (*FinalizeResponse) Validate ¶
func (m *FinalizeResponse) Validate() error
Validate checks the field values on FinalizeResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*FinalizeResponse) ValidateAll ¶
func (m *FinalizeResponse) ValidateAll() error
ValidateAll checks the field values on FinalizeResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FinalizeResponseMultiError, or nil if none found.
type FinalizeResponseMultiError ¶
type FinalizeResponseMultiError []error
FinalizeResponseMultiError is an error wrapping multiple validation errors returned by FinalizeResponse.ValidateAll() if the designated constraints aren't met.
func (FinalizeResponseMultiError) AllErrors ¶
func (m FinalizeResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FinalizeResponseMultiError) Error ¶
func (m FinalizeResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FinalizeResponseValidationError ¶
type FinalizeResponseValidationError struct {
// contains filtered or unexported fields
}
FinalizeResponseValidationError is the validation error returned by FinalizeResponse.Validate if the designated constraints aren't met.
func (FinalizeResponseValidationError) Cause ¶
func (e FinalizeResponseValidationError) Cause() error
Cause function returns cause value.
func (FinalizeResponseValidationError) Error ¶
func (e FinalizeResponseValidationError) Error() string
Error satisfies the builtin error interface
func (FinalizeResponseValidationError) ErrorName ¶
func (e FinalizeResponseValidationError) ErrorName() string
ErrorName returns error name.
func (FinalizeResponseValidationError) Field ¶
func (e FinalizeResponseValidationError) Field() string
Field function returns field value.
func (FinalizeResponseValidationError) Key ¶
func (e FinalizeResponseValidationError) Key() bool
Key function returns key value.
func (FinalizeResponseValidationError) Reason ¶
func (e FinalizeResponseValidationError) Reason() string
Reason function returns reason value.
type GeoPoint ¶
type GeoPoint struct { Lat float32 `protobuf:"fixed32,1,opt,name=lat,proto3" json:"lat" bun:"lat" yaml:"lat" csv:"lat" pg:"lat"` Lng float32 `protobuf:"fixed32,2,opt,name=lng,proto3" json:"lng" bun:"lng" yaml:"lng" csv:"lng" pg:"lng"` // contains filtered or unexported fields }
GeoPoint - Is the location of something using standard lat/lng notion.
func (*GeoPoint) Descriptor
deprecated
func (*GeoPoint) ProtoMessage ¶
func (*GeoPoint) ProtoMessage()
func (*GeoPoint) ProtoReflect ¶
func (x *GeoPoint) ProtoReflect() protoreflect.Message
func (*GeoPoint) Validate ¶
Validate checks the field values on GeoPoint with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GeoPoint) ValidateAll ¶
ValidateAll checks the field values on GeoPoint with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GeoPointMultiError, or nil if none found.
type GeoPointMultiError ¶
type GeoPointMultiError []error
GeoPointMultiError is an error wrapping multiple validation errors returned by GeoPoint.ValidateAll() if the designated constraints aren't met.
func (GeoPointMultiError) AllErrors ¶
func (m GeoPointMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GeoPointMultiError) Error ¶
func (m GeoPointMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GeoPointValidationError ¶
type GeoPointValidationError struct {
// contains filtered or unexported fields
}
GeoPointValidationError is the validation error returned by GeoPoint.Validate if the designated constraints aren't met.
func (GeoPointValidationError) Cause ¶
func (e GeoPointValidationError) Cause() error
Cause function returns cause value.
func (GeoPointValidationError) Error ¶
func (e GeoPointValidationError) Error() string
Error satisfies the builtin error interface
func (GeoPointValidationError) ErrorName ¶
func (e GeoPointValidationError) ErrorName() string
ErrorName returns error name.
func (GeoPointValidationError) Field ¶
func (e GeoPointValidationError) Field() string
Field function returns field value.
func (GeoPointValidationError) Key ¶
func (e GeoPointValidationError) Key() bool
Key function returns key value.
func (GeoPointValidationError) Reason ¶
func (e GeoPointValidationError) Reason() string
Reason function returns reason value.
type InitializeRequest ¶
type InitializeRequest struct { // Name of the process to be registered. This field is not required to be unique with the other processes in the registry Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name" csv:"name" pg:"name" bun:"name" yaml:"name"` // A token will not be issued, and a process will not be able to connect to the `SystemJournal` if the `nonce` is not signed with the correct public key Nonce string `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce" pg:"nonce" bun:"nonce" yaml:"nonce" csv:"nonce"` // contains filtered or unexported fields }
InitRequest - Begin the service registry registration flow.
func (*InitializeRequest) Descriptor
deprecated
func (*InitializeRequest) Descriptor() ([]byte, []int)
Deprecated: Use InitializeRequest.ProtoReflect.Descriptor instead.
func (*InitializeRequest) GetName ¶
func (x *InitializeRequest) GetName() string
func (*InitializeRequest) GetNonce ¶
func (x *InitializeRequest) GetNonce() string
func (*InitializeRequest) ProtoMessage ¶
func (*InitializeRequest) ProtoMessage()
func (*InitializeRequest) ProtoReflect ¶
func (x *InitializeRequest) ProtoReflect() protoreflect.Message
func (*InitializeRequest) Reset ¶
func (x *InitializeRequest) Reset()
func (*InitializeRequest) String ¶
func (x *InitializeRequest) String() string
func (*InitializeRequest) Validate ¶
func (m *InitializeRequest) Validate() error
Validate checks the field values on InitializeRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*InitializeRequest) ValidateAll ¶
func (m *InitializeRequest) ValidateAll() error
ValidateAll checks the field values on InitializeRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in InitializeRequestMultiError, or nil if none found.
type InitializeRequestMultiError ¶
type InitializeRequestMultiError []error
InitializeRequestMultiError is an error wrapping multiple validation errors returned by InitializeRequest.ValidateAll() if the designated constraints aren't met.
func (InitializeRequestMultiError) AllErrors ¶
func (m InitializeRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (InitializeRequestMultiError) Error ¶
func (m InitializeRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type InitializeRequestValidationError ¶
type InitializeRequestValidationError struct {
// contains filtered or unexported fields
}
InitializeRequestValidationError is the validation error returned by InitializeRequest.Validate if the designated constraints aren't met.
func (InitializeRequestValidationError) Cause ¶
func (e InitializeRequestValidationError) Cause() error
Cause function returns cause value.
func (InitializeRequestValidationError) Error ¶
func (e InitializeRequestValidationError) Error() string
Error satisfies the builtin error interface
func (InitializeRequestValidationError) ErrorName ¶
func (e InitializeRequestValidationError) ErrorName() string
ErrorName returns error name.
func (InitializeRequestValidationError) Field ¶
func (e InitializeRequestValidationError) Field() string
Field function returns field value.
func (InitializeRequestValidationError) Key ¶
func (e InitializeRequestValidationError) Key() bool
Key function returns key value.
func (InitializeRequestValidationError) Reason ¶
func (e InitializeRequestValidationError) Reason() string
Reason function returns reason value.
type InitializeResponse ¶
type InitializeResponse struct { // If the init request was succesful then an identity will be given to the process so that it // can stream it's operational details to the registry ProcessIdentity *ProcessIdentity `` /* 188-byte string literal not displayed */ // Startup configuration Configuration *StartupConfiguration `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
InitResponse - Details used by the client to provided to complete the connection If the token is lost and the registry has not received a `ProcessDetails` message within a 2 mintues of the token being forged then the client will have to reinit to connect to the registry/system.
func (*InitializeResponse) Descriptor
deprecated
func (*InitializeResponse) Descriptor() ([]byte, []int)
Deprecated: Use InitializeResponse.ProtoReflect.Descriptor instead.
func (*InitializeResponse) GetConfiguration ¶
func (x *InitializeResponse) GetConfiguration() *StartupConfiguration
func (*InitializeResponse) GetProcessIdentity ¶
func (x *InitializeResponse) GetProcessIdentity() *ProcessIdentity
func (*InitializeResponse) ProtoMessage ¶
func (*InitializeResponse) ProtoMessage()
func (*InitializeResponse) ProtoReflect ¶
func (x *InitializeResponse) ProtoReflect() protoreflect.Message
func (*InitializeResponse) Reset ¶
func (x *InitializeResponse) Reset()
func (*InitializeResponse) String ¶
func (x *InitializeResponse) String() string
func (*InitializeResponse) Validate ¶
func (m *InitializeResponse) Validate() error
Validate checks the field values on InitializeResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*InitializeResponse) ValidateAll ¶
func (m *InitializeResponse) ValidateAll() error
ValidateAll checks the field values on InitializeResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in InitializeResponseMultiError, or nil if none found.
type InitializeResponseMultiError ¶
type InitializeResponseMultiError []error
InitializeResponseMultiError is an error wrapping multiple validation errors returned by InitializeResponse.ValidateAll() if the designated constraints aren't met.
func (InitializeResponseMultiError) AllErrors ¶
func (m InitializeResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (InitializeResponseMultiError) Error ¶
func (m InitializeResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type InitializeResponseValidationError ¶
type InitializeResponseValidationError struct {
// contains filtered or unexported fields
}
InitializeResponseValidationError is the validation error returned by InitializeResponse.Validate if the designated constraints aren't met.
func (InitializeResponseValidationError) Cause ¶
func (e InitializeResponseValidationError) Cause() error
Cause function returns cause value.
func (InitializeResponseValidationError) Error ¶
func (e InitializeResponseValidationError) Error() string
Error satisfies the builtin error interface
func (InitializeResponseValidationError) ErrorName ¶
func (e InitializeResponseValidationError) ErrorName() string
ErrorName returns error name.
func (InitializeResponseValidationError) Field ¶
func (e InitializeResponseValidationError) Field() string
Field function returns field value.
func (InitializeResponseValidationError) Key ¶
func (e InitializeResponseValidationError) Key() bool
Key function returns key value.
func (InitializeResponseValidationError) Reason ¶
func (e InitializeResponseValidationError) Reason() string
Reason function returns reason value.
type Metadata ¶
type Metadata struct { Pid string `protobuf:"bytes,1,opt,name=pid,proto3" json:"pid" pg:"pid" bun:"pid" yaml:"pid" csv:"pid"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key" pg:"key" bun:"key" yaml:"key" csv:"key"` Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value" csv:"value" pg:"value" bun:"value" yaml:"value"` // contains filtered or unexported fields }
Associated data that can be used to lookup the process
func (*Metadata) Descriptor
deprecated
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect ¶
func (x *Metadata) ProtoReflect() protoreflect.Message
func (*Metadata) Validate ¶
Validate checks the field values on Metadata with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Metadata) ValidateAll ¶
ValidateAll checks the field values on Metadata with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MetadataMultiError, or nil if none found.
type MetadataMultiError ¶
type MetadataMultiError []error
MetadataMultiError is an error wrapping multiple validation errors returned by Metadata.ValidateAll() if the designated constraints aren't met.
func (MetadataMultiError) AllErrors ¶
func (m MetadataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MetadataMultiError) Error ¶
func (m MetadataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MetadataValidationError ¶
type MetadataValidationError struct {
// contains filtered or unexported fields
}
MetadataValidationError is the validation error returned by Metadata.Validate if the designated constraints aren't met.
func (MetadataValidationError) Cause ¶
func (e MetadataValidationError) Cause() error
Cause function returns cause value.
func (MetadataValidationError) Error ¶
func (e MetadataValidationError) Error() string
Error satisfies the builtin error interface
func (MetadataValidationError) ErrorName ¶
func (e MetadataValidationError) ErrorName() string
ErrorName returns error name.
func (MetadataValidationError) Field ¶
func (e MetadataValidationError) Field() string
Field function returns field value.
func (MetadataValidationError) Key ¶
func (e MetadataValidationError) Key() bool
Key function returns key value.
func (MetadataValidationError) Reason ¶
func (e MetadataValidationError) Reason() string
Reason function returns reason value.
type Process ¶
type Process struct { // pid - is a uuid to identify each process of the system normally // this would follow the normal `id` naming convention. But given // a `pid` in most systems is very specific, that tradition will be // carried on. Pid string `protobuf:"bytes,1,opt,name=pid,proto3" json:"pid" pg:"pid" bun:"pid" yaml:"pid" csv:"pid"` // name is not required to be unique between other processes. The `pid` // is the specific identifier used to lookup a single process.s Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" yaml:"name" csv:"name" pg:"name" bun:"name"` Group string `protobuf:"bytes,3,opt,name=group,proto3" json:"group" pg:"group" bun:"group" yaml:"group" csv:"group"` Local string `protobuf:"bytes,4,opt,name=local,proto3" json:"local" pg:"local" bun:"local" yaml:"local" csv:"local"` IpAddress string `` // port? /* 146-byte string literal not displayed */ ProcessKind ProcessKind `` /* 213-byte string literal not displayed */ Metadata []*Metadata `protobuf:"bytes,7,rep,name=metadata,proto3" json:"metadata" yaml:"metadata" csv:"metadata" pg:"metadata" bun:"metadata"` Location *GeoPoint `protobuf:"bytes,8,opt,name=location,proto3" json:"location" pg:"location" bun:"location" yaml:"location" csv:"location"` JoinedTime *timestamppb.Timestamp `` /* 153-byte string literal not displayed */ LeftTime *timestamppb.Timestamp `` /* 140-byte string literal not displayed */ LastStatusTime *timestamppb.Timestamp `` /* 188-byte string literal not displayed */ RunningState ProcessRunningState `` /* 229-byte string literal not displayed */ HealthState ProcessHealthState `` /* 221-byte string literal not displayed */ Token *Token `protobuf:"bytes,14,opt,name=token,proto3" json:"token" bun:"token" yaml:"token" csv:"token" pg:"token"` // contains filtered or unexported fields }
A process is a running program on a computer.
func (*Process) Descriptor
deprecated
func (*Process) GetHealthState ¶
func (x *Process) GetHealthState() ProcessHealthState
func (*Process) GetIpAddress ¶
func (*Process) GetJoinedTime ¶
func (x *Process) GetJoinedTime() *timestamppb.Timestamp
func (*Process) GetLastStatusTime ¶
func (x *Process) GetLastStatusTime() *timestamppb.Timestamp
func (*Process) GetLeftTime ¶
func (x *Process) GetLeftTime() *timestamppb.Timestamp
func (*Process) GetLocation ¶
func (*Process) GetMetadata ¶
func (*Process) GetProcessKind ¶
func (x *Process) GetProcessKind() ProcessKind
func (*Process) GetRunningState ¶
func (x *Process) GetRunningState() ProcessRunningState
func (*Process) ProtoMessage ¶
func (*Process) ProtoMessage()
func (*Process) ProtoReflect ¶
func (x *Process) ProtoReflect() protoreflect.Message
func (*Process) Validate ¶
Validate checks the field values on Process with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Process) ValidateAll ¶
ValidateAll checks the field values on Process with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ProcessMultiError, or nil if none found.
type ProcessHealthState ¶
type ProcessHealthState int32
const ( ProcessHealthState_INVALID_PROCESS_HEALTH_STATE ProcessHealthState = 0 ProcessHealthState_PROCESS_HEALTHY ProcessHealthState = 1 ProcessHealthState_PROCESS_UNHEALTHY ProcessHealthState = 2 )
func (ProcessHealthState) Descriptor ¶
func (ProcessHealthState) Descriptor() protoreflect.EnumDescriptor
func (ProcessHealthState) Enum ¶
func (x ProcessHealthState) Enum() *ProcessHealthState
func (ProcessHealthState) EnumDescriptor
deprecated
func (ProcessHealthState) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProcessHealthState.Descriptor instead.
func (ProcessHealthState) Number ¶
func (x ProcessHealthState) Number() protoreflect.EnumNumber
func (ProcessHealthState) String ¶
func (x ProcessHealthState) String() string
func (ProcessHealthState) Type ¶
func (ProcessHealthState) Type() protoreflect.EnumType
type ProcessIdentity ¶
type ProcessIdentity struct { // the process_id is assigned when the join request is successful // however it does not mean that the process registered, running // and in a stage ready to receive traffic Pid string `protobuf:"bytes,1,opt,name=pid,proto3" json:"pid" bun:"pid" yaml:"pid" csv:"pid" pg:"pid"` // the address the registering process must stream it's health, and status messages to RegistryAddress string `` /* 188-byte string literal not displayed */ // authentication credentials that must be added to each request to the registry Token *Token `protobuf:"bytes,3,opt,name=token,proto3" json:"token" pg:"token" bun:"token" yaml:"token" csv:"token"` // contains filtered or unexported fields }
ProcessIdentity -
func (*ProcessIdentity) Descriptor
deprecated
func (*ProcessIdentity) Descriptor() ([]byte, []int)
Deprecated: Use ProcessIdentity.ProtoReflect.Descriptor instead.
func (*ProcessIdentity) GetPid ¶
func (x *ProcessIdentity) GetPid() string
func (*ProcessIdentity) GetRegistryAddress ¶
func (x *ProcessIdentity) GetRegistryAddress() string
func (*ProcessIdentity) GetToken ¶
func (x *ProcessIdentity) GetToken() *Token
func (*ProcessIdentity) ProtoMessage ¶
func (*ProcessIdentity) ProtoMessage()
func (*ProcessIdentity) ProtoReflect ¶
func (x *ProcessIdentity) ProtoReflect() protoreflect.Message
func (*ProcessIdentity) Reset ¶
func (x *ProcessIdentity) Reset()
func (*ProcessIdentity) String ¶
func (x *ProcessIdentity) String() string
func (*ProcessIdentity) Validate ¶
func (m *ProcessIdentity) Validate() error
Validate checks the field values on ProcessIdentity with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ProcessIdentity) ValidateAll ¶
func (m *ProcessIdentity) ValidateAll() error
ValidateAll checks the field values on ProcessIdentity with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ProcessIdentityMultiError, or nil if none found.
type ProcessIdentityMultiError ¶
type ProcessIdentityMultiError []error
ProcessIdentityMultiError is an error wrapping multiple validation errors returned by ProcessIdentity.ValidateAll() if the designated constraints aren't met.
func (ProcessIdentityMultiError) AllErrors ¶
func (m ProcessIdentityMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProcessIdentityMultiError) Error ¶
func (m ProcessIdentityMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProcessIdentityValidationError ¶
type ProcessIdentityValidationError struct {
// contains filtered or unexported fields
}
ProcessIdentityValidationError is the validation error returned by ProcessIdentity.Validate if the designated constraints aren't met.
func (ProcessIdentityValidationError) Cause ¶
func (e ProcessIdentityValidationError) Cause() error
Cause function returns cause value.
func (ProcessIdentityValidationError) Error ¶
func (e ProcessIdentityValidationError) Error() string
Error satisfies the builtin error interface
func (ProcessIdentityValidationError) ErrorName ¶
func (e ProcessIdentityValidationError) ErrorName() string
ErrorName returns error name.
func (ProcessIdentityValidationError) Field ¶
func (e ProcessIdentityValidationError) Field() string
Field function returns field value.
func (ProcessIdentityValidationError) Key ¶
func (e ProcessIdentityValidationError) Key() bool
Key function returns key value.
func (ProcessIdentityValidationError) Reason ¶
func (e ProcessIdentityValidationError) Reason() string
Reason function returns reason value.
type ProcessKind ¶
type ProcessKind int32
Server currently falls into a category that is consuming requests from the outside world the `Job` is something that is private and not serving any external requests. I could however be pulling messages from a message queue, and or doing some batch processing. I.e. some sort of training.
const ( ProcessKind_INVALID_PROCESS_KIND ProcessKind = 0 ProcessKind_SERVER_PROCESS ProcessKind = 1 ProcessKind_JOB_PROCESS ProcessKind = 2 )
func (ProcessKind) Descriptor ¶
func (ProcessKind) Descriptor() protoreflect.EnumDescriptor
func (ProcessKind) Enum ¶
func (x ProcessKind) Enum() *ProcessKind
func (ProcessKind) EnumDescriptor
deprecated
func (ProcessKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProcessKind.Descriptor instead.
func (ProcessKind) Number ¶
func (x ProcessKind) Number() protoreflect.EnumNumber
func (ProcessKind) String ¶
func (x ProcessKind) String() string
func (ProcessKind) Type ¶
func (ProcessKind) Type() protoreflect.EnumType
type ProcessMultiError ¶
type ProcessMultiError []error
ProcessMultiError is an error wrapping multiple validation errors returned by Process.ValidateAll() if the designated constraints aren't met.
func (ProcessMultiError) AllErrors ¶
func (m ProcessMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProcessMultiError) Error ¶
func (m ProcessMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProcessRunningState ¶
type ProcessRunningState int32
const ( ProcessRunningState_INVALID_PROCESS_RUNNING_STATE ProcessRunningState = 0 ProcessRunningState_PROCESS_STARTING ProcessRunningState = 1 ProcessRunningState_PROCESS_TESTING ProcessRunningState = 2 ProcessRunningState_PROCESS_RUNNING ProcessRunningState = 3 ProcessRunningState_PROCESS_DICONNECTED ProcessRunningState = 4 )
func (ProcessRunningState) Descriptor ¶
func (ProcessRunningState) Descriptor() protoreflect.EnumDescriptor
func (ProcessRunningState) Enum ¶
func (x ProcessRunningState) Enum() *ProcessRunningState
func (ProcessRunningState) EnumDescriptor
deprecated
func (ProcessRunningState) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProcessRunningState.Descriptor instead.
func (ProcessRunningState) Number ¶
func (x ProcessRunningState) Number() protoreflect.EnumNumber
func (ProcessRunningState) String ¶
func (x ProcessRunningState) String() string
func (ProcessRunningState) Type ¶
func (ProcessRunningState) Type() protoreflect.EnumType
type ProcessValidationError ¶
type ProcessValidationError struct {
// contains filtered or unexported fields
}
ProcessValidationError is the validation error returned by Process.Validate if the designated constraints aren't met.
func (ProcessValidationError) Cause ¶
func (e ProcessValidationError) Cause() error
Cause function returns cause value.
func (ProcessValidationError) Error ¶
func (e ProcessValidationError) Error() string
Error satisfies the builtin error interface
func (ProcessValidationError) ErrorName ¶
func (e ProcessValidationError) ErrorName() string
ErrorName returns error name.
func (ProcessValidationError) Field ¶
func (e ProcessValidationError) Field() string
Field function returns field value.
func (ProcessValidationError) Key ¶
func (e ProcessValidationError) Key() bool
Key function returns key value.
func (ProcessValidationError) Reason ¶
func (e ProcessValidationError) Reason() string
Reason function returns reason value.
type QueryRequest ¶
type QueryRequest struct { Filter *Filter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter" pg:"filter" bun:"filter" yaml:"filter" csv:"filter"` // contains filtered or unexported fields }
func (*QueryRequest) Descriptor
deprecated
func (*QueryRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryRequest.ProtoReflect.Descriptor instead.
func (*QueryRequest) GetFilter ¶
func (x *QueryRequest) GetFilter() *Filter
func (*QueryRequest) ProtoMessage ¶
func (*QueryRequest) ProtoMessage()
func (*QueryRequest) ProtoReflect ¶
func (x *QueryRequest) ProtoReflect() protoreflect.Message
func (*QueryRequest) Reset ¶
func (x *QueryRequest) Reset()
func (*QueryRequest) String ¶
func (x *QueryRequest) String() string
func (*QueryRequest) Validate ¶
func (m *QueryRequest) Validate() error
Validate checks the field values on QueryRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*QueryRequest) ValidateAll ¶
func (m *QueryRequest) ValidateAll() error
ValidateAll checks the field values on QueryRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in QueryRequestMultiError, or nil if none found.
type QueryRequestMultiError ¶
type QueryRequestMultiError []error
QueryRequestMultiError is an error wrapping multiple validation errors returned by QueryRequest.ValidateAll() if the designated constraints aren't met.
func (QueryRequestMultiError) AllErrors ¶
func (m QueryRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (QueryRequestMultiError) Error ¶
func (m QueryRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type QueryRequestValidationError ¶
type QueryRequestValidationError struct {
// contains filtered or unexported fields
}
QueryRequestValidationError is the validation error returned by QueryRequest.Validate if the designated constraints aren't met.
func (QueryRequestValidationError) Cause ¶
func (e QueryRequestValidationError) Cause() error
Cause function returns cause value.
func (QueryRequestValidationError) Error ¶
func (e QueryRequestValidationError) Error() string
Error satisfies the builtin error interface
func (QueryRequestValidationError) ErrorName ¶
func (e QueryRequestValidationError) ErrorName() string
ErrorName returns error name.
func (QueryRequestValidationError) Field ¶
func (e QueryRequestValidationError) Field() string
Field function returns field value.
func (QueryRequestValidationError) Key ¶
func (e QueryRequestValidationError) Key() bool
Key function returns key value.
func (QueryRequestValidationError) Reason ¶
func (e QueryRequestValidationError) Reason() string
Reason function returns reason value.
type QueryResponse ¶
type QueryResponse struct { Data map[string]*Process `` /* 183-byte string literal not displayed */ // contains filtered or unexported fields }
func (*QueryResponse) Descriptor
deprecated
func (*QueryResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryResponse.ProtoReflect.Descriptor instead.
func (*QueryResponse) GetData ¶
func (x *QueryResponse) GetData() map[string]*Process
func (*QueryResponse) ProtoMessage ¶
func (*QueryResponse) ProtoMessage()
func (*QueryResponse) ProtoReflect ¶
func (x *QueryResponse) ProtoReflect() protoreflect.Message
func (*QueryResponse) Reset ¶
func (x *QueryResponse) Reset()
func (*QueryResponse) String ¶
func (x *QueryResponse) String() string
func (*QueryResponse) Validate ¶
func (m *QueryResponse) Validate() error
Validate checks the field values on QueryResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*QueryResponse) ValidateAll ¶
func (m *QueryResponse) ValidateAll() error
ValidateAll checks the field values on QueryResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in QueryResponseMultiError, or nil if none found.
type QueryResponseMultiError ¶
type QueryResponseMultiError []error
QueryResponseMultiError is an error wrapping multiple validation errors returned by QueryResponse.ValidateAll() if the designated constraints aren't met.
func (QueryResponseMultiError) AllErrors ¶
func (m QueryResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (QueryResponseMultiError) Error ¶
func (m QueryResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type QueryResponseValidationError ¶
type QueryResponseValidationError struct {
// contains filtered or unexported fields
}
QueryResponseValidationError is the validation error returned by QueryResponse.Validate if the designated constraints aren't met.
func (QueryResponseValidationError) Cause ¶
func (e QueryResponseValidationError) Cause() error
Cause function returns cause value.
func (QueryResponseValidationError) Error ¶
func (e QueryResponseValidationError) Error() string
Error satisfies the builtin error interface
func (QueryResponseValidationError) ErrorName ¶
func (e QueryResponseValidationError) ErrorName() string
ErrorName returns error name.
func (QueryResponseValidationError) Field ¶
func (e QueryResponseValidationError) Field() string
Field function returns field value.
func (QueryResponseValidationError) Key ¶
func (e QueryResponseValidationError) Key() bool
Key function returns key value.
func (QueryResponseValidationError) Reason ¶
func (e QueryResponseValidationError) Reason() string
Reason function returns reason value.
type ReportHealthRequest ¶
type ReportHealthRequest struct {
// contains filtered or unexported fields
}
func (*ReportHealthRequest) Descriptor
deprecated
func (*ReportHealthRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReportHealthRequest.ProtoReflect.Descriptor instead.
func (*ReportHealthRequest) ProtoMessage ¶
func (*ReportHealthRequest) ProtoMessage()
func (*ReportHealthRequest) ProtoReflect ¶
func (x *ReportHealthRequest) ProtoReflect() protoreflect.Message
func (*ReportHealthRequest) Reset ¶
func (x *ReportHealthRequest) Reset()
func (*ReportHealthRequest) String ¶
func (x *ReportHealthRequest) String() string
func (*ReportHealthRequest) Validate ¶
func (m *ReportHealthRequest) Validate() error
Validate checks the field values on ReportHealthRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ReportHealthRequest) ValidateAll ¶
func (m *ReportHealthRequest) ValidateAll() error
ValidateAll checks the field values on ReportHealthRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ReportHealthRequestMultiError, or nil if none found.
type ReportHealthRequestMultiError ¶
type ReportHealthRequestMultiError []error
ReportHealthRequestMultiError is an error wrapping multiple validation errors returned by ReportHealthRequest.ValidateAll() if the designated constraints aren't met.
func (ReportHealthRequestMultiError) AllErrors ¶
func (m ReportHealthRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReportHealthRequestMultiError) Error ¶
func (m ReportHealthRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReportHealthRequestValidationError ¶
type ReportHealthRequestValidationError struct {
// contains filtered or unexported fields
}
ReportHealthRequestValidationError is the validation error returned by ReportHealthRequest.Validate if the designated constraints aren't met.
func (ReportHealthRequestValidationError) Cause ¶
func (e ReportHealthRequestValidationError) Cause() error
Cause function returns cause value.
func (ReportHealthRequestValidationError) Error ¶
func (e ReportHealthRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ReportHealthRequestValidationError) ErrorName ¶
func (e ReportHealthRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ReportHealthRequestValidationError) Field ¶
func (e ReportHealthRequestValidationError) Field() string
Field function returns field value.
func (ReportHealthRequestValidationError) Key ¶
func (e ReportHealthRequestValidationError) Key() bool
Key function returns key value.
func (ReportHealthRequestValidationError) Reason ¶
func (e ReportHealthRequestValidationError) Reason() string
Reason function returns reason value.
type ReportHealthResponse ¶
type ReportHealthResponse struct {
// contains filtered or unexported fields
}
func (*ReportHealthResponse) Descriptor
deprecated
func (*ReportHealthResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReportHealthResponse.ProtoReflect.Descriptor instead.
func (*ReportHealthResponse) ProtoMessage ¶
func (*ReportHealthResponse) ProtoMessage()
func (*ReportHealthResponse) ProtoReflect ¶
func (x *ReportHealthResponse) ProtoReflect() protoreflect.Message
func (*ReportHealthResponse) Reset ¶
func (x *ReportHealthResponse) Reset()
func (*ReportHealthResponse) String ¶
func (x *ReportHealthResponse) String() string
func (*ReportHealthResponse) Validate ¶
func (m *ReportHealthResponse) Validate() error
Validate checks the field values on ReportHealthResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ReportHealthResponse) ValidateAll ¶
func (m *ReportHealthResponse) ValidateAll() error
ValidateAll checks the field values on ReportHealthResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ReportHealthResponseMultiError, or nil if none found.
type ReportHealthResponseMultiError ¶
type ReportHealthResponseMultiError []error
ReportHealthResponseMultiError is an error wrapping multiple validation errors returned by ReportHealthResponse.ValidateAll() if the designated constraints aren't met.
func (ReportHealthResponseMultiError) AllErrors ¶
func (m ReportHealthResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReportHealthResponseMultiError) Error ¶
func (m ReportHealthResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReportHealthResponseValidationError ¶
type ReportHealthResponseValidationError struct {
// contains filtered or unexported fields
}
ReportHealthResponseValidationError is the validation error returned by ReportHealthResponse.Validate if the designated constraints aren't met.
func (ReportHealthResponseValidationError) Cause ¶
func (e ReportHealthResponseValidationError) Cause() error
Cause function returns cause value.
func (ReportHealthResponseValidationError) Error ¶
func (e ReportHealthResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ReportHealthResponseValidationError) ErrorName ¶
func (e ReportHealthResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ReportHealthResponseValidationError) Field ¶
func (e ReportHealthResponseValidationError) Field() string
Field function returns field value.
func (ReportHealthResponseValidationError) Key ¶
func (e ReportHealthResponseValidationError) Key() bool
Key function returns key value.
func (ReportHealthResponseValidationError) Reason ¶
func (e ReportHealthResponseValidationError) Reason() string
Reason function returns reason value.
type StartupConfiguration ¶
type StartupConfiguration struct { AssignedPort uint32 `` /* 168-byte string literal not displayed */ // contains filtered or unexported fields }
configuration the registry is giving to the process to run
func (*StartupConfiguration) Descriptor
deprecated
func (*StartupConfiguration) Descriptor() ([]byte, []int)
Deprecated: Use StartupConfiguration.ProtoReflect.Descriptor instead.
func (*StartupConfiguration) GetAssignedPort ¶
func (x *StartupConfiguration) GetAssignedPort() uint32
func (*StartupConfiguration) ProtoMessage ¶
func (*StartupConfiguration) ProtoMessage()
func (*StartupConfiguration) ProtoReflect ¶
func (x *StartupConfiguration) ProtoReflect() protoreflect.Message
func (*StartupConfiguration) Reset ¶
func (x *StartupConfiguration) Reset()
func (*StartupConfiguration) String ¶
func (x *StartupConfiguration) String() string
func (*StartupConfiguration) Validate ¶
func (m *StartupConfiguration) Validate() error
Validate checks the field values on StartupConfiguration with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*StartupConfiguration) ValidateAll ¶
func (m *StartupConfiguration) ValidateAll() error
ValidateAll checks the field values on StartupConfiguration with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StartupConfigurationMultiError, or nil if none found.
type StartupConfigurationMultiError ¶
type StartupConfigurationMultiError []error
StartupConfigurationMultiError is an error wrapping multiple validation errors returned by StartupConfiguration.ValidateAll() if the designated constraints aren't met.
func (StartupConfigurationMultiError) AllErrors ¶
func (m StartupConfigurationMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StartupConfigurationMultiError) Error ¶
func (m StartupConfigurationMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StartupConfigurationValidationError ¶
type StartupConfigurationValidationError struct {
// contains filtered or unexported fields
}
StartupConfigurationValidationError is the validation error returned by StartupConfiguration.Validate if the designated constraints aren't met.
func (StartupConfigurationValidationError) Cause ¶
func (e StartupConfigurationValidationError) Cause() error
Cause function returns cause value.
func (StartupConfigurationValidationError) Error ¶
func (e StartupConfigurationValidationError) Error() string
Error satisfies the builtin error interface
func (StartupConfigurationValidationError) ErrorName ¶
func (e StartupConfigurationValidationError) ErrorName() string
ErrorName returns error name.
func (StartupConfigurationValidationError) Field ¶
func (e StartupConfigurationValidationError) Field() string
Field function returns field value.
func (StartupConfigurationValidationError) Key ¶
func (e StartupConfigurationValidationError) Key() bool
Key function returns key value.
func (StartupConfigurationValidationError) Reason ¶
func (e StartupConfigurationValidationError) Reason() string
Reason function returns reason value.
type Token ¶
type Token struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" pg:"id" bun:"id" yaml:"id" csv:"id"` Jwt string `protobuf:"bytes,3,opt,name=jwt,proto3" json:"jwt" pg:"jwt" bun:"jwt" yaml:"jwt" csv:"jwt"` // contains filtered or unexported fields }
Token that is generated when the `Init` function is called with the correct `nonce`
func (*Token) Descriptor
deprecated
func (*Token) ProtoMessage ¶
func (*Token) ProtoMessage()
func (*Token) ProtoReflect ¶
func (x *Token) ProtoReflect() protoreflect.Message
func (*Token) Validate ¶
Validate checks the field values on Token with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Token) ValidateAll ¶
ValidateAll checks the field values on Token with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TokenMultiError, or nil if none found.
type TokenMultiError ¶
type TokenMultiError []error
TokenMultiError is an error wrapping multiple validation errors returned by Token.ValidateAll() if the designated constraints aren't met.
func (TokenMultiError) AllErrors ¶
func (m TokenMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TokenMultiError) Error ¶
func (m TokenMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TokenValidationError ¶
type TokenValidationError struct {
// contains filtered or unexported fields
}
TokenValidationError is the validation error returned by Token.Validate if the designated constraints aren't met.
func (TokenValidationError) Cause ¶
func (e TokenValidationError) Cause() error
Cause function returns cause value.
func (TokenValidationError) Error ¶
func (e TokenValidationError) Error() string
Error satisfies the builtin error interface
func (TokenValidationError) ErrorName ¶
func (e TokenValidationError) ErrorName() string
ErrorName returns error name.
func (TokenValidationError) Field ¶
func (e TokenValidationError) Field() string
Field function returns field value.
func (TokenValidationError) Key ¶
func (e TokenValidationError) Key() bool
Key function returns key value.
func (TokenValidationError) Reason ¶
func (e TokenValidationError) Reason() string
Reason function returns reason value.
type Zone ¶
type Zone struct {
// contains filtered or unexported fields
}
Entities
func (*Zone) Descriptor
deprecated
func (*Zone) ProtoMessage ¶
func (*Zone) ProtoMessage()
func (*Zone) ProtoReflect ¶
func (x *Zone) ProtoReflect() protoreflect.Message
func (*Zone) Validate ¶
Validate checks the field values on Zone with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Zone) ValidateAll ¶
ValidateAll checks the field values on Zone with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ZoneMultiError, or nil if none found.
type ZoneMultiError ¶
type ZoneMultiError []error
ZoneMultiError is an error wrapping multiple validation errors returned by Zone.ValidateAll() if the designated constraints aren't met.
func (ZoneMultiError) AllErrors ¶
func (m ZoneMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ZoneMultiError) Error ¶
func (m ZoneMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ZoneValidationError ¶
type ZoneValidationError struct {
// contains filtered or unexported fields
}
ZoneValidationError is the validation error returned by Zone.Validate if the designated constraints aren't met.
func (ZoneValidationError) Cause ¶
func (e ZoneValidationError) Cause() error
Cause function returns cause value.
func (ZoneValidationError) Error ¶
func (e ZoneValidationError) Error() string
Error satisfies the builtin error interface
func (ZoneValidationError) ErrorName ¶
func (e ZoneValidationError) ErrorName() string
ErrorName returns error name.
func (ZoneValidationError) Field ¶
func (e ZoneValidationError) Field() string
Field function returns field value.
func (ZoneValidationError) Key ¶
func (e ZoneValidationError) Key() bool
Key function returns key value.
func (ZoneValidationError) Reason ¶
func (e ZoneValidationError) Reason() string
Reason function returns reason value.