config

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2021 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const GocardPidFile = "/tmp/gocard.pid.yaml"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	NodeName        string
	NodeTicker      string
	ContainerName   string
	IsProducer      bool
	DockerImage     string
	Mounts          []mount.Mount
	PortSet         nat.PortSet
	HostConfig      *container.HostConfig
	ContainerConfig *container.Config

	CardanoBaseContainer string
	CardanoBaseLocal     string
	CardanoDB            string
	CardanoCli           string
	CardanoSocket        string
	CardanoPort          string
	CardanoHostAddress   string
	CardanoCmdStrings    []string

	ContainerID   string
	ContainerIsUP bool
}

func New added in v0.0.4

func New() *Config

func (*Config) CheckCardanoConfigFiles added in v0.0.2

func (c *Config) CheckCardanoConfigFiles() error

func (*Config) CheckDockerContainerUp

func (c *Config) CheckDockerContainerUp()

func (*Config) LogConfig

func (c *Config) LogConfig()

func (*Config) SetCardanoInit added in v0.0.2

func (c *Config) SetCardanoInit()

func (*Config) SetCardanoPaths

func (c *Config) SetCardanoPaths()

func (*Config) SetCmdStrings

func (c *Config) SetCmdStrings()

func (*Config) SetContainerConfig

func (c *Config) SetContainerConfig()

func (*Config) SetContainerName

func (c *Config) SetContainerName()

func (*Config) SetExposedPorts

func (c *Config) SetExposedPorts()

func (*Config) SetHostConfig

func (c *Config) SetHostConfig()

func (*Config) SetMount

func (c *Config) SetMount()

Jump to

Keyboard shortcuts

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