auditv1alpha1grpc

package
v1.3.0-20240418171318-... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AuditService_ListAuditedEvents_FullMethodName = "/buf.alpha.audit.v1alpha1.AuditService/ListAuditedEvents"
)

Variables

View Source
var AuditService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "buf.alpha.audit.v1alpha1.AuditService",
	HandlerType: (*AuditServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListAuditedEvents",
			Handler:    _AuditService_ListAuditedEvents_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "buf/alpha/audit/v1alpha1/service.proto",
}

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

Functions

func RegisterAuditServiceServer

func RegisterAuditServiceServer(s grpc.ServiceRegistrar, srv AuditServiceServer)

Types

type AuditServiceClient

type AuditServiceClient interface {
	// ListAuditedEvents lists audited events recorded in the BSR instance.
	ListAuditedEvents(ctx context.Context, in *v1alpha1.ListAuditedEventsRequest, opts ...grpc.CallOption) (*v1alpha1.ListAuditedEventsResponse, error)
}

AuditServiceClient is the client API for AuditService 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 NewAuditServiceClient

func NewAuditServiceClient(cc grpc.ClientConnInterface) AuditServiceClient

type AuditServiceServer

type AuditServiceServer interface {
	// ListAuditedEvents lists audited events recorded in the BSR instance.
	ListAuditedEvents(context.Context, *v1alpha1.ListAuditedEventsRequest) (*v1alpha1.ListAuditedEventsResponse, error)
}

AuditServiceServer is the server API for AuditService service. All implementations should embed UnimplementedAuditServiceServer for forward compatibility

type UnimplementedAuditServiceServer

type UnimplementedAuditServiceServer struct {
}

UnimplementedAuditServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedAuditServiceServer) ListAuditedEvents

type UnsafeAuditServiceServer

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

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

Jump to

Keyboard shortcuts

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