...

Source file src/github.com/letsencrypt/boulder/sa/proto/subsets.go

Documentation: github.com/letsencrypt/boulder/sa/proto

     1  // Copied from the auto-generated sa_grpc.pb.go
     2  
     3  package proto
     4  
     5  import (
     6  	context "context"
     7  
     8  	proto "github.com/letsencrypt/boulder/core/proto"
     9  	grpc "google.golang.org/grpc"
    10  	emptypb "google.golang.org/protobuf/types/known/emptypb"
    11  )
    12  
    13  // StorageAuthorityCertificateClient is a subset of the sapb.StorageAuthorityClient interface that only reads and writes certificates
    14  type StorageAuthorityCertificateClient interface {
    15  	AddSerial(ctx context.Context, in *AddSerialRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
    16  	AddPrecertificate(ctx context.Context, in *AddCertificateRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
    17  	AddCertificate(ctx context.Context, in *AddCertificateRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
    18  	GetCertificate(ctx context.Context, in *Serial, opts ...grpc.CallOption) (*proto.Certificate, error)
    19  	SetCertificateStatusReady(ctx context.Context, in *Serial, opts ...grpc.CallOption) (*emptypb.Empty, error)
    20  }
    21  

View as plain text