Documentation
¶
Index ¶
- Variables
- type ArkSIADBService
- func (s *ArkSIADBService) GenerateOracleTnsNames(generateOracleAssets *dbmodels.ArkSIADBOracleGenerateAssets) error
- func (s *ArkSIADBService) GenerateProxyFullChain(generateProxyFullChain *dbmodels.ArkSIADBProxyFullChainGenerateAssets) error
- func (s *ArkSIADBService) Mysql(mysqlExecution *dbmodels.ArkSIADBMysqlExecution) error
- func (s *ArkSIADBService) Psql(psqlExecution *dbmodels.ArkSIADBPsqlExecution) error
- func (s *ArkSIADBService) ServiceConfig() services.ArkServiceConfig
- func (s *ArkSIADBService) Sqlcmd(sqlcmdExecution *dbmodels.ArkSIADBSqlcmdExecution) error
Constants ¶
This section is empty.
Variables ¶
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.