core

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

func NewConfig

func NewConfig(configProvider ConfigProvider) (*Config, error)

func (*Config) DefaultName

func (c *Config) DefaultName() string

func (*Config) Names

func (c *Config) Names() []string

type ConfigProvider

type ConfigProvider interface {
	UnmarshalKey(key string, rawVal interface{}) error
}

type ONSProvider

type ONSProvider struct {
	// contains filtered or unexported fields
}

func NewOrionNetworkServiceProvider

func NewOrionNetworkServiceProvider(sp view.ServiceProvider, config *Config) (*ONSProvider, error)

func (*ONSProvider) DefaultName

func (p *ONSProvider) DefaultName() string

func (*ONSProvider) Names

func (p *ONSProvider) Names() []string

func (*ONSProvider) OrionNetworkService

func (p *ONSProvider) OrionNetworkService(network string) (driver.OrionNetworkService, error)

func (*ONSProvider) Start

func (p *ONSProvider) Start(ctx context.Context) error

func (*ONSProvider) Stop

func (p *ONSProvider) Stop() error

Directories

Path Synopsis
vault/mocks
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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