Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SelectConnectionCredentials ¶
func SelectConnectionCredentials(authType AuthType, conn *devportalservice.AppleDeveloperConnection, logger log.Logger) (appleauth.Credentials, error)
SelectConnectionCredentials ...
Types ¶
type Archive ¶
type Archive struct {
// contains filtered or unexported fields
}
Archive ...
func (Archive) GetAppLayout ¶
func (a Archive) GetAppLayout(uiTestTargets bool) (autocodesign.AppLayout, error)
GetAppLayout ...
func (Archive) IsSigningManagedAutomatically ¶
IsSigningManagedAutomatically ...
type AssetWriter ¶
type AssetWriter interface {
ForceCodesignAssets(distribution autocodesign.DistributionType, codesignAssetsByDistributionType map[autocodesign.DistributionType]autocodesign.AppCodesignAssets) error
}
AssetWriter ...
type Config ¶
type Config struct { CertificatesAndPassphrases []certdownloader.CertificateAndPassphrase Keychain keychain.Keychain DistributionMethod autocodesign.DistributionType }
Config ...
type DetailsProvider ¶
type DetailsProvider interface { IsSigningManagedAutomatically() (bool, error) Platform() (autocodesign.Platform, error) GetAppLayout(uiTestTargets bool) (autocodesign.AppLayout, error) }
DetailsProvider ...
type Input ¶
type Input struct { AuthType AuthType DistributionMethod string CertificateURLList string CertificatePassphraseList stepconf.Secret KeychainPath string KeychainPassword stepconf.Secret }
Input ...
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager ...
func NewManagerWithArchive ¶
func NewManagerWithArchive( opts Opts, appleAuth appleauth.Credentials, connection *devportalservice.AppleDeveloperConnection, clientFactory devportalclient.Factory, certDownloader autocodesign.CertificateProvider, assetInstaller autocodesign.AssetWriter, localCodeSignAssetManager autocodesign.LocalCodeSignAssetManager, archive Archive, logger log.Logger, ) Manager
NewManagerWithArchive creates a codesign manager, which reads the code signing asset requirements from an XCArchive file.
func NewManagerWithProject ¶
func NewManagerWithProject( opts Opts, appleAuth appleauth.Credentials, connection *devportalservice.AppleDeveloperConnection, clientFactory devportalclient.Factory, certDownloader autocodesign.CertificateProvider, assetInstaller autocodesign.AssetWriter, localCodeSignAssetManager autocodesign.LocalCodeSignAssetManager, project projectmanager.Project, logger log.Logger, ) Manager
NewManagerWithProject creates a codesign manager, which reads the code signing asset requirements from an Xcode Project.
func (*Manager) PrepareCodesigning ¶
func (m *Manager) PrepareCodesigning() (*devportalservice.APIKeyConnection, error)
PrepareCodesigning selects a suitable code signing strategy based on the step and project configuration, then downloads code signing assets (profiles, certificates) and registers test devices if needed
Click to show internal directories.
Click to hide internal directories.