Documentation
¶
Index ¶
- type Server
- func (a *Server) AuthScopes() map[auth.Operation][]auth.Scope
- func (a *Server) DeleteConstraintReference(ctx context.Context, req *scdpb.DeleteConstraintReferenceRequest) (*scdpb.ChangeConstraintReferenceResponse, error)
- func (a *Server) DeleteOperationReference(ctx context.Context, req *scdpb.DeleteOperationReferenceRequest) (*scdpb.ChangeOperationReferenceResponse, error)
- func (a *Server) DeleteSubscription(ctx context.Context, req *scdpb.DeleteSubscriptionRequest) (*scdpb.DeleteSubscriptionResponse, error)
- func (a *Server) GetConstraintReference(ctx context.Context, req *scdpb.GetConstraintReferenceRequest) (*scdpb.GetConstraintReferenceResponse, error)
- func (a *Server) GetOperationReference(ctx context.Context, req *scdpb.GetOperationReferenceRequest) (*scdpb.GetOperationReferenceResponse, error)
- func (a *Server) GetSubscription(ctx context.Context, req *scdpb.GetSubscriptionRequest) (*scdpb.GetSubscriptionResponse, error)
- func (a *Server) MakeDssReport(ctx context.Context, req *scdpb.MakeDssReportRequest) (*scdpb.ErrorReport, error)
- func (a *Server) PutConstraintReference(ctx context.Context, req *scdpb.PutConstraintReferenceRequest) (*scdpb.ChangeConstraintReferenceResponse, error)
- func (a *Server) PutOperationReference(ctx context.Context, req *scdpb.PutOperationReferenceRequest) (*scdpb.ChangeOperationReferenceResponse, error)
- func (a *Server) PutSubscription(ctx context.Context, req *scdpb.PutSubscriptionRequest) (*scdpb.PutSubscriptionResponse, error)
- func (a *Server) QueryConstraintReferences(ctx context.Context, req *scdpb.QueryConstraintReferencesRequest) (*scdpb.SearchConstraintReferencesResponse, error)
- func (a *Server) QuerySubscriptions(ctx context.Context, req *scdpb.QuerySubscriptionsRequest) (*scdpb.SearchSubscriptionsResponse, error)
- func (a *Server) SearchOperationReferences(ctx context.Context, req *scdpb.SearchOperationReferencesRequest) (*scdpb.SearchOperationReferenceResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
Server implements scdpb.DiscoveryAndSynchronizationService.
func (*Server) AuthScopes ¶
AuthScopes returns a map of endpoint to required Oauth scope.
func (*Server) DeleteConstraintReference ¶
func (a *Server) DeleteConstraintReference(ctx context.Context, req *scdpb.DeleteConstraintReferenceRequest) (*scdpb.ChangeConstraintReferenceResponse, error)
DeleteConstraintReference deletes a single constraint ref for a given ID at the specified version.
func (*Server) DeleteOperationReference ¶
func (a *Server) DeleteOperationReference(ctx context.Context, req *scdpb.DeleteOperationReferenceRequest) (*scdpb.ChangeOperationReferenceResponse, error)
DeleteOperationReference deletes a single operation ref for a given ID at the specified version.
func (*Server) DeleteSubscription ¶
func (a *Server) DeleteSubscription(ctx context.Context, req *scdpb.DeleteSubscriptionRequest) (*scdpb.DeleteSubscriptionResponse, error)
DeleteSubscription deletes a single subscription for a given ID at the specified version.
func (*Server) GetConstraintReference ¶
func (a *Server) GetConstraintReference(ctx context.Context, req *scdpb.GetConstraintReferenceRequest) (*scdpb.GetConstraintReferenceResponse, error)
GetConstraintReference returns a single constraint ref for the given ID.
func (*Server) GetOperationReference ¶
func (a *Server) GetOperationReference(ctx context.Context, req *scdpb.GetOperationReferenceRequest) (*scdpb.GetOperationReferenceResponse, error)
GetOperationReference returns a single operation ref for the given ID.
func (*Server) GetSubscription ¶
func (a *Server) GetSubscription(ctx context.Context, req *scdpb.GetSubscriptionRequest) (*scdpb.GetSubscriptionResponse, error)
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 ¶
func (a *Server) PutConstraintReference(ctx context.Context, req *scdpb.PutConstraintReferenceRequest) (*scdpb.ChangeConstraintReferenceResponse, error)
PutConstraintReference creates a single contraint ref.
func (*Server) PutOperationReference ¶
func (a *Server) PutOperationReference(ctx context.Context, req *scdpb.PutOperationReferenceRequest) (*scdpb.ChangeOperationReferenceResponse, error)
PutOperationReference creates a single operation ref.
func (*Server) PutSubscription ¶
func (a *Server) PutSubscription(ctx context.Context, req *scdpb.PutSubscriptionRequest) (*scdpb.PutSubscriptionResponse, error)
PutSubscription creates a single subscription.
func (*Server) QueryConstraintReferences ¶
func (a *Server) QueryConstraintReferences(ctx context.Context, req *scdpb.QueryConstraintReferencesRequest) (*scdpb.SearchConstraintReferencesResponse, error)
QueryConstraintReferences queries existing contraint refs in the given bounds.
func (*Server) QuerySubscriptions ¶
func (a *Server) QuerySubscriptions(ctx context.Context, req *scdpb.QuerySubscriptionsRequest) (*scdpb.SearchSubscriptionsResponse, error)
QuerySubscriptions queries existing subscriptions in the given bounds.
func (*Server) SearchOperationReferences ¶
func (a *Server) SearchOperationReferences(ctx context.Context, req *scdpb.SearchOperationReferencesRequest) (*scdpb.SearchOperationReferenceResponse, error)
SearchOperationReferences queries existing operation refs in the given bounds.
Source Files
¶
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. |