fabricx

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultTopologyName = "default"
View Source
const PlatformName = "fabricx"

Variables

This section is empty.

Functions

func NewDefaultTopology

func NewDefaultTopology() *topology.Topology

NewDefaultTopology is a configuration with two organizations and one peer per org.

func NewTopologyWithName

func NewTopologyWithName(name string) *topology.Topology

NewTopologyWithName is a configuration with two organizations and one peer per org.

Types

type ExtendedPlatformFactory

type ExtendedPlatformFactory struct {
	*PlatformFactory
	// contains filtered or unexported fields
}

func NewPlatformFactory

func NewPlatformFactory() *ExtendedPlatformFactory

func NewPlatformFactoryWithSidecar

func NewPlatformFactoryWithSidecar(sidecarHost string, sidecarPorts api.Ports, sidecarName, sidecarOrg string) *ExtendedPlatformFactory

func (*ExtendedPlatformFactory) New

func (f *ExtendedPlatformFactory) New(registry api.Context, t api.Topology, builder api.Builder) api.Platform

func (*ExtendedPlatformFactory) WithExtensions

type ExtensionFactory

type ExtensionFactory func(platform *Platform, registry api.Context, t *topology.Topology, builder api.Builder) fabric_network.Extension

type Platform

type Platform struct {
	Network *network.Network
	// contains filtered or unexported fields
}

func (*Platform) Cleanup

func (p *Platform) Cleanup()

func (*Platform) DeleteVault

func (p *Platform) DeleteVault(id string)

func (*Platform) GenerateArtifacts

func (p *Platform) GenerateArtifacts()

func (*Platform) GenerateConfigTree

func (p *Platform) GenerateConfigTree()

func (*Platform) Load

func (p *Platform) Load()

func (*Platform) Members

func (p *Platform) Members() []grouper.Member

func (*Platform) Name

func (p *Platform) Name() string

func (*Platform) PostRun

func (p *Platform) PostRun(load bool)

func (*Platform) Type

func (p *Platform) Type() string

type PlatformFactory

type PlatformFactory struct{}

func NewFabricxPlatformFactory

func NewFabricxPlatformFactory() *PlatformFactory

func (*PlatformFactory) Name

func (*PlatformFactory) Name() string

func (*PlatformFactory) New

func (*PlatformFactory) New(registry api.Context, t api.Topology, builder api.Builder) *Platform

func (*PlatformFactory) WithExtensions

func (f *PlatformFactory) WithExtensions(exts ...ExtensionFactory) *ExtendedPlatformFactory

Directories

Path Synopsis
extensions

Jump to

Keyboard shortcuts

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