Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsBuildFile ¶
Types ¶
type BuildFile ¶
type BuildFile struct { Info BuildInfo `json:"info"` Runtimes []*RuntimeData `json:"runtimes"` // requirements that are not satisfiable at build time. RuntimeRequirements []sdktypes.BuildRequirement `json:"runtime_requirements"` }
func Read ¶
Reads a build file from given reader. This does not make sure that all fields in BuildFile are present at the end of the read. Only that what is read is valid.
func (*BuildFile) OmitContent ¶
func (bf *BuildFile) OmitContent()
type ResourceInfo ¶
type RuntimeData ¶
type RuntimeData struct { Info RuntimeInfo `json:"info"` Artifact sdktypes.BuildArtifact `json:"artifact"` }
func (*RuntimeData) MergeFrom ¶
func (d *RuntimeData) MergeFrom(other *RuntimeData) error
This does not overwrite Info.
type RuntimeInfo ¶
Click to show internal directories.
Click to hide internal directories.