Documentation
¶
Index ¶
Constants ¶
View Source
const ( // PhaseInit is the phase text for the init phase. PhaseInit = "Init 🚀" // PhaseBuild is the phase text for the build phase. PhaseBuild = "Build 🔧" // PhasePush is the phase text for the push phase. PhasePush = "Push Summary ⏫" // PhaseOutput is the phase text for the output phase. PhaseOutput = "Local Output Summary 🎁" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildOpt ¶
type BuildOpt struct {
PlatformResolver *platutil.Resolver
AllowPrivileged bool
PrintPhases bool
Push bool
CI bool
NoOutput bool
OnlyFinalTargetImages bool
OnlyArtifact *domain.Artifact
OnlyArtifactDestPath string
EnableGatewayClientLogging bool
BuiltinArgs variables.DefaultArgs
GlobalWaitBlockFtr bool
LocalArtifactWhiteList *gatewaycrafter.LocalArtifactWhiteList
Logbus *logbus.Bus
Runner string
ProjectAdder ProjectAdder
}
BuildOpt is a collection of build options.
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder executes Earthly builds.
func NewBuilder ¶
NewBuilder returns a new earthly Builder.
type Opt ¶
type Opt struct {
BkClient *client.Client
LogBusSolverMonitor *solvermon.SolverMonitor
Console conslogging.ConsoleLogger
Verbose bool
Attachables []session.Attachable
Enttlmnts []entitlements.Entitlement
NoCache bool
CacheImports *states.CacheImports
CacheExport string
MaxCacheExport string
UseInlineCache bool
SaveInlineCache bool
ImageResolveMode llb.ResolveMode
CleanCollection *cleanup.Collection
OverridingVars *variables.Scope
BuildContextProvider *provider.BuildContextProvider
GitLookup *buildcontext.GitLookup
GitBranchOverride string
UseFakeDep bool
Strict bool
DisableNoOutputUpdates bool
ParallelConversion bool
Parallelism semutil.Semaphore
DarwinProxyImage string
DarwinProxyWait time.Duration
LocalRegistryAddr string
DisableRemoteRegistryProxy bool
FeatureFlagOverrides string
ContainerFrontend containerutil.ContainerFrontend
InternalSecretStore *secretprovider.MutableMapStore
InteractiveDebugging bool
InteractiveDebuggingDebugLevelLogging bool
GitImage string
GitLFSInclude string
GitLogLevel buildkitgitutil.GitLogLevel
BuildkitSkipper bk.BuildkitSkipper
NoAutoSkip bool
}
Opt represent builder options.
type ProjectAdder ¶
type ProjectAdder interface {
AddProject(org, project string)
}
Click to show internal directories.
Click to hide internal directories.