Documentation ¶
Index ¶
- Constants
- func WithAuthAsServiceAccount(serviceAccountID string) grpc.CallOption
- func WithAuthAsServiceAccounts(saGetter SAGetter) grpc.CallOption
- type AI
- func (m *AI) Embeddings() *embedding.FoundationModelsEmbedding
- func (m *AI) ImageGeneration() *image_generation.FoundationModelsImageGeneration
- func (m *AI) OCR() *ocr.OCR
- func (m *AI) STT() *stt.STT
- func (m *AI) STTV3() *sttv3.STT
- func (m *AI) TextClassification() *text_classification.FoundationModelsTextClassification
- func (m *AI) TextGeneration() *text_generation.FoundationModelsTextGeneration
- func (m *AI) Translate() *translate.Translate
- func (m *AI) Vision() *vision.Vision
- type Authenticator
- type Config
- type Credentials
- type Endpoint
- type ExchangeableCredentials
- type IAMTokenCredentials
- type IamTokenMiddleware
- func (c *IamTokenMiddleware) GetIAMToken(ctx context.Context, originalSubject bool, opts ...grpc.CallOption) (string, error)
- func (c *IamTokenMiddleware) InterceptStream(ctx context.Context, desc *grpc.StreamDesc, conn *grpc.ClientConn, ...) (grpc.ClientStream, error)
- func (c *IamTokenMiddleware) InterceptUnary(ctx context.Context, method string, req, reply interface{}, ...) error
- type IoT
- type MDB
- func (m *MDB) Clickhouse() *clickhouse.Clickhouse
- func (m *MDB) ElasticSearch() *elasticsearch.ElasticSearch
- func (m *MDB) Greenplum() *greenplum.Greenplum
- func (m *MDB) Kafka() *kafka.Kafka
- func (m *MDB) MongoDB() *mongodb.MongoDB
- func (m *MDB) MySQL() *mysql.MySQL
- func (m *MDB) OpenSearch() *opensearch.OpenSearch
- func (m *MDB) PostgreSQL() *postgresql.PostgreSQL
- func (m *MDB) Redis() *redis.Redis
- func (m *MDB) SQLServer() *sqlserver.SQLServer
- type Marketplace
- type NoCredentials
- type NonExchangeableCredentials
- type Resolver
- type SAGetter
- type SDK
- func (sdk *SDK) AI() *AI
- func (sdk *SDK) Airflow() *airflow.Airflow
- func (sdk *SDK) ApiEndpoint() *apiendpoint.APIEndpoint
- func (sdk *SDK) ApplicationLoadBalancer() *apploadbalancer.LoadBalancer
- func (sdk *SDK) AuditTrails() *audittrails.AuditTrails
- func (sdk *SDK) Backup() *backup.Backup
- func (sdk *SDK) Billing() *billing.Billing
- func (sdk *SDK) CDN() *cdn.CDN
- func (sdk *SDK) Certificates() *certificatemanager.CertificateManager
- func (sdk *SDK) CertificatesData() *certificatemanagerdata.CertificateManagerData
- func (sdk *SDK) CheckEndpointConnection(ctx context.Context, endpoint Endpoint) error
- func (sdk *SDK) Compute() *compute.Compute
- func (sdk *SDK) ContainerRegistry() *containerregistry.ContainerRegistry
- func (sdk *SDK) CreateIAMToken(ctx context.Context) (*iampb.CreateIamTokenResponse, error)
- func (sdk *SDK) CreateIAMTokenForServiceAccount(ctx context.Context, serviceAccountID string) (*iampb.CreateIamTokenResponse, error)
- func (sdk *SDK) DNS() *dns.DNS
- func (sdk *SDK) DataTransfer() *datatransfer.DataTransfer
- func (sdk *SDK) Dataproc() *dataproc.Dataproc
- func (sdk *SDK) Datasphere() *datasphere.Datasphere
- func (sdk *SDK) Endpoint(endpointName Endpoint) (ep *endpoint.ApiEndpoint, exist bool)
- func (sdk *SDK) GroupMappingServiceClient() *organizationmanager.GroupMappingServiceClient
- func (sdk *SDK) IAM() *iam.IAM
- func (sdk *SDK) InitErr() error
- func (sdk *SDK) InstanceGroup() *instancegroup.InstanceGroup
- func (sdk *SDK) IoT() *IoT
- func (sdk *SDK) KMS() *kms.KMS
- func (sdk *SDK) KMSAsymmetricEncryption() *kmsasymmetricencryption.KMSAsymmetricEncryption
- func (sdk *SDK) KMSAsymmetricEncryptionCrypto() *kmsasymmetricencryptioncrypto.KMSAsymmetricEncryptionCrypto
- func (sdk *SDK) KMSAsymmetricSignature() *kmsasymmetricsignature.KMSAsymmetricSignature
- func (sdk *SDK) KMSAsymmetricSignatureCrypto() *kmsasymmetricsignaturecrypto.KMSAsymmetricSignatureCrypto
- func (sdk *SDK) KMSCrypto() *kmscrypto.KMSCrypto
- func (sdk *SDK) KnownServices() []string
- func (sdk *SDK) Kubernetes() *k8s.Kubernetes
- func (sdk *SDK) KubernetesMarketplace() *marketplace.KubernetesMarketplace
- func (sdk *SDK) LoadBalancer() *loadbalancer.LoadBalancer
- func (sdk *SDK) Loadtesting() *loadtestingapi.Loadtesting
- func (sdk *SDK) LoadtestingAgent() *loadtestingagent.LoadtestingAgentAPI
- func (sdk *SDK) LockboxPayload() *lockboxpayload.LockboxPayload
- func (sdk *SDK) LockboxSecret() *lockboxsecret.LockboxSecret
- func (sdk *SDK) LogIngestion() *ingestion.LogIngestion
- func (sdk *SDK) LogReading() *reading.LogReading
- func (sdk *SDK) Logging() *logging.Logging
- func (sdk *SDK) MDB() *MDB
- func (sdk *SDK) Marketplace() *Marketplace
- func (sdk *SDK) Monitoring() *monitoring.Monitoring
- func (sdk *SDK) OSLoginServiceClient() *organizationmanager.OsLoginServiceClient
- func (sdk *SDK) Operation() *gen_operation.OperationServiceClient
- func (sdk *SDK) OrganizationManager() *organizationmanager.OrganizationManager
- func (sdk *SDK) OrganizationManagerSAML() *organizationmanagersaml.OrganizationManagerSAML
- func (sdk *SDK) Resolve(ctx context.Context, r ...Resolver) error
- func (sdk *SDK) ResourceManager() *resourcemanager.ResourceManager
- func (sdk *SDK) Serverless() *Serverless
- func (sdk *SDK) Shutdown(ctx context.Context) error
- func (sdk *SDK) SmartCaptcha() *smartcaptcha.SmartCaptcha
- func (sdk *SDK) SmartWebSecurity() *smartwebsecurity.SmartWebSecurity
- func (sdk *SDK) SmartWebSecurityArl() *advanced_rate_limiter.SmartWebSecurityArl
- func (sdk *SDK) SmartWebSecurityWaf() *waf.SmartWebSecurityWaf
- func (sdk *SDK) StorageAPI() *storage.StorageAPI
- func (sdk *SDK) UserSSHKeyServiceClient() *organizationmanager.UserSshKeyServiceClient
- func (sdk *SDK) VPC() *vpc.VPC
- func (sdk *SDK) VPCPrivateLink() *privatelink.PrivateLink
- func (sdk *SDK) Workload() *workload.Workload
- func (sdk *SDK) WorkloadOidc() *oidc.WorkloadOidc
- func (sdk *SDK) WrapOperation(op *operation.Operation, err error) (*sdk_operation.Operation, error)
- func (sdk *SDK) YDB() *ydb.YDB
- type Serverless
- func (s *Serverless) APIGateway() *apigateway.Apigateway
- func (s *Serverless) APIGatewayWebsocket() *websocket.Websocket
- func (s *Serverless) Containers() *containers.Container
- func (s *Serverless) Eventrouter() *eventrouter.Eventrouter
- func (s *Serverless) EventrouterEvents() *eventrouter.Eventrouter
- func (s *Serverless) Functions() *functions.Function
- func (s *Serverless) MDBProxy() *mdbproxy.Proxy
- func (s *Serverless) Triggers() *triggers.Trigger
- func (s *Serverless) Workflow() *workflows.Workflow
- type ServiceIsNotAvailableError
Constants ¶
const ( CertificateManagerID = "certificate-manager" CertificateManagerDataID = "certificate-manager-data" )
const ( KMSServiceID = "kms" KMSCryptoServiceID = "kms-crypto" KMSAsymmetricEncryptionServiceID = "kms" KMSAsymmetricEncryptionCryptoServiceID = "kms-crypto" KMSAsymmetricSignatureServiceID = "kms" KMSAsymmetricSignatureCryptoServiceID = "kms-crypto" )
const ( LoadtestingServiceID = "loadtesting" LoadtestingAgentServiceID = "loadtesting/agent-api" )
const ( LockboxSecretServiceID = "lockbox" LockboxPayloadServiceID = "lockbox-payload" )
const ( MarketplaceServiceID Endpoint = "marketplace" MarketplaceMeteringServiceID = MarketplaceServiceID MarketplaceLicenseManagerServiceID = MarketplaceServiceID )
const ( DefaultPageSize int64 = 1000 ComputeServiceID Endpoint = "compute" IAMServiceID Endpoint = "iam" OperationServiceID Endpoint = "operation" OrganizationManagementServiceID Endpoint = "organization-manager" ResourceManagementServiceID Endpoint = "resource-manager" StorageServiceID Endpoint = "storage" StorageAPIServiceID Endpoint = "storage-api" MonitoringServiceID Endpoint = "monitoring" SerialSSHServiceID Endpoint = "serialssh" // revive:disable:var-naming ApiEndpointServiceID Endpoint = "endpoint" // revive:enable:var-naming VpcServiceID Endpoint = "vpc" KubernetesServiceID Endpoint = "managed-kubernetes" DNSServiceID Endpoint = "dns" YDBServiceID Endpoint = "ydb" BackupServiceID Endpoint = "backup" AuditTrailsServiceID Endpoint = "audittrails" )
const AirflowServiceID = "managed-airflow"
const (
CDNID = "cdn"
)
const DataProcServiceID = "dataproc"
const InstanceMetadataAddr = "169.254.169.254"
InstanceMetadataAddr is address at the metadata server is accessible from inside the virtual machine. See doc for details: https://cloud.yandex.com/docs/compute/operations/vm-info/get-info#inside-instance
const InstanceMetadataOverrideEnvVar = "YC_METADATA_ADDR"
InstanceMetadataOverrideEnvVar is a name of environment variable which contains override for a default value
Variables ¶
This section is empty.
Functions ¶
func WithAuthAsServiceAccount ¶
func WithAuthAsServiceAccount(serviceAccountID string) grpc.CallOption
func WithAuthAsServiceAccounts ¶
func WithAuthAsServiceAccounts(saGetter SAGetter) grpc.CallOption
Types ¶
type AI ¶
type AI struct {
// contains filtered or unexported fields
}
func (*AI) Embeddings ¶
func (m *AI) Embeddings() *embedding.FoundationModelsEmbedding
func (*AI) ImageGeneration ¶
func (m *AI) ImageGeneration() *image_generation.FoundationModelsImageGeneration
func (*AI) TextClassification ¶
func (m *AI) TextClassification() *text_classification.FoundationModelsTextClassification
func (*AI) TextGeneration ¶
func (m *AI) TextGeneration() *text_generation.FoundationModelsTextGeneration
type Authenticator ¶
type Config ¶
type Config struct { // Credentials are used to authenticate the client. See Credentials for more info. Credentials Credentials // DialContextTimeout specifies timeout of dial on API endpoint that // is used when building an SDK instance. DialContextTimeout time.Duration // TLSConfig is optional tls.Config that one can use in order to tune TLS options. TLSConfig *tls.Config // Endpoint is an API endpoint of Yandex.Cloud against which the SDK is used. // Most users won't need to explicitly set it. Endpoint string Plaintext bool }
Config is a config that is used to create SDK instance.
type Credentials ¶
type Credentials interface {
// YandexCloudAPICredentials is a marker method. All compatible Credentials implementations have it
YandexCloudAPICredentials()
}
Credentials is an abstraction of API authorization credentials. See https://cloud.yandex.ru/docs/iam/concepts/authorization/ for details. Note that functions that return Credentials may return different Credentials implementation in next SDK version, and this is not considered breaking change.
func OAuthToken ¶
func OAuthToken(token string) Credentials
OAuthToken returns API credentials for user Yandex Passport OAuth token, that can be received on page https://oauth.yandex.ru/authorize?response_type=token&client_id=1a6990aa636648e9b2ef855fa7bec2fb See https://cloud.yandex.ru/docs/iam/concepts/authorization/oauth-token for details.
func ServiceAccountKey ¶
func ServiceAccountKey(key *iamkey.Key) (Credentials, error)
ServiceAccountKey returns credentials for the given IAM Key. The key is used to sign JWT tokens. JWT tokens are exchanged for IAM Tokens used to authorize API calls. This authorization method is not supported for IAM Keys issued for User Accounts.
func UserAccountKey ¶
func UserAccountKey(key *iamkey.Key) (Credentials, error)
UserAccountKey returns credentials for the given IAM Key. The key is used to sign JWT tokens. JWT tokens are exchanged for IAM Tokens used to authorize API calls.
WARN: user account keys are not supported, and won't be supported for most users.
type Endpoint ¶
type Endpoint string
const ( MDBMongoDBServiceID Endpoint = "managed-mongodb" MDBClickhouseServiceID Endpoint = "managed-clickhouse" MDBPostgreSQLServiceID Endpoint = "managed-postgresql" MDBRedisServiceID Endpoint = "managed-redis" MDBMySQLServiceID Endpoint = "managed-mysql" MDBKafkaServiceID Endpoint = "managed-kafka" MDBSQLServerServiceID Endpoint = "managed-sqlserver" MDBGreenplumServiceID Endpoint = "managed-greenplum" MDBElasticSearchID Endpoint = "managed-elasticsearch" MDBOpenSearchID Endpoint = "managed-opensearch" )
const ( FunctionServiceID Endpoint = "serverless-functions" TriggerServiceID Endpoint = "serverless-triggers" APIGatewayServiceID Endpoint = "serverless-apigateway" MDBProxyServiceID Endpoint = "mdbproxy" ServerlessContainersServiceID Endpoint = "serverless-containers" APIGatewayWebsocketServiceID Endpoint = "apigateway-connections" EventrouterServiceID Endpoint = "serverless-eventrouter" EventrouterEventsServiceID Endpoint = "serverlesseventrouter-events" WorkflowServiceID Endpoint = "serverless-workflows" )
const (
ApplicationLoadBalancerServiceID Endpoint = "alb"
)
const (
BillingServiceID Endpoint = "billing"
)
const (
ContainerRegistryServiceID Endpoint = "container-registry"
)
const (
DataTransferServiceID Endpoint = "datatransfer"
)
const (
DatasphereServiceID Endpoint = "datasphere"
)
const InstancegroupServiceID Endpoint = "compute"
const (
LoadBalancerServiceID Endpoint = "load-balancer"
)
const (
SmartCaptchaServiceID Endpoint = "smart-captcha"
)
const (
SmartWebSecurityServiceID Endpoint = "smart-web-security"
)
type ExchangeableCredentials ¶
type ExchangeableCredentials interface { Credentials // IAMTokenRequest returns request for fresh IAM token or error. IAMTokenRequest() (*iampb.CreateIamTokenRequest, error) }
ExchangeableCredentials can be exchanged for IAM Token in IAM Token Service, that can be used to authorize API calls. See https://cloud.yandex.ru/docs/iam/concepts/authorization/iam-token for details.
type IAMTokenCredentials ¶
type IAMTokenCredentials struct {
// contains filtered or unexported fields
}
IAMTokenCredentials implements Credentials with IAM token as-is
func (IAMTokenCredentials) IAMToken ¶
func (creds IAMTokenCredentials) IAMToken(ctx context.Context) (*iampb.CreateIamTokenResponse, error)
func (IAMTokenCredentials) YandexCloudAPICredentials ¶
func (creds IAMTokenCredentials) YandexCloudAPICredentials()
type IamTokenMiddleware ¶
type IamTokenMiddleware struct {
// contains filtered or unexported fields
}
func NewIAMTokenMiddleware ¶
func NewIAMTokenMiddleware(authenticator Authenticator, now func() time.Time) *IamTokenMiddleware
func (*IamTokenMiddleware) GetIAMToken ¶
func (c *IamTokenMiddleware) GetIAMToken(ctx context.Context, originalSubject bool, opts ...grpc.CallOption) (string, error)
func (*IamTokenMiddleware) InterceptStream ¶
func (c *IamTokenMiddleware) InterceptStream(ctx context.Context, desc *grpc.StreamDesc, conn *grpc.ClientConn, method string, streamer grpc.Streamer, opts ...grpc.CallOption) (grpc.ClientStream, error)
func (*IamTokenMiddleware) InterceptUnary ¶
func (c *IamTokenMiddleware) InterceptUnary(ctx context.Context, method string, req, reply interface{}, conn *grpc.ClientConn, invoker grpc.UnaryInvoker, opts ...grpc.CallOption) error
type IoT ¶
type IoT struct {
// contains filtered or unexported fields
}
func (*IoT) BrokerData ¶
func (m *IoT) BrokerData() *brokerdata.BrokerData
type MDB ¶
type MDB struct {
// contains filtered or unexported fields
}
func (*MDB) Clickhouse ¶
func (m *MDB) Clickhouse() *clickhouse.Clickhouse
func (*MDB) ElasticSearch ¶
func (m *MDB) ElasticSearch() *elasticsearch.ElasticSearch
func (*MDB) OpenSearch ¶
func (m *MDB) OpenSearch() *opensearch.OpenSearch
func (*MDB) PostgreSQL ¶
func (m *MDB) PostgreSQL() *postgresql.PostgreSQL
type Marketplace ¶
type Marketplace struct {
// contains filtered or unexported fields
}
func (*Marketplace) LicenseManager ¶
func (m *Marketplace) LicenseManager() *licensemanager.LicenseManager
func (*Marketplace) Metering ¶
func (m *Marketplace) Metering() *metering.Metering
type NoCredentials ¶
type NoCredentials struct{}
NoCredentials implements Credentials, it allows to create unauthenticated connections
func (NoCredentials) IAMToken ¶
func (creds NoCredentials) IAMToken(ctx context.Context) (*iampb.CreateIamTokenResponse, error)
IAMToken always returns gRPC error with status UNAUTHENTICATED
func (NoCredentials) YandexCloudAPICredentials ¶
func (creds NoCredentials) YandexCloudAPICredentials()
type NonExchangeableCredentials ¶
type NonExchangeableCredentials interface { Credentials // IAMToken returns IAM Token. IAMToken(ctx context.Context) (*iampb.CreateIamTokenResponse, error) }
NonExchangeableCredentials allows to get IAM Token without calling IAM Token Service.
func InstanceServiceAccount ¶
func InstanceServiceAccount() NonExchangeableCredentials
InstanceServiceAccount returns credentials for Compute Instance Service Account. That is, for SDK build with InstanceServiceAccount credentials and used on Compute Instance created with yandex.cloud.compute.v1.CreateInstanceRequest.service_account_id, API calls will be authenticated with this ServiceAccount ID. You can override the default address of Metadata Service by setting env variable. TODO(skipor): doc link
func NewIAMTokenCredentials ¶
func NewIAMTokenCredentials(iamToken string) NonExchangeableCredentials
type SDK ¶
type SDK struct {
// contains filtered or unexported fields
}
SDK is a Yandex.Cloud SDK
func (*SDK) ApiEndpoint ¶
func (sdk *SDK) ApiEndpoint() *apiendpoint.APIEndpoint
ApiEndpoint gets ApiEndpointService client
func (*SDK) ApplicationLoadBalancer ¶
func (sdk *SDK) ApplicationLoadBalancer() *apploadbalancer.LoadBalancer
LoadBalancer returns LoadBalancer object that is used to operate on load balancers
func (*SDK) AuditTrails ¶
func (sdk *SDK) AuditTrails() *audittrails.AuditTrails
AuditTrails returns object for operating with Audit Trails service.
func (*SDK) Certificates ¶
func (sdk *SDK) Certificates() *certificatemanager.CertificateManager
func (*SDK) CertificatesData ¶
func (sdk *SDK) CertificatesData() *certificatemanagerdata.CertificateManagerData
func (*SDK) CheckEndpointConnection ¶
func (*SDK) Compute ¶
Compute returns Compute object that is used to operate on Yandex Compute Cloud
func (*SDK) ContainerRegistry ¶
func (sdk *SDK) ContainerRegistry() *containerregistry.ContainerRegistry
ContainerRegistry returns ContainerRegistry object that is used to operate on Yandex Container Registry
func (*SDK) CreateIAMToken ¶
func (*SDK) CreateIAMTokenForServiceAccount ¶
func (*SDK) DataTransfer ¶
func (sdk *SDK) DataTransfer() *datatransfer.DataTransfer
DataTransfer returns DataTransfer object that is used to manage Yandex Data Transfer
func (*SDK) Datasphere ¶
func (sdk *SDK) Datasphere() *datasphere.Datasphere
func (*SDK) Endpoint ¶
func (sdk *SDK) Endpoint(endpointName Endpoint) (ep *endpoint.ApiEndpoint, exist bool)
func (*SDK) GroupMappingServiceClient ¶
func (sdk *SDK) GroupMappingServiceClient() *organizationmanager.GroupMappingServiceClient
func (*SDK) IAM ¶
IAM returns IAM object that is used to operate on Yandex Cloud Identity and Access Manager
func (*SDK) InstanceGroup ¶
func (sdk *SDK) InstanceGroup() *instancegroup.InstanceGroup
InstanceGroup returns InstanceGroup object that is used to operate on Yandex Compute InstanceGroup
func (*SDK) KMSAsymmetricEncryption ¶
func (sdk *SDK) KMSAsymmetricEncryption() *kmsasymmetricencryption.KMSAsymmetricEncryption
func (*SDK) KMSAsymmetricEncryptionCrypto ¶
func (sdk *SDK) KMSAsymmetricEncryptionCrypto() *kmsasymmetricencryptioncrypto.KMSAsymmetricEncryptionCrypto
func (*SDK) KMSAsymmetricSignature ¶
func (sdk *SDK) KMSAsymmetricSignature() *kmsasymmetricsignature.KMSAsymmetricSignature
func (*SDK) KMSAsymmetricSignatureCrypto ¶
func (sdk *SDK) KMSAsymmetricSignatureCrypto() *kmsasymmetricsignaturecrypto.KMSAsymmetricSignatureCrypto
func (*SDK) KnownServices ¶
func (*SDK) Kubernetes ¶
func (sdk *SDK) Kubernetes() *k8s.Kubernetes
Kubernetes returns Kubernetes object that is used to operate on Yandex Managed Kubernetes
func (*SDK) KubernetesMarketplace ¶
func (sdk *SDK) KubernetesMarketplace() *marketplace.KubernetesMarketplace
func (*SDK) LoadBalancer ¶
func (sdk *SDK) LoadBalancer() *loadbalancer.LoadBalancer
LoadBalancer returns LoadBalancer object that is used to operate on load balancers
func (*SDK) Loadtesting ¶
func (sdk *SDK) Loadtesting() *loadtestingapi.Loadtesting
func (*SDK) LoadtestingAgent ¶
func (sdk *SDK) LoadtestingAgent() *loadtestingagent.LoadtestingAgentAPI
func (*SDK) LockboxPayload ¶
func (sdk *SDK) LockboxPayload() *lockboxpayload.LockboxPayload
func (*SDK) LockboxSecret ¶
func (sdk *SDK) LockboxSecret() *lockboxsecret.LockboxSecret
func (*SDK) LogIngestion ¶
func (sdk *SDK) LogIngestion() *ingestion.LogIngestion
func (*SDK) LogReading ¶
func (sdk *SDK) LogReading() *reading.LogReading
func (*SDK) Marketplace ¶
func (sdk *SDK) Marketplace() *Marketplace
func (*SDK) Monitoring ¶
func (sdk *SDK) Monitoring() *monitoring.Monitoring
Monitoring returns object for operating with Monitoring service.
func (*SDK) OSLoginServiceClient ¶
func (sdk *SDK) OSLoginServiceClient() *organizationmanager.OsLoginServiceClient
func (*SDK) Operation ¶
func (sdk *SDK) Operation() *gen_operation.OperationServiceClient
Operation gets OperationService client
func (*SDK) OrganizationManager ¶
func (sdk *SDK) OrganizationManager() *organizationmanager.OrganizationManager
func (*SDK) OrganizationManagerSAML ¶
func (sdk *SDK) OrganizationManagerSAML() *organizationmanagersaml.OrganizationManagerSAML
func (*SDK) ResourceManager ¶
func (sdk *SDK) ResourceManager() *resourcemanager.ResourceManager
ResourceManager returns ResourceManager object that is used to operate on Folders and Clouds
func (*SDK) Serverless ¶
func (sdk *SDK) Serverless() *Serverless
func (*SDK) SmartCaptcha ¶
func (sdk *SDK) SmartCaptcha() *smartcaptcha.SmartCaptcha
SmartCaptcha returns SmartCaptcha object that is used to operate with captchas
func (*SDK) SmartWebSecurity ¶
func (sdk *SDK) SmartWebSecurity() *smartwebsecurity.SmartWebSecurity
SmartWebSecurity returns SmartWebSecurity object that is used to operate with security profiles
func (*SDK) SmartWebSecurityArl ¶
func (sdk *SDK) SmartWebSecurityArl() *advanced_rate_limiter.SmartWebSecurityArl
SmartWebSecurityArl returns SmartWebSecurityArl object that is used to operate with AdvancedRateLimiter profiles
func (*SDK) SmartWebSecurityWaf ¶
func (sdk *SDK) SmartWebSecurityWaf() *waf.SmartWebSecurityWaf
SmartWebSecurityWaf returns SmartWebSecurityWaf object that is used to operate with WAF profiles
func (*SDK) StorageAPI ¶
func (sdk *SDK) StorageAPI() *storage.StorageAPI
StorageAPI returns storage object for operating with Object Storage service.
func (*SDK) UserSSHKeyServiceClient ¶
func (sdk *SDK) UserSSHKeyServiceClient() *organizationmanager.UserSshKeyServiceClient
func (*SDK) VPCPrivateLink ¶
func (sdk *SDK) VPCPrivateLink() *privatelink.PrivateLink
VPCPrivateLink returns PrivateLink object that is used to operate on Yandex Virtual Private Cloud Private Endpoints
func (*SDK) WorkloadOidc ¶
func (sdk *SDK) WorkloadOidc() *oidc.WorkloadOidc
func (*SDK) WrapOperation ¶
WrapOperation wraps operation proto message to
type Serverless ¶
type Serverless struct {
// contains filtered or unexported fields
}
func (*Serverless) APIGateway ¶
func (s *Serverless) APIGateway() *apigateway.Apigateway
func (*Serverless) APIGatewayWebsocket ¶
func (s *Serverless) APIGatewayWebsocket() *websocket.Websocket
func (*Serverless) Containers ¶
func (s *Serverless) Containers() *containers.Container
func (*Serverless) Eventrouter ¶
func (s *Serverless) Eventrouter() *eventrouter.Eventrouter
func (*Serverless) EventrouterEvents ¶
func (s *Serverless) EventrouterEvents() *eventrouter.Eventrouter
func (*Serverless) Functions ¶
func (s *Serverless) Functions() *functions.Function
func (*Serverless) MDBProxy ¶
func (s *Serverless) MDBProxy() *mdbproxy.Proxy
func (*Serverless) Triggers ¶
func (s *Serverless) Triggers() *triggers.Trigger
func (*Serverless) Workflow ¶
func (s *Serverless) Workflow() *workflows.Workflow
type ServiceIsNotAvailableError ¶
type ServiceIsNotAvailableError struct { ServiceID Endpoint APIEndpoint string // contains filtered or unexported fields }
func (*ServiceIsNotAvailableError) Error ¶
func (s *ServiceIsNotAvailableError) Error() string
Source Files ¶
- ai.go
- airflow.go
- application_load_balancer.go
- authentication.go
- billing.go
- cdn.go
- certificate.go
- container_registry.go
- credentials.go
- dataproc.go
- datasphere.go
- datatransfer.go
- errdetails.go
- instance_group.go
- instance_metadata.go
- iot.go
- kms.go
- kubernetes_marketplace.go
- load_balancer.go
- loadtesting.go
- lockbox.go
- logging.go
- marketplace.go
- mdb.go
- resolver.go
- sdk.go
- serverless.go
- smartcaptcha.go
- smartwebsecurity.go
Directories ¶
Path | Synopsis |
---|---|
examples
|
|
gen
|
|
nolint | |
nolint | |
nolint | |
nolint | |
ai/ocr
nolint
|
nolint |
ai/stt
nolint
|
nolint |
ai/sttv3
nolint
|
nolint |
ai/translate
nolint
|
nolint |
ai/vision
nolint
|
nolint |
airflow
nolint
|
nolint |
apiendpoint
nolint
|
nolint |
apigateway
nolint
|
nolint |
apigateway/websocket
nolint
|
nolint |
apploadbalancer
nolint
|
nolint |
audittrails
nolint
|
nolint |
backup
nolint
|
nolint |
billing
nolint
|
nolint |
cdn
nolint
|
nolint |
certificatemanager
nolint
|
nolint |
certificatemanagerdata
nolint
|
nolint |
cic
nolint
|
nolint |
cloudrouter
nolint
|
nolint |
compute
nolint
|
nolint |
compute/instancegroup
nolint
|
nolint |
containerregistry
nolint
|
nolint |
containers
nolint
|
nolint |
dataproc
nolint
|
nolint |
datasphere
nolint
|
nolint |
datatransfer
nolint
|
nolint |
dns
nolint
|
nolint |
eventrouter
nolint
|
nolint |
functions
nolint
|
nolint |
iam
nolint
|
nolint |
iam/awscompatibility
nolint
|
nolint |
iam/workload
nolint
|
nolint |
iam/workload/oidc
nolint
|
nolint |
iot/broker
nolint
|
nolint |
iot/brokerdata
nolint
|
nolint |
iot/data
nolint
|
nolint |
iot/devices
nolint
|
nolint |
kms
nolint
|
nolint |
nolint | |
kmsasymmetricencryptionkey
nolint
|
nolint |
kmsasymmetricsignaturecrypto
nolint
|
nolint |
kmsasymmetricsignaturekey
nolint
|
nolint |
kmscrypto
nolint
|
nolint |
kubernetes
nolint
|
nolint |
kubernetes/marketplace
nolint
|
nolint |
loadbalancer
nolint
|
nolint |
loadtesting
nolint
|
nolint |
loadtesting/agent-api
nolint
|
nolint |
lockboxpayload
nolint
|
nolint |
lockboxsecret
nolint
|
nolint |
logging
nolint
|
nolint |
logingestion
nolint
|
nolint |
logreading
nolint
|
nolint |
marketplace/licensemanager
nolint
|
nolint |
marketplace/metering
nolint
|
nolint |
mdb/clickhouse
nolint
|
nolint |
mdb/elasticsearch
nolint
|
nolint |
mdb/greenplum
nolint
|
nolint |
mdb/kafka
nolint
|
nolint |
mdb/mongodb
nolint
|
nolint |
mdb/mysql
nolint
|
nolint |
mdb/opensearch
nolint
|
nolint |
mdb/postgresql
nolint
|
nolint |
mdb/redis
nolint
|
nolint |
mdb/sqlserver
nolint
|
nolint |
mdbproxy
nolint
|
nolint |
monitoring
nolint
|
nolint |
operation
nolint
|
nolint |
organizationmanager
nolint
|
nolint |
organizationmanager/saml
nolint
|
nolint |
resourcemanager
nolint
|
nolint |
smartcaptcha
nolint
|
nolint |
smartwebsecurity
nolint
|
nolint |
smartwebsecurity/arl
nolint
|
nolint |
smartwebsecurity/waf
nolint
|
nolint |
storage-api
nolint
|
nolint |
triggers
nolint
|
nolint |
vpc
nolint
|
nolint |
vpc/privatelink
nolint
|
nolint |
workflows
nolint
|
nolint |
ydb
nolint
|
nolint |
pkg
|
|
singleflight
Package singleflight based on github.com/golang/groupcache/singleflight
|
Package singleflight based on github.com/golang/groupcache/singleflight |