options

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddBacalhauCliFlags

func AddBacalhauCliFlags(cmd *cobra.Command, bacalhauOptions *bacalhau.BacalhauExecutorOptions)

func AddMediatorCliFlags

func AddMediatorCliFlags(cmd *cobra.Command, options *mediator.MediatorOptions)

func AddModuleCliFlags

func AddModuleCliFlags(cmd *cobra.Command, moduleConfig *data.ModuleConfig)

func AddPricingCliFlags

func AddPricingCliFlags(cmd *cobra.Command, pricingConfig *data.DealPricing)

func AddPricingModeCliFlags

func AddPricingModeCliFlags(cmd *cobra.Command, pricingMode *data.PricingMode)

func AddResourceProviderCliFlags

func AddResourceProviderCliFlags(cmd *cobra.Command, options *internal_resourceprovider.ResourceProviderOptions)

func AddResourceProviderOfferCliFlags

func AddResourceProviderOfferCliFlags(cmd *cobra.Command, offerOptions *internal_resourceprovider.ResourceProviderOfferOptions)

func AddServerCliFlags

func AddServerCliFlags(cmd *cobra.Command, serverOptions *http.ServerOptions)

func AddServicesCliFlags

func AddServicesCliFlags(cmd *cobra.Command, servicesConfig *data.ServiceConfig)

func AddSolverCliFlags

func AddSolverCliFlags(cmd *cobra.Command, options *solver.SolverOptions)

func AddTimeoutCliFlags

func AddTimeoutCliFlags(cmd *cobra.Command, timeoutConfig *data.DealTimeouts)

func AddWeb3CliFlags

func AddWeb3CliFlags(cmd *cobra.Command, web3Options *web3.Web3Options)

func CheckBacalhauOptions

func CheckBacalhauOptions(options bacalhau.BacalhauExecutorOptions) error

func CheckMediatorOptions

func CheckMediatorOptions(options mediator.MediatorOptions) error

func CheckModuleOptions

func CheckModuleOptions(options data.ModuleConfig) error

func CheckResourceProviderOfferOptions

func CheckResourceProviderOfferOptions(options internal_resourceprovider.ResourceProviderOfferOptions) error

func CheckResourceProviderOptions

func CheckResourceProviderOptions(options internal_resourceprovider.ResourceProviderOptions) error

func CheckServerOptions

func CheckServerOptions(options http.ServerOptions) error

func CheckServicesOptions

func CheckServicesOptions(options data.ServiceConfig) error

func CheckSolverOptions

func CheckSolverOptions(options solver.SolverOptions) error

func CheckWeb3Options

func CheckWeb3Options(options web3.Web3Options) error

func GetDefaultBacalhauOptions

func GetDefaultBacalhauOptions() bacalhau.BacalhauExecutorOptions

func GetDefaultModuleOptions

func GetDefaultModuleOptions() data.ModuleConfig

func GetDefaultPricingMode

func GetDefaultPricingMode(mode data.PricingMode) data.PricingMode

func GetDefaultPricingOptions

func GetDefaultPricingOptions() data.DealPricing

func GetDefaultResourceProviderOfferOptions

func GetDefaultResourceProviderOfferOptions() internal_resourceprovider.ResourceProviderOfferOptions

func GetDefaultServeOptionInt

func GetDefaultServeOptionInt(envName string, defaultValue int) int

func GetDefaultServeOptionString

func GetDefaultServeOptionString(envName string, defaultValue string) string

func GetDefaultServeOptionStringArray

func GetDefaultServeOptionStringArray(envName string, defaultValue []string) []string

func GetDefaultServeOptionUint64

func GetDefaultServeOptionUint64(envName string, defaultValue uint64) uint64

func GetDefaultServerOptions

func GetDefaultServerOptions() http.ServerOptions

func GetDefaultServicesOptions

func GetDefaultServicesOptions() data.ServiceConfig

func GetDefaultTimeoutOptions

func GetDefaultTimeoutOptions() data.DealTimeouts

func GetDefaultWeb3Options

func GetDefaultWeb3Options() web3.Web3Options

func NewMediatorOptions

func NewMediatorOptions() mediator.MediatorOptions

func NewResourceProviderOptions

func NewResourceProviderOptions() internal_resourceprovider.ResourceProviderOptions

func NewSolverOptions

func NewSolverOptions() solver.SolverOptions

func ProcessMediatorOptions

func ProcessMediatorOptions(options mediator.MediatorOptions) (mediator.MediatorOptions, error)

func ProcessModuleOptions

func ProcessModuleOptions(options data.ModuleConfig) (data.ModuleConfig, error)

see if we have a shortcut and fill in the other values if we do

func ProcessResourceProviderOfferOptions

func ProcessResourceProviderOfferOptions(options internal_resourceprovider.ResourceProviderOfferOptions) (internal_resourceprovider.ResourceProviderOfferOptions, error)

func ProcessResourceProviderOptions

func ProcessResourceProviderOptions(options internal_resourceprovider.ResourceProviderOptions) (internal_resourceprovider.ResourceProviderOptions, error)

func ProcessServicesOptions

func ProcessServicesOptions(options data.ServiceConfig) (data.ServiceConfig, error)

func ProcessSolverOptions

func ProcessSolverOptions(options solver.SolverOptions) (solver.SolverOptions, error)

func ProcessWeb3Options

func ProcessWeb3Options(options web3.Web3Options) (web3.Web3Options, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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