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 ¶ added in v1.3.0
type PackageWriterWrapper ¶ added in v1.3.0
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 ¶ added in v1.3.0
type Registry struct {
	Platforms     map[string]Platform
	PackageWriter PackageWriter
}
    func NewRegistry ¶ added in v1.3.0
func (*Registry) GenerateDockerBuild ¶ added in v1.3.0
func (*Registry) GenerateDockerfile ¶ added in v1.3.0
 Click to show internal directories. 
   Click to hide internal directories.