options

package
v0.1.0-152b96f Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: Apache-2.0 Imports: 15 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 AddJobCreatorCliFlags

func AddJobCreatorCliFlags(cmd *cobra.Command, options *jobcreator.JobCreatorOptions)

func AddJobCreatorMediationCliFlags

func AddJobCreatorMediationCliFlags(cmd *cobra.Command, mediationOptions *jobcreator.JobCreatorMediationOptions)

func AddJobCreatorOfferCliFlags

func AddJobCreatorOfferCliFlags(cmd *cobra.Command, offerOptions *jobcreator.JobCreatorOfferOptions)

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 *resourceprovider.ResourceProviderOptions)

func AddResourceProviderOfferCliFlags

func AddResourceProviderOfferCliFlags(cmd *cobra.Command, offerOptions *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 CheckJobCreatorOptions

func CheckJobCreatorOptions(options jobcreator.JobCreatorOptions) error

func CheckMediatorOptions

func CheckMediatorOptions(options mediator.MediatorOptions) error

func CheckModuleOptions

func CheckModuleOptions(options data.ModuleConfig) error

func CheckResourceProviderOfferOptions

func CheckResourceProviderOfferOptions(options resourceprovider.ResourceProviderOfferOptions) error

func CheckResourceProviderOptions

func CheckResourceProviderOptions(options 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 GetDefaultJobCreatorMediationOptions

func GetDefaultJobCreatorMediationOptions() jobcreator.JobCreatorMediationOptions

func GetDefaultJobCreatorOfferOptions

func GetDefaultJobCreatorOfferOptions() jobcreator.JobCreatorOfferOptions

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() 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 NewJobCreatorOptions

func NewJobCreatorOptions() jobcreator.JobCreatorOptions

func NewMediatorOptions

func NewMediatorOptions() mediator.MediatorOptions

func NewSolverOptions

func NewSolverOptions() solver.SolverOptions

func ProcessJobCreatorOptions

func ProcessJobCreatorOptions(options jobcreator.JobCreatorOptions, args []string) (jobcreator.JobCreatorOptions, error)

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 ProcessOnChainJobCreatorOptions

func ProcessOnChainJobCreatorOptions(options jobcreator.JobCreatorOptions, args []string) (jobcreator.JobCreatorOptions, 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