Documentation
¶
Overview ¶
Package context manages the state of the pipeline
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct {
ctx.Context
Config config.Project
RawConfig config.Project
Env Env
Date time.Time
Git GitInfo
CurrentDirectory string
Credentials Credentials
AppsToRelease []string
PublishMode PublishMode
Log log.Interface
MaxProcesses int
SkipGit bool
SkipUpdatePricing bool
SkipUpdateMetadata bool
SkipSubmit bool
OverrideBetaGroups bool
OverrideBetaTesters bool
VersionIsInitialRelease bool
Version string
Build string
Semver Semver
}
Context carries along some data through the pipes.
func NewWithTimeout ¶
NewWithTimeout new context with the given timeout.
type Credentials ¶
Credentials stores credentials used by clients.
func NewCredentials ¶
func NewCredentials(keyID, issuerID string, privateKey []byte) (Credentials, error)
NewCredentials returns a new store object for App Store Connect credentials.
type GitInfo ¶
type GitInfo struct {
CurrentTag string
Commit string
ShortCommit string
FullCommit string
CommitDate time.Time
URL string
}
GitInfo includes tags and refs.
type Interrupt ¶
type Interrupt struct {
// contains filtered or unexported fields
}
Interrupt tracks signals from the OS to determine whether to interrupt.
type PublishMode ¶
type PublishMode string
PublishMode describes which review destination to publish to.
const ( // PublishModeTestflight publishes to Testflight via beta app review. PublishModeTestflight PublishMode = "testflight" // PublishModeAppStore publishes for App Store review. PublishModeAppStore PublishMode = "appstore" )
func (*PublishMode) Set ¶
func (m *PublishMode) Set(value string) error
Set the mode to an allowed value, or return an error.
func (PublishMode) String ¶
func (m PublishMode) String() string
String returns the string value of the mode.
func (PublishMode) Type ¶
func (m PublishMode) Type() string
Type returns a representation of permissible values.
Click to show internal directories.
Click to hide internal directories.