replication

package
v0.0.0-...-c2b79b4 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const LogQueueName = "replication_log"

Variables

This section is empty.

Functions

This section is empty.

Types

type GroupID

type GroupID string

func NewGroupID

func NewGroupID(addr, usr, repo string) GroupID

type Log

type Log struct {
	Operation  Operation `json:"operation"`
	User       string    `json:"user"`
	Repo       string    `json:"repo"`
	TargetNode string    `json:"target_node"`
	RemoteNode string    `json:"remote_node"`
	Cluster    string    `json:"cluster"`
}

type Operation

type Operation string
const (
	CreateRepo Operation = "CreateRepo"
	UpdateRepo Operation = "UpdateRepo"
)

Jump to

Keyboard shortcuts

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