cluster

package
v1.26.2-rc.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-helpers. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var File_temporal_server_api_cluster_v1_message_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ClusterMember added in v1.14.0

type ClusterMember struct {
	Role             v1.ClusterMemberRole   `protobuf:"varint,1,opt,name=role,proto3,enum=temporal.server.api.enums.v1.ClusterMemberRole" json:"role,omitempty"`
	HostId           string                 `protobuf:"bytes,2,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	RpcAddress       string                 `protobuf:"bytes,3,opt,name=rpc_address,json=rpcAddress,proto3" json:"rpc_address,omitempty"`
	RpcPort          int32                  `protobuf:"varint,4,opt,name=rpc_port,json=rpcPort,proto3" json:"rpc_port,omitempty"`
	SessionStartTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=session_start_time,json=sessionStartTime,proto3" json:"session_start_time,omitempty"`
	LastHeartbitTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=last_heartbit_time,json=lastHeartbitTime,proto3" json:"last_heartbit_time,omitempty"`
	RecordExpiryTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=record_expiry_time,json=recordExpiryTime,proto3" json:"record_expiry_time,omitempty"`
	// contains filtered or unexported fields
}

func (*ClusterMember) Descriptor deprecated added in v1.14.0

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

Deprecated: Use ClusterMember.ProtoReflect.Descriptor instead.

func (*ClusterMember) Equal added in v1.14.0

func (this *ClusterMember) Equal(that interface{}) bool

Equal returns whether two ClusterMember values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal

func (*ClusterMember) GetHostId added in v1.14.0

func (x *ClusterMember) GetHostId() string

func (*ClusterMember) GetLastHeartbitTime added in v1.14.0

func (x *ClusterMember) GetLastHeartbitTime() *timestamppb.Timestamp

func (*ClusterMember) GetRecordExpiryTime added in v1.14.0

func (x *ClusterMember) GetRecordExpiryTime() *timestamppb.Timestamp

func (*ClusterMember) GetRole added in v1.14.0

func (x *ClusterMember) GetRole() v1.ClusterMemberRole

func (*ClusterMember) GetRpcAddress added in v1.14.0

func (x *ClusterMember) GetRpcAddress() string

func (*ClusterMember) GetRpcPort added in v1.14.0

func (x *ClusterMember) GetRpcPort() int32

func (*ClusterMember) GetSessionStartTime added in v1.14.0

func (x *ClusterMember) GetSessionStartTime() *timestamppb.Timestamp

func (*ClusterMember) Marshal added in v1.14.0

func (val *ClusterMember) Marshal() ([]byte, error)

Marshal an object of type ClusterMember to the protobuf v3 wire format

func (*ClusterMember) ProtoMessage added in v1.14.0

func (*ClusterMember) ProtoMessage()

func (*ClusterMember) ProtoReflect added in v1.23.0

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

func (*ClusterMember) Reset added in v1.14.0

func (x *ClusterMember) Reset()

func (*ClusterMember) Size added in v1.14.0

func (val *ClusterMember) Size() int

Size returns the size of the object, in bytes, once serialized

func (*ClusterMember) String added in v1.14.0

func (x *ClusterMember) String() string

func (*ClusterMember) Unmarshal added in v1.14.0

func (val *ClusterMember) Unmarshal(buf []byte) error

Unmarshal an object of type ClusterMember from the protobuf v3 wire format

type HostInfo

type HostInfo struct {
	Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	// contains filtered or unexported fields
}

func (*HostInfo) Descriptor deprecated

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

Deprecated: Use HostInfo.ProtoReflect.Descriptor instead.

func (*HostInfo) Equal

func (this *HostInfo) Equal(that interface{}) bool

Equal returns whether two HostInfo values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal

func (*HostInfo) GetIdentity

func (x *HostInfo) GetIdentity() string

func (*HostInfo) Marshal

func (val *HostInfo) Marshal() ([]byte, error)

Marshal an object of type HostInfo to the protobuf v3 wire format

func (*HostInfo) ProtoMessage

func (*HostInfo) ProtoMessage()

func (*HostInfo) ProtoReflect added in v1.23.0

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

func (*HostInfo) Reset

func (x *HostInfo) Reset()

func (*HostInfo) Size

func (val *HostInfo) Size() int

Size returns the size of the object, in bytes, once serialized

func (*HostInfo) String

func (x *HostInfo) String() string

func (*HostInfo) Unmarshal

func (val *HostInfo) Unmarshal(buf []byte) error

Unmarshal an object of type HostInfo from the protobuf v3 wire format

type MembershipInfo

type MembershipInfo struct {
	CurrentHost      *HostInfo   `protobuf:"bytes,1,opt,name=current_host,json=currentHost,proto3" json:"current_host,omitempty"`
	ReachableMembers []string    `protobuf:"bytes,2,rep,name=reachable_members,json=reachableMembers,proto3" json:"reachable_members,omitempty"`
	Rings            []*RingInfo `protobuf:"bytes,3,rep,name=rings,proto3" json:"rings,omitempty"`
	// contains filtered or unexported fields
}

func (*MembershipInfo) Descriptor deprecated

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

Deprecated: Use MembershipInfo.ProtoReflect.Descriptor instead.

func (*MembershipInfo) Equal

func (this *MembershipInfo) Equal(that interface{}) bool

Equal returns whether two MembershipInfo values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal

func (*MembershipInfo) GetCurrentHost

func (x *MembershipInfo) GetCurrentHost() *HostInfo

func (*MembershipInfo) GetReachableMembers

func (x *MembershipInfo) GetReachableMembers() []string

func (*MembershipInfo) GetRings

func (x *MembershipInfo) GetRings() []*RingInfo

func (*MembershipInfo) Marshal

func (val *MembershipInfo) Marshal() ([]byte, error)

Marshal an object of type MembershipInfo to the protobuf v3 wire format

func (*MembershipInfo) ProtoMessage

func (*MembershipInfo) ProtoMessage()

func (*MembershipInfo) ProtoReflect added in v1.23.0

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

func (*MembershipInfo) Reset

func (x *MembershipInfo) Reset()

func (*MembershipInfo) Size

func (val *MembershipInfo) Size() int

Size returns the size of the object, in bytes, once serialized

func (*MembershipInfo) String

func (x *MembershipInfo) String() string

func (*MembershipInfo) Unmarshal

func (val *MembershipInfo) Unmarshal(buf []byte) error

Unmarshal an object of type MembershipInfo from the protobuf v3 wire format

type RingInfo

type RingInfo struct {
	Role        string      `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
	MemberCount int32       `protobuf:"varint,2,opt,name=member_count,json=memberCount,proto3" json:"member_count,omitempty"`
	Members     []*HostInfo `protobuf:"bytes,3,rep,name=members,proto3" json:"members,omitempty"`
	// contains filtered or unexported fields
}

func (*RingInfo) Descriptor deprecated

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

Deprecated: Use RingInfo.ProtoReflect.Descriptor instead.

func (*RingInfo) Equal

func (this *RingInfo) Equal(that interface{}) bool

Equal returns whether two RingInfo values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal

func (*RingInfo) GetMemberCount

func (x *RingInfo) GetMemberCount() int32

func (*RingInfo) GetMembers

func (x *RingInfo) GetMembers() []*HostInfo

func (*RingInfo) GetRole

func (x *RingInfo) GetRole() string

func (*RingInfo) Marshal

func (val *RingInfo) Marshal() ([]byte, error)

Marshal an object of type RingInfo to the protobuf v3 wire format

func (*RingInfo) ProtoMessage

func (*RingInfo) ProtoMessage()

func (*RingInfo) ProtoReflect added in v1.23.0

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

func (*RingInfo) Reset

func (x *RingInfo) Reset()

func (*RingInfo) Size

func (val *RingInfo) Size() int

Size returns the size of the object, in bytes, once serialized

func (*RingInfo) String

func (x *RingInfo) String() string

func (*RingInfo) Unmarshal

func (val *RingInfo) Unmarshal(buf []byte) error

Unmarshal an object of type RingInfo from the protobuf v3 wire format

Jump to

Keyboard shortcuts

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