Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateReponse ¶
type CreateReponse struct {
ID string
}
type CreateRequest ¶
type DockerDriver ¶
type DockerDriver struct {
// contains filtered or unexported fields
}
func NewDockerDriver ¶
func NewDockerDriver() (*DockerDriver, error)
func (*DockerDriver) CreateServer ¶
func (d *DockerDriver) CreateServer(req *CreateRequest) (*CreateReponse, error)
func (*DockerDriver) DeleteServer ¶
func (d *DockerDriver) DeleteServer(name string) error
func (*DockerDriver) GetServerStatus ¶
func (d *DockerDriver) GetServerStatus(name string) (*GetStatusReponse, error)
func (*DockerDriver) IsServerExist ¶
func (d *DockerDriver) IsServerExist(name string) (bool, error)
type GetStatusReponse ¶
type Interface ¶
type Interface interface { CreateServer(*CreateRequest) (*CreateReponse, error) DeleteServer(name string) error IsServerExist(name string) (bool, error) GetServerStatus(name string) (*GetStatusReponse, error) }
Click to show internal directories.
Click to hide internal directories.