Documentation
¶
Index ¶
- func CacheVolumeNames(name string) []string
- func RandomName() (string, error)
- func Source(path string) (string, error)
- type Container
- type Docker
- type DockerContainerInspect
- type DockerContainerLogs
- type DockerContainerRemove
- type DockerContainerRun
- func (r DockerContainerRun) Execute(imageID string) (Container, error)
- func (r DockerContainerRun) WithCommand(command string) DockerContainerRun
- func (r DockerContainerRun) WithEnv(env map[string]string) DockerContainerRun
- func (r DockerContainerRun) WithMemory(memoryLimit string) DockerContainerRun
- func (r DockerContainerRun) WithTTY() DockerContainerRun
- type DockerImageInspect
- type DockerImageInspectClient
- type DockerImageRemove
- type DockerVolumeRemove
- type Executable
- type Image
- type ImageBuildpackMetadata
- type ImageBuildpackMetadataLayer
- type Pack
- type PackBuild
- func (pb PackBuild) Execute(name, path string) (Image, fmt.Stringer, error)
- func (pb PackBuild) WithBuilder(name string) PackBuild
- func (pb PackBuild) WithBuildpacks(buildpacks ...string) PackBuild
- func (pb PackBuild) WithClearCache() PackBuild
- func (pb PackBuild) WithEnv(env map[string]string) PackBuild
- func (pb PackBuild) WithNetwork(name string) PackBuild
- func (pb PackBuild) WithNoPull() PackBuild
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CacheVolumeNames ¶
func RandomName ¶
Types ¶
type Container ¶
type Docker ¶
type Docker struct {
Image struct {
Inspect DockerImageInspect
Remove DockerImageRemove
}
Container struct {
Inspect DockerContainerInspect
Logs DockerContainerLogs
Run DockerContainerRun
Remove DockerContainerRemove
}
Volume struct {
Remove DockerVolumeRemove
}
}
func (Docker) WithExecutable ¶
func (d Docker) WithExecutable(executable Executable) Docker
type DockerContainerInspect ¶
type DockerContainerInspect struct {
// contains filtered or unexported fields
}
type DockerContainerLogs ¶
type DockerContainerLogs struct {
// contains filtered or unexported fields
}
type DockerContainerRemove ¶
type DockerContainerRemove struct {
// contains filtered or unexported fields
}
func (DockerContainerRemove) Execute ¶
func (r DockerContainerRemove) Execute(containerID string) error
type DockerContainerRun ¶
type DockerContainerRun struct {
// contains filtered or unexported fields
}
func (DockerContainerRun) Execute ¶
func (r DockerContainerRun) Execute(imageID string) (Container, error)
func (DockerContainerRun) WithCommand ¶
func (r DockerContainerRun) WithCommand(command string) DockerContainerRun
func (DockerContainerRun) WithEnv ¶
func (r DockerContainerRun) WithEnv(env map[string]string) DockerContainerRun
func (DockerContainerRun) WithMemory ¶
func (r DockerContainerRun) WithMemory(memoryLimit string) DockerContainerRun
func (DockerContainerRun) WithTTY ¶
func (r DockerContainerRun) WithTTY() DockerContainerRun
type DockerImageInspect ¶
type DockerImageInspect struct {
// contains filtered or unexported fields
}
type DockerImageRemove ¶
type DockerImageRemove struct {
// contains filtered or unexported fields
}
func (DockerImageRemove) Execute ¶
func (r DockerImageRemove) Execute(ref string) error
type DockerVolumeRemove ¶
type DockerVolumeRemove struct {
// contains filtered or unexported fields
}
func (DockerVolumeRemove) Execute ¶
func (r DockerVolumeRemove) Execute(volumes []string) error
type Executable ¶
type Image ¶
type Image struct {
ID string
Buildpacks []ImageBuildpackMetadata
}
type ImageBuildpackMetadata ¶
type ImageBuildpackMetadata struct {
Key string
Layers map[string]ImageBuildpackMetadataLayer
}
type Pack ¶
type Pack struct {
Build PackBuild
}
func (Pack) WithDockerImageInspectClient ¶
func (p Pack) WithDockerImageInspectClient(client DockerImageInspectClient) Pack
func (Pack) WithExecutable ¶
func (p Pack) WithExecutable(executable Executable) Pack
func (Pack) WithNoColor ¶
func (Pack) WithVerbose ¶
type PackBuild ¶
type PackBuild struct {
// contains filtered or unexported fields
}
func (PackBuild) WithBuilder ¶
func (PackBuild) WithBuildpacks ¶
func (PackBuild) WithClearCache ¶
func (PackBuild) WithNetwork ¶
func (PackBuild) WithNoPull ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.