db

package
v0.0.0-...-ad4e036 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2025 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

SIADBServiceConfig is the configuration for the ArkSIADBService.

Functions

This section is empty.

Types

type ArkSIADBService

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

ArkSIADBService is a struct that implements the ArkService interface and provides functionality for DB service of SIA.

func NewArkSIADBService

func NewArkSIADBService(authenticators ...auth.ArkAuth) (*ArkSIADBService, error)

NewArkSIADBService creates a new instance of ArkSIADBService with the provided authenticators.

func (*ArkSIADBService) GenerateOracleTnsNames

func (s *ArkSIADBService) GenerateOracleTnsNames(generateOracleAssets *dbmodels.ArkSIADBOracleGenerateAssets) error

GenerateOracleTnsNames generates Oracle TNS names and writes them to the specified folder.

func (*ArkSIADBService) GenerateProxyFullChain

func (s *ArkSIADBService) GenerateProxyFullChain(generateProxyFullChain *dbmodels.ArkSIADBProxyFullChainGenerateAssets) error

GenerateProxyFullChain generates a proxy full chain asset and writes it to the specified folder.

func (*ArkSIADBService) Mysql

func (s *ArkSIADBService) Mysql(mysqlExecution *dbmodels.ArkSIADBMysqlExecution) error

Mysql executes a MySQL command using the provided execution parameters.

func (*ArkSIADBService) Psql

func (s *ArkSIADBService) Psql(psqlExecution *dbmodels.ArkSIADBPsqlExecution) error

Psql executes a PostgreSQL command using the provided execution parameters.

func (*ArkSIADBService) ServiceConfig

func (s *ArkSIADBService) ServiceConfig() services.ArkServiceConfig

ServiceConfig returns the service configuration for the ArkSIADBService.

func (*ArkSIADBService) Sqlcmd

func (s *ArkSIADBService) Sqlcmd(sqlcmdExecution *dbmodels.ArkSIADBSqlcmdExecution) error

Sqlcmd executes a sqlcmd command using the provided execution parameters.

Jump to

Keyboard shortcuts

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