Google 云 SQL GoLang SDK 的适用性
来源:stackoverflow
2024-03-15 13:33:20
0浏览
收藏
一分耕耘,一分收获!既然打开了这篇文章《Google 云 SQL GoLang SDK 的适用性》,就坚持看下去吧!文中内容包含等等知识点...希望你能在阅读本文后,能真真实实学到知识或者帮你解决心中的疑惑,也欢迎大佬或者新人朋友们多留言评论,多给建议!谢谢!
问题内容
Google Cloud SQL 的 GoLang 客户端库功能齐全吗?如何开始?我只能找到列出数据库实例的示例:
https://cloud.google.com/sql/docs/postgres/admin-api/libraries
解决方案
Here is the complete api——它是测试版,但相当完整
type AclEntry func (s *AclEntry) MarshalJSON() ([]byte, error) type ApiWarning func (s *ApiWarning) MarshalJSON() ([]byte, error) type BackupConfiguration func (s *BackupConfiguration) MarshalJSON() ([]byte, error) type BackupRun func (s *BackupRun) MarshalJSON() ([]byte, error) type BackupRunsDeleteCall func (c *BackupRunsDeleteCall) Context(ctx context.Context) *BackupRunsDeleteCall func (c *BackupRunsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) func (c *BackupRunsDeleteCall) Fields(s ...googleapi.Field) *BackupRunsDeleteCall func (c *BackupRunsDeleteCall) Header() http.Header type BackupRunsGetCall func (c *BackupRunsGetCall) Context(ctx context.Context) *BackupRunsGetCall func (c *BackupRunsGetCall) Do(opts ...googleapi.CallOption) (*BackupRun, error) func (c *BackupRunsGetCall) Fields(s ...googleapi.Field) *BackupRunsGetCall func (c *BackupRunsGetCall) Header() http.Header func (c *BackupRunsGetCall) IfNoneMatch(entityTag string) *BackupRunsGetCall type BackupRunsInsertCall func (c *BackupRunsInsertCall) Context(ctx context.Context) *BackupRunsInsertCall func (c *BackupRunsInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error) func (c *BackupRunsInsertCall) Fields(s ...googleapi.Field) *BackupRunsInsertCall func (c *BackupRunsInsertCall) Header() http.Header type BackupRunsListCall func (c *BackupRunsListCall) Context(ctx context.Context) *BackupRunsListCall func (c *BackupRunsListCall) Do(opts ...googleapi.CallOption) (*BackupRunsListResponse, error) func (c *BackupRunsListCall) Fields(s ...googleapi.Field) *BackupRunsListCall func (c *BackupRunsListCall) Header() http.Header func (c *BackupRunsListCall) IfNoneMatch(entityTag string) *BackupRunsListCall func (c *BackupRunsListCall) MaxResults(maxResults int64) *BackupRunsListCall func (c *BackupRunsListCall) PageToken(pageToken string) *BackupRunsListCall func (c *BackupRunsListCall) Pages(ctx context.Context, f func(*BackupRunsListResponse) error) error type BackupRunsListResponse func (s *BackupRunsListResponse) MarshalJSON() ([]byte, error) type BackupRunsService func NewBackupRunsService(s *Service) *BackupRunsService func (r *BackupRunsService) Delete(project string, instance string, id int64) *BackupRunsDeleteCall func (r *BackupRunsService) Get(project string, instance string, id int64) *BackupRunsGetCall func (r *BackupRunsService) Insert(project string, instance string, backuprun *BackupRun) *BackupRunsInsertCall func (r *BackupRunsService) List(project string, instance string) *BackupRunsListCall type BinLogCoordinates func (s *BinLogCoordinates) MarshalJSON() ([]byte, error) type CloneContext func (s *CloneContext) MarshalJSON() ([]byte, error) type Database func (s *Database) MarshalJSON() ([]byte, error) type DatabaseFlags func (s *DatabaseFlags) MarshalJSON() ([]byte, error) type DatabaseInstance func (s *DatabaseInstance) MarshalJSON() ([]byte, error) type DatabaseInstanceFailoverReplica func (s *DatabaseInstanceFailoverReplica) MarshalJSON() ([]byte, error) type DatabasesDeleteCall func (c *DatabasesDeleteCall) Context(ctx context.Context) *DatabasesDeleteCall func (c *DatabasesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) func (c *DatabasesDeleteCall) Fields(s ...googleapi.Field) *DatabasesDeleteCall func (c *DatabasesDeleteCall) Header() http.Header type DatabasesGetCall func (c *DatabasesGetCall) Context(ctx context.Context) *DatabasesGetCall func (c *DatabasesGetCall) Do(opts ...googleapi.CallOption) (*Database, error) func (c *DatabasesGetCall) Fields(s ...googleapi.Field) *DatabasesGetCall func (c *DatabasesGetCall) Header() http.Header func (c *DatabasesGetCall) IfNoneMatch(entityTag string) *DatabasesGetCall type DatabasesInsertCall func (c *DatabasesInsertCall) Context(ctx context.Context) *DatabasesInsertCall func (c *DatabasesInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error) func (c *DatabasesInsertCall) Fields(s ...googleapi.Field) *DatabasesInsertCall func (c *DatabasesInsertCall) Header() http.Header type DatabasesListCall func (c *DatabasesListCall) Context(ctx context.Context) *DatabasesListCall func (c *DatabasesListCall) Do(opts ...googleapi.CallOption) (*DatabasesListResponse, error) func (c *DatabasesListCall) Fields(s ...googleapi.Field) *DatabasesListCall func (c *DatabasesListCall) Header() http.Header func (c *DatabasesListCall) IfNoneMatch(entityTag string) *DatabasesListCall type DatabasesListResponse func (s *DatabasesListResponse) MarshalJSON() ([]byte, error) type DatabasesPatchCall func (c *DatabasesPatchCall) Context(ctx context.Context) *DatabasesPatchCall func (c *DatabasesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) func (c *DatabasesPatchCall) Fields(s ...googleapi.Field) *DatabasesPatchCall func (c *DatabasesPatchCall) Header() http.Header type DatabasesService func NewDatabasesService(s *Service) *DatabasesService func (r *DatabasesService) Delete(project string, instance string, database string) *DatabasesDeleteCall func (r *DatabasesService) Get(project string, instance string, database string) *DatabasesGetCall func (r *DatabasesService) Insert(project string, instance string, database *Database) *DatabasesInsertCall func (r *DatabasesService) List(project string, instance string) *DatabasesListCall func (r *DatabasesService) Patch(project string, instance string, database string, database2 *Database) *DatabasesPatchCall func (r *DatabasesService) Update(project string, instance string, database string, database2 *Database) *DatabasesUpdateCall type DatabasesUpdateCall func (c *DatabasesUpdateCall) Context(ctx context.Context) *DatabasesUpdateCall func (c *DatabasesUpdateCall) Do(opts ...googleapi.CallOption) (*Operation, error) func (c *DatabasesUpdateCall) Fields(s ...googleapi.Field) *DatabasesUpdateCall func (c *DatabasesUpdateCall) Header() http.Header type DemoteMasterConfiguration func (s *DemoteMasterConfiguration) MarshalJSON() ([]byte, error) type DemoteMasterContext func (s *DemoteMasterContext) MarshalJSON() ([]byte, error) type DemoteMasterMySqlReplicaConfiguration func (s *DemoteMasterMySqlReplicaConfiguration) MarshalJSON() ([]byte, error) type ExportContext func (s *ExportContext) MarshalJSON() ([]byte, error) type ExportContextCsvExportOptions func (s *ExportContextCsvExportOptions) MarshalJSON() ([]byte, error) type ExportContextSqlExportOptions func (s *ExportContextSqlExportOptions) MarshalJSON() ([]byte, error) type ExportContextSqlExportOptionsMysqlExportOptions func (s *ExportContextSqlExportOptionsMysqlExportOptions) MarshalJSON() ([]byte, error) type FailoverContext func (s *FailoverContext) MarshalJSON() ([]byte, error) type Flag func (s *Flag) MarshalJSON() ([]byte, error) type FlagsListCall func (c *FlagsListCall) Context(ctx context.Context) *FlagsListCall func (c *FlagsListCall) DatabaseVersion(databaseVersion string) *FlagsListCall func (c *FlagsListCall) Do(opts ...googleapi.CallOption) (*FlagsListResponse, error) func (c *FlagsListCall) Fields(s ...googleapi.Field) *FlagsListCall func (c *FlagsListCall) Header() http.Header func (c *FlagsListCall) IfNoneMatch(entityTag string) *FlagsListCall type FlagsListResponse func (s *FlagsListResponse) MarshalJSON() ([]byte, error) type FlagsService func NewFlagsService(s *Service) *FlagsService func (r *FlagsService) List() *FlagsListCall type ImportContext func (s *ImportContext) MarshalJSON() ([]byte, error) type ImportContextCsvImportOptions func (s *ImportContextCsvImportOptions) MarshalJSON() ([]byte, error) type InstancesAddServerCaCall func (c *InstancesAddServerCaCall) Context(ctx context.Context) *InstancesAddServerCaCall func (c *InstancesAddServerCaCall) Do(opts ...googleapi.CallOption) (*Operation, error) func (c *InstancesAddServerCaCall) Fields(s ...googleapi.Field) *InstancesAddServerCaCall func (c *InstancesAddServerCaCall) Header() http.Header type InstancesCloneCall func (c *InstancesCloneCall) Context(ctx context.Context) *InstancesCloneCall func (c *InstancesCloneCall) Do(opts ...googleapi.CallOption) (*Operation, error) func (c *InstancesCloneCall) Fields(s ...googleapi.Field) *InstancesCloneCall func (c *InstancesCloneCall) Header() http.Header type InstancesCloneRequest func (s *InstancesCloneRequest) MarshalJSON() ([]byte, error) type InstancesDeleteCall func (c *InstancesDeleteCall) Context(ctx context.Context) *InstancesDeleteCall func (c *InstancesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) func (c *InstancesDeleteCall) Fields(s ...googleapi.Field) *InstancesDeleteCall func (c *InstancesDeleteCall) Header() http.Header type InstancesDemoteMasterCall func (c *InstancesDemoteMasterCall) Context(ctx context.Context) *InstancesDemoteMasterCall func (c *InstancesDemoteMasterCall) Do(opts ...googleapi.CallOption) (*Operation, error) func (c *InstancesDemoteMasterCall) Fields(s ...googleapi.Field) *InstancesDemoteMasterCall func (c *InstancesDemoteMasterCall) Header() http.Header type InstancesDemoteMasterRequest func (s *InstancesDemoteMasterRequest) MarshalJSON() ([]byte, error) type InstancesExportCall func (c *InstancesExportCall) Context(ctx context.Context) *InstancesExportCall func (c *InstancesExportCall) Do(opts ...googleapi.CallOption) (*Operation, error) func (c *InstancesExportCall) Fields(s ...googleapi.Field) *InstancesExportCall func (c *InstancesExportCall) Header() http.Header type InstancesExportRequest func (s *InstancesExportRequest) MarshalJSON() ([]byte, error) type InstancesFailoverCall func (c *InstancesFailoverCall) Context(ctx context.Context) *InstancesFailoverCall func (c *InstancesFailoverCall) Do(opts ...googleapi.CallOption) (*Operation, error) func (c *InstancesFailoverCall) Fields(s ...googleapi.Field) *InstancesFailoverCall func (c *InstancesFailoverCall) Header() http.Header type InstancesFailoverRequest func (s *InstancesFailoverRequest) MarshalJSON() ([]byte, error) type InstancesGetCall func (c *InstancesGetCall) Context(ctx context.Context) *InstancesGetCall func (c *InstancesGetCall) Do(opts ...googleapi.CallOption) (*DatabaseInstance, error) func (c *InstancesGetCall) Fields(s ...googleapi.Field) *InstancesGetCall func (c *InstancesGetCall) Header() http.Header func (c *InstancesGetCall) IfNoneMatch(entityTag string) *InstancesGetCall type InstancesImportCall func (c *InstancesImportCall) Context(ctx context.Context) *InstancesImportCall func (c *InstancesImportCall) Do(opts ...googleapi.CallOption) (*Operation, error) func (c *InstancesImportCall) Fields(s ...googleapi.Field) *InstancesImportCall func (c *InstancesImportCall) Header() http.Header type InstancesImportRequest func (s *InstancesImportRequest) MarshalJSON() ([]byte, error) type InstancesInsertCall func (c *InstancesInsertCall) Context(ctx context.Context) *InstancesInsertCall func (c *InstancesInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error) func (c *InstancesInsertCall) Fields(s ...googleapi.Field) *InstancesInsertCall func (c *InstancesInsertCall) Header() http.Header type InstancesListCall func (c *InstancesListCall) Context(ctx context.Context) *InstancesListCall func (c *InstancesListCall) Do(opts ...googleapi.CallOption) (*InstancesListResponse, error) func (c *InstancesListCall) Fields(s ...googleapi.Field) *InstancesListCall func (c *InstancesListCall) Filter(filter string) *InstancesListCall func (c *InstancesListCall) Header() http.Header func (c *InstancesListCall) IfNoneMatch(entityTag string) *InstancesListCall func (c *InstancesListCall) MaxResults(maxResults int64) *InstancesListCall func (c *InstancesListCall) PageToken(pageToken string) *InstancesListCall func (c *InstancesListCall) Pages(ctx context.Context, f func(*InstancesListResponse) error) error type InstancesListResponse func (s *InstancesListResponse) MarshalJSON() ([]byte, error) type InstancesListServerCasCall func (c *InstancesListServerCasCall) Context(ctx context.Context) *InstancesListServerCasCall func (c *InstancesListServerCasCall) Do(opts ...googleapi.CallOption) (*InstancesListServerCasResponse, error) func (c *InstancesListServerCasCall) Fields(s ...googleapi.Field) *InstancesListServerCasCall func (c *InstancesListServerCasCall) Header() http.Header func (c *InstancesListServerCasCall) IfNoneMatch(entityTag string) *InstancesListServerCasCall type InstancesListServerCasResponse func (s *InstancesListServerCasResponse) MarshalJSON() ([]byte, error) type InstancesPatchCall func (c *InstancesPatchCall) Context(ctx context.Context) *InstancesPatchCall func (c *InstancesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) func (c *InstancesPatchCall) Fields(s ...googleapi.Field) *InstancesPatchCall func (c *InstancesPatchCall) Header() http.Header type InstancesPromoteReplicaCall func (c *InstancesPromoteReplicaCall) Context(ctx context.Context) *InstancesPromoteReplicaCall func (c *InstancesPromoteReplicaCall) Do(opts ...googleapi.CallOption) (*Operation, error) func (c *InstancesPromoteReplicaCall) Fields(s ...googleapi.Field) *InstancesPromoteReplicaCall func (c *InstancesPromoteReplicaCall) Header() http.Header type InstancesResetSslConfigCall func (c *InstancesResetSslConfigCall) Context(ctx context.Context) *InstancesResetSslConfigCall func (c *InstancesResetSslConfigCall) Do(opts ...googleapi.CallOption) (*Operation, error) func (c *InstancesResetSslConfigCall) Fields(s ...googleapi.Field) *InstancesResetSslConfigCall func (c *InstancesResetSslConfigCall) Header() http.Header type InstancesRestartCall func (c *InstancesRestartCall) Context(ctx context.Context) *InstancesRestartCall func (c *InstancesRestartCall) Do(opts ...googleapi.CallOption) (*Operation, error) func (c *InstancesRestartCall) Fields(s ...googleapi.Field) *InstancesRestartCall func (c *InstancesRestartCall) Header() http.Header type InstancesRestoreBackupCall func (c *InstancesRestoreBackupCall) Context(ctx context.Context) *InstancesRestoreBackupCall func (c *InstancesRestoreBackupCall) Do(opts ...googleapi.CallOption) (*Operation, error) func (c *InstancesRestoreBackupCall) Fields(s ...googleapi.Field) *InstancesRestoreBackupCall func (c *InstancesRestoreBackupCall) Header() http.Header type InstancesRestoreBackupRequest func (s *InstancesRestoreBackupRequest) MarshalJSON() ([]byte, error) type InstancesRotateServerCaCall func (c *InstancesRotateServerCaCall) Context(ctx context.Context) *InstancesRotateServerCaCall func (c *InstancesRotateServerCaCall) Do(opts ...googleapi.CallOption) (*Operation, error) func (c *InstancesRotateServerCaCall) Fields(s ...googleapi.Field) *InstancesRotateServerCaCall func (c *InstancesRotateServerCaCall) Header() http.Header type InstancesRotateServerCaRequest func (s *InstancesRotateServerCaRequest) MarshalJSON() ([]byte, error) type InstancesService func NewInstancesService(s *Service) *InstancesService func (r *InstancesService) AddServerCa(project string, instance string) *InstancesAddServerCaCall func (r *InstancesService) Clone(project string, instance string, instancesclonerequest *InstancesCloneRequest) *InstancesCloneCall func (r *InstancesService) Delete(project string, instance string) *InstancesDeleteCall func (r *InstancesService) DemoteMaster(project string, instance string, instancesdemotemasterrequest *InstancesDemoteMasterRequest) *InstancesDemoteMasterCall func (r *InstancesService) Export(project string, instance string, instancesexportrequest *InstancesExportRequest) *InstancesExportCall func (r *InstancesService) Failover(project string, instance string, instancesfailoverrequest *InstancesFailoverRequest) *InstancesFailoverCall func (r *InstancesService) Get(project string, instance string) *InstancesGetCall func (r *InstancesService) Import(project string, instance string, instancesimportrequest *InstancesImportRequest) *InstancesImportCall func (r *InstancesService) Insert(project string, databaseinstance *DatabaseInstance) *InstancesInsertCall func (r *InstancesService) List(project string) *InstancesListCall func (r *InstancesService) ListServerCas(project string, instance string) *InstancesListServerCasCall func (r *InstancesService) Patch(project string, instance string, databaseinstance *DatabaseInstance) *InstancesPatchCall func (r *InstancesService) PromoteReplica(project string, instance string) *InstancesPromoteReplicaCall func (r *InstancesService) ResetSslConfig(project string, instance string) *InstancesResetSslConfigCall func (r *InstancesService) Restart(project string, instance string) *InstancesRestartCall func (r *InstancesService) RestoreBackup(project string, instance string, instancesrestorebackuprequest *InstancesRestoreBackupRequest) *InstancesRestoreBackupCall func (r *InstancesService) RotateServerCa(project string, instance string, instancesrotateservercarequest *InstancesRotateServerCaRequest) *InstancesRotateServerCaCall func (r *InstancesService) StartReplica(project string, instance string) *InstancesStartReplicaCall func (r *InstancesService) StopReplica(project string, instance string) *InstancesStopReplicaCall func (r *InstancesService) TruncateLog(project string, instance string, instancestruncatelogrequest *InstancesTruncateLogRequest) *InstancesTruncateLogCall func (r *InstancesService) Update(project string, instance string, databaseinstance *DatabaseInstance) *InstancesUpdateCall type InstancesStartReplicaCall func (c *InstancesStartReplicaCall) Context(ctx context.Context) *InstancesStartReplicaCall func (c *InstancesStartReplicaCall) Do(opts ...googleapi.CallOption) (*Operation, error) func (c *InstancesStartReplicaCall) Fields(s ...googleapi.Field) *InstancesStartReplicaCall func (c *InstancesStartReplicaCall) Header() http.Header type InstancesStopReplicaCall func (c *InstancesStopReplicaCall) Context(ctx context.Context) *InstancesStopReplicaCall func (c *InstancesStopReplicaCall) Do(opts ...googleapi.CallOption) (*Operation, error) func (c *InstancesStopReplicaCall) Fields(s ...googleapi.Field) *InstancesStopReplicaCall func (c *InstancesStopReplicaCall) Header() http.Header type InstancesTruncateLogCall func (c *InstancesTruncateLogCall) Context(ctx context.Context) *InstancesTruncateLogCall func (c *InstancesTruncateLogCall) Do(opts ...googleapi.CallOption) (*Operation, error) func (c *InstancesTruncateLogCall) Fields(s ...googleapi.Field) *InstancesTruncateLogCall func (c *InstancesTruncateLogCall) Header() http.Header type InstancesTruncateLogRequest func (s *InstancesTruncateLogRequest) MarshalJSON() ([]byte, error) type InstancesUpdateCall func (c *InstancesUpdateCall) Context(ctx context.Context) *InstancesUpdateCall func (c *InstancesUpdateCall) Do(opts ...googleapi.CallOption) (*Operation, error) func (c *InstancesUpdateCall) Fields(s ...googleapi.Field) *InstancesUpdateCall func (c *InstancesUpdateCall) Header() http.Header type IpConfiguration func (s *IpConfiguration) MarshalJSON() ([]byte, error) type IpMapping func (s *IpMapping) MarshalJSON() ([]byte, error) type LocationPreference func (s *LocationPreference) MarshalJSON() ([]byte, error) type MaintenanceWindow func (s *MaintenanceWindow) MarshalJSON() ([]byte, error) type MySqlReplicaConfiguration func (s *MySqlReplicaConfiguration) MarshalJSON() ([]byte, error) type OnPremisesConfiguration func (s *OnPremisesConfiguration) MarshalJSON() ([]byte, error) type Operation func (s *Operation) MarshalJSON() ([]byte, error) type OperationError func (s *OperationError) MarshalJSON() ([]byte, error) type OperationErrors func (s *OperationErrors) MarshalJSON() ([]byte, error) type OperationsGetCall func (c *OperationsGetCall) Context(ctx context.Context) *OperationsGetCall func (c *OperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error) func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall func (c *OperationsGetCall) Header() http.Header func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall type OperationsListCall func (c *OperationsListCall) Context(ctx context.Context) *OperationsListCall func (c *OperationsListCall) Do(opts ...googleapi.CallOption) (*OperationsListResponse, error) func (c *OperationsListCall) Fields(s ...googleapi.Field) *OperationsListCall func (c *OperationsListCall) Header() http.Header func (c *OperationsListCall) IfNoneMatch(entityTag string) *OperationsListCall func (c *OperationsListCall) MaxResults(maxResults int64) *OperationsListCall func (c *OperationsListCall) PageToken(pageToken string) *OperationsListCall func (c *OperationsListCall) Pages(ctx context.Context, f func(*OperationsListResponse) error) error type OperationsListResponse func (s *OperationsListResponse) MarshalJSON() ([]byte, error) type OperationsService func NewOperationsService(s *Service) *OperationsService func (r *OperationsService) Get(project string, operation string) *OperationsGetCall func (r *OperationsService) List(project string, instance string) *OperationsListCall type ReplicaConfiguration func (s *ReplicaConfiguration) MarshalJSON() ([]byte, error) type RestoreBackupContext func (s *RestoreBackupContext) MarshalJSON() ([]byte, error) type RotateServerCaContext func (s *RotateServerCaContext) MarshalJSON() ([]byte, error) type Service func New(client *http.Client) (*Service, error) type Settings func (s *Settings) MarshalJSON() ([]byte, error) type SslCert func (s *SslCert) MarshalJSON() ([]byte, error) type SslCertDetail func (s *SslCertDetail) MarshalJSON() ([]byte, error) type SslCertsCreateEphemeralCall func (c *SslCertsCreateEphemeralCall) Context(ctx context.Context) *SslCertsCreateEphemeralCall func (c *SslCertsCreateEphemeralCall) Do(opts ...googleapi.CallOption) (*SslCert, error) func (c *SslCertsCreateEphemeralCall) Fields(s ...googleapi.Field) *SslCertsCreateEphemeralCall func (c *SslCertsCreateEphemeralCall) Header() http.Header type SslCertsCreateEphemeralRequest func (s *SslCertsCreateEphemeralRequest) MarshalJSON() ([]byte, error) type SslCertsDeleteCall func (c *SslCertsDeleteCall) Context(ctx context.Context) *SslCertsDeleteCall func (c *SslCertsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) func (c *SslCertsDeleteCall) Fields(s ...googleapi.Field) *SslCertsDeleteCall func (c *SslCertsDeleteCall) Header() http.Header type SslCertsGetCall func (c *SslCertsGetCall) Context(ctx context.Context) *SslCertsGetCall func (c *SslCertsGetCall) Do(opts ...googleapi.CallOption) (*SslCert, error) func (c *SslCertsGetCall) Fields(s ...googleapi.Field) *SslCertsGetCall func (c *SslCertsGetCall) Header() http.Header func (c *SslCertsGetCall) IfNoneMatch(entityTag string) *SslCertsGetCall type SslCertsInsertCall func (c *SslCertsInsertCall) Context(ctx context.Context) *SslCertsInsertCall func (c *SslCertsInsertCall) Do(opts ...googleapi.CallOption) (*SslCertsInsertResponse, error) func (c *SslCertsInsertCall) Fields(s ...googleapi.Field) *SslCertsInsertCall func (c *SslCertsInsertCall) Header() http.Header type SslCertsInsertRequest func (s *SslCertsInsertRequest) MarshalJSON() ([]byte, error) type SslCertsInsertResponse func (s *SslCertsInsertResponse) MarshalJSON() ([]byte, error) type SslCertsListCall func (c *SslCertsListCall) Context(ctx context.Context) *SslCertsListCall func (c *SslCertsListCall) Do(opts ...googleapi.CallOption) (*SslCertsListResponse, error) func (c *SslCertsListCall) Fields(s ...googleapi.Field) *SslCertsListCall func (c *SslCertsListCall) Header() http.Header func (c *SslCertsListCall) IfNoneMatch(entityTag string) *SslCertsListCall type SslCertsListResponse func (s *SslCertsListResponse) MarshalJSON() ([]byte, error) type SslCertsService func NewSslCertsService(s *Service) *SslCertsService func (r *SslCertsService) CreateEphemeral(project string, instance string, sslcertscreateephemeralrequest *SslCertsCreateEphemeralRequest) *SslCertsCreateEphemeralCall func (r *SslCertsService) Delete(project string, instance string, sha1Fingerprint string) *SslCertsDeleteCall func (r *SslCertsService) Get(project string, instance string, sha1Fingerprint string) *SslCertsGetCall func (r *SslCertsService) Insert(project string, instance string, sslcertsinsertrequest *SslCertsInsertRequest) *SslCertsInsertCall func (r *SslCertsService) List(project string, instance string) *SslCertsListCall type Tier func (s *Tier) MarshalJSON() ([]byte, error) type TiersListCall func (c *TiersListCall) Context(ctx context.Context) *TiersListCall func (c *TiersListCall) Do(opts ...googleapi.CallOption) (*TiersListResponse, error) func (c *TiersListCall) Fields(s ...googleapi.Field) *TiersListCall func (c *TiersListCall) Header() http.Header func (c *TiersListCall) IfNoneMatch(entityTag string) *TiersListCall type TiersListResponse func (s *TiersListResponse) MarshalJSON() ([]byte, error) type TiersService func NewTiersService(s *Service) *TiersService func (r *TiersService) List(project string) *TiersListCall type TruncateLogContext func (s *TruncateLogContext) MarshalJSON() ([]byte, error) type User func (s *User) MarshalJSON() ([]byte, error) type UsersDeleteCall func (c *UsersDeleteCall) Context(ctx context.Context) *UsersDeleteCall func (c *UsersDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) func (c *UsersDeleteCall) Fields(s ...googleapi.Field) *UsersDeleteCall func (c *UsersDeleteCall) Header() http.Header type UsersInsertCall func (c *UsersInsertCall) Context(ctx context.Context) *UsersInsertCall func (c *UsersInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error) func (c *UsersInsertCall) Fields(s ...googleapi.Field) *UsersInsertCall func (c *UsersInsertCall) Header() http.Header type UsersListCall func (c *UsersListCall) Context(ctx context.Context) *UsersListCall func (c *UsersListCall) Do(opts ...googleapi.CallOption) (*UsersListResponse, error) func (c *UsersListCall) Fields(s ...googleapi.Field) *UsersListCall func (c *UsersListCall) Header() http.Header func (c *UsersListCall) IfNoneMatch(entityTag string) *UsersListCall type UsersListResponse func (s *UsersListResponse) MarshalJSON() ([]byte, error) type UsersService func NewUsersService(s *Service) *UsersService func (r *UsersService) Delete(project string, instance string, host string, name string) *UsersDeleteCall func (r *UsersService) Insert(project string, instance string, user *User) *UsersInsertCall func (r *UsersService) List(project string, instance string) *UsersListCall func (r *UsersService) Update(project string, instance string, name string, user *User) *UsersUpdateCall type UsersUpdateCall func (c *UsersUpdateCall) Context(ctx context.Context) *UsersUpdateCall func (c *UsersUpdateCall) Do(opts ...googleapi.CallOption) (*Operation, error) func (c *UsersUpdateCall) Fields(s ...googleapi.Field) *UsersUpdateCall func (c *UsersUpdateCall) Header() http.Header func (c *UsersUpdateCall) Host(host string) *UsersUpdateCall
终于介绍完啦!小伙伴们,这篇关于《Google 云 SQL GoLang SDK 的适用性》的介绍应该让你收获多多了吧!欢迎大家收藏或分享给更多需要学习的朋友吧~golang学习网公众号也会发布Golang相关知识,快来关注吧!
版本声明
本文转载于:stackoverflow 如有侵犯,请联系study_golang@163.com删除

- 上一篇
- Go语言编程必备的包有哪些

- 下一篇
- 安装PHP的步骤:使用Yum工具在Linux系统
查看更多
最新文章
-
- Golang · Go问答 | 1年前 |
- 在读取缓冲通道中的内容之前退出
- 139浏览 收藏
-
- Golang · Go问答 | 1年前 |
- 戈兰岛的全球 GOPRIVATE 设置
- 204浏览 收藏
-
- Golang · Go问答 | 1年前 |
- 如何将结构作为参数传递给 xml-rpc
- 325浏览 收藏
-
- Golang · Go问答 | 1年前 |
- 如何用golang获得小数点以下两位长度?
- 477浏览 收藏
-
- Golang · Go问答 | 1年前 |
- 如何通过 client-go 和 golang 检索 Kubernetes 指标
- 486浏览 收藏
-
- Golang · Go问答 | 1年前 |
- 将多个“参数”映射到单个可变参数的习惯用法
- 439浏览 收藏
-
- Golang · Go问答 | 1年前 |
- 将 HTTP 响应正文写入文件后出现 EOF 错误
- 357浏览 收藏
-
- Golang · Go问答 | 1年前 |
- 结构中映射的匿名列表的“复合文字中缺少类型”
- 352浏览 收藏
-
- Golang · Go问答 | 1年前 |
- NATS Jetstream 的性能
- 101浏览 收藏
-
- Golang · Go问答 | 1年前 |
- 如何将复杂的字符串输入转换为mapstring?
- 440浏览 收藏
-
- Golang · Go问答 | 1年前 |
- 相当于GoLang中Java将Object作为方法参数传递
- 212浏览 收藏
-
- Golang · Go问答 | 1年前 |
- 如何确保所有 goroutine 在没有 time.Sleep 的情况下终止?
- 143浏览 收藏
查看更多
课程推荐
-
- 前端进阶之JavaScript设计模式
- 设计模式是开发人员在软件开发过程中面临一般问题时的解决方案,代表了最佳的实践。本课程的主打内容包括JS常见设计模式以及具体应用场景,打造一站式知识长龙服务,适合有JS基础的同学学习。
- 542次学习
-
- GO语言核心编程课程
- 本课程采用真实案例,全面具体可落地,从理论到实践,一步一步将GO核心编程技术、编程思想、底层实现融会贯通,使学习者贴近时代脉搏,做IT互联网时代的弄潮儿。
- 508次学习
-
- 简单聊聊mysql8与网络通信
- 如有问题加微信:Le-studyg;在课程中,我们将首先介绍MySQL8的新特性,包括性能优化、安全增强、新数据类型等,帮助学生快速熟悉MySQL8的最新功能。接着,我们将深入解析MySQL的网络通信机制,包括协议、连接管理、数据传输等,让
- 497次学习
-
- JavaScript正则表达式基础与实战
- 在任何一门编程语言中,正则表达式,都是一项重要的知识,它提供了高效的字符串匹配与捕获机制,可以极大的简化程序设计。
- 487次学习
-
- 从零制作响应式网站—Grid布局
- 本系列教程将展示从零制作一个假想的网络科技公司官网,分为导航,轮播,关于我们,成功案例,服务流程,团队介绍,数据部分,公司动态,底部信息等内容区块。网站整体采用CSSGrid布局,支持响应式,有流畅过渡和展现动画。
- 484次学习
查看更多
AI推荐
-
- 协启动
- SEO摘要协启动(XieQiDong Chatbot)是由深圳协启动传媒有限公司运营的AI智能服务平台,提供多模型支持的对话服务、文档处理和图像生成工具,旨在提升用户内容创作与信息处理效率。平台支持订阅制付费,适合个人及企业用户,满足日常聊天、文案生成、学习辅助等需求。
- 2次使用
-
- Brev AI
- 探索Brev AI,一个无需注册即可免费使用的AI音乐创作平台,提供多功能工具如音乐生成、去人声、歌词创作等,适用于内容创作、商业配乐和个人创作,满足您的音乐需求。
- 1次使用
-
- 谱乐AI
- 谱乐AI是由青岛艾夫斯科技有限公司开发的AI音乐生成工具,采用Suno和Udio模型,支持多种音乐风格的创作。访问https://yourmusic.fun/,体验智能作曲与编曲,个性化定制音乐,提升创作效率。
- 7次使用
-
- Vozo AI
- 探索Vozo AI,一款功能强大的在线AI视频换脸工具,支持跨性别、年龄和肤色换脸,适用于广告本地化、电影制作和创意内容创作,提升您的视频制作效率和效果。
- 7次使用
-
- AIGAZOU-AI图像生成
- AIGAZOU是一款先进的免费AI图像生成工具,无需登录即可使用,支持中文提示词,生成高清图像。适用于设计、内容创作、商业和艺术领域,提供自动提示词、专家模式等多种功能。
- 7次使用
查看更多
相关文章
-
- GoLand调式动态执行代码
- 2023-01-13 502浏览
-
- 用Nginx反向代理部署go写的网站。
- 2023-01-17 502浏览
-
- Golang取得代码运行时间的问题
- 2023-02-24 501浏览
-
- 请问 go 代码如何实现在代码改动后不需要Ctrl+c,然后重新 go run *.go 文件?
- 2023-01-08 501浏览
-
- 如何从同一个 io.Reader 读取多次
- 2023-04-11 501浏览