Documentation
¶
Index ¶
Constants ¶
const (
Logs_GetLog_FullMethodName = "/tekton.results.v1alpha3.Logs/GetLog"
)
Variables ¶
var File_log_proto protoreflect.FileDescriptor
var Logs_ServiceDesc = grpc.ServiceDesc{ ServiceName: "tekton.results.v1alpha3.Logs", HandlerType: (*LogsServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "GetLog", Handler: _Logs_GetLog_Handler, ServerStreams: true, }, }, Metadata: "log.proto", }
Logs_ServiceDesc is the grpc.ServiceDesc for Logs service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterLogsServer ¶
func RegisterLogsServer(s grpc.ServiceRegistrar, srv LogsServer)
Types ¶
type GetLogRequest ¶
type GetLogRequest struct { // Name of the log resource to stream Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetLogRequest) Descriptor
deprecated
func (*GetLogRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLogRequest.ProtoReflect.Descriptor instead.
func (*GetLogRequest) GetName ¶
func (x *GetLogRequest) GetName() string
func (*GetLogRequest) ProtoMessage ¶
func (*GetLogRequest) ProtoMessage()
func (*GetLogRequest) ProtoReflect ¶
func (x *GetLogRequest) ProtoReflect() protoreflect.Message
func (*GetLogRequest) Reset ¶
func (x *GetLogRequest) Reset()
func (*GetLogRequest) String ¶
func (x *GetLogRequest) String() string
type LogsClient ¶
type LogsClient interface {
GetLog(ctx context.Context, in *GetLogRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[httpbody.HttpBody], error)
}
LogsClient is the client API for Logs 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 NewLogsClient ¶
func NewLogsClient(cc grpc.ClientConnInterface) LogsClient
type LogsServer ¶
type LogsServer interface { GetLog(*GetLogRequest, grpc.ServerStreamingServer[httpbody.HttpBody]) error // contains filtered or unexported methods }
LogsServer is the server API for Logs service. All implementations must embed UnimplementedLogsServer for forward compatibility.
type Logs_GetLogClient ¶
type Logs_GetLogClient = grpc.ServerStreamingClient[httpbody.HttpBody]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Logs_GetLogServer ¶
type Logs_GetLogServer = grpc.ServerStreamingServer[httpbody.HttpBody]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type UnimplementedLogsServer ¶
type UnimplementedLogsServer struct{}
UnimplementedLogsServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedLogsServer) GetLog ¶
func (UnimplementedLogsServer) GetLog(*GetLogRequest, grpc.ServerStreamingServer[httpbody.HttpBody]) error
type UnsafeLogsServer ¶
type UnsafeLogsServer interface {
// contains filtered or unexported methods
}
UnsafeLogsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LogsServer will result in compilation errors.