types

package
v0.0.38 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2021 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"`
	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"`
	ExposedTokensPort       int    `json:"exposedTokensPort,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"`
	TokensProvider        string           `json:"tokensProvider"`
	VersionManifest       *VersionManifest `json:"versionManifest,omitempty"`
}

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"`
	Tokens       *ManifestEntry `json:"tokens-erc1155"`
}

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