logicalimport

package
v1.23.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2024 License: Apache-2.0 Imports: 15 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package logicalimport contains the logic needed to import a logical snapshot

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Microservice

func Microservice(
	ctx context.Context,
	cluster *apiv1.Cluster,
	destination pool.Pooler,
	origin pool.Pooler,
) error

Microservice executes the microservice clone type

func Monolith

func Monolith(
	ctx context.Context,
	cluster *apiv1.Cluster,
	destination pool.Pooler,
	origin pool.Pooler,
) error

Monolith executes the monolith clone type

Types

type Role

type Role struct {
	Oid            string  `json:"oid,omitempty"`
	Rolname        string  `json:"rolname,omitempty"`
	Rolsuper       bool    `json:"rolsuper,omitempty"`
	Rolinherit     bool    `json:"rolinherit,omitempty"`
	Rolcreaterole  bool    `json:"rolcreaterole,omitempty"`
	Rolcreatedb    bool    `json:"rolcreatedb,omitempty"`
	Rolcanlogin    bool    `json:"rolcanlogin,omitempty"`
	Rolreplication bool    `json:"rolreplication,omitempty"`
	Rolbypassrls   bool    `json:"rolbypassrls,omitempty"`
	IsCurrentUser  bool    `json:"is_current_user,omitempty"`
	Rolconnlimit   int     `json:"rolconnlimit,omitempty"`
	Rolpassword    *string `json:"rolpassword,omitempty"`
	Rolvaliduntil  *string `json:"rolvaliduntil,omitempty"`
	RolComment     *string `json:"rolcomment,omitempty"`
}

Role a result from pg_authid table

type RoleInheritance

type RoleInheritance struct {
	RoleID      string  `json:"roleid,omitempty"`
	Member      string  `json:"member,omitempty"`
	AdminOption bool    `json:"admin_option,omitempty"`
	Grantor     *string `json:"grantor,omitempty"`
}

RoleInheritance contains the data needed to execute grants, based on pg_authid

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL