Documentation
¶
Index ¶
- type CodeDescriptor
- type Env
- type ModuleInfo
- type PackageInfo
- type Paths
- type Platform
- func (p *Platform) DockerBuildOptions(path string) (util.DockerBuildOptions, error)
- func (p *Platform) GenerateDockerfile() (string, error)
- func (p *Platform) GetDeploymentPayload(codepath string) ([]byte, error)
- func (p *Platform) Name() string
- func (p *Platform) NormalizePath(rawPath string) (string, error)
- func (p *Platform) ValidateCodePackage(code []byte) error
- func (p *Platform) ValidatePath(rawPath string) error
- type SourceDescriptor
- type SourceMap
- type Sources
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CodeDescriptor ¶
func DescribeCode ¶
func DescribeCode(path string) (*CodeDescriptor, error)
type ModuleInfo ¶
type PackageInfo ¶
type PackageInfo struct { ImportPath string `json:"import_path,omitempty"` Dir string `json:"dir,omitempty"` GoFiles []string `json:"go_files,omitempty"` CFiles []string `json:"c_files,omitempty"` CgoFiles []string `json:"cgo_files,omitempty"` HFiles []string `json:"h_files,omitempty"` SFiles []string `json:"s_files,omitempty"` IgnoredGoFiles []string `json:"ignored_go_files,omitempty"` Incomplete bool `json:"incomplete,omitempty"` }
func (PackageInfo) Files ¶
func (p PackageInfo) Files() []string
type Platform ¶
type Platform struct{}
func (*Platform) DockerBuildOptions ¶
func (p *Platform) DockerBuildOptions(path string) (util.DockerBuildOptions, error)
func (*Platform) GenerateDockerfile ¶
func (*Platform) GetDeploymentPayload ¶
func (*Platform) ValidateCodePackage ¶
func (*Platform) ValidatePath ¶
type SourceDescriptor ¶
Click to show internal directories.
Click to hide internal directories.