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.
Click to show internal directories.
Click to hide internal directories.