models

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ResponseFormatRaw  = "raw"
	ResponseFormatJSON = "json"
)

Possible response formats

View Source
const (
	AssetTypeProxyFullChain  = "proxy_full_chain"
	AssetTypeOracleTNSAssets = "oracle_tns_assets"
)

Possible asset types

Variables

This section is empty.

Functions

This section is empty.

Types

type ArkSIADBBaseExecution

type ArkSIADBBaseExecution struct {
	TargetAddress  string `json:"target_address" mapstructure:"target_address" flag:"target-address" desc:"Target address to connect to"`
	TargetUsername string `` /* 134-byte string literal not displayed */
	NetworkName    string `` /* 148-byte string literal not displayed */
}

ArkSIADBBaseExecution defines the base structure for database execution parameters

type ArkSIADBBaseGenerateAssets

type ArkSIADBBaseGenerateAssets struct {
	ConnectionMethod string `` /* 193-byte string literal not displayed */
	ResponseFormat   string `` /* 153-byte string literal not displayed */
	Folder           string `json:"folder" mapstructure:"folder" flag:"folder" desc:"Where to output the assets"`
}

ArkSIADBBaseGenerateAssets represents the base structure for generating assets.

type ArkSIADBMysqlExecution

type ArkSIADBMysqlExecution struct {
	ArkSIADBBaseExecution `mapstructure:",squash"`
	MysqlPath             string `json:"mysql_path" mapstructure:"mysql_path" flag:"mysql-path" desc:"Path to the mysql executable" default:"mysql"`
}

ArkSIADBMysqlExecution defines the structure for executing MySQL commands in the ArkDBA context.

type ArkSIADBOracleGenerateAssets

type ArkSIADBOracleGenerateAssets struct {
	ArkSIADBBaseGenerateAssets `mapstructure:",squash"`
	Unzip                      bool `json:"unzip" mapstructure:"unzip" flag:"unzip" desc:"Whether to save zipped or not" default:"true"`
	IncludeSSO                 bool `` /* 133-byte string literal not displayed */
}

ArkSIADBOracleGenerateAssets represents the structure for generating Oracle assets.

type ArkSIADBProxyFullChainGenerateAssets

type ArkSIADBProxyFullChainGenerateAssets struct {
	ArkSIADBBaseGenerateAssets `mapstructure:",squash"`
}

ArkSIADBProxyFullChainGenerateAssets represents the structure for generating proxy full chain assets.

type ArkSIADBPsqlExecution

type ArkSIADBPsqlExecution struct {
	ArkSIADBBaseExecution `mapstructure:",squash"`
	PsqlPath              string `json:"psql_path" mapstructure:"psql_path" flag:"psql-path" desc:"Path to the psql executable" default:"psql"`
}

ArkSIADBPsqlExecution defines the structure for executing PostgreSQL commands in the ArkDBA context.

type ArkSIADBSqlcmdExecution

type ArkSIADBSqlcmdExecution struct {
	ArkSIADBBaseExecution `mapstructure:",squash"`
	SqlcmdPath            string `json:"sqlcmd_path" mapstructure:"sqlcmd_path" flag:"sqlcmd-path" desc:"Path to the sqlcmd executable" default:"sqlcmd"`
}

ArkSIADBSqlcmdExecution defines the structure for executing SQLCMD commands in the ArkDBA context.

Jump to

Keyboard shortcuts

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