Documentation
¶
Overview ¶
Package transformer transforms a Docker image TAR output to `.zeabur` directory.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrSkip = errors.New("skip transformer")
ErrSkip is a flag for Transformer to skip the transformation, which is useful for the transformer that doesn't support such plan.
Functions ¶
func TransformNix ¶
TransformNix push the Nix Docker image output to registry.
Types ¶
type Context ¶
type Context struct {
PlanType types.PlanType
PlanMeta types.PlanMeta
BuildkitPath string
AppPath string
PushImage bool
ResultImage string
LogWriter io.Writer
}
Context is the context for the transformer.
func (*Context) ZeaburPath ¶
ZeaburPath returns the `.zeabur` directory of the App path.
type Transformer ¶
Transformer is the type for the transformer interface.
Click to show internal directories.
Click to hide internal directories.