Versions in this module Expand all Collapse all v0 v0.0.2 Jun 22, 2020 Changes in this version + var OutOfCapacityError = errors.New("OutOfCapacity") + func GenerateCACertificate(org string) ([]byte, []byte, error) + func GenerateClientCertificate(org string, caCert, caKey []byte) ([]byte, []byte, error) + func GenerateServerCertificate(org string, caCert, caKey []byte, hosts []string) ([]byte, []byte, error) + func NewWindowsASG(f docker.FactoryApi, st storage.StorageApi) *windows + func OutOfCapacity(e error) bool + type DinD struct + func NewDinD(generator id.Generator, f docker.FactoryApi, s storage.StorageApi) *DinD + func (d *DinD) InstanceDelete(session *types.Session, instance *types.Instance) error + func (d *DinD) InstanceExec(instance *types.Instance, cmd []string) (int, error) + func (d *DinD) InstanceFSTree(instance *types.Instance) (io.Reader, error) + func (d *DinD) InstanceFile(instance *types.Instance, filePath string) (io.Reader, error) + func (d *DinD) InstanceGetTerminal(instance *types.Instance) (net.Conn, error) + func (d *DinD) InstanceNew(session *types.Session, conf types.InstanceConfig) (*types.Instance, error) + func (d *DinD) InstanceResizeTerminal(instance *types.Instance, rows, cols uint) error + func (d *DinD) InstanceUploadFromReader(instance *types.Instance, fileName, dest string, reader io.Reader) error + func (d *DinD) InstanceUploadFromUrl(instance *types.Instance, fileName, dest, url string) error + type InstanceProvisionerApi interface + InstanceDelete func(session *types.Session, instance *types.Instance) error + InstanceExec func(instance *types.Instance, cmd []string) (int, error) + InstanceFSTree func(instance *types.Instance) (io.Reader, error) + InstanceFile func(instance *types.Instance, filePath string) (io.Reader, error) + InstanceGetTerminal func(instance *types.Instance) (net.Conn, error) + InstanceNew func(session *types.Session, conf types.InstanceConfig) (*types.Instance, error) + InstanceResizeTerminal func(instance *types.Instance, cols, rows uint) error + InstanceUploadFromReader func(instance *types.Instance, fileName, dest string, reader io.Reader) error + InstanceUploadFromUrl func(instance *types.Instance, fileName, dest, url string) error + type InstanceProvisionerFactoryApi interface + GetProvisioner func(instanceType string) (InstanceProvisionerApi, error) + func NewInstanceProvisionerFactory(w InstanceProvisionerApi, d InstanceProvisionerApi) InstanceProvisionerFactoryApi + type SessionProvisionerApi interface + SessionClose func(session *types.Session) error + SessionNew func(ctx context.Context, session *types.Session) error + func NewOverlaySessionProvisioner(df docker.FactoryApi) SessionProvisionerApi