v1

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 License: Apache-2.0 Imports: 17 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
var File_core_registry_service_discovery_v1_models_proto protoreflect.FileDescriptor
View Source
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

Cause function returns cause value.

func (ClientDetailsValidationError) Error

Error satisfies the builtin error interface

func (ClientDetailsValidationError) ErrorName

func (e ClientDetailsValidationError) ErrorName() string

ErrorName returns error name.

func (ClientDetailsValidationError) Field

Field function returns field value.

func (ClientDetailsValidationError) Key

Key function returns key value.

func (ClientDetailsValidationError) Reason

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

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

func (x *Empty) ProtoReflect() protoreflect.Message

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

func (*Empty) Validate

func (m *Empty) Validate() error

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

func (m *Empty) ValidateAll() error

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

Deprecated: Use Filter.ProtoReflect.Descriptor instead.

func (*Filter) GetAll

func (x *Filter) GetAll() string

func (*Filter) GetAttribute

func (m *Filter) GetAttribute() isFilter_Attribute

func (*Filter) GetGroup

func (x *Filter) GetGroup() string

func (*Filter) GetId

func (x *Filter) GetId() string

func (*Filter) ProtoMessage

func (*Filter) ProtoMessage()

func (*Filter) ProtoReflect

func (x *Filter) ProtoReflect() protoreflect.Message

func (*Filter) Reset

func (x *Filter) Reset()

func (*Filter) String

func (x *Filter) String() string

func (*Filter) Validate

func (m *Filter) Validate() error

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

func (m *Filter) ValidateAll() error

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

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

Cause function returns cause value.

func (FinalizeRequestValidationError) Error

Error satisfies the builtin error interface

func (FinalizeRequestValidationError) ErrorName

func (e FinalizeRequestValidationError) ErrorName() string

ErrorName returns error name.

func (FinalizeRequestValidationError) Field

Field function returns field value.

func (FinalizeRequestValidationError) Key

Key function returns key value.

func (FinalizeRequestValidationError) Reason

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

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

Cause function returns cause value.

func (FinalizeResponseValidationError) Error

Error satisfies the builtin error interface

func (FinalizeResponseValidationError) ErrorName

ErrorName returns error name.

func (FinalizeResponseValidationError) Field

Field function returns field value.

func (FinalizeResponseValidationError) Key

Key function returns key value.

func (FinalizeResponseValidationError) Reason

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

Deprecated: Use GeoPoint.ProtoReflect.Descriptor instead.

func (*GeoPoint) GetLat

func (x *GeoPoint) GetLat() float32

func (*GeoPoint) GetLng

func (x *GeoPoint) GetLng() float32

func (*GeoPoint) ProtoMessage

func (*GeoPoint) ProtoMessage()

func (*GeoPoint) ProtoReflect

func (x *GeoPoint) ProtoReflect() protoreflect.Message

func (*GeoPoint) Reset

func (x *GeoPoint) Reset()

func (*GeoPoint) String

func (x *GeoPoint) String() string

func (*GeoPoint) Validate

func (m *GeoPoint) Validate() error

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

func (m *GeoPoint) ValidateAll() error

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

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

Cause function returns cause value.

func (InitializeRequestValidationError) Error

Error satisfies the builtin error interface

func (InitializeRequestValidationError) ErrorName

ErrorName returns error name.

func (InitializeRequestValidationError) Field

Field function returns field value.

func (InitializeRequestValidationError) Key

Key function returns key value.

func (InitializeRequestValidationError) Reason

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

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

Cause function returns cause value.

func (InitializeResponseValidationError) Error

Error satisfies the builtin error interface

func (InitializeResponseValidationError) ErrorName

ErrorName returns error name.

func (InitializeResponseValidationError) Field

Field function returns field value.

func (InitializeResponseValidationError) Key

Key function returns key value.

func (InitializeResponseValidationError) Reason

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

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetKey

func (x *Metadata) GetKey() string

func (*Metadata) GetPid

func (x *Metadata) GetPid() string

func (*Metadata) GetValue

func (x *Metadata) GetValue() string

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect

func (x *Metadata) ProtoReflect() protoreflect.Message

func (*Metadata) Reset

func (x *Metadata) Reset()

func (*Metadata) String

func (x *Metadata) String() string

func (*Metadata) Validate

func (m *Metadata) Validate() error

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

func (m *Metadata) ValidateAll() error

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

Deprecated: Use Process.ProtoReflect.Descriptor instead.

func (*Process) GetGroup

func (x *Process) GetGroup() string

func (*Process) GetHealthState

func (x *Process) GetHealthState() ProcessHealthState

func (*Process) GetIpAddress

func (x *Process) GetIpAddress() string

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

func (x *Process) GetLocal() string

func (*Process) GetLocation

func (x *Process) GetLocation() *GeoPoint

func (*Process) GetMetadata

func (x *Process) GetMetadata() []*Metadata

func (*Process) GetName

func (x *Process) GetName() string

func (*Process) GetPid

func (x *Process) GetPid() string

func (*Process) GetProcessKind

func (x *Process) GetProcessKind() ProcessKind

func (*Process) GetRunningState

func (x *Process) GetRunningState() ProcessRunningState

func (*Process) GetToken

func (x *Process) GetToken() *Token

func (*Process) ProtoMessage

func (*Process) ProtoMessage()

func (*Process) ProtoReflect

func (x *Process) ProtoReflect() protoreflect.Message

func (*Process) Reset

func (x *Process) Reset()

func (*Process) String

func (x *Process) String() string

func (*Process) Validate

func (m *Process) Validate() error

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

func (m *Process) ValidateAll() error

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

func (ProcessHealthState) EnumDescriptor deprecated

func (ProcessHealthState) EnumDescriptor() ([]byte, []int)

Deprecated: Use ProcessHealthState.Descriptor instead.

func (ProcessHealthState) Number

func (ProcessHealthState) String

func (x ProcessHealthState) String() string

func (ProcessHealthState) Type

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

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

Cause function returns cause value.

func (ProcessIdentityValidationError) Error

Error satisfies the builtin error interface

func (ProcessIdentityValidationError) ErrorName

func (e ProcessIdentityValidationError) ErrorName() string

ErrorName returns error name.

func (ProcessIdentityValidationError) Field

Field function returns field value.

func (ProcessIdentityValidationError) Key

Key function returns key value.

func (ProcessIdentityValidationError) Reason

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

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

func (ProcessRunningState) EnumDescriptor deprecated

func (ProcessRunningState) EnumDescriptor() ([]byte, []int)

Deprecated: Use ProcessRunningState.Descriptor instead.

func (ProcessRunningState) Number

func (ProcessRunningState) String

func (x ProcessRunningState) String() string

func (ProcessRunningState) Type

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

Cause function returns cause value.

func (QueryRequestValidationError) Error

Error satisfies the builtin error interface

func (QueryRequestValidationError) ErrorName

func (e QueryRequestValidationError) ErrorName() string

ErrorName returns error name.

func (QueryRequestValidationError) Field

Field function returns field value.

func (QueryRequestValidationError) Key

Key function returns key value.

func (QueryRequestValidationError) Reason

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

Cause function returns cause value.

func (QueryResponseValidationError) Error

Error satisfies the builtin error interface

func (QueryResponseValidationError) ErrorName

func (e QueryResponseValidationError) ErrorName() string

ErrorName returns error name.

func (QueryResponseValidationError) Field

Field function returns field value.

func (QueryResponseValidationError) Key

Key function returns key value.

func (QueryResponseValidationError) Reason

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

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

Cause function returns cause value.

func (ReportHealthRequestValidationError) Error

Error satisfies the builtin error interface

func (ReportHealthRequestValidationError) ErrorName

ErrorName returns error name.

func (ReportHealthRequestValidationError) Field

Field function returns field value.

func (ReportHealthRequestValidationError) Key

Key function returns key value.

func (ReportHealthRequestValidationError) Reason

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

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

Cause function returns cause value.

func (ReportHealthResponseValidationError) Error

Error satisfies the builtin error interface

func (ReportHealthResponseValidationError) ErrorName

ErrorName returns error name.

func (ReportHealthResponseValidationError) Field

Field function returns field value.

func (ReportHealthResponseValidationError) Key

Key function returns key value.

func (ReportHealthResponseValidationError) Reason

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

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

Cause function returns cause value.

func (StartupConfigurationValidationError) Error

Error satisfies the builtin error interface

func (StartupConfigurationValidationError) ErrorName

ErrorName returns error name.

func (StartupConfigurationValidationError) Field

Field function returns field value.

func (StartupConfigurationValidationError) Key

Key function returns key value.

func (StartupConfigurationValidationError) Reason

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

Deprecated: Use Token.ProtoReflect.Descriptor instead.

func (*Token) GetId

func (x *Token) GetId() string

func (*Token) GetJwt

func (x *Token) GetJwt() string

func (*Token) ProtoMessage

func (*Token) ProtoMessage()

func (*Token) ProtoReflect

func (x *Token) ProtoReflect() protoreflect.Message

func (*Token) Reset

func (x *Token) Reset()

func (*Token) String

func (x *Token) String() string

func (*Token) Validate

func (m *Token) Validate() error

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

func (m *Token) ValidateAll() error

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

Deprecated: Use Zone.ProtoReflect.Descriptor instead.

func (*Zone) ProtoMessage

func (*Zone) ProtoMessage()

func (*Zone) ProtoReflect

func (x *Zone) ProtoReflect() protoreflect.Message

func (*Zone) Reset

func (x *Zone) Reset()

func (*Zone) String

func (x *Zone) String() string

func (*Zone) Validate

func (m *Zone) Validate() error

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

func (m *Zone) ValidateAll() error

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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