completedactionlogger

package
v0.0.0-...-31d23d1 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2025 License: Apache-2.0 Imports: 11 Imported by: 4

Documentation

Index

Constants

View Source
const (
	CompletedActionLogger_LogCompletedActions_FullMethodName = "/buildbarn.completedactionlogger.CompletedActionLogger/LogCompletedActions"
)

Variables

View Source
var CompletedActionLogger_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "buildbarn.completedactionlogger.CompletedActionLogger",
	HandlerType: (*CompletedActionLoggerServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "LogCompletedActions",
			Handler:       _CompletedActionLogger_LogCompletedActions_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "pkg/proto/completedactionlogger/completed_action_logger.proto",
}

CompletedActionLogger_ServiceDesc is the grpc.ServiceDesc for CompletedActionLogger 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_completedactionlogger_completed_action_logger_proto protoreflect.FileDescriptor

Functions

func RegisterCompletedActionLoggerServer

func RegisterCompletedActionLoggerServer(s grpc.ServiceRegistrar, srv CompletedActionLoggerServer)

Types

type CompletedAction

type CompletedAction struct {
	HistoricalExecuteResponse *cas.HistoricalExecuteResponse `` /* 138-byte string literal not displayed */
	Uuid                      string                         `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
	InstanceName              string                         `protobuf:"bytes,3,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty"`
	DigestFunction            v2.DigestFunction_Value        `` /* 162-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CompletedAction) Descriptor deprecated

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

Deprecated: Use CompletedAction.ProtoReflect.Descriptor instead.

func (*CompletedAction) GetDigestFunction

func (x *CompletedAction) GetDigestFunction() v2.DigestFunction_Value

func (*CompletedAction) GetHistoricalExecuteResponse

func (x *CompletedAction) GetHistoricalExecuteResponse() *cas.HistoricalExecuteResponse

func (*CompletedAction) GetInstanceName

func (x *CompletedAction) GetInstanceName() string

func (*CompletedAction) GetUuid

func (x *CompletedAction) GetUuid() string

func (*CompletedAction) ProtoMessage

func (*CompletedAction) ProtoMessage()

func (*CompletedAction) ProtoReflect

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

func (*CompletedAction) Reset

func (x *CompletedAction) Reset()

func (*CompletedAction) String

func (x *CompletedAction) String() string

type CompletedActionLoggerClient

type CompletedActionLoggerClient interface {
	LogCompletedActions(ctx context.Context, opts ...grpc.CallOption) (CompletedActionLogger_LogCompletedActionsClient, error)
}

CompletedActionLoggerClient is the client API for CompletedActionLogger 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 CompletedActionLoggerServer

type CompletedActionLoggerServer interface {
	LogCompletedActions(CompletedActionLogger_LogCompletedActionsServer) error
}

CompletedActionLoggerServer is the server API for CompletedActionLogger service. All implementations should embed UnimplementedCompletedActionLoggerServer for forward compatibility

type CompletedActionLogger_LogCompletedActionsClient

type CompletedActionLogger_LogCompletedActionsClient interface {
	Send(*CompletedAction) error
	Recv() (*emptypb.Empty, error)
	grpc.ClientStream
}

type CompletedActionLogger_LogCompletedActionsServer

type CompletedActionLogger_LogCompletedActionsServer interface {
	Send(*emptypb.Empty) error
	Recv() (*CompletedAction, error)
	grpc.ServerStream
}

type UnimplementedCompletedActionLoggerServer

type UnimplementedCompletedActionLoggerServer struct {
}

UnimplementedCompletedActionLoggerServer should be embedded to have forward compatible implementations.

func (UnimplementedCompletedActionLoggerServer) LogCompletedActions

type UnsafeCompletedActionLoggerServer

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

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

Jump to

Keyboard shortcuts

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