iotmaker_docker_builder

package module
v0.0.1-rc009 Latest Latest
Warning

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

Go to latest
Published: May 11, 2021 License: Apache-2.0 Imports: 13 Imported by: 3

README

iotmaker.docker.builder

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerBuilder

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

func (*ContainerBuilder) AddPortToChange

func (e *ContainerBuilder) AddPortToChange(imagePort string, newPort string)

func (*ContainerBuilder) AddPortToOpen

func (e *ContainerBuilder) AddPortToOpen(value string)

func (*ContainerBuilder) ContainerBuildFromImage

func (e *ContainerBuilder) ContainerBuildFromImage() (err error)

func (*ContainerBuilder) ContainerInspect

func (e *ContainerBuilder) ContainerInspect() (inspect iotmakerdocker.ContainerInspect, err error)

func (*ContainerBuilder) ContainerRemove

func (e *ContainerBuilder) ContainerRemove() (err error)

func (*ContainerBuilder) ContainerStart

func (e *ContainerBuilder) ContainerStart() (err error)

func (*ContainerBuilder) ContainerStop

func (e *ContainerBuilder) ContainerStop() (err error)

func (*ContainerBuilder) EnableNetworkOverload

func (e *ContainerBuilder) EnableNetworkOverload(inAddress, outAddress string, min, max time.Duration) (err error)

func (*ContainerBuilder) FindTextInsideContainerLog

func (e *ContainerBuilder) FindTextInsideContainerLog(value string) (contains bool, err error)

func (*ContainerBuilder) GetChannelEvent

func (e *ContainerBuilder) GetChannelEvent() (channel *chan iotmakerdocker.ContainerPullStatusSendToChannel)

func (*ContainerBuilder) GetChannelOnContainerInspect

func (e *ContainerBuilder) GetChannelOnContainerInspect() (channel *chan bool)

func (*ContainerBuilder) GetChannelOnContainerReady

func (e *ContainerBuilder) GetChannelOnContainerReady() (channel *chan bool)

func (*ContainerBuilder) GetContainerLog

func (e *ContainerBuilder) GetContainerLog() (log []byte, err error)

func (*ContainerBuilder) GetFindIdByContainerName

func (e *ContainerBuilder) GetFindIdByContainerName() (err error)

func (*ContainerBuilder) GetLastInspect

func (e *ContainerBuilder) GetLastInspect() (inspect iotmakerdocker.ContainerInspect)

func (*ContainerBuilder) GetLastLogs

func (e *ContainerBuilder) GetLastLogs() (logs string)

func (*ContainerBuilder) ImageBuildFromFolder

func (e *ContainerBuilder) ImageBuildFromFolder() (err error)

func (*ContainerBuilder) ImagePull

func (e *ContainerBuilder) ImagePull() (err error)

func (*ContainerBuilder) ImageRemove

func (e *ContainerBuilder) ImageRemove() (err error)

func (*ContainerBuilder) Init

func (e *ContainerBuilder) Init() (err error)

func (*ContainerBuilder) RemoveAllByNameContains

func (e *ContainerBuilder) RemoveAllByNameContains(name string) (err error)

func (*ContainerBuilder) SetBuildFolderPath

func (e *ContainerBuilder) SetBuildFolderPath(value string)

func (*ContainerBuilder) SetContainerName

func (e *ContainerBuilder) SetContainerName(value string)

func (*ContainerBuilder) SetDoNotOpenContainersPorts

func (e *ContainerBuilder) SetDoNotOpenContainersPorts()

func (*ContainerBuilder) SetEnvironmentVar

func (e *ContainerBuilder) SetEnvironmentVar(value []string)

func (*ContainerBuilder) SetImageName

func (e *ContainerBuilder) SetImageName(value string)

func (*ContainerBuilder) SetInspectInterval

func (e *ContainerBuilder) SetInspectInterval(value time.Duration)

func (*ContainerBuilder) SetNetworkDocker

func (*ContainerBuilder) SetWaitString

func (e *ContainerBuilder) SetWaitString(value string)

"Listening for route connections on 0.0.0.0:6222"

func (*ContainerBuilder) WaitFortextInContainerLog

func (e *ContainerBuilder) WaitFortextInContainerLog(value string) (dockerLogs string, err error)

Jump to

Keyboard shortcuts

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