Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type V1 ¶
type V1 interface { // IssueCertificate issues certificate for client. IssueCertificate(context.Context, *securityv1.CertificateRequest, ...grpc.CallOption) (*securityv1.CertificateResponse, error) // Close tears down the ClientConn and all underlying connections. Close() error }
ClientV1 is the interface for v1 version of the grpc client.
func GetV1ByAddr ¶
func GetV1ByAddr(ctx context.Context, netAddrs []dfnet.NetAddr, opts ...grpc.DialOption) (V1, error)
GetClientV1ByAddr returns v1 version of the security client with addresses.
Click to show internal directories.
Click to hide internal directories.