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 // WatchServiceDisabled indicates that the V1 watch service is disabled. WatchServiceDisabled WatchServiceOption = 0 // WatchServiceEnabled indicates that the V1 watch service is enabled. WatchServiceEnabled WatchServiceOption = 1 // CaveatsDisabled indicates that caveats are disabled. CaveatsDisabled CaveatsOption = 0 // CaveatsEnabled indicates that caveats are enabled. CaveatsEnabled CaveatsOption = 1 )
View Source
const (
// Empty string 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, prefixRequired v1alpha1svc.PrefixRequiredOption, schemaServiceOption SchemaServiceOption, watchServiceOption WatchServiceOption, caveatsOption CaveatsOption, permSysConfig v1svc.PermissionsServerConfig, )
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.