Documentation
¶
Index ¶
- func GetLatestReleaseManifest() (*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{}) (err error)
- func WriteFireflyConfig(config *FireflyConfig, filePath string) error
- type AdminServerConfig
- type BasicAuth
- type BlockchainConfig
- type CommonDBConfig
- type DataExchangeConfig
- type DatabaseConfig
- type EthconnectConfig
- type EthereumConfig
- type FabconnectConfig
- type FabricConfig
- type FireflyConfig
- type FireflyIPFSConfig
- type HttpEndpointConfig
- type HttpServerConfig
- type LogConfig
- type MigrationsConfig
- type NodeConfig
- type OrgConfig
- type PublicStorageConfig
- type TokenConnector
- type TokensConfig
- type UIConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLatestReleaseManifest ¶ added in v0.0.34
func GetLatestReleaseManifest() (*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 WriteFireflyConfig ¶
func WriteFireflyConfig(config *FireflyConfig, filePath string) error
Types ¶
type AdminServerConfig ¶
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 DataExchangeConfig ¶
type DataExchangeConfig struct {
Type string `yaml:"type,omitempty"`
HTTPS *HttpEndpointConfig `yaml:"https,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"`
}
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"`
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 *PublicStorageConfig `yaml:"publicstorage,omitempty"`
DataExchange *DataExchangeConfig `yaml:"dataexchange,omitempty"`
Tokens *TokensConfig `yaml:"tokens,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 MigrationsConfig ¶
type NodeConfig ¶
type NodeConfig struct {
Name string `yaml:"name,omitempty"`
}
type PublicStorageConfig ¶
type PublicStorageConfig struct {
Type string `yaml:"type,omitempty"`
IPFS *FireflyIPFSConfig `yaml:"ipfs,omitempty"`
}
type TokenConnector ¶
type TokensConfig ¶
type TokensConfig []*TokenConnector
Click to show internal directories.
Click to hide internal directories.