Documentation
¶
Index ¶
- func LookupExistingSubmissionForVersion(ctx context.Context, client *asc.Client, versionID string, ...) (string, error)
- func RemovedSubmitCreateCommand() *ffcli.Command
- func RemovedSubmitPreflightCommand() *ffcli.Command
- func SubmissionLocalizationPreflight(ctx context.Context, client *asc.Client, ...) error
- func SubmissionLocalizationPreflightWithTimeout(ctx context.Context, client *asc.Client, appID, versionID, platform string, ...) error
- func SubmissionSubscriptionPreflight(ctx context.Context, client *asc.Client, appID, retryCommand string)
- func SubmissionSubscriptionPreflightWithTimeout(ctx context.Context, client *asc.Client, appID string, ...)
- func SubmitCancelCommand() *ffcli.Command
- func SubmitCommand() *ffcli.Command
- func SubmitCreateCommand() *ffcli.Command
- func SubmitPreflightCommand() *ffcli.Command
- func SubmitStatusCommand() *ffcli.Command
- type BuildAttachmentResult
- type SubmitResolvedVersionOptions
- type SubmitResolvedVersionResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LookupExistingSubmissionForVersion ¶ added in v1.260410.0
func LookupExistingSubmissionForVersion(ctx context.Context, client *asc.Client, versionID string, requestTimeout time.Duration) (string, error)
LookupExistingSubmissionForVersion returns the existing legacy submission ID for an App Store version, if one already exists.
func RemovedSubmitCreateCommand ¶ added in v1.260404.0
func RemovedSubmitPreflightCommand ¶ added in v1.260404.0
func SubmissionLocalizationPreflight ¶ added in v1.260331.0
func SubmissionLocalizationPreflight(ctx context.Context, client *asc.Client, appID, versionID, platform, retryCommand string) error
SubmissionLocalizationPreflight runs the submission-blocking localization preflight used by submit-style App Store review flows.
func SubmissionLocalizationPreflightWithTimeout ¶ added in v1.260331.0
func SubmissionLocalizationPreflightWithTimeout( ctx context.Context, client *asc.Client, appID, versionID, platform string, requestTimeout time.Duration, retryCommand string, ) error
SubmissionLocalizationPreflightWithTimeout runs localization preflight with an explicit request budget when the caller needs a per-phase timeout.
func SubmissionSubscriptionPreflight ¶ added in v1.260331.0
func SubmissionSubscriptionPreflight(ctx context.Context, client *asc.Client, appID, retryCommand string)
SubmissionSubscriptionPreflight runs the advisory subscription preflight used by submit-style App Store review flows.
func SubmissionSubscriptionPreflightWithTimeout ¶ added in v1.260331.0
func SubmissionSubscriptionPreflightWithTimeout( ctx context.Context, client *asc.Client, appID string, requestTimeout time.Duration, retryCommand string, )
SubmissionSubscriptionPreflightWithTimeout runs subscription preflight with an explicit request budget when the caller needs a per-phase timeout.
func SubmitCancelCommand ¶
func SubmitCommand ¶
func SubmitCreateCommand ¶
func SubmitPreflightCommand ¶
SubmitPreflightCommand returns the "submit preflight" subcommand.
func SubmitStatusCommand ¶
Types ¶
type BuildAttachmentResult ¶ added in v1.260331.0
type BuildAttachmentResult struct {
VersionID string `json:"versionId"`
BuildID string `json:"buildId"`
CurrentBuildID string `json:"currentBuildId,omitempty"`
Attached bool `json:"attached,omitempty"`
AlreadyAttached bool `json:"alreadyAttached,omitempty"`
WouldAttach bool `json:"wouldAttach,omitempty"`
}
BuildAttachmentResult captures the resolved state of ensuring a build is attached to an App Store version.
func EnsureBuildAttached ¶ added in v1.260331.0
func EnsureBuildAttached(ctx context.Context, client *asc.Client, versionID, buildID string, dryRun bool) (BuildAttachmentResult, error)
EnsureBuildAttached ensures the target build is attached to the resolved App Store version. In dry-run mode it reports the planned change without mutating.
type SubmitResolvedVersionOptions ¶ added in v1.260331.0
type SubmitResolvedVersionOptions struct {
AppID string
VersionID string
BuildID string
Platform string
RequestTimeout time.Duration
EnsureBuildAttached bool
LookupExistingSubmission bool
DryRun bool
Emit func(string)
}
SubmitResolvedVersionOptions configures the shared App Store submission flow used by submit, release, and publish surfaces.
type SubmitResolvedVersionResult ¶ added in v1.260331.0
type SubmitResolvedVersionResult struct {
SubmissionID string `json:"submissionId,omitempty"`
SubmittedDate string `json:"submittedDate,omitempty"`
AlreadySubmitted bool `json:"alreadySubmitted,omitempty"`
WouldSubmit bool `json:"wouldSubmit,omitempty"`
BuildAttachment *BuildAttachmentResult `json:"buildAttachment,omitempty"`
Messages []string `json:"messages,omitempty"`
}
SubmitResolvedVersionResult captures the outcome of creating/submitting a review submission for an already-resolved version.
func SubmitResolvedVersion ¶ added in v1.260331.0
func SubmitResolvedVersion(ctx context.Context, client *asc.Client, opts SubmitResolvedVersionOptions) (SubmitResolvedVersionResult, error)
SubmitResolvedVersion runs the shared modern review-submission flow for an already-resolved version ID.