results_go_proto

package
v0.13.4 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Logs_GetLog_FullMethodName = "/tekton.results.v1alpha3.Logs/GetLog"
)

Variables

View Source
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.

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.

Jump to

Keyboard shortcuts

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