regclient

package
v0.0.0-...-0b10f05 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2022 License: GPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MasterGoingDownReason_name = map[int32]string{
		0: "Shutdown",
		1: "Reboot",
		2: "FullShutdown",
		3: "Update",
	}
	MasterGoingDownReason_value = map[string]int32{
		"Shutdown":     0,
		"Reboot":       1,
		"FullShutdown": 2,
		"Update":       3,
	}
)

Enum value maps for MasterGoingDownReason.

View Source
var File_regclient_proto protoreflect.FileDescriptor
View Source
var RegClient_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "regClient.RegClient",
	HandlerType: (*RegClientServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "HealthCheck",
			Handler:    _RegClient_HealthCheck_Handler,
		},
		{
			MethodName: "AddDependent",
			Handler:    _RegClient_AddDependent_Handler,
		},
		{
			MethodName: "RemoveDependent",
			Handler:    _RegClient_RemoveDependent_Handler,
		},
		{
			MethodName: "RemoveRequired",
			Handler:    _RegClient_RemoveRequired_Handler,
		},
		{
			MethodName: "MasterGoingDown",
			Handler:    _RegClient_MasterGoingDown_Handler,
		},
		{
			MethodName: "MasterBackUp",
			Handler:    _RegClient_MasterBackUp_Handler,
		},
		{
			MethodName: "ShutdownService",
			Handler:    _RegClient_ShutdownService_Handler,
		},
		{
			MethodName: "DependentUp",
			Handler:    _RegClient_DependentUp_Handler,
		},
		{
			MethodName: "DependentDown",
			Handler:    _RegClient_DependentDown_Handler,
		},
		{
			MethodName: "RequiredUp",
			Handler:    _RegClient_RequiredUp_Handler,
		},
		{
			MethodName: "RequiredDown",
			Handler:    _RegClient_RequiredDown_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "regclient.proto",
}

RegClient_ServiceDesc is the grpc.ServiceDesc for RegClient service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterRegClientServer

func RegisterRegClientServer(s grpc.ServiceRegistrar, srv RegClientServer)

Types

type AddDependentRequest

type AddDependentRequest struct {
	Type      string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Id        uint64 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"`
	BaseId    string `protobuf:"bytes,4,opt,name=base_id,json=baseId,proto3" json:"base_id,omitempty"`
	Key       string `protobuf:"bytes,5,opt,name=key,proto3" json:"key,omitempty"`
	Url       string `protobuf:"bytes,6,opt,name=url,proto3" json:"url,omitempty"`
	Port      uint32 `protobuf:"varint,7,opt,name=port,proto3" json:"port,omitempty"`
	SingleRun bool   `protobuf:"varint,8,opt,name=single_run,json=singleRun,proto3" json:"single_run,omitempty"`
	// contains filtered or unexported fields
}

func (*AddDependentRequest) Descriptor deprecated

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

Deprecated: Use AddDependentRequest.ProtoReflect.Descriptor instead.

func (*AddDependentRequest) GetBaseId

func (x *AddDependentRequest) GetBaseId() string

func (*AddDependentRequest) GetId

func (x *AddDependentRequest) GetId() uint64

func (*AddDependentRequest) GetKey

func (x *AddDependentRequest) GetKey() string

func (*AddDependentRequest) GetName

func (x *AddDependentRequest) GetName() string

func (*AddDependentRequest) GetPort

func (x *AddDependentRequest) GetPort() uint32

func (*AddDependentRequest) GetSingleRun

func (x *AddDependentRequest) GetSingleRun() bool

func (*AddDependentRequest) GetType

func (x *AddDependentRequest) GetType() string

func (*AddDependentRequest) GetUrl

func (x *AddDependentRequest) GetUrl() string

func (*AddDependentRequest) ProtoMessage

func (*AddDependentRequest) ProtoMessage()

func (*AddDependentRequest) ProtoReflect

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

func (*AddDependentRequest) Reset

func (x *AddDependentRequest) Reset()

func (*AddDependentRequest) String

func (x *AddDependentRequest) String() string

type AddDependentResponse

type AddDependentResponse struct {
	Success      bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// contains filtered or unexported fields
}

func (*AddDependentResponse) Descriptor deprecated

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

Deprecated: Use AddDependentResponse.ProtoReflect.Descriptor instead.

func (*AddDependentResponse) GetErrorMessage

func (x *AddDependentResponse) GetErrorMessage() string

func (*AddDependentResponse) GetSuccess

func (x *AddDependentResponse) GetSuccess() bool

func (*AddDependentResponse) ProtoMessage

func (*AddDependentResponse) ProtoMessage()

func (*AddDependentResponse) ProtoReflect

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

func (*AddDependentResponse) Reset

func (x *AddDependentResponse) Reset()

func (*AddDependentResponse) String

func (x *AddDependentResponse) String() string

type DependentDownRequest

type DependentDownRequest struct {
	BaseId string `protobuf:"bytes,1,opt,name=base_id,json=baseId,proto3" json:"base_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DependentDownRequest) Descriptor deprecated

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

Deprecated: Use DependentDownRequest.ProtoReflect.Descriptor instead.

func (*DependentDownRequest) GetBaseId

func (x *DependentDownRequest) GetBaseId() string

func (*DependentDownRequest) ProtoMessage

func (*DependentDownRequest) ProtoMessage()

func (*DependentDownRequest) ProtoReflect

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

func (*DependentDownRequest) Reset

func (x *DependentDownRequest) Reset()

func (*DependentDownRequest) String

func (x *DependentDownRequest) String() string

type DependentDownResponse

type DependentDownResponse struct {
	Success      bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// contains filtered or unexported fields
}

func (*DependentDownResponse) Descriptor deprecated

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

Deprecated: Use DependentDownResponse.ProtoReflect.Descriptor instead.

func (*DependentDownResponse) GetErrorMessage

func (x *DependentDownResponse) GetErrorMessage() string

func (*DependentDownResponse) GetSuccess

func (x *DependentDownResponse) GetSuccess() bool

func (*DependentDownResponse) ProtoMessage

func (*DependentDownResponse) ProtoMessage()

func (*DependentDownResponse) ProtoReflect

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

func (*DependentDownResponse) Reset

func (x *DependentDownResponse) Reset()

func (*DependentDownResponse) String

func (x *DependentDownResponse) String() string

type DependentUpRequest

type DependentUpRequest struct {
	BaseId string `protobuf:"bytes,1,opt,name=base_id,json=baseId,proto3" json:"base_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DependentUpRequest) Descriptor deprecated

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

Deprecated: Use DependentUpRequest.ProtoReflect.Descriptor instead.

func (*DependentUpRequest) GetBaseId

func (x *DependentUpRequest) GetBaseId() string

func (*DependentUpRequest) ProtoMessage

func (*DependentUpRequest) ProtoMessage()

func (*DependentUpRequest) ProtoReflect

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

func (*DependentUpRequest) Reset

func (x *DependentUpRequest) Reset()

func (*DependentUpRequest) String

func (x *DependentUpRequest) String() string

type DependentUpResponse

type DependentUpResponse struct {
	Success      bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// contains filtered or unexported fields
}

func (*DependentUpResponse) Descriptor deprecated

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

Deprecated: Use DependentUpResponse.ProtoReflect.Descriptor instead.

func (*DependentUpResponse) GetErrorMessage

func (x *DependentUpResponse) GetErrorMessage() string

func (*DependentUpResponse) GetSuccess

func (x *DependentUpResponse) GetSuccess() bool

func (*DependentUpResponse) ProtoMessage

func (*DependentUpResponse) ProtoMessage()

func (*DependentUpResponse) ProtoReflect

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

func (*DependentUpResponse) Reset

func (x *DependentUpResponse) Reset()

func (*DependentUpResponse) String

func (x *DependentUpResponse) String() string

type HealthCheckRequest

type HealthCheckRequest struct {
	// contains filtered or unexported fields
}

func (*HealthCheckRequest) Descriptor deprecated

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

Deprecated: Use HealthCheckRequest.ProtoReflect.Descriptor instead.

func (*HealthCheckRequest) ProtoMessage

func (*HealthCheckRequest) ProtoMessage()

func (*HealthCheckRequest) ProtoReflect

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

func (*HealthCheckRequest) Reset

func (x *HealthCheckRequest) Reset()

func (*HealthCheckRequest) String

func (x *HealthCheckRequest) String() string

type HealthCheckResponse

type HealthCheckResponse struct {
	Success      bool     `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	ErrorMessage string   `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	Healthy      bool     `protobuf:"varint,3,opt,name=healthy,proto3" json:"healthy,omitempty"`
	Issues       []string `protobuf:"bytes,4,rep,name=issues,proto3" json:"issues,omitempty"`
	// contains filtered or unexported fields
}

func (*HealthCheckResponse) Descriptor deprecated

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

Deprecated: Use HealthCheckResponse.ProtoReflect.Descriptor instead.

func (*HealthCheckResponse) GetErrorMessage

func (x *HealthCheckResponse) GetErrorMessage() string

func (*HealthCheckResponse) GetHealthy

func (x *HealthCheckResponse) GetHealthy() bool

func (*HealthCheckResponse) GetIssues

func (x *HealthCheckResponse) GetIssues() []string

func (*HealthCheckResponse) GetSuccess

func (x *HealthCheckResponse) GetSuccess() bool

func (*HealthCheckResponse) ProtoMessage

func (*HealthCheckResponse) ProtoMessage()

func (*HealthCheckResponse) ProtoReflect

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

func (*HealthCheckResponse) Reset

func (x *HealthCheckResponse) Reset()

func (*HealthCheckResponse) String

func (x *HealthCheckResponse) String() string

type MasterBackUpRequest

type MasterBackUpRequest struct {
	// contains filtered or unexported fields
}

func (*MasterBackUpRequest) Descriptor deprecated

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

Deprecated: Use MasterBackUpRequest.ProtoReflect.Descriptor instead.

func (*MasterBackUpRequest) ProtoMessage

func (*MasterBackUpRequest) ProtoMessage()

func (*MasterBackUpRequest) ProtoReflect

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

func (*MasterBackUpRequest) Reset

func (x *MasterBackUpRequest) Reset()

func (*MasterBackUpRequest) String

func (x *MasterBackUpRequest) String() string

type MasterBackUpResponse

type MasterBackUpResponse struct {
	Success      bool                          `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	ErrorMessage string                        `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	Active       bool                          `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"`
	RegData      *registration.RegisterRequest `protobuf:"bytes,4,opt,name=reg_data,json=regData,proto3" json:"reg_data,omitempty"`
	// contains filtered or unexported fields
}

func (*MasterBackUpResponse) Descriptor deprecated

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

Deprecated: Use MasterBackUpResponse.ProtoReflect.Descriptor instead.

func (*MasterBackUpResponse) GetActive

func (x *MasterBackUpResponse) GetActive() bool

func (*MasterBackUpResponse) GetErrorMessage

func (x *MasterBackUpResponse) GetErrorMessage() string

func (*MasterBackUpResponse) GetRegData

func (*MasterBackUpResponse) GetSuccess

func (x *MasterBackUpResponse) GetSuccess() bool

func (*MasterBackUpResponse) ProtoMessage

func (*MasterBackUpResponse) ProtoMessage()

func (*MasterBackUpResponse) ProtoReflect

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

func (*MasterBackUpResponse) Reset

func (x *MasterBackUpResponse) Reset()

func (*MasterBackUpResponse) String

func (x *MasterBackUpResponse) String() string

type MasterGoingDownReason

type MasterGoingDownReason int32
const (
	MasterGoingDownReason_Shutdown     MasterGoingDownReason = 0
	MasterGoingDownReason_Reboot       MasterGoingDownReason = 1
	MasterGoingDownReason_FullShutdown MasterGoingDownReason = 2
	MasterGoingDownReason_Update       MasterGoingDownReason = 3
)

func (MasterGoingDownReason) Descriptor

func (MasterGoingDownReason) Enum

func (MasterGoingDownReason) EnumDescriptor deprecated

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

Deprecated: Use MasterGoingDownReason.Descriptor instead.

func (MasterGoingDownReason) Number

func (MasterGoingDownReason) String

func (x MasterGoingDownReason) String() string

func (MasterGoingDownReason) Type

type MasterGoingDownRequest

type MasterGoingDownRequest struct {
	Reason MasterGoingDownReason `protobuf:"varint,1,opt,name=reason,proto3,enum=regClient.MasterGoingDownReason" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

func (*MasterGoingDownRequest) Descriptor deprecated

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

Deprecated: Use MasterGoingDownRequest.ProtoReflect.Descriptor instead.

func (*MasterGoingDownRequest) GetReason

func (*MasterGoingDownRequest) ProtoMessage

func (*MasterGoingDownRequest) ProtoMessage()

func (*MasterGoingDownRequest) ProtoReflect

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

func (*MasterGoingDownRequest) Reset

func (x *MasterGoingDownRequest) Reset()

func (*MasterGoingDownRequest) String

func (x *MasterGoingDownRequest) String() string

type MasterGoingDownResponse

type MasterGoingDownResponse struct {
	Success      bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// contains filtered or unexported fields
}

func (*MasterGoingDownResponse) Descriptor deprecated

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

Deprecated: Use MasterGoingDownResponse.ProtoReflect.Descriptor instead.

func (*MasterGoingDownResponse) GetErrorMessage

func (x *MasterGoingDownResponse) GetErrorMessage() string

func (*MasterGoingDownResponse) GetSuccess

func (x *MasterGoingDownResponse) GetSuccess() bool

func (*MasterGoingDownResponse) ProtoMessage

func (*MasterGoingDownResponse) ProtoMessage()

func (*MasterGoingDownResponse) ProtoReflect

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

func (*MasterGoingDownResponse) Reset

func (x *MasterGoingDownResponse) Reset()

func (*MasterGoingDownResponse) String

func (x *MasterGoingDownResponse) String() string

type RegClientClient

RegClientClient is the client API for RegClient service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewRegClientClient

func NewRegClientClient(cc grpc.ClientConnInterface) RegClientClient

type RegClientServer

RegClientServer is the server API for RegClient service. All implementations must embed UnimplementedRegClientServer for forward compatibility

type RemoveDependentRequest

type RemoveDependentRequest struct {
	BaseId string `protobuf:"bytes,1,opt,name=base_id,json=baseId,proto3" json:"base_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveDependentRequest) Descriptor deprecated

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

Deprecated: Use RemoveDependentRequest.ProtoReflect.Descriptor instead.

func (*RemoveDependentRequest) GetBaseId

func (x *RemoveDependentRequest) GetBaseId() string

func (*RemoveDependentRequest) ProtoMessage

func (*RemoveDependentRequest) ProtoMessage()

func (*RemoveDependentRequest) ProtoReflect

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

func (*RemoveDependentRequest) Reset

func (x *RemoveDependentRequest) Reset()

func (*RemoveDependentRequest) String

func (x *RemoveDependentRequest) String() string

type RemoveDependentResponse

type RemoveDependentResponse struct {
	Success      bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveDependentResponse) Descriptor deprecated

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

Deprecated: Use RemoveDependentResponse.ProtoReflect.Descriptor instead.

func (*RemoveDependentResponse) GetErrorMessage

func (x *RemoveDependentResponse) GetErrorMessage() string

func (*RemoveDependentResponse) GetSuccess

func (x *RemoveDependentResponse) GetSuccess() bool

func (*RemoveDependentResponse) ProtoMessage

func (*RemoveDependentResponse) ProtoMessage()

func (*RemoveDependentResponse) ProtoReflect

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

func (*RemoveDependentResponse) Reset

func (x *RemoveDependentResponse) Reset()

func (*RemoveDependentResponse) String

func (x *RemoveDependentResponse) String() string

type RemoveRequiredRequest

type RemoveRequiredRequest struct {
	BaseId string `protobuf:"bytes,1,opt,name=base_id,json=baseId,proto3" json:"base_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveRequiredRequest) Descriptor deprecated

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

Deprecated: Use RemoveRequiredRequest.ProtoReflect.Descriptor instead.

func (*RemoveRequiredRequest) GetBaseId

func (x *RemoveRequiredRequest) GetBaseId() string

func (*RemoveRequiredRequest) ProtoMessage

func (*RemoveRequiredRequest) ProtoMessage()

func (*RemoveRequiredRequest) ProtoReflect

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

func (*RemoveRequiredRequest) Reset

func (x *RemoveRequiredRequest) Reset()

func (*RemoveRequiredRequest) String

func (x *RemoveRequiredRequest) String() string

type RemoveRequiredResponse

type RemoveRequiredResponse struct {
	Success      bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveRequiredResponse) Descriptor deprecated

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

Deprecated: Use RemoveRequiredResponse.ProtoReflect.Descriptor instead.

func (*RemoveRequiredResponse) GetErrorMessage

func (x *RemoveRequiredResponse) GetErrorMessage() string

func (*RemoveRequiredResponse) GetSuccess

func (x *RemoveRequiredResponse) GetSuccess() bool

func (*RemoveRequiredResponse) ProtoMessage

func (*RemoveRequiredResponse) ProtoMessage()

func (*RemoveRequiredResponse) ProtoReflect

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

func (*RemoveRequiredResponse) Reset

func (x *RemoveRequiredResponse) Reset()

func (*RemoveRequiredResponse) String

func (x *RemoveRequiredResponse) String() string

type RequiredDownRequest

type RequiredDownRequest struct {
	BaseId string `protobuf:"bytes,1,opt,name=base_id,json=baseId,proto3" json:"base_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RequiredDownRequest) Descriptor deprecated

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

Deprecated: Use RequiredDownRequest.ProtoReflect.Descriptor instead.

func (*RequiredDownRequest) GetBaseId

func (x *RequiredDownRequest) GetBaseId() string

func (*RequiredDownRequest) ProtoMessage

func (*RequiredDownRequest) ProtoMessage()

func (*RequiredDownRequest) ProtoReflect

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

func (*RequiredDownRequest) Reset

func (x *RequiredDownRequest) Reset()

func (*RequiredDownRequest) String

func (x *RequiredDownRequest) String() string

type RequiredDownResponse

type RequiredDownResponse struct {
	Success      bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// contains filtered or unexported fields
}

func (*RequiredDownResponse) Descriptor deprecated

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

Deprecated: Use RequiredDownResponse.ProtoReflect.Descriptor instead.

func (*RequiredDownResponse) GetErrorMessage

func (x *RequiredDownResponse) GetErrorMessage() string

func (*RequiredDownResponse) GetSuccess

func (x *RequiredDownResponse) GetSuccess() bool

func (*RequiredDownResponse) ProtoMessage

func (*RequiredDownResponse) ProtoMessage()

func (*RequiredDownResponse) ProtoReflect

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

func (*RequiredDownResponse) Reset

func (x *RequiredDownResponse) Reset()

func (*RequiredDownResponse) String

func (x *RequiredDownResponse) String() string

type RequiredUpRequest

type RequiredUpRequest struct {
	BaseId string `protobuf:"bytes,1,opt,name=base_id,json=baseId,proto3" json:"base_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RequiredUpRequest) Descriptor deprecated

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

Deprecated: Use RequiredUpRequest.ProtoReflect.Descriptor instead.

func (*RequiredUpRequest) GetBaseId

func (x *RequiredUpRequest) GetBaseId() string

func (*RequiredUpRequest) ProtoMessage

func (*RequiredUpRequest) ProtoMessage()

func (*RequiredUpRequest) ProtoReflect

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

func (*RequiredUpRequest) Reset

func (x *RequiredUpRequest) Reset()

func (*RequiredUpRequest) String

func (x *RequiredUpRequest) String() string

type RequiredUpResponse

type RequiredUpResponse struct {
	Success      bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// contains filtered or unexported fields
}

func (*RequiredUpResponse) Descriptor deprecated

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

Deprecated: Use RequiredUpResponse.ProtoReflect.Descriptor instead.

func (*RequiredUpResponse) GetErrorMessage

func (x *RequiredUpResponse) GetErrorMessage() string

func (*RequiredUpResponse) GetSuccess

func (x *RequiredUpResponse) GetSuccess() bool

func (*RequiredUpResponse) ProtoMessage

func (*RequiredUpResponse) ProtoMessage()

func (*RequiredUpResponse) ProtoReflect

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

func (*RequiredUpResponse) Reset

func (x *RequiredUpResponse) Reset()

func (*RequiredUpResponse) String

func (x *RequiredUpResponse) String() string

type ShutdownServiceRequest

type ShutdownServiceRequest struct {
	// contains filtered or unexported fields
}

func (*ShutdownServiceRequest) Descriptor deprecated

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

Deprecated: Use ShutdownServiceRequest.ProtoReflect.Descriptor instead.

func (*ShutdownServiceRequest) ProtoMessage

func (*ShutdownServiceRequest) ProtoMessage()

func (*ShutdownServiceRequest) ProtoReflect

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

func (*ShutdownServiceRequest) Reset

func (x *ShutdownServiceRequest) Reset()

func (*ShutdownServiceRequest) String

func (x *ShutdownServiceRequest) String() string

type ShutdownServiceResponse

type ShutdownServiceResponse struct {
	Success      bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// contains filtered or unexported fields
}

func (*ShutdownServiceResponse) Descriptor deprecated

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

Deprecated: Use ShutdownServiceResponse.ProtoReflect.Descriptor instead.

func (*ShutdownServiceResponse) GetErrorMessage

func (x *ShutdownServiceResponse) GetErrorMessage() string

func (*ShutdownServiceResponse) GetSuccess

func (x *ShutdownServiceResponse) GetSuccess() bool

func (*ShutdownServiceResponse) ProtoMessage

func (*ShutdownServiceResponse) ProtoMessage()

func (*ShutdownServiceResponse) ProtoReflect

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

func (*ShutdownServiceResponse) Reset

func (x *ShutdownServiceResponse) Reset()

func (*ShutdownServiceResponse) String

func (x *ShutdownServiceResponse) String() string

type UnimplementedRegClientServer

type UnimplementedRegClientServer struct {
}

UnimplementedRegClientServer must be embedded to have forward compatible implementations.

func (UnimplementedRegClientServer) AddDependent

func (UnimplementedRegClientServer) DependentDown

func (UnimplementedRegClientServer) DependentUp

func (UnimplementedRegClientServer) HealthCheck

func (UnimplementedRegClientServer) MasterBackUp

func (UnimplementedRegClientServer) MasterGoingDown

func (UnimplementedRegClientServer) RemoveDependent

func (UnimplementedRegClientServer) RemoveRequired

func (UnimplementedRegClientServer) RequiredDown

func (UnimplementedRegClientServer) RequiredUp

func (UnimplementedRegClientServer) ShutdownService

type UnsafeRegClientServer

type UnsafeRegClientServer interface {
	// contains filtered or unexported methods
}

UnsafeRegClientServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RegClientServer will result in compilation errors.

Jump to

Keyboard shortcuts

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