clconnectv1

package
v0.24.26 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	InducedError_name = map[int32]string{
		0: "INDUCED_ERROR_UNSPECIFIED",
		1: "INDUCED_ERROR_UNKNOWN",
		2: "INDUCED_ERROR_PANIC",
	}
	InducedError_value = map[string]int32{
		"INDUCED_ERROR_UNSPECIFIED": 0,
		"INDUCED_ERROR_UNKNOWN":     1,
		"INDUCED_ERROR_PANIC":       2,
	}
)

Enum value maps for InducedError.

View Source
var File_clconnect_v1_rpc_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CheckHealthRequest added in v0.18.1

type CheckHealthRequest struct {

	// echo will cause the respose to include the message
	Echo string `protobuf:"bytes,1,opt,name=echo,proto3" json:"echo,omitempty"`
	// induce error
	InduceError InducedError `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

Request for checking health

func (*CheckHealthRequest) Descriptor deprecated added in v0.18.1

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

Deprecated: Use CheckHealthRequest.ProtoReflect.Descriptor instead.

func (*CheckHealthRequest) GetEcho added in v0.18.1

func (x *CheckHealthRequest) GetEcho() string

func (*CheckHealthRequest) GetInduceError added in v0.18.1

func (x *CheckHealthRequest) GetInduceError() InducedError

func (*CheckHealthRequest) ProtoMessage added in v0.18.1

func (*CheckHealthRequest) ProtoMessage()

func (*CheckHealthRequest) ProtoReflect added in v0.18.1

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

func (*CheckHealthRequest) Reset added in v0.18.1

func (x *CheckHealthRequest) Reset()

func (*CheckHealthRequest) String added in v0.18.1

func (x *CheckHealthRequest) String() string

type CheckHealthResponse added in v0.18.1

type CheckHealthResponse struct {

	// echo response
	Echo string `protobuf:"bytes,1,opt,name=echo,proto3" json:"echo,omitempty"`
	// contains filtered or unexported fields
}

Reponse for for cheking ehalth

func (*CheckHealthResponse) Descriptor deprecated added in v0.18.1

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

Deprecated: Use CheckHealthResponse.ProtoReflect.Descriptor instead.

func (*CheckHealthResponse) GetEcho added in v0.18.1

func (x *CheckHealthResponse) GetEcho() string

func (*CheckHealthResponse) ProtoMessage added in v0.18.1

func (*CheckHealthResponse) ProtoMessage()

func (*CheckHealthResponse) ProtoReflect added in v0.18.1

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

func (*CheckHealthResponse) Reset added in v0.18.1

func (x *CheckHealthResponse) Reset()

func (*CheckHealthResponse) String added in v0.18.1

func (x *CheckHealthResponse) String() string

type FooRequest added in v0.18.2

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

Simple test request

func (*FooRequest) Descriptor deprecated added in v0.18.2

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

Deprecated: Use FooRequest.ProtoReflect.Descriptor instead.

func (*FooRequest) ProtoMessage added in v0.18.2

func (*FooRequest) ProtoMessage()

func (*FooRequest) ProtoReflect added in v0.18.2

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

func (*FooRequest) Reset added in v0.18.2

func (x *FooRequest) Reset()

func (*FooRequest) String added in v0.18.2

func (x *FooRequest) String() string

type FooResponse added in v0.18.2

type FooResponse struct {

	// some response data
	Bar string `protobuf:"bytes,1,opt,name=bar,proto3" json:"bar,omitempty"`
	// contains filtered or unexported fields
}

Simple test response

func (*FooResponse) Descriptor deprecated added in v0.18.2

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

Deprecated: Use FooResponse.ProtoReflect.Descriptor instead.

func (*FooResponse) GetBar added in v0.21.3

func (x *FooResponse) GetBar() string

func (*FooResponse) ProtoMessage added in v0.18.2

func (*FooResponse) ProtoMessage()

func (*FooResponse) ProtoReflect added in v0.18.2

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

func (*FooResponse) Reset added in v0.18.2

func (x *FooResponse) Reset()

func (*FooResponse) String added in v0.18.2

func (x *FooResponse) String() string

type InducedError added in v0.18.1

type InducedError int32

the health check endpoint allows for inducing errors.

const (
	// when no induced error is specified
	InducedError_INDUCED_ERROR_UNSPECIFIED InducedError = 0
	// induces a unknown error
	InducedError_INDUCED_ERROR_UNKNOWN InducedError = 1
	// induces a panic
	InducedError_INDUCED_ERROR_PANIC InducedError = 2
)

func (InducedError) Descriptor added in v0.18.1

func (InducedError) Enum added in v0.18.1

func (x InducedError) Enum() *InducedError

func (InducedError) EnumDescriptor deprecated added in v0.18.1

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

Deprecated: Use InducedError.Descriptor instead.

func (InducedError) Number added in v0.18.1

func (InducedError) String added in v0.18.1

func (x InducedError) String() string

func (InducedError) Type added in v0.18.1

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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