scd

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 21, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Store   scdstore.Store
	Timeout time.Duration
}

Server implements scdpb.DiscoveryAndSynchronizationService.

func (*Server) AuthScopes

func (a *Server) AuthScopes() map[auth.Operation][]auth.Scope

AuthScopes returns a map of endpoint to required Oauth scope.

func (*Server) DeleteConstraintReference

DeleteConstraintReference deletes a single constraint ref for a given ID at the specified version.

func (*Server) DeleteOperationReference

DeleteOperationReference deletes a single operation ref for a given ID at the specified version.

func (*Server) DeleteSubscription

DeleteSubscription deletes a single subscription for a given ID at the specified version.

func (*Server) GetConstraintReference

GetConstraintReference returns a single constraint ref for the given ID.

func (*Server) GetOperationReference

GetOperationReference returns a single operation ref for the given ID.

func (*Server) GetSubscription

GetSubscription returns a single subscription for the given ID.

func (*Server) MakeDssReport

func (a *Server) MakeDssReport(ctx context.Context, req *scdpb.MakeDssReportRequest) (*scdpb.ErrorReport, error)

MakeDssReport creates an error report about a DSS.

func (*Server) PutConstraintReference

PutConstraintReference creates a single contraint ref.

func (*Server) PutOperationReference

PutOperationReference creates a single operation ref.

func (*Server) PutSubscription

PutSubscription creates a single subscription.

func (*Server) QueryConstraintReferences

QueryConstraintReferences queries existing contraint refs in the given bounds.

func (*Server) QuerySubscriptions

QuerySubscriptions queries existing subscriptions in the given bounds.

func (*Server) SearchOperationReferences

SearchOperationReferences queries existing operation refs in the given bounds.

Directories

Path Synopsis
Package errors provides types and functions supporting consistent error handling for errors specific to strategic conflict detection.
Package errors provides types and functions supporting consistent error handling for errors specific to strategic conflict detection.
cockroach
Package cockroach provides an implementation of a scd.Store on top of a cockroach DB instance.
Package cockroach provides an implementation of a scd.Store on top of a cockroach DB instance.

Jump to

Keyboard shortcuts

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