Documentation
¶
Index ¶
- func CacheVolumeNames(name string) []string
- func RandomName() (string, error)
- func Source(path string) (string, error)
- type BuildpackStore
- type BuildpackStoreGet
- type CacheManager
- 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) WithEntrypoint(entrypoint string) DockerContainerRun
- func (r DockerContainerRun) WithEnv(env map[string]string) DockerContainerRun
- func (r DockerContainerRun) WithMemory(memoryLimit string) DockerContainerRun
- func (r DockerContainerRun) WithPublish(value string) DockerContainerRun
- func (r DockerContainerRun) WithPublishAll() DockerContainerRun
- func (r DockerContainerRun) WithTTY() DockerContainerRun
- type DockerContainerStop
- type DockerImageInspect
- type DockerImageInspectClient
- type DockerImageRemove
- type DockerVolumeRemove
- type Executable
- type Image
- type ImageBuildpackMetadata
- type ImageBuildpackMetadataLayer
- type LocalFetcher
- 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() PackBuilddeprecated
- func (pb PackBuild) WithPullPolicy(pullPolicy string) PackBuild
- func (pb PackBuild) WithTrustBuilder() PackBuild
- type RemoteFetcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CacheVolumeNames ¶
func RandomName ¶
Types ¶
type BuildpackStore ¶ added in v0.0.12
type BuildpackStore struct {
Get BuildpackStoreGet
}
func NewBuildpackStore ¶ added in v0.0.12
func NewBuildpackStore() BuildpackStore
func (BuildpackStore) WithCacheManager ¶ added in v0.0.12
func (bs BuildpackStore) WithCacheManager(manager CacheManager) BuildpackStore
func (BuildpackStore) WithLocalFetcher ¶ added in v0.0.12
func (bs BuildpackStore) WithLocalFetcher(fetcher LocalFetcher) BuildpackStore
func (BuildpackStore) WithRemoteFetcher ¶ added in v0.0.12
func (bs BuildpackStore) WithRemoteFetcher(fetcher RemoteFetcher) BuildpackStore
type BuildpackStoreGet ¶ added in v0.0.12
type BuildpackStoreGet struct {
// contains filtered or unexported fields
}
func (BuildpackStoreGet) Execute ¶ added in v0.0.12
func (g BuildpackStoreGet) Execute(url string) (string, error)
func (BuildpackStoreGet) WithOfflineDependencies ¶ added in v0.0.12
func (g BuildpackStoreGet) WithOfflineDependencies() BuildpackStoreGet
func (BuildpackStoreGet) WithVersion ¶ added in v0.0.12
func (g BuildpackStoreGet) WithVersion(version string) BuildpackStoreGet
type CacheManager ¶ added in v0.0.12
type Container ¶
type Docker ¶
type Docker struct {
Image struct {
Inspect DockerImageInspect
Remove DockerImageRemove
}
Container struct {
Inspect DockerContainerInspect
Logs DockerContainerLogs
Run DockerContainerRun
Remove DockerContainerRemove
Stop DockerContainerStop
}
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) WithEntrypoint ¶ added in v0.0.18
func (r DockerContainerRun) WithEntrypoint(entrypoint 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) WithPublish ¶ added in v0.0.21
func (r DockerContainerRun) WithPublish(value string) DockerContainerRun
func (DockerContainerRun) WithPublishAll ¶ added in v0.0.21
func (r DockerContainerRun) WithPublishAll() DockerContainerRun
func (DockerContainerRun) WithTTY ¶
func (r DockerContainerRun) WithTTY() DockerContainerRun
type DockerContainerStop ¶ added in v0.0.19
type DockerContainerStop struct {
// contains filtered or unexported fields
}
func (DockerContainerStop) Execute ¶ added in v0.0.19
func (s DockerContainerStop) Execute(containerID string) error
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 LocalFetcher ¶ added in v0.0.12
type LocalFetcher interface {
Get(freezer.LocalBuildpack) (string, error)
}
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
deprecated
func (PackBuild) WithPullPolicy ¶ added in v0.0.19
func (PackBuild) WithTrustBuilder ¶ added in v0.0.18
type RemoteFetcher ¶ added in v0.0.12
type RemoteFetcher interface {
Get(freezer.RemoteBuildpack) (string, error)
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.