Documentation ¶
Index ¶
Constants ¶
View Source
const ( // V1SchemaServiceDisabled indicates that the V1 schema service is disabled. V1SchemaServiceDisabled SchemaServiceOption = 0 // V1SchemaServiceEnabled indicates that the V1 schema service is enabled. V1SchemaServiceEnabled SchemaServiceOption = 1 // V1SchemaServiceAdditiveOnly indicates that the V1 schema service is enabled in additive-only // mode for testing. V1SchemaServiceAdditiveOnly SchemaServiceOption = 2 // WatchServiceDisabled indicates that the V1 watch service is disabled. WatchServiceDisabled WatchServiceOption = 0 // WatchServiceEnabled indicates that the V1 watch service is enabled. WatchServiceEnabled WatchServiceOption = 1 )
View Source
const (
// OverallServerHealthCheckKey is used for grpc health check requests for the overall system.
OverallServerHealthCheckKey = ""
)
Variables ¶
This section is empty.
Functions ¶
func RegisterGrpcServices ¶
func RegisterGrpcServices( srv *grpc.Server, healthManager health.Manager, dispatch dispatch.Dispatcher, schemaServiceOption SchemaServiceOption, watchServiceOption WatchServiceOption, permSysConfig v1svc.PermissionsServerConfig, watchHeartbeatDuration time.Duration, )
RegisterGrpcServices registers all services to be exposed on the GRPC server.
Types ¶
type CaveatsOption ¶ added in v1.14.0
type CaveatsOption int
CaveatsOption defines the options for enabling or disabling caveats in the V1 services.
type SchemaServiceOption ¶
type SchemaServiceOption int
SchemaServiceOption defines the options for enabling or disabling the V1 Schema service.
type WatchServiceOption ¶ added in v1.11.0
type WatchServiceOption int
WatchServiceOption defines the options for enabling or disabling the V1 Watch service.
Click to show internal directories.
Click to hide internal directories.