Documentation ¶
Index ¶
- func AddBacalhauCliFlags(cmd *cobra.Command, bacalhauOptions *bacalhau.BacalhauExecutorOptions)
- func AddPricingCliFlags(cmd *cobra.Command, pricingConfig *dto.DealPricing)
- func AddPricingModeCliFlags(cmd *cobra.Command, pricingMode *dto.PricingMode)
- func AddServicesCliFlags(cmd *cobra.Command, servicesConfig *dto.ServiceConfig)
- func AddTimeoutCliFlags(cmd *cobra.Command, timeoutConfig *dto.DealTimeouts)
- func AddWeb3CliFlags(cmd *cobra.Command, web3Options *web3.Web3Options)
- func CheckBacalhauOptions(options bacalhau.BacalhauExecutorOptions) error
- func CheckServicesOptions(options dto.ServiceConfig) error
- func CheckWeb3Options(options web3.Web3Options) error
- func GetDefaultBacalhauOptions() bacalhau.BacalhauExecutorOptions
- func GetDefaultPricingMode(mode dto.PricingMode) (pricingMode dto.PricingMode)
- func GetDefaultPricingOptions() dto.DealPricing
- func GetDefaultServeOptionInt(envName string, defaultValue int) int
- func GetDefaultServeOptionString(envName string, defaultValue string) string
- func GetDefaultServeOptionStringArray(envName string, defaultValue []string) []string
- func GetDefaultServeOptionUint64(envName string, defaultValue uint64) uint64
- func GetDefaultServicesOptions() dto.ServiceConfig
- func GetDefaultTimeoutOptions() dto.DealTimeouts
- func GetDefaultWeb3Options(s enums.ServiceType) web3.Web3Options
- func ProcessServicesOptions(options dto.ServiceConfig) (dto.ServiceConfig, error)
- func ProcessWeb3Options(options web3.Web3Options) (web3.Web3Options, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddBacalhauCliFlags ¶
func AddBacalhauCliFlags(cmd *cobra.Command, bacalhauOptions *bacalhau.BacalhauExecutorOptions)
func AddPricingCliFlags ¶
func AddPricingCliFlags(cmd *cobra.Command, pricingConfig *dto.DealPricing)
func AddPricingModeCliFlags ¶
func AddPricingModeCliFlags(cmd *cobra.Command, pricingMode *dto.PricingMode)
func AddServicesCliFlags ¶
func AddServicesCliFlags(cmd *cobra.Command, servicesConfig *dto.ServiceConfig)
func AddTimeoutCliFlags ¶
func AddTimeoutCliFlags(cmd *cobra.Command, timeoutConfig *dto.DealTimeouts)
func AddWeb3CliFlags ¶
func AddWeb3CliFlags(cmd *cobra.Command, web3Options *web3.Web3Options)
func CheckBacalhauOptions ¶
func CheckBacalhauOptions(options bacalhau.BacalhauExecutorOptions) error
func CheckServicesOptions ¶
func CheckServicesOptions(options dto.ServiceConfig) error
func CheckWeb3Options ¶
func CheckWeb3Options(options web3.Web3Options) error
func GetDefaultBacalhauOptions ¶
func GetDefaultBacalhauOptions() bacalhau.BacalhauExecutorOptions
func GetDefaultPricingMode ¶
func GetDefaultPricingMode(mode dto.PricingMode) (pricingMode dto.PricingMode)
func GetDefaultPricingOptions ¶
func GetDefaultPricingOptions() dto.DealPricing
func GetDefaultServeOptionUint64 ¶
TODO: migrate all these with conf.Config
func GetDefaultServicesOptions ¶
func GetDefaultServicesOptions() dto.ServiceConfig
func GetDefaultTimeoutOptions ¶
func GetDefaultTimeoutOptions() dto.DealTimeouts
func GetDefaultWeb3Options ¶
func GetDefaultWeb3Options(s enums.ServiceType) web3.Web3Options
func ProcessServicesOptions ¶
func ProcessServicesOptions(options dto.ServiceConfig) (dto.ServiceConfig, error)
func ProcessWeb3Options ¶
func ProcessWeb3Options(options web3.Web3Options) (web3.Web3Options, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.