Documentation ¶
Index ¶
- Constants
- func WithArgs(args ...string) func(*Phase) (*Phase, error)
- func WithBinds(binds ...string) func(*Phase) (*Phase, error)
- func WithDaemonAccess() func(*Phase) (*Phase, error)
- func WithNetwork(networkMode string) func(*Phase) (*Phase, error)
- func WithRegistryAccess(repos ...string) func(*Phase) (*Phase, error)
- type Cache
- type Lifecycle
- func (l *Lifecycle) Analyze(ctx context.Context, repoName string, publish, clearCache bool) error
- func (l *Lifecycle) Build(ctx context.Context, networkMode string) error
- func (l *Lifecycle) Cache(ctx context.Context, cacheName string) error
- func (l *Lifecycle) Cleanup() error
- func (l *Lifecycle) Detect(ctx context.Context, networkMode string) error
- func (l *Lifecycle) Execute(ctx context.Context, opts LifecycleOptions) error
- func (l *Lifecycle) Export(ctx context.Context, repoName string, runImage string, publish bool, ...) error
- func (l *Lifecycle) NewPhase(name string, ops ...func(*Phase) (*Phase, error)) (*Phase, error)
- func (l *Lifecycle) Restore(ctx context.Context, cacheName string) error
- func (l *Lifecycle) Setup(opts LifecycleOptions)
- type LifecycleOptions
- type Phase
Constants ¶
View Source
const PlatformAPIVersion = "0.1"
PlatformAPIVersion is the current Platform API Version supported by this version of pack.
Variables ¶
This section is empty.
Functions ¶
func WithDaemonAccess ¶
func WithNetwork ¶ added in v0.5.0
Types ¶
type Lifecycle ¶
type Lifecycle struct { LayersVolume string AppVolume string // contains filtered or unexported fields }
func (*Lifecycle) Execute ¶ added in v0.2.0
func (l *Lifecycle) Execute(ctx context.Context, opts LifecycleOptions) error
func (*Lifecycle) Setup ¶ added in v0.2.0
func (l *Lifecycle) Setup(opts LifecycleOptions)
type LifecycleOptions ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.