syncher

package
v0.0.0-...-b1d6b4d Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SyncClient

type SyncClient interface {

	// Sync connects to the Policy Sync API server and processes updates from it.  It modifies the provided store with
	// the updates.  Sync blocks until the connection to the API server is terminated.
	Sync(ctx context.Context, store *policystore.PolicyStore)
}

func NewClient

func NewClient(target string, opts []grpc.DialOption) SyncClient

NewClient creates a new syncClient.

Jump to

Keyboard shortcuts

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