Documentation ¶
Index ¶
- Variables
- type Builder
- type PackageWriter
- type PackageWriterWrapper
- type Platform
- type Registry
- func (r *Registry) GenerateDockerBuild(ccType, path string, codePackage io.Reader, client *docker.Client) (io.Reader, error)
- func (r *Registry) GenerateDockerfile(ccType string) (string, error)
- func (r *Registry) StreamDockerBuild(ccType, path string, codePackage io.Reader, inputFiles map[string][]byte, ...) error
Constants ¶
This section is empty.
Variables ¶
View Source
var SupportedPlatforms = []Platform{ &java.Platform{}, &golang.Platform{}, &node.Platform{}, }
SupportedPlatforms is the canonical list of platforms Fabric supports
Functions ¶
This section is empty.
Types ¶
type PackageWriter ¶
type PackageWriterWrapper ¶
type Platform ¶
type Platform interface { Name() string GenerateDockerfile() (string, error) DockerBuildOptions(path string) (util.DockerBuildOptions, error) }
Interface for validating the specification and writing the package for the given platform
type Registry ¶
type Registry struct { Platforms map[string]Platform PackageWriter PackageWriter }
func NewRegistry ¶
func (*Registry) GenerateDockerBuild ¶
func (*Registry) GenerateDockerfile ¶
Click to show internal directories.
Click to hide internal directories.