Documentation ¶
Index ¶
- type ContainerPorts
- type DockerCompose
- func (d DockerCompose) Args() []string
- func (d DockerCompose) CheckDockerContainersHealth(config networkspec.Config) error
- func (d DockerCompose) DockerNetwork(action string) error
- func (d DockerCompose) DownLocalNetwork(config networkspec.Config) error
- func (d DockerCompose) ExtendLocalNetwork(config networkspec.Config) error
- func (d DockerCompose) GenerateConfigurationFiles(upgrade bool) error
- func (d DockerCompose) GenerateConnectionProfiles(config networkspec.Config) error
- func (d DockerCompose) GetDockerExternalIP() string
- func (d DockerCompose) GetDockerServicePort(serviceName string, forHealth bool) (string, error)
- func (d DockerCompose) LaunchLocalNetwork(config networkspec.Config) error
- func (d DockerCompose) UpdateCapability(config networkspec.Config) error
- func (d DockerCompose) UpdateConnectionProfilesToAddNewPeers(config networkspec.Config) error
- func (d DockerCompose) UpdatePolicy(config networkspec.Config) error
- func (d DockerCompose) UpgradeDB(config networkspec.Config) error
- func (d DockerCompose) UpgradeLocalNetwork(config networkspec.Config) error
- func (d DockerCompose) VerifyContainersAreRunning() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerPorts ¶
type DockerCompose ¶
type DockerCompose struct { ConfigPath string Action []string Config networkspec.Config }
DockerCompose --
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