Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct { // GRPCHostPort is the host:port address for gRPC server GRPCHostPort string // TLSGRPC configures secure transport TLSGRPC tlscfg.Options // Tenancy configuration Tenancy tenancy.Options }
Options holds configuration for remote-storage service.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server runs a gRPC server
func NewServer ¶
func NewServer(options *Options, storageFactory storage.Factory, tm *tenancy.Manager, logger *zap.Logger) (*Server, error)
NewServer creates and initializes Server.
func (Server) HealthCheckStatus ¶
func (s Server) HealthCheckStatus() chan healthcheck.Status
HealthCheckStatus returns health check status channel a client can subscribe to
Click to show internal directories.
Click to hide internal directories.