Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func New ¶
func New(ctx *cli.Context) (*Controller, error)
func NewWithDependencies ¶
func NewWithDependencies(listener net.Listener, recorder metrics.MetricsRecorder, backend state.State) *Controller
func (*Controller) Addr ¶
func (c *Controller) Addr() string
func (*Controller) Port ¶
func (c *Controller) Port() int
func (*Controller) Serve ¶
func (c *Controller) Serve() error
Serve starts the server and blocks until the server is closed, either explicitly via Shutdown, or due to a fault condition. It propagates the non-nil err return value from http.Serve.
type TaskStatus ¶
Click to show internal directories.
Click to hide internal directories.