github.com/letsencrypt/boulder@v0.20251208.0/mocks/publisher.go (about) 1 package mocks 2 3 import ( 4 "context" 5 6 "google.golang.org/grpc" 7 8 pubpb "github.com/letsencrypt/boulder/publisher/proto" 9 ) 10 11 // PublisherClient is a mock 12 type PublisherClient struct { 13 // empty 14 } 15 16 // SubmitToSingleCTWithResult is a mock 17 func (*PublisherClient) SubmitToSingleCTWithResult(_ context.Context, _ *pubpb.Request, _ ...grpc.CallOption) (*pubpb.Result, error) { 18 return &pubpb.Result{}, nil 19 }