lbos_t1_healthcheck

package
v0.0.0-...-b5aaafc Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_t1_healthcheck_proto protoreflect.FileDescriptor
View Source
var HealthcheckWorker_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "lbos.t1.healthcheck.HealthcheckWorker",
	HandlerType: (*HealthcheckWorkerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "IsHttpAdvancedCheckOk",
			Handler:    _HealthcheckWorker_IsHttpAdvancedCheckOk_Handler,
		},
		{
			MethodName: "IsHttpCheckOk",
			Handler:    _HealthcheckWorker_IsHttpCheckOk_Handler,
		},
		{
			MethodName: "IsHttpsCheckOk",
			Handler:    _HealthcheckWorker_IsHttpsCheckOk_Handler,
		},
		{
			MethodName: "IsIcmpCheckOk",
			Handler:    _HealthcheckWorker_IsIcmpCheckOk_Handler,
		},
		{
			MethodName: "IsTcpCheckOk",
			Handler:    _HealthcheckWorker_IsTcpCheckOk_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "t1-healthcheck.proto",
}

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

Functions

func RegisterHealthcheckWorkerServer

func RegisterHealthcheckWorkerServer(s grpc.ServiceRegistrar, srv HealthcheckWorkerServer)

Types

type HealthcheckWorkerClient

type HealthcheckWorkerClient interface {
	IsHttpAdvancedCheckOk(ctx context.Context, in *HttpAdvancedData, opts ...grpc.CallOption) (*IsOk, error)
	IsHttpCheckOk(ctx context.Context, in *HttpData, opts ...grpc.CallOption) (*IsOk, error)
	IsHttpsCheckOk(ctx context.Context, in *HttpsData, opts ...grpc.CallOption) (*IsOk, error)
	IsIcmpCheckOk(ctx context.Context, in *IcmpData, opts ...grpc.CallOption) (*IsOk, error)
	IsTcpCheckOk(ctx context.Context, in *TcpData, opts ...grpc.CallOption) (*IsOk, error)
}

HealthcheckWorkerClient is the client API for HealthcheckWorker 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.

type HealthcheckWorkerServer

type HealthcheckWorkerServer interface {
	IsHttpAdvancedCheckOk(context.Context, *HttpAdvancedData) (*IsOk, error)
	IsHttpCheckOk(context.Context, *HttpData) (*IsOk, error)
	IsHttpsCheckOk(context.Context, *HttpsData) (*IsOk, error)
	IsIcmpCheckOk(context.Context, *IcmpData) (*IsOk, error)
	IsTcpCheckOk(context.Context, *TcpData) (*IsOk, error)
	// contains filtered or unexported methods
}

HealthcheckWorkerServer is the server API for HealthcheckWorker service. All implementations must embed UnimplementedHealthcheckWorkerServer for forward compatibility

type HttpAdvancedData

type HttpAdvancedData struct {
	HealthcheckType    string             `protobuf:"bytes,1,opt,name=healthcheckType,proto3" json:"healthcheckType,omitempty"`
	HealthcheckAddress string             `protobuf:"bytes,2,opt,name=healthcheckAddress,proto3" json:"healthcheckAddress,omitempty"`
	NearFieldsMode     bool               `protobuf:"varint,3,opt,name=nearFieldsMode,proto3" json:"nearFieldsMode,omitempty"`
	UserDefinedData    map[string]string  `` /* 171-byte string literal not displayed */
	Timeout            *duration.Duration `protobuf:"bytes,5,opt,name=timeout,proto3" json:"timeout,omitempty"`
	Fwmark             int64              `protobuf:"varint,6,opt,name=fwmark,proto3" json:"fwmark,omitempty"`
	Id                 string             `protobuf:"bytes,7,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*HttpAdvancedData) Descriptor deprecated

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

Deprecated: Use HttpAdvancedData.ProtoReflect.Descriptor instead.

func (*HttpAdvancedData) GetFwmark

func (x *HttpAdvancedData) GetFwmark() int64

func (*HttpAdvancedData) GetHealthcheckAddress

func (x *HttpAdvancedData) GetHealthcheckAddress() string

func (*HttpAdvancedData) GetHealthcheckType

func (x *HttpAdvancedData) GetHealthcheckType() string

func (*HttpAdvancedData) GetId

func (x *HttpAdvancedData) GetId() string

func (*HttpAdvancedData) GetNearFieldsMode

func (x *HttpAdvancedData) GetNearFieldsMode() bool

func (*HttpAdvancedData) GetTimeout

func (x *HttpAdvancedData) GetTimeout() *duration.Duration

func (*HttpAdvancedData) GetUserDefinedData

func (x *HttpAdvancedData) GetUserDefinedData() map[string]string

func (*HttpAdvancedData) ProtoMessage

func (*HttpAdvancedData) ProtoMessage()

func (*HttpAdvancedData) ProtoReflect

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

func (*HttpAdvancedData) Reset

func (x *HttpAdvancedData) Reset()

func (*HttpAdvancedData) String

func (x *HttpAdvancedData) String() string

type HttpData

type HttpData struct {
	HealthcheckAddress string             `protobuf:"bytes,1,opt,name=healthcheckAddress,proto3" json:"healthcheckAddress,omitempty"`
	Uri                string             `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
	ValidResponseCodes []int64            `protobuf:"varint,3,rep,packed,name=validResponseCodes,proto3" json:"validResponseCodes,omitempty"`
	Timeout            *duration.Duration `protobuf:"bytes,4,opt,name=timeout,proto3" json:"timeout,omitempty"`
	Fwmark             int64              `protobuf:"varint,5,opt,name=fwmark,proto3" json:"fwmark,omitempty"`
	Id                 string             `protobuf:"bytes,6,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*HttpData) Descriptor deprecated

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

Deprecated: Use HttpData.ProtoReflect.Descriptor instead.

func (*HttpData) GetFwmark

func (x *HttpData) GetFwmark() int64

func (*HttpData) GetHealthcheckAddress

func (x *HttpData) GetHealthcheckAddress() string

func (*HttpData) GetId

func (x *HttpData) GetId() string

func (*HttpData) GetTimeout

func (x *HttpData) GetTimeout() *duration.Duration

func (*HttpData) GetUri

func (x *HttpData) GetUri() string

func (*HttpData) GetValidResponseCodes

func (x *HttpData) GetValidResponseCodes() []int64

func (*HttpData) ProtoMessage

func (*HttpData) ProtoMessage()

func (*HttpData) ProtoReflect

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

func (*HttpData) Reset

func (x *HttpData) Reset()

func (*HttpData) String

func (x *HttpData) String() string

type HttpsData

type HttpsData struct {
	HealthcheckAddress string             `protobuf:"bytes,1,opt,name=healthcheckAddress,proto3" json:"healthcheckAddress,omitempty"`
	Uri                string             `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
	ValidResponseCodes []int64            `protobuf:"varint,3,rep,packed,name=validResponseCodes,proto3" json:"validResponseCodes,omitempty"`
	Timeout            *duration.Duration `protobuf:"bytes,4,opt,name=timeout,proto3" json:"timeout,omitempty"`
	Fwmark             int64              `protobuf:"varint,5,opt,name=fwmark,proto3" json:"fwmark,omitempty"`
	Id                 string             `protobuf:"bytes,6,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*HttpsData) Descriptor deprecated

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

Deprecated: Use HttpsData.ProtoReflect.Descriptor instead.

func (*HttpsData) GetFwmark

func (x *HttpsData) GetFwmark() int64

func (*HttpsData) GetHealthcheckAddress

func (x *HttpsData) GetHealthcheckAddress() string

func (*HttpsData) GetId

func (x *HttpsData) GetId() string

func (*HttpsData) GetTimeout

func (x *HttpsData) GetTimeout() *duration.Duration

func (*HttpsData) GetUri

func (x *HttpsData) GetUri() string

func (*HttpsData) GetValidResponseCodes

func (x *HttpsData) GetValidResponseCodes() []int64

func (*HttpsData) ProtoMessage

func (*HttpsData) ProtoMessage()

func (*HttpsData) ProtoReflect

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

func (*HttpsData) Reset

func (x *HttpsData) Reset()

func (*HttpsData) String

func (x *HttpsData) String() string

type IcmpData

type IcmpData struct {
	IpS     string             `protobuf:"bytes,1,opt,name=ipS,proto3" json:"ipS,omitempty"`
	Timeout *duration.Duration `protobuf:"bytes,2,opt,name=timeout,proto3" json:"timeout,omitempty"`
	Fwmark  int64              `protobuf:"varint,3,opt,name=fwmark,proto3" json:"fwmark,omitempty"`
	Id      string             `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*IcmpData) Descriptor deprecated

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

Deprecated: Use IcmpData.ProtoReflect.Descriptor instead.

func (*IcmpData) GetFwmark

func (x *IcmpData) GetFwmark() int64

func (*IcmpData) GetId

func (x *IcmpData) GetId() string

func (*IcmpData) GetIpS

func (x *IcmpData) GetIpS() string

func (*IcmpData) GetTimeout

func (x *IcmpData) GetTimeout() *duration.Duration

func (*IcmpData) ProtoMessage

func (*IcmpData) ProtoMessage()

func (*IcmpData) ProtoReflect

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

func (*IcmpData) Reset

func (x *IcmpData) Reset()

func (*IcmpData) String

func (x *IcmpData) String() string

type IsOk

type IsOk struct {
	IsOk bool   `protobuf:"varint,1,opt,name=isOk,proto3" json:"isOk,omitempty"`
	Id   string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*IsOk) Descriptor deprecated

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

Deprecated: Use IsOk.ProtoReflect.Descriptor instead.

func (*IsOk) GetId

func (x *IsOk) GetId() string

func (*IsOk) GetIsOk

func (x *IsOk) GetIsOk() bool

func (*IsOk) ProtoMessage

func (*IsOk) ProtoMessage()

func (*IsOk) ProtoReflect

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

func (*IsOk) Reset

func (x *IsOk) Reset()

func (*IsOk) String

func (x *IsOk) String() string

type TcpData

type TcpData struct {
	HealthcheckAddress string             `protobuf:"bytes,1,opt,name=healthcheckAddress,proto3" json:"healthcheckAddress,omitempty"`
	Timeout            *duration.Duration `protobuf:"bytes,2,opt,name=timeout,proto3" json:"timeout,omitempty"`
	Fwmark             int64              `protobuf:"varint,3,opt,name=fwmark,proto3" json:"fwmark,omitempty"`
	Id                 string             `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*TcpData) Descriptor deprecated

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

Deprecated: Use TcpData.ProtoReflect.Descriptor instead.

func (*TcpData) GetFwmark

func (x *TcpData) GetFwmark() int64

func (*TcpData) GetHealthcheckAddress

func (x *TcpData) GetHealthcheckAddress() string

func (*TcpData) GetId

func (x *TcpData) GetId() string

func (*TcpData) GetTimeout

func (x *TcpData) GetTimeout() *duration.Duration

func (*TcpData) ProtoMessage

func (*TcpData) ProtoMessage()

func (*TcpData) ProtoReflect

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

func (*TcpData) Reset

func (x *TcpData) Reset()

func (*TcpData) String

func (x *TcpData) String() string

type UnimplementedHealthcheckWorkerServer

type UnimplementedHealthcheckWorkerServer struct {
}

UnimplementedHealthcheckWorkerServer must be embedded to have forward compatible implementations.

func (UnimplementedHealthcheckWorkerServer) IsHttpAdvancedCheckOk

func (UnimplementedHealthcheckWorkerServer) IsHttpCheckOk

func (UnimplementedHealthcheckWorkerServer) IsHttpsCheckOk

func (UnimplementedHealthcheckWorkerServer) IsIcmpCheckOk

func (UnimplementedHealthcheckWorkerServer) IsTcpCheckOk

type UnsafeHealthcheckWorkerServer

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

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

Jump to

Keyboard shortcuts

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