Documentation ¶
Overview ¶
package contaminate contains ways for forge to internally pass state between ores, such as to make sequential ores share a filesystem.
This may sound like it breaks the fundamental idea of an ore, which is to have an encodable data structure that represents one or many containerized commands in their entirety so that such commands may be cached and retrieved later by their encoding.
However, this package is only used by individual ores internally (which may contain one or many ores), which maintains the ore being hermetic.
It is, of course, an internal package so that users cannot do the same, thus breaking forge's concept of an ore externally.
Index ¶
- func InputFrom(ctx context.Context) []byte
- func MountsFrom(ctx context.Context) []*forge.Mount
- func OverrideWithMountsFrom(ctx context.Context, mounts ...*forge.Mount) []*forge.Mount
- func WithInput(ctx context.Context, input []byte) context.Context
- func WithMounts(ctx context.Context, mounts ...*forge.Mount) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OverrideWithMountsFrom ¶
Types ¶
This section is empty.