Documentation ¶
Index ¶
- Constants
- Variables
- func NewPlatformFactory() *platformFactory
- func Options(o *node.Options) *opts.Options
- func WithRole(role string) node.Option
- type DB
- type Identity
- type Platform
- func (p *Platform) Cleanup()
- func (p *Platform) CreateDBInstance() bcdb.BCDB
- func (p *Platform) CreateUserSession(bcdb bcdb.BCDB, user string) bcdb.DBSession
- func (p *Platform) DeleteVault(id string)
- func (p *Platform) FSCNodeVaultDir(peer *node.Node) string
- func (p *Platform) GenerateArtifacts()
- func (p *Platform) GenerateConfigTree()
- func (p *Platform) InitOrionServer()
- func (p *Platform) Load()
- func (p *Platform) Members() []grouper.Member
- func (p *Platform) Name() string
- func (p *Platform) PostRun(load bool)
- func (p *Platform) StartOrionServer()
- func (p *Platform) Type() string
- type Topology
- func (t *Topology) AddDB(name string, roles ...string)
- func (t *Topology) Name() string
- func (t *Topology) SetDefaultSDK(fscTopology *fsc.Topology)
- func (t *Topology) SetDefaultSDKOnNodes(nodes ...*node.Node)
- func (t *Topology) SetName(name string)
- func (t *Topology) SetSDK(fscTopology *fsc.Topology, sdk api.SDK)
- func (t *Topology) SetSDKOnNodes(sdk api.SDK, nodes ...*node.Node)
- func (t *Topology) Type() string
Constants ¶
View Source
const ExtensionTemplate = `` /* 358-byte string literal not displayed */
View Source
const ServerImage = "orionbcdb/orion-server:latest"
View Source
const (
TopologyName = "orion"
)
Variables ¶
View Source
var RequiredImages = []string{ServerImage}
Functions ¶
func NewPlatformFactory ¶
func NewPlatformFactory() *platformFactory
Types ¶
type Platform ¶
type Platform struct { Context api2.Context Topology *Topology Builder api2.Builder EventuallyTimeout time.Duration NetworkID string // contains filtered or unexported fields }
func Network ¶
Network returns the orion network from the passed context bound to the passed id. It returns nil, if nothing is found
func NewPlatform ¶
func (*Platform) CreateDBInstance ¶
func (*Platform) CreateUserSession ¶
func (*Platform) DeleteVault ¶
func (*Platform) GenerateArtifacts ¶
func (p *Platform) GenerateArtifacts()
func (*Platform) GenerateConfigTree ¶
func (p *Platform) GenerateConfigTree()
func (*Platform) InitOrionServer ¶
func (p *Platform) InitOrionServer()
func (*Platform) StartOrionServer ¶
func (p *Platform) StartOrionServer()
type Topology ¶
type Topology struct { TopologyName string `yaml:"name,omitempty"` TopologyType string `yaml:"type,omitempty"` DBs []DB }
func NewTopology ¶
func NewTopology() *Topology
func SetRemoteDB ¶
SetRemoteDB configure a new orion topology and attaches the passed node to it as persistence mechanisms
func (*Topology) SetDefaultSDK ¶
func (*Topology) SetDefaultSDKOnNodes ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.