Documentation
¶
Index ¶
- type App
- type Compiler
- type Project
- func (p *Project) Build(ctx context.Context) (*App, error)
- func (p *Project) Directory(paths ...string) string
- func (p *Project) Execute(ctx context.Context, args ...string) (stdout Stdio, stderr Stdio, err error)
- func (p *Project) Exists(paths ...string) error
- func (p *Project) Rewrite() error
- func (p *Project) Run(ctx context.Context) (*Server, error)
- type Response
- type Server
- func (s *Server) Close() error
- func (s *Server) Delete(path string, body io.Reader) (*Response, error)
- func (s *Server) DeleteJSON(path string, body io.Reader) (*Response, error)
- func (s *Server) Get(path string) (*Response, error)
- func (s *Server) GetJSON(path string) (*Response, error)
- func (s *Server) Patch(path string, body io.Reader) (*Response, error)
- func (s *Server) PatchJSON(path string, body io.Reader) (*Response, error)
- func (s *Server) Post(path string, body io.Reader) (*Response, error)
- func (s *Server) PostJSON(path string, body io.Reader) (*Response, error)
- func (s *Server) Request(req *http.Request) (*Response, error)
- func (s *Server) Restart(ctx context.Context) error
- type Stdio
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Compiler ¶
type Compiler struct {
Flag runtime_bud.Flag
Files map[string]string // String files (convenient)
BFiles map[string][]byte // Byte files (for images and binaries)
Modules map[string]string // name[version]
NodeModules map[string]string // name[version]
Env bud.Env
CacheDir string
// contains filtered or unexported fields
}
type Project ¶
type Project struct {
// Used to adjust files over time
Files map[string]string // String files (convenient)
BFiles map[string][]byte // Byte files (for images and binaries)
Modules map[string]string // name[version]
NodeModules map[string]string // name[version]
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.