Documentation
¶
Index ¶
- func BuildReadinessReport(ctx context.Context, opts ReadinessOptions) (validation.Report, error)
- func SetClientFactory(fn func() (*asc.Client, error)) func()
- func SetFetchAvailableTerritoriesFunc(fn func(context.Context, *asc.Client, string) (string, int, error)) func()
- func SetFetchIAPsFunc(fn func(context.Context, *asc.Client, string) ([]validation.IAP, error)) func()
- func SetFetchScreenshotSetsFunc(fn func(context.Context, *asc.Client, ...) ([]validation.ScreenshotSet, error)) func()
- func SetFetchSubscriptionsFunc(...) func()
- func ValidateCommand() *ffcli.Command
- func ValidateIAPCommand() *ffcli.Command
- func ValidateSubscriptionsCommand() *ffcli.Command
- func ValidateTestFlightCommand() *ffcli.Command
- type ReadinessOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildReadinessReport ¶
func BuildReadinessReport(ctx context.Context, opts ReadinessOptions) (validation.Report, error)
BuildReadinessReport fetches live App Store Connect data and returns a structured readiness report without printing output.
func SetClientFactory ¶
SetClientFactory replaces the ASC client factory for tests. It returns a restore function to reset the previous handler.
func SetFetchAvailableTerritoriesFunc ¶
func SetFetchAvailableTerritoriesFunc(fn func(context.Context, *asc.Client, string) (string, int, error)) func()
SetFetchAvailableTerritoriesFunc replaces the availability fetcher for tests. It returns a restore function to reset the previous handler.
func SetFetchIAPsFunc ¶
func SetFetchIAPsFunc(fn func(context.Context, *asc.Client, string) ([]validation.IAP, error)) func()
SetFetchIAPsFunc replaces the IAP fetcher for tests. It returns a restore function to reset the previous handler.
func SetFetchScreenshotSetsFunc ¶
func SetFetchScreenshotSetsFunc(fn func(context.Context, *asc.Client, []asc.Resource[asc.AppStoreVersionLocalizationAttributes]) ([]validation.ScreenshotSet, error)) func()
SetFetchScreenshotSetsFunc replaces the screenshot-set fetcher for tests. It returns a restore function to reset the previous handler.
func SetFetchSubscriptionsFunc ¶
func SetFetchSubscriptionsFunc(fn func(context.Context, *asc.Client, string) ([]validation.Subscription, error)) func()
SetFetchSubscriptionsFunc replaces the subscription fetcher for tests. It returns a restore function to reset the previous handler.
func ValidateCommand ¶
ValidateCommand returns the asc validate command.
func ValidateIAPCommand ¶
ValidateIAPCommand returns the asc validate iap subcommand.
func ValidateSubscriptionsCommand ¶
ValidateSubscriptionsCommand returns the asc validate subscriptions subcommand.
func ValidateTestFlightCommand ¶
ValidateTestFlightCommand returns the asc validate testflight subcommand.
Types ¶
type ReadinessOptions ¶
type ReadinessOptions struct {
AppID string
Version string
VersionID string
Platform string
Strict bool
Build *validation.Build
}
ReadinessOptions defines inputs for App Store version readiness validation.