Documentation
¶
Index ¶
- type Config
- type Server
- func (s *Server) BrokerSocket() string
- func (s *Server) DB() *sql.DB
- func (s *Server) ProxyPort() int
- func (s *Server) Router() chi.Router
- func (s *Server) SocketPath() string
- func (s *Server) Start(ctx context.Context) error
- func (s *Server) Stop() error
- func (s *Server) Store() *orchestrator.ProjectStore
- func (s *Server) TCPAddr() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
DBPath string
SocketPath string
HTTPAddr string
KitsDir string // base dir for installed kit repos
KeyFilePath string // path to secret encryption key file
AllowedDomains []string // proxy allowed domains
JobRuntime dispatcher.JobRuntime
}
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) BrokerSocket ¶
BrokerSocket returns the broker UNIX socket path.
func (*Server) SocketPath ¶
SocketPath returns the UNIX socket path.
func (*Server) Store ¶
func (s *Server) Store() *orchestrator.ProjectStore
Store returns the project store.
Click to show internal directories.
Click to hide internal directories.