Documentation
¶
Index ¶
- Constants
- func ActivateXcodeCommandFn(ctx context.Context, logger log.Logger, osProxy utils.OsProxy, ...) error
- func SaveXcodeDerivedDataFilesCmdFn(ctx context.Context, authConfig configcommon.CacheAuthConfig, ...) (*xa.CacheOperation, error)
- func StartXcodeCacheProxy(ctx context.Context, config xcelerate.Config, envProvider map[string]string, ...) error
- func XcodebuildCmdFn(ctx context.Context, invocationID string, logger log.Logger, ...) xcodeargs.RunStats
- type XcelerateConfig
- type XcelerateParams
- type XcodeRunner
Constants ¶
View Source
const ( ActivateXcodeSuccessful = "✅ Bitrise Build Cache for Xcode activated" AddXcelerateToPath = "ℹ️ To start building, run `export PATH=~/.bitrise-xcelerate/bin:$PATH` or restart your terminal." ErrFmtCreateXcodeConfig = "failed to create Xcode config: %w" )
View Source
const ( MsgArgsPassedToXcodebuild = "Arguments passed to xcodebuild: %v" MsgInvocationSuccess = "Invocation succeeded ✅ after %s" MsgInvocationFailed = "Invocation failed ❌ after %s: %s" MsgInvocationSaved = "Invocation saved. Visit 👉 https://app.bitrise.io/build-cache/invocations/xcode/%s" ErrExecutingXcode = "Error executing xcodebuild: %v" ErrReadConfig = "Error reading config: %v" )
View Source
const XCodeCacheMetadataPath = "dd-metadata.json"
Variables ¶
This section is empty.
Functions ¶
func ActivateXcodeCommandFn ¶
func SaveXcodeDerivedDataFilesCmdFn ¶
func SaveXcodeDerivedDataFilesCmdFn(ctx context.Context, authConfig configcommon.CacheAuthConfig, cacheMetadataPath, projectRoot, providedCacheKey, derivedDataPath, xcodeCachePath string, followSymlinks bool, skipSPM bool, logger log.Logger, tracker deriveddata.StepAnalyticsTracker, startT time.Time, envs map[string]string, commandFunc func(string, ...string) (string, error), ) (*xa.CacheOperation, error)
func StartXcodeCacheProxy ¶
func StartXcodeCacheProxy( ctx context.Context, config xcelerate.Config, envProvider map[string]string, commandFunc configcommon.CommandFunc, bitriseKVClient kv_storage.KVStorageClient, capabilitiesClient remoteexecution.CapabilitiesClient, listener net.Listener, initialLogger log.Logger, loggerFactory proxy.LoggerFactory, ) error
func XcodebuildCmdFn ¶
Types ¶
type XcelerateConfig ¶
type XcelerateParams ¶
type XcelerateParams struct {
OrigArgs []string
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.