Versions in this module Expand all Collapse all v2 v2.4.0 Jul 9, 2021 Changes in this version type Cloning + CloneConnection func(ctx context.Context, cloneID string) (pgxtype.Querier, error) v2.2.0 Feb 9, 2021 Changes in this version + func NewMockClone() *models.Clone + type CloneWrapper struct + func NewCloneWrapper(clone *models.Clone) *CloneWrapper + func (cw CloneWrapper) IsProtected() bool + type Cloning interface + CreateClone func(*types.CloneCreateRequest) (*models.Clone, error) + DestroyClone func(string) error + GetClone func(string) (*models.Clone, error) + GetClones func() []*models.Clone + GetInstanceState func() (*models.InstanceStatus, error) + GetSnapshots func() ([]models.Snapshot, error) + Reload func(config Config) + ResetClone func(string) error + Run func(ctx context.Context) error + UpdateClone func(string, *types.CloneUpdateRequest) (*models.Clone, error) + UpdateCloneStatus func(string, models.Status) error + func New(cfg *Config, provision *provision.Provisioner) Cloning + func NewBaseCloning(cfg *Config, provision *provision.Provisioner) Cloning + func NewMockCloning(cfg *Config) Cloning + type Config struct + AccessHost string + MaxIdleMinutes uint Other modules containing this package gitlab.com/postgres-ai/database-lab