types

package
v0.0.44 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2022 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Contract

type Contract struct {
	ContractName string      `json:"contractName"`
	ABI          interface{} `json:"abi"`
	Bytecode     string      `json:"bytecode"`
}

type GitHubRelease added in v0.0.34

type GitHubRelease struct {
	TagName string `json:"tag_name,omitempty"`
}

type ManifestEntry added in v0.0.34

type ManifestEntry struct {
	Image string `json:"image,omitempty"`
	Local bool   `json:"local,omitempty"`
	Tag   string `json:"tag,omitempty"`
	SHA   string `json:"sha,omitempty"`
}

func (*ManifestEntry) GetDockerImageString added in v0.0.34

func (m *ManifestEntry) GetDockerImageString() string

type Member

type Member struct {
	ID                        string `json:"id,omitempty"`
	Index                     *int   `json:"index,omitempty"`
	Address                   string `json:"address,omitempty"`
	PrivateKey                string `json:"privateKey,omitempty"`
	ExposedFireflyPort        int    `json:"exposedFireflyPort,omitempty"`
	ExposedFireflyAdminPort   int    `json:"exposedFireflyAdminPort,omitempty"`
	ExposedFireflyMetricsPort int    `json:"exposedFireflyMetricsPort,omitempty"`
	ExposedConnectorPort      int    `json:"exposedConnectorPort,omitempty"`
	ExposedPostgresPort       int    `json:"exposedPostgresPort,omitempty"`
	ExposedDataexchangePort   int    `json:"exposedDataexchangePort,omitempty"`
	ExposedIPFSApiPort        int    `json:"exposedIPFSApiPort,omitempty"`
	ExposedIPFSGWPort         int    `json:"exposedIPFSGWPort,omitempty"`
	ExposedUIPort             int    `json:"exposedUiPort,omitempty"`
	ExposedTokensPorts        []int  `json:"exposedTokensPorts,omitempty"`
	External                  bool   `json:"external,omitempty"`
	OrgName                   string `json:"orgName,omitempty"`
	NodeName                  string `json:"nodeName,omitempty"`
}

type Stack

type Stack struct {
	Name                  string           `json:"name,omitempty"`
	Members               []*Member        `json:"members,omitempty"`
	SwarmKey              string           `json:"swarmKey,omitempty"`
	ExposedBlockchainPort int              `json:"exposedGethPort,omitempty"`
	Database              string           `json:"database"`
	BlockchainProvider    string           `json:"blockchainProvider"`
	TokenProviders        TokenProviders   `json:"tokenProviders"`
	VersionManifest       *VersionManifest `json:"versionManifest,omitempty"`
	PrometheusEnabled     bool             `json:"prometheusEnabled,omitempty"`
	ExposedPrometheusPort int              `json:"exposedPrometheusPort,omitempty"`
}

type TokenProvider added in v0.0.42

type TokenProvider string

type TokenProviders added in v0.0.42

type TokenProviders []TokenProvider

func (TokenProviders) Strings added in v0.0.42

func (tps TokenProviders) Strings() []string

type VersionManifest added in v0.0.34

type VersionManifest struct {
	FireFly           *ManifestEntry `json:"firefly,omitempty"`
	Ethconnect        *ManifestEntry `json:"ethconnect"`
	Fabconnect        *ManifestEntry `json:"fabconnect"`
	DataExchange      *ManifestEntry `json:"dataexchange-https"`
	TokensERC1155     *ManifestEntry `json:"tokens-erc1155"`
	TokensERC20ERC721 *ManifestEntry `json:"tokens-erc20-erc721"`
}

func (*VersionManifest) Entries added in v0.0.35

func (m *VersionManifest) Entries() []*ManifestEntry

Jump to

Keyboard shortcuts

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