Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddOptions ¶
type ConfigOptions ¶
type ContainerState ¶
type ContainerState interface {
Name() string
Lines() []string
Add(AddOptions)
Copy(CopyOptions) error
Config(ConfigOptions)
Run(RunOptions)
Dependencies() []string
Ignore() []string
// contains filtered or unexported methods
}
func NewContainer ¶
func NewContainer(opts NewContainerOpts) (ContainerState, error)
type ContainerStateStore ¶
type ContainerStateStore interface {
// Create a new container in the container state store
NewContainer(opts NewContainerOpts) (ContainerState, error)
// Put a new container state
Put(string, ContainerState) error
// Get an existing container state
Get(string) (ContainerState, error)
// Has - returns true if container exists in this state store
Has(string) bool
// Compile - Compiles the given container and it's dependencies into a ContainerFile/Dockerfile
Compile(string, []string) ([]string, error)
}
func NewStateStore ¶
func NewStateStore() ContainerStateStore
type CopyOptions ¶
type NewContainerOpts ¶
type RunOptions ¶
type RunOptions struct {
Command []string
}
Click to show internal directories.
Click to hide internal directories.