Documentation
¶
Index ¶
- Constants
- Variables
- func BuildAlreadyExistsGrpcError(msg string) error
- func BuildErrorForUUID(ID types.UniqueID, name string, err error) error
- func BuildInternalGrpcError(msg string) error
- func BuildInvalidArgumentGrpcError(fieldName string, desc string) (error, error)
- func BuildNotFoundGrpcError(msg string) error
- type GrpcConfig
- type GrpcProvider
- type GrpcServer
Constants ¶
View Source
const (
ReadinessProbeService = "chroma-readiness"
)
Variables ¶
View Source
var Default = &defaultProvider{}
Functions ¶
func BuildInternalGrpcError ¶
func BuildNotFoundGrpcError ¶
Types ¶
type GrpcConfig ¶
type GrpcConfig struct { // BindAddress is the address to bind the GRPC server to. BindAddress string // GRPC mTLS config CertPath string KeyPath string CAPath string }
func (*GrpcConfig) MTLSEnabled ¶
func (c *GrpcConfig) MTLSEnabled() bool
type GrpcProvider ¶
type GrpcProvider interface {
StartGrpcServer(name string, grpcConfig *GrpcConfig, registerFunc func(grpc.ServiceRegistrar)) (GrpcServer, error)
}
type GrpcServer ¶
Click to show internal directories.
Click to hide internal directories.