sync

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadAllLocalGraphs added in v0.1.1

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

func LoadLocalGraphForService added in v0.1.1

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

func LoadLocalGraphs added in v0.1.1

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 added in v0.1.4

func NoOpSyncer() Syncer

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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