executor_manage

package
v0.0.0-...-1e3467c Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	HealthCheck_HealthCheckType_name = map[int32]string{
		0: "UNKNOWN",
		1: "HEARTBEAT",
	}
	HealthCheck_HealthCheckType_value = map[string]int32{
		"UNKNOWN":   0,
		"HEARTBEAT": 1,
	}
)

Enum value maps for HealthCheck_HealthCheckType.

View Source
var File_executor_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type HealthCheck

type HealthCheck struct {
	Type      HealthCheck_HealthCheckType `protobuf:"varint,1,opt,name=type,proto3,enum=executor_manage.HealthCheck_HealthCheckType" json:"type,omitempty"`
	Heartbeat *HeartbeatHealthCheck       `protobuf:"bytes,2,opt,name=heartbeat,proto3" json:"heartbeat,omitempty"`
	// contains filtered or unexported fields
}

func (*HealthCheck) Descriptor deprecated

func (*HealthCheck) Descriptor() ([]byte, []int)

Deprecated: Use HealthCheck.ProtoReflect.Descriptor instead.

func (*HealthCheck) GetHeartbeat

func (x *HealthCheck) GetHeartbeat() *HeartbeatHealthCheck

func (*HealthCheck) GetType

func (*HealthCheck) ProtoMessage

func (*HealthCheck) ProtoMessage()

func (*HealthCheck) ProtoReflect

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

func (*HealthCheck) Reset

func (x *HealthCheck) Reset()

func (*HealthCheck) String

func (x *HealthCheck) String() string

type HealthCheck_HealthCheckType

type HealthCheck_HealthCheckType int32
const (
	HealthCheck_UNKNOWN   HealthCheck_HealthCheckType = 0
	HealthCheck_HEARTBEAT HealthCheck_HealthCheckType = 1
)

func (HealthCheck_HealthCheckType) Descriptor

func (HealthCheck_HealthCheckType) Enum

func (HealthCheck_HealthCheckType) EnumDescriptor deprecated

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

Deprecated: Use HealthCheck_HealthCheckType.Descriptor instead.

func (HealthCheck_HealthCheckType) Number

func (HealthCheck_HealthCheckType) String

func (HealthCheck_HealthCheckType) Type

type HeartbeatHealthCheck

type HeartbeatHealthCheck struct {
	Ttl uint32 `protobuf:"varint,1,opt,name=ttl,proto3" json:"ttl,omitempty"`
	// contains filtered or unexported fields
}

func (*HeartbeatHealthCheck) Descriptor deprecated

func (*HeartbeatHealthCheck) Descriptor() ([]byte, []int)

Deprecated: Use HeartbeatHealthCheck.ProtoReflect.Descriptor instead.

func (*HeartbeatHealthCheck) GetTtl

func (x *HeartbeatHealthCheck) GetTtl() uint32

func (*HeartbeatHealthCheck) ProtoMessage

func (*HeartbeatHealthCheck) ProtoMessage()

func (*HeartbeatHealthCheck) ProtoReflect

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

func (*HeartbeatHealthCheck) Reset

func (x *HeartbeatHealthCheck) Reset()

func (*HeartbeatHealthCheck) String

func (x *HeartbeatHealthCheck) String() string

type Instance

type Instance struct {
	Id          uint64            `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Executor    string            `protobuf:"bytes,2,opt,name=executor,proto3" json:"executor,omitempty"`
	Namespace   string            `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Host        string            `protobuf:"bytes,4,opt,name=host,proto3" json:"host,omitempty"`
	Port        string            `protobuf:"bytes,5,opt,name=port,proto3" json:"port,omitempty"`
	Protocol    string            `protobuf:"bytes,6,opt,name=protocol,proto3" json:"protocol,omitempty"`
	Version     string            `protobuf:"bytes,7,opt,name=version,proto3" json:"version,omitempty"`
	Priority    uint32            `protobuf:"varint,8,opt,name=priority,proto3" json:"priority,omitempty"`
	Weight      uint32            `protobuf:"varint,9,opt,name=weight,proto3" json:"weight,omitempty"`
	HealthCheck *HealthCheck      `protobuf:"bytes,10,opt,name=health_check,json=healthCheck,proto3" json:"health_check,omitempty"`
	Healthy     bool              `protobuf:"varint,11,opt,name=healthy,proto3" json:"healthy,omitempty"`
	Isolate     bool              `protobuf:"varint,12,opt,name=isolate,proto3" json:"isolate,omitempty"`
	Metadata    map[string]string `` /* 158-byte string literal not displayed */
	CreateAt    string            `protobuf:"bytes,16,opt,name=create_at,json=createAt,proto3" json:"create_at,omitempty"`
	UpdateAt    string            `protobuf:"bytes,17,opt,name=update_at,json=updateAt,proto3" json:"update_at,omitempty"`
	Revision    string            `protobuf:"bytes,18,opt,name=revision,proto3" json:"revision,omitempty"`
	// contains filtered or unexported fields
}

func (*Instance) Descriptor deprecated

func (*Instance) Descriptor() ([]byte, []int)

Deprecated: Use Instance.ProtoReflect.Descriptor instead.

func (*Instance) GetCreateAt

func (x *Instance) GetCreateAt() string

func (*Instance) GetExecutor

func (x *Instance) GetExecutor() string

func (*Instance) GetHealthCheck

func (x *Instance) GetHealthCheck() *HealthCheck

func (*Instance) GetHealthy

func (x *Instance) GetHealthy() bool

func (*Instance) GetHost

func (x *Instance) GetHost() string

func (*Instance) GetId

func (x *Instance) GetId() uint64

func (*Instance) GetIsolate

func (x *Instance) GetIsolate() bool

func (*Instance) GetMetadata

func (x *Instance) GetMetadata() map[string]string

func (*Instance) GetNamespace

func (x *Instance) GetNamespace() string

func (*Instance) GetPort

func (x *Instance) GetPort() string

func (*Instance) GetPriority

func (x *Instance) GetPriority() uint32

func (*Instance) GetProtocol

func (x *Instance) GetProtocol() string

func (*Instance) GetRevision

func (x *Instance) GetRevision() string

func (*Instance) GetUpdateAt

func (x *Instance) GetUpdateAt() string

func (*Instance) GetVersion

func (x *Instance) GetVersion() string

func (*Instance) GetWeight

func (x *Instance) GetWeight() uint32

func (*Instance) ProtoMessage

func (*Instance) ProtoMessage()

func (*Instance) ProtoReflect

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

func (*Instance) Reset

func (x *Instance) Reset()

func (*Instance) String

func (x *Instance) String() string

Jump to

Keyboard shortcuts

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