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