Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SDK ¶
type SDK struct {
// contains filtered or unexported fields
}
SDK provides a client connection wrapper managing connection pooling and endpoint resolution for gRPC services.
func Build ¶
Build initializes and configures an SDK instance with the provided options and context. It applies default configurations and validates necessary parameters like credentials and endpoints. Returns an SDK instance or an error if initialization fails.
func (*SDK) GetConnection ¶
func (sdk *SDK) GetConnection(ctx context.Context, method protoreflect.FullName, opts ...grpc.CallOption) (grpc.ClientConnInterface, error)
GetConnection retrieves a gRPC client connection for the specified method with optional call options.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package credentials provides functionality for managing authentication and authorization credentials used in SDK operations.
|
Package credentials provides functionality for managing authentication and authorization credentials used in SDK operations. |
|
examples
|
|
|
create-instance
command
|
|
|
lockboxpayload
command
|
|
|
lockboxsecret
command
|
|
|
marketplace/license_lock
command
|
|
|
mdb/clickhouse
command
|
|
|
mdb/mongodb
command
|
|
|
mdb/postgresql
command
|
|
|
retries
command
|
|
|
pkg
|
|
|
authentication
Package authentication provides a interface for IAM (Identity and Access Management) token operations in sdk services.
|
Package authentication provides a interface for IAM (Identity and Access Management) token operations in sdk services. |
|
endpoints
Package endpoints provides functionality for managing service endpoints and endpoint resolution in the Yandex Cloud Go SDK.
|
Package endpoints provides functionality for managing service endpoints and endpoint resolution in the Yandex Cloud Go SDK. |
|
operation
Package operation provides implementation for handling operations in Yandex Cloud Go SDK.
|
Package operation provides implementation for handling operations in Yandex Cloud Go SDK. |
|
transport
Package transport provides functionality for managing gRPC connections and communication in the Yandex Cloud Go SDK.
|
Package transport provides functionality for managing gRPC connections and communication in the Yandex Cloud Go SDK. |
Click to show internal directories.
Click to hide internal directories.