sync

package
v0.0.0-...-999c979 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadCurrentLocalGraph

func LoadCurrentLocalGraph(serviceName string) *graph.Graph

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 *graph.Resource) (*Diff, error)

type Syncer

type Syncer interface {
	repo.Repo
	Sync(...cloud.Service) (map[string]*graph.Graph, error)
	SetLogger(*logger.Logger)
}
var DefaultSyncer Syncer

func NewSyncer

func NewSyncer(dryrun bool) Syncer

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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