sync

package
v0.0.0-...-bf6c27f Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2020 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const EnvKeyNodeName = "BAETYL_NODE_NAME"

Variables

View Source
var ErrSyncTLSConfigMissing = errors.New("certificate bidirectional authentication is required for connection with cloud")

ErrSyncTLSConfigMissing certificate bidirectional authentication is required for connection with cloud

Functions

This section is empty.

Types

type Sync

type Sync struct {
	// contains filtered or unexported fields
}

Sync sync shadow and resources with cloud

func NewSync

func NewSync(cfg config.SyncConfig, store *bh.Store, nod *node.Node) (*Sync, error)

NewSync create a new sync

func (*Sync) Close

func (s *Sync) Close()

func (*Sync) ReportAndDesire

func (s *Sync) ReportAndDesire() error

func (*Sync) Start

func (s *Sync) Start()

Jump to

Keyboard shortcuts

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