Documentation
¶
Index ¶
- func GetManifestForReleaseChannel(releaseChannel types.ReleaseChannelSelection) (*types.VersionManifest, error)
- func GetReleaseManifest(version string) (*types.VersionManifest, error)
- func ReadManifestFile(p string) (*types.VersionManifest, error)
- func RequestWithRetry(method, url string, body, result interface{}, logRetries bool) (err error)
- func SetRequestTimeout(customRequestTimeoutSecs int)
- func WriteFireflyConfig(config *FireflyConfig, filePath, extraCoreConfigPath string) error
- type AdminServerConfig
- type BasicAuth
- type BlockchainConfig
- type CommonDBConfig
- type DBEventsConfig
- type DataExchangeConfig
- type DatabaseConfig
- type EthconnectConfig
- type EthereumConfig
- type EventConfig
- type FFTMConfig
- type FabconnectConfig
- type FabricConfig
- type FireflyConfig
- type FireflyIPFSConfig
- type HttpEndpointConfig
- type HttpServerConfig
- type LogConfig
- type MetricsServerConfig
- type MigrationsConfig
- type NodeConfig
- type OrgConfig
- type SharedStorageConfig
- type TokenConnector
- type TokensConfig
- type UIConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetManifestForReleaseChannel ¶ added in v1.0.2
func GetManifestForReleaseChannel(releaseChannel types.ReleaseChannelSelection) (*types.VersionManifest, error)
func GetReleaseManifest ¶ added in v0.0.34
func GetReleaseManifest(version string) (*types.VersionManifest, error)
func ReadManifestFile ¶ added in v0.0.34
func ReadManifestFile(p string) (*types.VersionManifest, error)
func RequestWithRetry ¶
func SetRequestTimeout ¶ added in v1.0.2
func SetRequestTimeout(customRequestTimeoutSecs int)
func WriteFireflyConfig ¶
func WriteFireflyConfig(config *FireflyConfig, filePath, extraCoreConfigPath string) error
Types ¶
type AdminServerConfig ¶
type AdminServerConfig struct {
HttpServerConfig `yaml:",inline"`
Enabled bool `yaml:"enabled,omitempty"`
PreInit bool `yaml:"preinit,omitempty"`
}
type BlockchainConfig ¶
type BlockchainConfig struct {
Type string `yaml:"type,omitempty"`
Ethereum *EthereumConfig `yaml:"ethereum,omitempty"`
Fabric *FabricConfig `yaml:"fabric,omitempty"`
}
type CommonDBConfig ¶
type CommonDBConfig struct {
URL string `yaml:"url,omitempty"`
Migrations *MigrationsConfig `yaml:"migrations,omitempty"`
}
type DBEventsConfig ¶ added in v0.0.41
type DBEventsConfig struct {
BufferSize int `yaml:"bufferSize,omitempty"`
}
type DataExchangeConfig ¶
type DataExchangeConfig struct {
Type string `yaml:"type,omitempty"`
FFDX *HttpEndpointConfig `yaml:"ffdx,omitempty"`
}
type DatabaseConfig ¶
type DatabaseConfig struct {
Type string `yaml:"type,omitempty"`
PostgreSQL *CommonDBConfig `yaml:"postgres,omitempty"`
SQLite3 *CommonDBConfig `yaml:"sqlite3,omitempty"`
}
type EthconnectConfig ¶
type EthereumConfig ¶
type EthereumConfig struct {
Ethconnect *EthconnectConfig `yaml:"ethconnect,omitempty"`
FFTM *FFTMConfig `yaml:"fftm,omitempty"`
}
type EventConfig ¶ added in v0.0.41
type EventConfig struct {
DBEvents *DBEventsConfig `yaml:"dbevents,omitempty"`
}
type FFTMConfig ¶ added in v1.0.2
type FFTMConfig struct {
URL string `yaml:"url,omitempty"`
}
type FabconnectConfig ¶ added in v0.0.36
type FabricConfig ¶ added in v0.0.36
type FabricConfig struct {
Fabconnect *FabconnectConfig `yaml:"fabconnect,omitempty"`
}
type FireflyConfig ¶
type FireflyConfig struct {
Log *LogConfig `yaml:"log,omitempty"`
Debug *HttpServerConfig `yaml:"debug,omitempty"`
HTTP *HttpServerConfig `yaml:"http,omitempty"`
Admin *AdminServerConfig `yaml:"admin,omitempty"`
Metrics *MetricsServerConfig `yaml:"metrics,omitempty"`
UI *UIConfig `yaml:"ui,omitempty"`
Node *NodeConfig `yaml:"node,omitempty"`
Org *OrgConfig `yaml:"org,omitempty"`
Blockchain *BlockchainConfig `yaml:"blockchain,omitempty"`
Database *DatabaseConfig `yaml:"database,omitempty"`
P2PFS *SharedStorageConfig `yaml:"sharedstorage,omitempty"`
DataExchange *DataExchangeConfig `yaml:"dataexchange,omitempty"`
Tokens TokensConfig `yaml:"tokens,omitempty"`
Event *EventConfig `yaml:"event,omitempty"`
}
func NewFireflyConfig ¶ added in v0.0.32
func NewFireflyConfig(stack *types.Stack, member *types.Member) *FireflyConfig
func ReadFireflyConfig ¶
func ReadFireflyConfig(filePath string) (*FireflyConfig, error)
type FireflyIPFSConfig ¶
type FireflyIPFSConfig struct {
API *HttpEndpointConfig `yaml:"api,omitempty"`
Gateway *HttpEndpointConfig `yaml:"gateway,omitempty"`
}
type HttpEndpointConfig ¶
type HttpServerConfig ¶
type MetricsServerConfig ¶ added in v0.0.40
type MetricsServerConfig struct {
HttpServerConfig `yaml:",inline"`
Enabled bool `yaml:"enabled,omitempty"`
Path string `yaml:"path,omitempty"`
}
type MigrationsConfig ¶
type NodeConfig ¶
type NodeConfig struct {
Name string `yaml:"name,omitempty"`
}
type SharedStorageConfig ¶ added in v1.0.2
type SharedStorageConfig struct {
}
type TokenConnector ¶
type TokensConfig ¶
type TokensConfig []*TokenConnector
Click to show internal directories.
Click to hide internal directories.