dockercompose

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerPorts

type ContainerPorts struct {
	Ports map[string][]struct {
		HostPort string `json:"HostPort", omitempty`
	} `json:"Ports, omitempty"`
}

type DockerCompose

type DockerCompose struct {
	ConfigPath string
	Action     []string
	Config     networkspec.Config
}

func (DockerCompose) Args

func (d DockerCompose) Args() []string

func (DockerCompose) CheckDockerContainersHealth

func (d DockerCompose) CheckDockerContainersHealth(config networkspec.Config) error

func (DockerCompose) DockerNetwork

func (d DockerCompose) DockerNetwork(action string) error

DockerNetwork --

func (DockerCompose) DownLocalNetwork

func (d DockerCompose) DownLocalNetwork(config networkspec.Config) error

DownLocalNetwork -- To tear down the local network

func (DockerCompose) GenerateConfigurationFiles

func (d DockerCompose) GenerateConfigurationFiles() error

GenerateConfigurationFiles - to generate all the configuration files

func (DockerCompose) GenerateConnectionProfiles

func (d DockerCompose) GenerateConnectionProfiles(config networkspec.Config) error

GenerateConnectionProfiles -- To generate conenction profiles

func (DockerCompose) GetDockerExternalIP

func (d DockerCompose) GetDockerExternalIP() string

GetDockerExternalIP -- To get the externalIP of a fabric component

func (DockerCompose) GetDockerServicePort

func (d DockerCompose) GetDockerServicePort(serviceName string, forHealth bool) (string, error)

GetDockerServicePort -- To get the port number of a docker container

func (DockerCompose) LaunchLocalNetwork

func (d DockerCompose) LaunchLocalNetwork(config networkspec.Config) error

LaunchLocalNetwork -- To launch the network in the local environment

func (DockerCompose) VerifyContainersAreRunning

func (d DockerCompose) VerifyContainersAreRunning() error

Jump to

Keyboard shortcuts

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