Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GrpcServe ¶
func GrpcServe(ln net.Listener, dr repository.DomainRepo, ir repository.ImageRepo, xd xen.Driver, gr *repository.GraphicsRepo, opts *RedctlServerOptions) error
GrpcServe initializes and serves gRPC with specified server options (TLS, etc.)
func ScribbleInitialize ¶
ScribbleInitialize initializes database for repos
func StorageInitialize ¶
func StorageInitialize(opts *RedctlServerOptions) error
StorageInitialize initializes storage, creating directories as necessary It returns error encountered, if any.
Types ¶
type RedctlServerOptions ¶
type RedctlServerOptions struct { ServerURL string TLSCertFile string TLSKeyFile string ServerRootPath string DbPath string ImagesPath string GraphicsPath string DataDir string DomainStartTimeout time.Duration }
RedctlServerOptions are the server's operational parameters Generally populated using UI/CLI flags.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.