guildhouse-spire-plugins/gen/quartermaster/v1/notary_grpc.pb.go
Tyler King a58d548518 feat: network-policy extension, governance lifecycle, audit remediation
- Network-policy SPIRE plugin extension
- Governance event notification with merkle anchoring
- Shellstream specs for consent channels + HFL embedded ABI
- All 17 audit findings from AUDIT.md remediated
- SSH credential composer + substrate key manager updates
- Test coverage for config + sshcert packages

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-18 15:54:46 -04:00

187 lines
7.6 KiB
Go

// Source of truth: guildhouse monorepo
// services/qm-proto/proto/quartermaster/v1/notary.proto
// This file is a copy for Go code generation. Do not edit here.
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.3.0
// - protoc v3.21.12
// source: quartermaster/v1/notary.proto
package quartermasterv1
import (
context "context"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
)
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
// Requires gRPC-Go v1.32.0 or later.
const _ = grpc.SupportPackageIsVersion7
const (
QuartermasterNotary_CreateAnchor_FullMethodName = "/quartermaster.v1.QuartermasterNotary/CreateAnchor"
QuartermasterNotary_GetLatestAnchor_FullMethodName = "/quartermaster.v1.QuartermasterNotary/GetLatestAnchor"
QuartermasterNotary_VerifyInclusion_FullMethodName = "/quartermaster.v1.QuartermasterNotary/VerifyInclusion"
)
// QuartermasterNotaryClient is the client API for QuartermasterNotary 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 QuartermasterNotaryClient interface {
CreateAnchor(ctx context.Context, in *CreateAnchorRequest, opts ...grpc.CallOption) (*CreateAnchorResponse, error)
GetLatestAnchor(ctx context.Context, in *GetLatestAnchorRequest, opts ...grpc.CallOption) (*GetLatestAnchorResponse, error)
VerifyInclusion(ctx context.Context, in *VerifyInclusionRequest, opts ...grpc.CallOption) (*VerifyInclusionResponse, error)
}
type quartermasterNotaryClient struct {
cc grpc.ClientConnInterface
}
func NewQuartermasterNotaryClient(cc grpc.ClientConnInterface) QuartermasterNotaryClient {
return &quartermasterNotaryClient{cc}
}
func (c *quartermasterNotaryClient) CreateAnchor(ctx context.Context, in *CreateAnchorRequest, opts ...grpc.CallOption) (*CreateAnchorResponse, error) {
out := new(CreateAnchorResponse)
err := c.cc.Invoke(ctx, QuartermasterNotary_CreateAnchor_FullMethodName, in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *quartermasterNotaryClient) GetLatestAnchor(ctx context.Context, in *GetLatestAnchorRequest, opts ...grpc.CallOption) (*GetLatestAnchorResponse, error) {
out := new(GetLatestAnchorResponse)
err := c.cc.Invoke(ctx, QuartermasterNotary_GetLatestAnchor_FullMethodName, in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *quartermasterNotaryClient) VerifyInclusion(ctx context.Context, in *VerifyInclusionRequest, opts ...grpc.CallOption) (*VerifyInclusionResponse, error) {
out := new(VerifyInclusionResponse)
err := c.cc.Invoke(ctx, QuartermasterNotary_VerifyInclusion_FullMethodName, in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// QuartermasterNotaryServer is the server API for QuartermasterNotary service.
// All implementations must embed UnimplementedQuartermasterNotaryServer
// for forward compatibility
type QuartermasterNotaryServer interface {
CreateAnchor(context.Context, *CreateAnchorRequest) (*CreateAnchorResponse, error)
GetLatestAnchor(context.Context, *GetLatestAnchorRequest) (*GetLatestAnchorResponse, error)
VerifyInclusion(context.Context, *VerifyInclusionRequest) (*VerifyInclusionResponse, error)
mustEmbedUnimplementedQuartermasterNotaryServer()
}
// UnimplementedQuartermasterNotaryServer must be embedded to have forward compatible implementations.
type UnimplementedQuartermasterNotaryServer struct {
}
func (UnimplementedQuartermasterNotaryServer) CreateAnchor(context.Context, *CreateAnchorRequest) (*CreateAnchorResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CreateAnchor not implemented")
}
func (UnimplementedQuartermasterNotaryServer) GetLatestAnchor(context.Context, *GetLatestAnchorRequest) (*GetLatestAnchorResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetLatestAnchor not implemented")
}
func (UnimplementedQuartermasterNotaryServer) VerifyInclusion(context.Context, *VerifyInclusionRequest) (*VerifyInclusionResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method VerifyInclusion not implemented")
}
func (UnimplementedQuartermasterNotaryServer) mustEmbedUnimplementedQuartermasterNotaryServer() {}
// UnsafeQuartermasterNotaryServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to QuartermasterNotaryServer will
// result in compilation errors.
type UnsafeQuartermasterNotaryServer interface {
mustEmbedUnimplementedQuartermasterNotaryServer()
}
func RegisterQuartermasterNotaryServer(s grpc.ServiceRegistrar, srv QuartermasterNotaryServer) {
s.RegisterService(&QuartermasterNotary_ServiceDesc, srv)
}
func _QuartermasterNotary_CreateAnchor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CreateAnchorRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(QuartermasterNotaryServer).CreateAnchor(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: QuartermasterNotary_CreateAnchor_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QuartermasterNotaryServer).CreateAnchor(ctx, req.(*CreateAnchorRequest))
}
return interceptor(ctx, in, info, handler)
}
func _QuartermasterNotary_GetLatestAnchor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetLatestAnchorRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(QuartermasterNotaryServer).GetLatestAnchor(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: QuartermasterNotary_GetLatestAnchor_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QuartermasterNotaryServer).GetLatestAnchor(ctx, req.(*GetLatestAnchorRequest))
}
return interceptor(ctx, in, info, handler)
}
func _QuartermasterNotary_VerifyInclusion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(VerifyInclusionRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(QuartermasterNotaryServer).VerifyInclusion(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: QuartermasterNotary_VerifyInclusion_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QuartermasterNotaryServer).VerifyInclusion(ctx, req.(*VerifyInclusionRequest))
}
return interceptor(ctx, in, info, handler)
}
// QuartermasterNotary_ServiceDesc is the grpc.ServiceDesc for QuartermasterNotary service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var QuartermasterNotary_ServiceDesc = grpc.ServiceDesc{
ServiceName: "quartermaster.v1.QuartermasterNotary",
HandlerType: (*QuartermasterNotaryServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "CreateAnchor",
Handler: _QuartermasterNotary_CreateAnchor_Handler,
},
{
MethodName: "GetLatestAnchor",
Handler: _QuartermasterNotary_GetLatestAnchor_Handler,
},
{
MethodName: "VerifyInclusion",
Handler: _QuartermasterNotary_VerifyInclusion_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "quartermaster/v1/notary.proto",
}