Documentation ¶
Index ¶
Constants ¶
View Source
const ( RunStack = "packs/cflinuxfs3:run" BuildStack = "packs/cflinuxfs3:build" NetworkStack = "packs/cflinuxfs3:network" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Exporter ¶ added in v0.19.0
type Exporter interface {
Export(config *forge.ExportConfig) (imageID string, err error)
}
type FS ¶
type FS interface { ReadFile(path string) (io.ReadCloser, int64, error) WriteFile(path string) (io.WriteCloser, error) OpenFile(path string) (fs.ReadResetWriteCloser, int64, error) Abs(path string) (string, error) Watch(dir string, wait time.Duration) (change <-chan time.Time, done chan<- struct{}, err error) }
type Forwarder ¶ added in v0.14.0
type Forwarder interface {
Forward(config *forge.ForwardConfig) (health <-chan string, done func(), id string, err error)
}
type LocalApp ¶ added in v0.18.0
type LocalApp interface {
Tar(path string, excludes ...string) (io.ReadCloser, error)
}
type RemoteApp ¶ added in v0.18.0
type RemoteApp interface { Command(name string) (string, error) Droplet(name string) (droplet io.ReadCloser, size int64, err error) SetDroplet(name string, droplet io.Reader, size int64) error Env(name string) (*remote.AppEnv, error) SetEnv(name string, env map[string]string) error Restart(name string) error Services(name string) (forge.Services, error) Forward(name string, services forge.Services) (forge.Services, *forge.ForwardDetails, error) }
type Run ¶
type Stage ¶
Click to show internal directories.
Click to hide internal directories.