25 lines
681 B
Go
25 lines
681 B
Go
// Code generated by sdkgen. DO NOT EDIT.
|
|
|
|
package certificatemanager
|
|
|
|
import (
|
|
"context"
|
|
|
|
"google.golang.org/grpc"
|
|
)
|
|
|
|
// CertificateManager provides access to "certificatemanager" component of Yandex.Cloud
|
|
type CertificateManager struct {
|
|
getConn func(ctx context.Context) (*grpc.ClientConn, error)
|
|
}
|
|
|
|
// NewCertificateManager creates instance of CertificateManager
|
|
func NewCertificateManager(g func(ctx context.Context) (*grpc.ClientConn, error)) *CertificateManager {
|
|
return &CertificateManager{g}
|
|
}
|
|
|
|
// Certificate gets CertificateService client
|
|
func (c *CertificateManager) Certificate() *CertificateServiceClient {
|
|
return &CertificateServiceClient{getConn: c.getConn}
|
|
}
|