Versions in this module Expand all Collapse all v0 v0.0.11 Feb 27, 2024 v0.0.10 Jan 16, 2024 Changes in this version type EventStruct + JobMessages []bmc.JobMessage v0.0.9 Nov 29, 2023 Changes in this version + const DefaultPort + func Debug(i ...interface{}) + func Debugf(format string, args ...interface{}) + func Debugj(j echolog.JSON) + func Error(i ...interface{}) + func Errorf(format string, args ...interface{}) + func Errorj(j echolog.JSON) + func Fatal(i ...interface{}) + func Fatalf(format string, args ...interface{}) + func Fatalj(j echolog.JSON) + func Info(i ...interface{}) + func Infof(format string, args ...interface{}) + func Infoj(j echolog.JSON) + func Panic(i ...interface{}) + func Panicf(format string, args ...interface{}) + func Panicj(j echolog.JSON) + func Print(i ...interface{}) + func Printf(format string, i ...interface{}) + func Printj(j echolog.JSON) + func ToastError(context *fiber.Ctx, err error, msg string) error + func ToastSuccess(context *fiber.Ctx, msg string, appendTrigger string) error + func Warn(i ...interface{}) + func Warnf(format string, args ...interface{}) + func Warnj(j echolog.JSON) + type CustomValidator struct + func (cv *CustomValidator) Validate(i interface{}) error + type EventStruct struct + Message string + Severity string + Time string + User string + type FormData struct + BootImage string + Firmware string + ID string + Interfaces string + Name string + Provision string + Tags string + type Handler struct + DB model.DataStore + Events []EventStruct + Store *session.Store + func NewHandler(db model.DataStore, Store *session.Store) (*Handler, error) + func (h *Handler) DeleteHost(f *fiber.Ctx) error + func (h *Handler) EditHost(f *fiber.Ctx) error + func (h *Handler) EnforceAdminMiddleware() func(f *fiber.Ctx) error + func (h *Handler) EnforceAuthMiddleware() func(f *fiber.Ctx) error + func (h *Handler) Floorplan(f *fiber.Ctx) error + func (h *Handler) Host(f *fiber.Ctx) error + func (h *Handler) Index(f *fiber.Ctx) error + func (h *Handler) Login(f *fiber.Ctx) error + func (h *Handler) LoginUser(f *fiber.Ctx) error + func (h *Handler) LogoutUser(f *fiber.Ctx) error + func (h *Handler) Rack(f *fiber.Ctx) error + func (h *Handler) RebootHost(f *fiber.Ctx) error + func (h *Handler) Register(f *fiber.Ctx) error + func (h *Handler) RegisterUser(f *fiber.Ctx) error + func (h *Handler) Search(f *fiber.Ctx) error + func (h *Handler) SetupRoutes(app *fiber.App) + func (h *Handler) Users(f *fiber.Ctx) error + type InterfacesString struct + BMC string + FQDN string + IP string + MAC string + MTU string + Name string + VLAN string + type JobRunner struct + func NewJobRunner(fanout int) *JobRunner + func (j *JobRunner) RunConfigureAuto(host *model.Host, ch chan string) + func (j *JobRunner) RunConfigureImport(host *model.Host, file string, ch chan string) + func (j *JobRunner) RunReboot(host *model.Host, ch chan string, boot redfish.Boot) + func (j *JobRunner) Wait() + type MyLogger struct + func EchoLogger() *MyLogger + func (l *MyLogger) Debug(i ...interface{}) + func (l *MyLogger) Debugf(format string, args ...interface{}) + func (l *MyLogger) Debugj(j echolog.JSON) + func (l *MyLogger) Error(i ...interface{}) + func (l *MyLogger) Errorf(format string, args ...interface{}) + func (l *MyLogger) Errorj(j echolog.JSON) + func (l *MyLogger) Fatal(i ...interface{}) + func (l *MyLogger) Fatalf(format string, args ...interface{}) + func (l *MyLogger) Fatalj(j echolog.JSON) + func (l *MyLogger) Formatter() logrus.Formatter + func (l *MyLogger) Info(i ...interface{}) + func (l *MyLogger) Infof(format string, args ...interface{}) + func (l *MyLogger) Infoj(j echolog.JSON) + func (l *MyLogger) Level() echolog.Lvl + func (l *MyLogger) Output() io.Writer + func (l *MyLogger) Panic(i ...interface{}) + func (l *MyLogger) Panicf(format string, args ...interface{}) + func (l *MyLogger) Panicj(j echolog.JSON) + func (l *MyLogger) Prefix() string + func (l *MyLogger) Print(i ...interface{}) + func (l *MyLogger) Printf(format string, args ...interface{}) + func (l *MyLogger) Printj(j echolog.JSON) + func (l *MyLogger) SetFormatter(formatter logrus.Formatter) + func (l *MyLogger) SetHeader(h string) + func (l *MyLogger) SetLevel(v echolog.Lvl) + func (l *MyLogger) SetOutput(w io.Writer) + func (l *MyLogger) SetPrefix(p string) + func (l *MyLogger) Warn(i ...interface{}) + func (l *MyLogger) Warnf(format string, args ...interface{}) + func (l *MyLogger) Warnj(j echolog.JSON) + type RackAddFormStruct struct + Hosts []hostStruct + Interfaces []interfaceStruct + type RebootData struct + Host string + type Server struct + CertFile string + DB model.DataStore + KeyFile string + ListenAddress net.IP + Port int + Scheme string + ServerAddress net.IP + func NewServer(db model.DataStore, address string) (*Server, error) + func (s *Server) Serve() error + func (s *Server) Shutdown(ctx context.Context) error