db

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SIADBWorkspaceServiceConfig = services.ArkServiceConfig{
	ServiceName:                "sia-workspaces-db",
	RequiredAuthenticatorNames: []string{"isp"},
	OptionalAuthenticatorNames: []string{},
}

SIADBWorkspaceServiceConfig is the configuration for the SIA db workspace service.

Functions

This section is empty.

Types

type ArkSIAWorkspacesDBService

type ArkSIAWorkspacesDBService struct {
	services.ArkService
	*services.ArkBaseService
	// contains filtered or unexported fields
}

ArkSIAWorkspacesDBService is the service for managing databases in a workspace.

func NewArkSIAWorkspacesDBService

func NewArkSIAWorkspacesDBService(authenticators ...auth.ArkAuth) (*ArkSIAWorkspacesDBService, error)

NewArkSIAWorkspacesDBService creates a new instance of ArkSIAWorkspacesDBService.

func (*ArkSIAWorkspacesDBService) AddDatabase

AddDatabase adds a new database to the SIA workspace.

func (*ArkSIAWorkspacesDBService) Database

Database retrieves a database by id or name.

func (*ArkSIAWorkspacesDBService) DatabasesStats

DatabasesStats calculates statistics about databases.

func (*ArkSIAWorkspacesDBService) DeleteDatabase

func (s *ArkSIAWorkspacesDBService) DeleteDatabase(deleteDatabase *dbmodels.ArkSIADBDeleteDatabase) error

DeleteDatabase deletes a database.

func (*ArkSIAWorkspacesDBService) ListDatabases

ListDatabases lists all databases.

func (*ArkSIAWorkspacesDBService) ListDatabasesBy

ListDatabasesBy filters databases by the given filters.

func (*ArkSIAWorkspacesDBService) ListEngineTypes

func (s *ArkSIAWorkspacesDBService) ListEngineTypes() []string

ListEngineTypes returns all possible database engine types.

func (*ArkSIAWorkspacesDBService) ListFamilyTypes

func (s *ArkSIAWorkspacesDBService) ListFamilyTypes() []string

ListFamilyTypes returns all possible database family types.

func (*ArkSIAWorkspacesDBService) ServiceConfig

ServiceConfig returns the service configuration for the ArkSIATargetSetsWorkspaceService.

func (*ArkSIAWorkspacesDBService) UpdateDatabase

UpdateDatabase updates a database.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL