Documentation
¶
Index ¶
- Variables
- type SDK
- func (sdk *SDK) CreateIAMToken(ctx context.Context) (authentication.IamToken, error)
- func (sdk *SDK) GetConnection(ctx context.Context, method protoreflect.FullName, opts ...grpc.CallOption) (grpc.ClientConnInterface, error)
- func (sdk *SDK) GetEndpoint(method protoreflect.FullName) (*endpoints.Endpoint, error)
- func (sdk *SDK) Shutdown(ctx context.Context) error
- func (sdk *SDK) WithEndpoints(endpoints *endpoints.PrefixEndpointsResolver) *SDK
- func (sdk *SDK) WithEnpointsResolver(endpointsResolver endpoints.EndpointsResolver) *SDK
Constants ¶
This section is empty.
Variables ¶
View Source
var IamTokenCreateEndpoint = protoreflect.FullName("yandex.cloud.iam.v1.IamTokenService.Create")
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) CreateIAMToken ¶ added in v2.11.0
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.
func (*SDK) GetEndpoint ¶ added in v2.31.0
func (*SDK) Shutdown ¶
Shutdown gracefully terminates the SDK by closing all active gRPC connections in the connection pool.
func (*SDK) WithEndpoints ¶ added in v2.39.0
func (sdk *SDK) WithEndpoints(endpoints *endpoints.PrefixEndpointsResolver) *SDK
func (*SDK) WithEnpointsResolver ¶ added in v2.39.0
func (sdk *SDK) WithEnpointsResolver(endpointsResolver endpoints.EndpointsResolver) *SDK
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. |
|
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. |
|
services
|
|
|
devtools/ycvc/v1
Code generated by sdkgen-v2.
|
Code generated by sdkgen-v2. |
|
endpoint
Code generated by sdkgen-v2.
|
Code generated by sdkgen-v2. |
|
endpoints
Code generated by sdkgen-v2.
|
Code generated by sdkgen-v2. |
|
iam/v1
Code generated by sdkgen-v2.
|
Code generated by sdkgen-v2. |
|
iam/v1/awscompatibility
Code generated by sdkgen-v2.
|
Code generated by sdkgen-v2. |
|
iam/v1/workload
Code generated by sdkgen-v2.
|
Code generated by sdkgen-v2. |
|
iam/v1/workload/oidc
Code generated by sdkgen-v2.
|
Code generated by sdkgen-v2. |
Click to show internal directories.
Click to hide internal directories.