dockercompose

package
v0.0.0-...-08ca5ec Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 18 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
}

DockerCompose --

func (DockerCompose) Args

func (d DockerCompose) Args() []string

Args -- arguments

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) ExtendLocalNetwork

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

ExtendLocalNetwork -- To upgrade the network in the local environment

func (DockerCompose) GenerateConfigurationFiles

func (d DockerCompose) GenerateConfigurationFiles(upgrade bool) 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) UpdateCapability

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

UpdateCapability -- updates capabilities

func (DockerCompose) UpdateConnectionProfilesToAddNewPeers

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

func (DockerCompose) UpdatePolicy

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

UpdatePolicy -- updates policies

func (DockerCompose) UpgradeDB

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

UpgradeDB -- upgrade database

func (DockerCompose) UpgradeLocalNetwork

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

UpgradeLocalNetwork -- To upgrade 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