Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App 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) (service.Services, error) Forward(name string, services service.Services) (service.Services, *service.ForwardConfig, error) }
type FS ¶
type FS interface { TarApp(path string) (io.ReadCloser, error) ReadFile(path string) (io.ReadCloser, int64, error) WriteFile(path string) (io.WriteCloser, error) OpenFile(path string) (fs.ReadResetWriteCloser, int64, error) MakeDirAll(path string) 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 *local.ForwardConfig) (health <-chan string, done func(), id string, err error)
}
type Run ¶
Click to show internal directories.
Click to hide internal directories.