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 {
ProjectAdder ProjectAdder
OnlyArtifact *domain.Artifact
Logbus *logbus.Bus
LocalArtifactWhiteList *gatewaycrafter.LocalArtifactWhiteList
PlatformResolver *platutil.Resolver
BuiltinArgs variables.DefaultArgs
OnlyArtifactDestPath string
Runner string
OnlyFinalTargetImages bool
NoOutput bool
EnableGatewayClientLogging bool
CI bool
GlobalWaitBlockFtr bool
Push bool
PrintPhases bool
AllowPrivileged bool
}
BuildOpt is a collection of build options.
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder executes EarthBuild builds.
func NewBuilder ¶
NewBuilder returns a new earthly Builder.
type Opt ¶
type Opt struct {
FeatureFlagOverrides string
GitImage string
DarwinProxyImage string
MaxCacheExport string
CacheExport string
GitBranchOverride string
LocalRegistryAddr string
GitLFSInclude string
BuildkitSkipper bk.BuildkitSkipper
Parallelism semutil.Semaphore
ContainerFrontend containerutil.ContainerFrontend
CleanCollection *cleanup.Collection
LogBusSolverMonitor *solvermon.SolverMonitor
InternalSecretStore *secretprovider.MutableMapStore
BkClient *client.Client
CacheImports *states.CacheImports
GitLookup *buildcontext.GitLookup
BuildContextProvider *provider.BuildContextProvider
OverridingVars *variables.Scope
Attachables []session.Attachable
Enttlmnts []entitlements.Entitlement
Console conslogging.ConsoleLogger
DarwinProxyWait time.Duration
GitLogLevel buildkitgitutil.GitLogLevel
ImageResolveMode llb.ResolveMode
UseFakeDep bool
DisableRemoteRegistryProxy bool
NoCache bool
ParallelConversion bool
Verbose bool
InteractiveDebugging bool
InteractiveDebuggingDebugLevelLogging bool
DisableNoOutputUpdates bool
Strict bool
UseInlineCache bool
SaveInlineCache bool
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.