services

package
v1.35.2 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

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.

Directories

Path Synopsis
v1
integrationtesting
v1
options
Code generated by github.com/ecordell/optgen.
Code generated by github.com/ecordell/optgen.

Jump to

Keyboard shortcuts

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