Documentation
¶
Overview ¶
Package server provides the local bundle development server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BundleServer ¶
type BundleServer struct {
BaseDir string
Bundle *bundle.Bundle
DockerCli *dockerclient.Client
MassdriverClient *mdclient.Client
// contains filtered or unexported fields
}
BundleServer is the local development server for building and testing bundles.
func New ¶
func New(dir string) (*BundleServer, error)
New creates a BundleServer for the bundle at dir.
func (*BundleServer) RegisterHandlers ¶
func (b *BundleServer) RegisterHandlers(ctx context.Context)
RegisterHandlers registers with the DefaultServeMux to handle requests
Directories
¶
| Path | Synopsis |
|---|---|
|
Package bundle provides HTTP handlers for the local bundle development server.
|
Package bundle provides HTTP handlers for the local bundle development server. |
|
Package version provides an HTTP handler for reporting the current CLI version.
|
Package version provides an HTTP handler for reporting the current CLI version. |
Click to show internal directories.
Click to hide internal directories.