sync

package
v0.0.0-...-2109d8c Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadAllLocalGraphs

func LoadAllLocalGraphs(profile string) (cloud.GraphAPI, error)

func LoadLocalGraphForService

func LoadLocalGraphForService(serviceName, profile, region string) cloud.GraphAPI

func LoadLocalGraphs

func LoadLocalGraphs(profile, region string) (cloud.GraphAPI, error)

Types

type Diff

type Diff struct {
	From       *repo.Rev
	To         *repo.Rev
	InfraDiff  *graph.Diff
	AccessDiff *graph.Diff
}

Diff represents the deleted/inserted RDF triples of a revision

func BuildDiff

func BuildDiff(from, to *repo.Rev, root string) (*Diff, error)

type Syncer

type Syncer interface {
	repo.Repo
	Sync(...cloud.Service) (map[string]cloud.GraphAPI, error)
}
var DefaultSyncer Syncer

func NewSyncer

func NewSyncer(l ...*logger.Logger) Syncer

func NoOpSyncer

func NoOpSyncer() Syncer

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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