Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CAGrpcClient ¶
type CAGrpcClient interface { // Send CSR to the CA and gets the response or error. SendCSR(*pb.CsrRequest, platform.Client, string) (*pb.CsrResponse, error) }
CAGrpcClient is for implementing the GRPC client to talk to CA.
type CAGrpcClientImpl ¶
type CAGrpcClientImpl struct { }
CAGrpcClientImpl is an implementation of GRPC client to talk to CA.
func (*CAGrpcClientImpl) SendCSR ¶
func (c *CAGrpcClientImpl) SendCSR(req *pb.CsrRequest, pc platform.Client, caAddress string) (*pb.CsrResponse, error)
SendCSR sends CSR to CA through GRPC.
Click to show internal directories.
Click to hide internal directories.