Documentation ¶
Index ¶
- func BuildImageFromManifest(client *srpc.Client, manifestDir, streamName string, expiresIn time.Duration, ...) (string, error)
- func BuildTreeFromManifest(client *srpc.Client, manifestDir string, bindMounts []string, ...) (string, error)
- func ProcessManifest(manifestDir, rootDir string, bindMounts []string, buildLog io.Writer) error
- func UnpackImageAndProcessManifest(client *srpc.Client, manifestDir string, rootDir string, bindMounts []string, ...) error
- type Builder
- func (b *Builder) BuildImage(request proto.BuildImageRequest, authInfo *srpc.AuthInformation, ...) (*image.Image, string, error)
- func (b *Builder) GetCurrentBuildLog(streamName string) ([]byte, error)
- func (b *Builder) GetLatestBuildLog(streamName string) ([]byte, error)
- func (b *Builder) ShowImageStream(writer io.Writer, streamName string)
- func (b *Builder) ShowImageStreams(writer io.Writer)
- func (b *Builder) WriteHtml(writer io.Writer)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildImageFromManifest ¶
func BuildTreeFromManifest ¶
func ProcessManifest ¶
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
func Load ¶
func Load(confUrl, variablesFile, stateDir, imageServerAddress string, imageRebuildInterval time.Duration, slaveDriver *slavedriver.SlaveDriver, logger log.DebugLogger) (*Builder, error)
func (*Builder) BuildImage ¶
func (*Builder) GetCurrentBuildLog ¶
func (*Builder) GetLatestBuildLog ¶
func (*Builder) ShowImageStream ¶
func (*Builder) ShowImageStreams ¶
Click to show internal directories.
Click to hide internal directories.