Documentation ¶
Index ¶
- type AuditLogService
- type BackupsService
- func (b *BackupsService) Create(ctx context.Context, req *ps.CreateBackupRequest) (*ps.Backup, error)
- func (b *BackupsService) Delete(ctx context.Context, req *ps.DeleteBackupRequest) error
- func (b *BackupsService) Get(ctx context.Context, req *ps.GetBackupRequest) (*ps.Backup, error)
- func (b *BackupsService) List(ctx context.Context, req *ps.ListBackupsRequest) ([]*ps.Backup, error)
- type DataImportsService
- func (d *DataImportsService) CancelDataImport(ctx context.Context, request *ps.CancelDataImportRequest) error
- func (d *DataImportsService) DetachExternalDatabase(ctx context.Context, request *ps.DetachExternalDatabaseRequest) (*ps.DataImport, error)
- func (d *DataImportsService) GetDataImportStatus(ctx context.Context, request *ps.GetImportStatusRequest) (*ps.DataImport, error)
- func (d *DataImportsService) MakePlanetScalePrimary(ctx context.Context, request *ps.MakePlanetScalePrimaryRequest) (*ps.DataImport, error)
- func (d *DataImportsService) MakePlanetScaleReplica(ctx context.Context, request *ps.MakePlanetScaleReplicaRequest) (*ps.DataImport, error)
- func (d *DataImportsService) StartDataImport(ctx context.Context, request *ps.StartDataImportRequest) (*ps.DataImport, error)
- func (d *DataImportsService) TestDataImportSource(ctx context.Context, request *ps.TestDataImportSourceRequest) (*ps.TestDataImportSourceResponse, error)
- type DatabaseBranchesService
- func (d *DatabaseBranchesService) Create(ctx context.Context, req *ps.CreateDatabaseBranchRequest) (*ps.DatabaseBranch, error)
- func (d *DatabaseBranchesService) Delete(ctx context.Context, req *ps.DeleteDatabaseBranchRequest) error
- func (d *DatabaseBranchesService) Diff(ctx context.Context, req *ps.DiffBranchRequest) ([]*ps.Diff, error)
- func (d *DatabaseBranchesService) Get(ctx context.Context, req *ps.GetDatabaseBranchRequest) (*ps.DatabaseBranch, error)
- func (d *DatabaseBranchesService) GetPromotionRequest(ctx context.Context, req *ps.GetPromotionRequestRequest) (*ps.BranchPromotionRequest, error)
- func (d *DatabaseBranchesService) Keyspaces(ctx context.Context, req *ps.BranchKeyspacesRequest) ([]*ps.Keyspace, error)
- func (d *DatabaseBranchesService) List(ctx context.Context, req *ps.ListDatabaseBranchesRequest) ([]*ps.DatabaseBranch, error)
- func (d *DatabaseBranchesService) Promote(ctx context.Context, req *ps.PromoteRequest) (*ps.BranchPromotionRequest, error)
- func (d *DatabaseBranchesService) RefreshSchema(ctx context.Context, req *ps.RefreshSchemaRequest) error
- func (d *DatabaseBranchesService) Schema(ctx context.Context, req *ps.BranchSchemaRequest) ([]*ps.Diff, error)
- func (d *DatabaseBranchesService) VSchema(ctx context.Context, req *ps.BranchVSchemaRequest) (*ps.VSchemaDiff, error)
- type DatabaseService
- func (d *DatabaseService) Create(ctx context.Context, req *ps.CreateDatabaseRequest) (*ps.Database, error)
- func (d *DatabaseService) Delete(ctx context.Context, req *ps.DeleteDatabaseRequest) (*ps.DatabaseDeletionRequest, error)
- func (d *DatabaseService) Get(ctx context.Context, req *ps.GetDatabaseRequest) (*ps.Database, error)
- func (d *DatabaseService) List(ctx context.Context, req *ps.ListDatabasesRequest, opts ...ps.ListOption) ([]*ps.Database, error)
- type DeployRequestsService
- func (d *DeployRequestsService) ApplyDeploy(ctx context.Context, req *ps.ApplyDeployRequestRequest) (*ps.DeployRequest, error)
- func (d *DeployRequestsService) AutoApplyDeploy(ctx context.Context, req *ps.AutoApplyDeployRequestRequest) (*ps.DeployRequest, error)
- func (d *DeployRequestsService) CancelDeploy(ctx context.Context, req *ps.CancelDeployRequestRequest) (*ps.DeployRequest, error)
- func (d *DeployRequestsService) CloseDeploy(ctx context.Context, req *ps.CloseDeployRequestRequest) (*ps.DeployRequest, error)
- func (d *DeployRequestsService) Create(ctx context.Context, req *ps.CreateDeployRequestRequest) (*ps.DeployRequest, error)
- func (d *DeployRequestsService) CreateReview(ctx context.Context, req *ps.ReviewDeployRequestRequest) (*ps.DeployRequestReview, error)
- func (d *DeployRequestsService) Deploy(ctx context.Context, req *ps.PerformDeployRequest) (*ps.DeployRequest, error)
- func (d *DeployRequestsService) Diff(ctx context.Context, req *ps.DiffRequest) ([]*ps.Diff, error)
- func (d *DeployRequestsService) Get(ctx context.Context, req *ps.GetDeployRequestRequest) (*ps.DeployRequest, error)
- func (d *DeployRequestsService) List(ctx context.Context, req *ps.ListDeployRequestsRequest) ([]*ps.DeployRequest, error)
- func (d *DeployRequestsService) RevertDeploy(ctx context.Context, req *ps.RevertDeployRequestRequest) (*ps.DeployRequest, error)
- func (d *DeployRequestsService) SkipRevertDeploy(ctx context.Context, req *ps.SkipRevertDeployRequestRequest) (*ps.DeployRequest, error)
- type OrganizationsService
- func (o *OrganizationsService) Get(ctx context.Context, req *ps.GetOrganizationRequest) (*ps.Organization, error)
- func (o *OrganizationsService) List(ctx context.Context) ([]*ps.Organization, error)
- func (o *OrganizationsService) ListRegions(ctx context.Context, req *ps.ListOrganizationRegionsRequest) ([]*ps.Region, error)
- type PasswordsService
- func (b *PasswordsService) Create(ctx context.Context, req *ps.DatabaseBranchPasswordRequest) (*ps.DatabaseBranchPassword, error)
- func (b *PasswordsService) Delete(ctx context.Context, req *ps.DeleteDatabaseBranchPasswordRequest) error
- func (b *PasswordsService) Get(ctx context.Context, req *ps.GetDatabaseBranchPasswordRequest) (*ps.DatabaseBranchPassword, error)
- func (b *PasswordsService) List(ctx context.Context, req *ps.ListDatabaseBranchPasswordRequest) ([]*ps.DatabaseBranchPassword, error)
- type ServiceTokenService
- func (s *ServiceTokenService) AddAccess(ctx context.Context, req *ps.AddServiceTokenAccessRequest) ([]*ps.ServiceTokenAccess, error)
- func (s *ServiceTokenService) Create(ctx context.Context, req *ps.CreateServiceTokenRequest) (*ps.ServiceToken, error)
- func (s *ServiceTokenService) Delete(ctx context.Context, req *ps.DeleteServiceTokenRequest) error
- func (s *ServiceTokenService) DeleteAccess(ctx context.Context, req *ps.DeleteServiceTokenAccessRequest) error
- func (s *ServiceTokenService) GetAccess(ctx context.Context, req *ps.GetServiceTokenAccessRequest) ([]*ps.ServiceTokenAccess, error)
- func (s *ServiceTokenService) List(ctx context.Context, req *ps.ListServiceTokensRequest) ([]*ps.ServiceToken, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditLogService ¶ added in v0.60.0
type AuditLogService struct { ListFn func(context.Context, *ps.ListAuditLogsRequest, ...ps.ListOption) (*ps.CursorPaginatedResponse[*ps.AuditLog], error) ListFnInvoked bool }
func (*AuditLogService) List ¶ added in v0.60.0
func (a *AuditLogService) List(ctx context.Context, req *ps.ListAuditLogsRequest, opts ...ps.ListOption) (*ps.CursorPaginatedResponse[*ps.AuditLog], error)
type BackupsService ¶ added in v0.17.0
type BackupsService struct { CreateFn func(context.Context, *ps.CreateBackupRequest) (*ps.Backup, error) CreateFnInvoked bool GetFn func(context.Context, *ps.GetBackupRequest) (*ps.Backup, error) GetFnInvoked bool ListFn func(context.Context, *ps.ListBackupsRequest) ([]*ps.Backup, error) ListFnInvoked bool DeleteFn func(context.Context, *ps.DeleteBackupRequest) error DeleteFnInvoked bool }
func (*BackupsService) Create ¶ added in v0.17.0
func (b *BackupsService) Create(ctx context.Context, req *ps.CreateBackupRequest) (*ps.Backup, error)
func (*BackupsService) Delete ¶ added in v0.17.0
func (b *BackupsService) Delete(ctx context.Context, req *ps.DeleteBackupRequest) error
func (*BackupsService) Get ¶ added in v0.17.0
func (b *BackupsService) Get(ctx context.Context, req *ps.GetBackupRequest) (*ps.Backup, error)
func (*BackupsService) List ¶ added in v0.17.0
func (b *BackupsService) List(ctx context.Context, req *ps.ListBackupsRequest) ([]*ps.Backup, error)
type DataImportsService ¶ added in v0.99.0
type DataImportsService struct { TestDataImportSourceFn func(ctx context.Context, request *ps.TestDataImportSourceRequest) (*ps.TestDataImportSourceResponse, error) TestDataImportSourceFnInvoked bool StartDataImportFn func(ctx context.Context, request *ps.StartDataImportRequest) (*ps.DataImport, error) StartDataImportFnInvoked bool CancelDataImportFn func(ctx context.Context, request *ps.CancelDataImportRequest) error CancelDataImportFnInvoked bool GetDataImportStatusFn func(ctx context.Context, request *ps.GetImportStatusRequest) (*ps.DataImport, error) GetDataImportStatusFnInvoked bool MakePlanetScalePrimaryFn func(ctx context.Context, request *ps.MakePlanetScalePrimaryRequest) (*ps.DataImport, error) MakePlanetScalePrimaryFnInvoked bool MakePlanetScaleReplicaFn func(ctx context.Context, request *ps.MakePlanetScaleReplicaRequest) (*ps.DataImport, error) MakePlanetScaleReplicaFnInvoked bool DetachExternalDatabaseFn func(ctx context.Context, request *ps.DetachExternalDatabaseRequest) (*ps.DataImport, error) DetachExternalDatabaseFnInvoked bool }
func (*DataImportsService) CancelDataImport ¶ added in v0.99.0
func (d *DataImportsService) CancelDataImport(ctx context.Context, request *ps.CancelDataImportRequest) error
func (*DataImportsService) DetachExternalDatabase ¶ added in v0.99.0
func (d *DataImportsService) DetachExternalDatabase(ctx context.Context, request *ps.DetachExternalDatabaseRequest) (*ps.DataImport, error)
func (*DataImportsService) GetDataImportStatus ¶ added in v0.99.0
func (d *DataImportsService) GetDataImportStatus(ctx context.Context, request *ps.GetImportStatusRequest) (*ps.DataImport, error)
func (*DataImportsService) MakePlanetScalePrimary ¶ added in v0.99.0
func (d *DataImportsService) MakePlanetScalePrimary(ctx context.Context, request *ps.MakePlanetScalePrimaryRequest) (*ps.DataImport, error)
func (*DataImportsService) MakePlanetScaleReplica ¶ added in v0.99.0
func (d *DataImportsService) MakePlanetScaleReplica(ctx context.Context, request *ps.MakePlanetScaleReplicaRequest) (*ps.DataImport, error)
func (*DataImportsService) StartDataImport ¶ added in v0.99.0
func (d *DataImportsService) StartDataImport(ctx context.Context, request *ps.StartDataImportRequest) (*ps.DataImport, error)
func (*DataImportsService) TestDataImportSource ¶ added in v0.99.0
func (d *DataImportsService) TestDataImportSource(ctx context.Context, request *ps.TestDataImportSourceRequest) (*ps.TestDataImportSourceResponse, error)
type DatabaseBranchesService ¶ added in v0.16.0
type DatabaseBranchesService struct { CreateFn func(context.Context, *ps.CreateDatabaseBranchRequest) (*ps.DatabaseBranch, error) CreateFnInvoked bool ListFn func(context.Context, *ps.ListDatabaseBranchesRequest) ([]*ps.DatabaseBranch, error) ListFnInvoked bool GetFn func(context.Context, *ps.GetDatabaseBranchRequest) (*ps.DatabaseBranch, error) GetFnInvoked bool DeleteFn func(context.Context, *ps.DeleteDatabaseBranchRequest) error DeleteFnInvoked bool DiffFn func(context.Context, *ps.DiffBranchRequest) ([]*ps.Diff, error) DiffFnInvoked bool SchemaFn func(context.Context, *ps.BranchSchemaRequest) ([]*ps.Diff, error) SchemaFnInvoked bool VSchemaFn func(context.Context, *ps.BranchVSchemaRequest) (*ps.VSchemaDiff, error) VSchemaFnInvoked bool KeyspacesFn func(context.Context, *ps.BranchKeyspacesRequest) ([]*ps.Keyspace, error) KeyspacesFnInvoked bool RefreshSchemaFn func(context.Context, *ps.RefreshSchemaRequest) error RefreshSchemaFnInvoked bool PromoteFn func(context.Context, *ps.PromoteRequest) (*ps.BranchPromotionRequest, error) PromoteFnInvoked bool GetPromotionRequestFn func(context.Context, *ps.GetPromotionRequestRequest) (*ps.BranchPromotionRequest, error) GetPromotionRequestFnInvoked bool }
func (*DatabaseBranchesService) Create ¶ added in v0.16.0
func (d *DatabaseBranchesService) Create(ctx context.Context, req *ps.CreateDatabaseBranchRequest) (*ps.DatabaseBranch, error)
func (*DatabaseBranchesService) Delete ¶ added in v0.16.0
func (d *DatabaseBranchesService) Delete(ctx context.Context, req *ps.DeleteDatabaseBranchRequest) error
func (*DatabaseBranchesService) Diff ¶ added in v0.21.0
func (d *DatabaseBranchesService) Diff(ctx context.Context, req *ps.DiffBranchRequest) ([]*ps.Diff, error)
func (*DatabaseBranchesService) Get ¶ added in v0.16.0
func (d *DatabaseBranchesService) Get(ctx context.Context, req *ps.GetDatabaseBranchRequest) (*ps.DatabaseBranch, error)
func (*DatabaseBranchesService) GetPromotionRequest ¶ added in v0.75.0
func (d *DatabaseBranchesService) GetPromotionRequest(ctx context.Context, req *ps.GetPromotionRequestRequest) (*ps.BranchPromotionRequest, error)
func (*DatabaseBranchesService) Keyspaces ¶ added in v0.110.0
func (d *DatabaseBranchesService) Keyspaces(ctx context.Context, req *ps.BranchKeyspacesRequest) ([]*ps.Keyspace, error)
func (*DatabaseBranchesService) List ¶ added in v0.16.0
func (d *DatabaseBranchesService) List(ctx context.Context, req *ps.ListDatabaseBranchesRequest) ([]*ps.DatabaseBranch, error)
func (*DatabaseBranchesService) Promote ¶ added in v0.64.0
func (d *DatabaseBranchesService) Promote(ctx context.Context, req *ps.PromoteRequest) (*ps.BranchPromotionRequest, error)
func (*DatabaseBranchesService) RefreshSchema ¶ added in v0.28.0
func (d *DatabaseBranchesService) RefreshSchema(ctx context.Context, req *ps.RefreshSchemaRequest) error
func (*DatabaseBranchesService) Schema ¶ added in v0.21.0
func (d *DatabaseBranchesService) Schema(ctx context.Context, req *ps.BranchSchemaRequest) ([]*ps.Diff, error)
func (*DatabaseBranchesService) VSchema ¶ added in v0.96.0
func (d *DatabaseBranchesService) VSchema(ctx context.Context, req *ps.BranchVSchemaRequest) (*ps.VSchemaDiff, error)
type DatabaseService ¶
type DatabaseService struct { CreateFn func(context.Context, *ps.CreateDatabaseRequest) (*ps.Database, error) CreateFnInvoked bool GetFn func(context.Context, *ps.GetDatabaseRequest) (*ps.Database, error) GetFnInvoked bool ListFn func(context.Context, *ps.ListDatabasesRequest, ...ps.ListOption) ([]*ps.Database, error) ListFnInvoked bool DeleteFn func(context.Context, *ps.DeleteDatabaseRequest) (*ps.DatabaseDeletionRequest, error) DeleteFnInvoked bool }
func (*DatabaseService) Create ¶
func (d *DatabaseService) Create(ctx context.Context, req *ps.CreateDatabaseRequest) (*ps.Database, error)
func (*DatabaseService) Delete ¶
func (d *DatabaseService) Delete(ctx context.Context, req *ps.DeleteDatabaseRequest) (*ps.DatabaseDeletionRequest, error)
func (*DatabaseService) Get ¶
func (d *DatabaseService) Get(ctx context.Context, req *ps.GetDatabaseRequest) (*ps.Database, error)
func (*DatabaseService) List ¶
func (d *DatabaseService) List(ctx context.Context, req *ps.ListDatabasesRequest, opts ...ps.ListOption) ([]*ps.Database, error)
type DeployRequestsService ¶ added in v0.16.1
type DeployRequestsService struct { ApplyFn func(context.Context, *ps.ApplyDeployRequestRequest) (*ps.DeployRequest, error) ApplyFnInvoked bool AutoApplyFn func(context.Context, *ps.AutoApplyDeployRequestRequest) (*ps.DeployRequest, error) AutoApplyFnInvoked bool CancelFn func(context.Context, *ps.CancelDeployRequestRequest) (*ps.DeployRequest, error) CancelFnInvoked bool CloseFn func(context.Context, *ps.CloseDeployRequestRequest) (*ps.DeployRequest, error) CloseFnInvoked bool CreateFn func(context.Context, *ps.CreateDeployRequestRequest) (*ps.DeployRequest, error) CreateFnInvoked bool CreateReviewFn func(context.Context, *ps.ReviewDeployRequestRequest) (*ps.DeployRequestReview, error) CreateReviewFnInvoked bool DeployFn func(context.Context, *ps.PerformDeployRequest) (*ps.DeployRequest, error) DeployFnInvoked bool DiffFn func(context.Context, *ps.DiffRequest) ([]*ps.Diff, error) DiffFnInvoked bool GetFn func(context.Context, *ps.GetDeployRequestRequest) (*ps.DeployRequest, error) GetFnInvoked bool ListFn func(context.Context, *ps.ListDeployRequestsRequest) ([]*ps.DeployRequest, error) ListFnInvoked bool RevertDeployFn func(context.Context, *ps.RevertDeployRequestRequest) (*ps.DeployRequest, error) RevertDeployFnInvoked bool SkipRevertDeployFn func(context.Context, *ps.SkipRevertDeployRequestRequest) (*ps.DeployRequest, error) SkipRevertDeployFnInvoked bool AutoApplyDeployFn func(context.Context, *ps.AutoApplyDeployRequestRequest) (*ps.DeployRequest, error) AutoApplyDeployFnInvoked bool }
func (*DeployRequestsService) ApplyDeploy ¶ added in v0.116.0
func (d *DeployRequestsService) ApplyDeploy(ctx context.Context, req *ps.ApplyDeployRequestRequest) (*ps.DeployRequest, error)
func (*DeployRequestsService) AutoApplyDeploy ¶ added in v0.116.0
func (d *DeployRequestsService) AutoApplyDeploy(ctx context.Context, req *ps.AutoApplyDeployRequestRequest) (*ps.DeployRequest, error)
func (*DeployRequestsService) CancelDeploy ¶ added in v0.16.1
func (d *DeployRequestsService) CancelDeploy(ctx context.Context, req *ps.CancelDeployRequestRequest) (*ps.DeployRequest, error)
func (*DeployRequestsService) CloseDeploy ¶ added in v0.16.1
func (d *DeployRequestsService) CloseDeploy(ctx context.Context, req *ps.CloseDeployRequestRequest) (*ps.DeployRequest, error)
func (*DeployRequestsService) Create ¶ added in v0.16.1
func (d *DeployRequestsService) Create(ctx context.Context, req *ps.CreateDeployRequestRequest) (*ps.DeployRequest, error)
func (*DeployRequestsService) CreateReview ¶ added in v0.16.1
func (d *DeployRequestsService) CreateReview(ctx context.Context, req *ps.ReviewDeployRequestRequest) (*ps.DeployRequestReview, error)
func (*DeployRequestsService) Deploy ¶ added in v0.16.1
func (d *DeployRequestsService) Deploy(ctx context.Context, req *ps.PerformDeployRequest) (*ps.DeployRequest, error)
func (*DeployRequestsService) Diff ¶ added in v0.16.1
func (d *DeployRequestsService) Diff(ctx context.Context, req *ps.DiffRequest) ([]*ps.Diff, error)
func (*DeployRequestsService) Get ¶ added in v0.16.1
func (d *DeployRequestsService) Get(ctx context.Context, req *ps.GetDeployRequestRequest) (*ps.DeployRequest, error)
func (*DeployRequestsService) List ¶ added in v0.16.1
func (d *DeployRequestsService) List(ctx context.Context, req *ps.ListDeployRequestsRequest) ([]*ps.DeployRequest, error)
func (*DeployRequestsService) RevertDeploy ¶ added in v0.101.0
func (d *DeployRequestsService) RevertDeploy(ctx context.Context, req *ps.RevertDeployRequestRequest) (*ps.DeployRequest, error)
func (*DeployRequestsService) SkipRevertDeploy ¶ added in v0.101.0
func (d *DeployRequestsService) SkipRevertDeploy(ctx context.Context, req *ps.SkipRevertDeployRequestRequest) (*ps.DeployRequest, error)
type OrganizationsService ¶ added in v0.19.0
type OrganizationsService struct { GetFn func(context.Context, *ps.GetOrganizationRequest) (*ps.Organization, error) GetFnInvoked bool ListFn func(context.Context) ([]*ps.Organization, error) ListFnInvoked bool ListRegionsFn func(context.Context, *ps.ListOrganizationRegionsRequest) ([]*ps.Region, error) ListRegionsFnInvoked bool }
func (*OrganizationsService) Get ¶ added in v0.19.0
func (o *OrganizationsService) Get(ctx context.Context, req *ps.GetOrganizationRequest) (*ps.Organization, error)
func (*OrganizationsService) List ¶ added in v0.19.0
func (o *OrganizationsService) List(ctx context.Context) ([]*ps.Organization, error)
func (*OrganizationsService) ListRegions ¶ added in v0.64.0
func (o *OrganizationsService) ListRegions(ctx context.Context, req *ps.ListOrganizationRegionsRequest) ([]*ps.Region, error)
type PasswordsService ¶ added in v0.64.0
type PasswordsService struct { CreateFn func(context.Context, *ps.DatabaseBranchPasswordRequest) (*ps.DatabaseBranchPassword, error) CreateFnInvoked bool ListFn func(context.Context, *ps.ListDatabaseBranchPasswordRequest) ([]*ps.DatabaseBranchPassword, error) ListFnInvoked bool GetFn func(context.Context, *ps.GetDatabaseBranchPasswordRequest) (*ps.DatabaseBranchPassword, error) GetFnInvoked bool DeleteFn func(context.Context, *ps.DeleteDatabaseBranchPasswordRequest) error DeleteFnInvoked bool }
func (*PasswordsService) Create ¶ added in v0.64.0
func (b *PasswordsService) Create(ctx context.Context, req *ps.DatabaseBranchPasswordRequest) (*ps.DatabaseBranchPassword, error)
func (*PasswordsService) Delete ¶ added in v0.64.0
func (b *PasswordsService) Delete(ctx context.Context, req *ps.DeleteDatabaseBranchPasswordRequest) error
func (*PasswordsService) Get ¶ added in v0.64.0
func (b *PasswordsService) Get(ctx context.Context, req *ps.GetDatabaseBranchPasswordRequest) (*ps.DatabaseBranchPassword, error)
func (*PasswordsService) List ¶ added in v0.64.0
func (b *PasswordsService) List(ctx context.Context, req *ps.ListDatabaseBranchPasswordRequest) ([]*ps.DatabaseBranchPassword, error)
type ServiceTokenService ¶ added in v0.21.0
type ServiceTokenService struct { CreateFn func(context.Context, *ps.CreateServiceTokenRequest) (*ps.ServiceToken, error) CreateFnInvoked bool ListFn func(context.Context, *ps.ListServiceTokensRequest) ([]*ps.ServiceToken, error) ListFnInvoked bool DeleteFn func(context.Context, *ps.DeleteServiceTokenRequest) error DeleteFnInvoked bool GetAccessFn func(context.Context, *ps.GetServiceTokenAccessRequest) ([]*ps.ServiceTokenAccess, error) GetAccessFnInvoked bool AddAccessFn func(context.Context, *ps.AddServiceTokenAccessRequest) ([]*ps.ServiceTokenAccess, error) AddAccessFnInvoked bool DeleteAccessFn func(context.Context, *ps.DeleteServiceTokenAccessRequest) error DeleteAccessFnInvoked bool }
func (*ServiceTokenService) AddAccess ¶ added in v0.21.0
func (s *ServiceTokenService) AddAccess(ctx context.Context, req *ps.AddServiceTokenAccessRequest) ([]*ps.ServiceTokenAccess, error)
func (*ServiceTokenService) Create ¶ added in v0.21.0
func (s *ServiceTokenService) Create(ctx context.Context, req *ps.CreateServiceTokenRequest) (*ps.ServiceToken, error)
func (*ServiceTokenService) Delete ¶ added in v0.21.0
func (s *ServiceTokenService) Delete(ctx context.Context, req *ps.DeleteServiceTokenRequest) error
func (*ServiceTokenService) DeleteAccess ¶ added in v0.21.0
func (s *ServiceTokenService) DeleteAccess(ctx context.Context, req *ps.DeleteServiceTokenAccessRequest) error
func (*ServiceTokenService) GetAccess ¶ added in v0.21.0
func (s *ServiceTokenService) GetAccess(ctx context.Context, req *ps.GetServiceTokenAccessRequest) ([]*ps.ServiceTokenAccess, error)
func (*ServiceTokenService) List ¶ added in v0.21.0
func (s *ServiceTokenService) List(ctx context.Context, req *ps.ListServiceTokensRequest) ([]*ps.ServiceToken, error)
Click to show internal directories.
Click to hide internal directories.