v1

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CheckService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pkg.proto.check.v1.CheckService",
	HandlerType: (*CheckServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetAllByRoundID",
			Handler:    _CheckService_GetAllByRoundID_Handler,
		},
		{
			MethodName: "GetByRoundServiceID",
			Handler:    _CheckService_GetByRoundServiceID_Handler,
		},
		{
			MethodName: "GetAllByServiceID",
			Handler:    _CheckService_GetAllByServiceID_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pkg/proto/check/v1/check.proto",
}

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

View Source
var File_pkg_proto_check_v1_check_proto protoreflect.FileDescriptor

Functions

func RegisterCheckServiceServer

func RegisterCheckServiceServer(s grpc.ServiceRegistrar, srv CheckServiceServer)

Types

type Check

type Check struct {
	ServiceId *v1.UUID              `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	RoundId   uint64                `protobuf:"varint,2,opt,name=round_id,json=roundId,proto3" json:"round_id,omitempty"`
	Log       string                `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"`
	Err       string                `protobuf:"bytes,4,opt,name=err,proto3" json:"err,omitempty"`
	Passed    *wrapperspb.BoolValue `protobuf:"bytes,5,opt,name=passed,proto3" json:"passed,omitempty"`
	// contains filtered or unexported fields
}

func (*Check) Descriptor deprecated

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

Deprecated: Use Check.ProtoReflect.Descriptor instead.

func (*Check) GetErr

func (x *Check) GetErr() string

func (*Check) GetLog

func (x *Check) GetLog() string

func (*Check) GetPassed

func (x *Check) GetPassed() *wrapperspb.BoolValue

func (*Check) GetRoundId

func (x *Check) GetRoundId() uint64

func (*Check) GetServiceId

func (x *Check) GetServiceId() *v1.UUID

func (*Check) ProtoMessage

func (*Check) ProtoMessage()

func (*Check) ProtoReflect

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

func (*Check) Reset

func (x *Check) Reset()

func (*Check) String

func (x *Check) String() string

type CheckServiceClient

type CheckServiceClient interface {
	GetAllByRoundID(ctx context.Context, in *GetAllByRoundIDRequest, opts ...grpc.CallOption) (*GetAllByRoundIDResponse, error)
	GetByRoundServiceID(ctx context.Context, in *GetByRoundServiceIDRequest, opts ...grpc.CallOption) (*GetByRoundServiceIDResponse, error)
	GetAllByServiceID(ctx context.Context, in *GetAllByServiceIDRequest, opts ...grpc.CallOption) (*GetAllByServiceIDResponse, error)
}

CheckServiceClient is the client API for CheckService 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 CheckServiceServer

type CheckServiceServer interface {
	GetAllByRoundID(context.Context, *GetAllByRoundIDRequest) (*GetAllByRoundIDResponse, error)
	GetByRoundServiceID(context.Context, *GetByRoundServiceIDRequest) (*GetByRoundServiceIDResponse, error)
	GetAllByServiceID(context.Context, *GetAllByServiceIDRequest) (*GetAllByServiceIDResponse, error)
	// contains filtered or unexported methods
}

CheckServiceServer is the server API for CheckService service. All implementations must embed UnimplementedCheckServiceServer for forward compatibility

type GetAllByRoundIDRequest

type GetAllByRoundIDRequest struct {
	RoundId uint64 `protobuf:"varint,1,opt,name=round_id,json=roundId,proto3" json:"round_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAllByRoundIDRequest) Descriptor deprecated

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

Deprecated: Use GetAllByRoundIDRequest.ProtoReflect.Descriptor instead.

func (*GetAllByRoundIDRequest) GetRoundId

func (x *GetAllByRoundIDRequest) GetRoundId() uint64

func (*GetAllByRoundIDRequest) ProtoMessage

func (*GetAllByRoundIDRequest) ProtoMessage()

func (*GetAllByRoundIDRequest) ProtoReflect

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

func (*GetAllByRoundIDRequest) Reset

func (x *GetAllByRoundIDRequest) Reset()

func (*GetAllByRoundIDRequest) String

func (x *GetAllByRoundIDRequest) String() string

type GetAllByRoundIDResponse

type GetAllByRoundIDResponse struct {
	Checks []*Check `protobuf:"bytes,1,rep,name=checks,proto3" json:"checks,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAllByRoundIDResponse) Descriptor deprecated

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

Deprecated: Use GetAllByRoundIDResponse.ProtoReflect.Descriptor instead.

func (*GetAllByRoundIDResponse) GetChecks

func (x *GetAllByRoundIDResponse) GetChecks() []*Check

func (*GetAllByRoundIDResponse) ProtoMessage

func (*GetAllByRoundIDResponse) ProtoMessage()

func (*GetAllByRoundIDResponse) ProtoReflect

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

func (*GetAllByRoundIDResponse) Reset

func (x *GetAllByRoundIDResponse) Reset()

func (*GetAllByRoundIDResponse) String

func (x *GetAllByRoundIDResponse) String() string

type GetAllByServiceIDRequest

type GetAllByServiceIDRequest struct {
	ServiceId *v1.UUID `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAllByServiceIDRequest) Descriptor deprecated

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

Deprecated: Use GetAllByServiceIDRequest.ProtoReflect.Descriptor instead.

func (*GetAllByServiceIDRequest) GetServiceId

func (x *GetAllByServiceIDRequest) GetServiceId() *v1.UUID

func (*GetAllByServiceIDRequest) ProtoMessage

func (*GetAllByServiceIDRequest) ProtoMessage()

func (*GetAllByServiceIDRequest) ProtoReflect

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

func (*GetAllByServiceIDRequest) Reset

func (x *GetAllByServiceIDRequest) Reset()

func (*GetAllByServiceIDRequest) String

func (x *GetAllByServiceIDRequest) String() string

type GetAllByServiceIDResponse

type GetAllByServiceIDResponse struct {
	Checks []*Check `protobuf:"bytes,1,rep,name=checks,proto3" json:"checks,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAllByServiceIDResponse) Descriptor deprecated

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

Deprecated: Use GetAllByServiceIDResponse.ProtoReflect.Descriptor instead.

func (*GetAllByServiceIDResponse) GetChecks

func (x *GetAllByServiceIDResponse) GetChecks() []*Check

func (*GetAllByServiceIDResponse) ProtoMessage

func (*GetAllByServiceIDResponse) ProtoMessage()

func (*GetAllByServiceIDResponse) ProtoReflect

func (*GetAllByServiceIDResponse) Reset

func (x *GetAllByServiceIDResponse) Reset()

func (*GetAllByServiceIDResponse) String

func (x *GetAllByServiceIDResponse) String() string

type GetByRoundServiceIDRequest

type GetByRoundServiceIDRequest struct {
	ServiceId *v1.UUID `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	RoundId   uint64   `protobuf:"varint,2,opt,name=round_id,json=roundId,proto3" json:"round_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetByRoundServiceIDRequest) Descriptor deprecated

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

Deprecated: Use GetByRoundServiceIDRequest.ProtoReflect.Descriptor instead.

func (*GetByRoundServiceIDRequest) GetRoundId

func (x *GetByRoundServiceIDRequest) GetRoundId() uint64

func (*GetByRoundServiceIDRequest) GetServiceId

func (x *GetByRoundServiceIDRequest) GetServiceId() *v1.UUID

func (*GetByRoundServiceIDRequest) ProtoMessage

func (*GetByRoundServiceIDRequest) ProtoMessage()

func (*GetByRoundServiceIDRequest) ProtoReflect

func (*GetByRoundServiceIDRequest) Reset

func (x *GetByRoundServiceIDRequest) Reset()

func (*GetByRoundServiceIDRequest) String

func (x *GetByRoundServiceIDRequest) String() string

type GetByRoundServiceIDResponse

type GetByRoundServiceIDResponse struct {
	Check *Check `protobuf:"bytes,1,opt,name=check,proto3" json:"check,omitempty"`
	// contains filtered or unexported fields
}

func (*GetByRoundServiceIDResponse) Descriptor deprecated

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

Deprecated: Use GetByRoundServiceIDResponse.ProtoReflect.Descriptor instead.

func (*GetByRoundServiceIDResponse) GetCheck

func (x *GetByRoundServiceIDResponse) GetCheck() *Check

func (*GetByRoundServiceIDResponse) ProtoMessage

func (*GetByRoundServiceIDResponse) ProtoMessage()

func (*GetByRoundServiceIDResponse) ProtoReflect

func (*GetByRoundServiceIDResponse) Reset

func (x *GetByRoundServiceIDResponse) Reset()

func (*GetByRoundServiceIDResponse) String

func (x *GetByRoundServiceIDResponse) String() string

type UnimplementedCheckServiceServer

type UnimplementedCheckServiceServer struct {
}

UnimplementedCheckServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedCheckServiceServer) GetAllByRoundID

func (UnimplementedCheckServiceServer) GetAllByServiceID

type UnsafeCheckServiceServer

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

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

Jump to

Keyboard shortcuts

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