Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerConfig ¶ added in v0.2.2
type ContainerConfig struct { Language string // language that icode use Name string // container name ContainerImage ContainerImage // container docker image name to pull. example : 'golang:1.9' HostIp string // HostIp address that manage icode. ContainerIp string // ContainerIp Port string // port num to communicate container and icode StartCmd []string // start command to initiate icode. it must contain icodename. ex {"go","run.sh","testicode/icode.go","-p","4401} Network *Network // docker network option. if you don't use, nil Mount []string // [Mount-src-path or volume name]:[Mount-dist-path] ex) /go/src/github.com/it-chain/learn-icode:/icode }
type ContainerFactory ¶ added in v0.2.2
type ContainerFactory interface {
Create(ContainerConfig) Container
}
type ContainerID ¶ added in v0.1.1
type ContainerID = string
type ContainerImage ¶ added in v0.2.2
type ContainerImage struct { Name string // language docker image name ( ex : go ) Tag string // language docker image Tag ( ex : 1.9 ) }
func (ContainerImage) GetFullName ¶ added in v0.2.2
func (dc ContainerImage) GetFullName() string
Click to show internal directories.
Click to hide internal directories.