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 IsDirEmpty(path string) (bool, error) Abs(path string) (string, error) }
Click to show internal directories.
Click to hide internal directories.