validate

package
v1.260407.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

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

func SetClientFactory(fn func() (*asc.Client, error)) func()

SetClientFactory replaces the ASC client factory for tests. It returns a restore function to reset the previous handler.

func SetFetchAppBuildCountFunc added in v1.260325.0

func SetFetchAppBuildCountFunc(fn func(context.Context, *asc.Client, string) (int, bool, string, error)) func()

SetFetchAppBuildCountFunc replaces the app build-count fetcher 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

func ValidateCommand() *ffcli.Command

ValidateCommand returns the asc validate command.

func ValidateIAPCommand

func ValidateIAPCommand() *ffcli.Command

ValidateIAPCommand returns the asc validate iap subcommand.

func ValidateSubscriptionsCommand

func ValidateSubscriptionsCommand() *ffcli.Command

ValidateSubscriptionsCommand returns the asc validate subscriptions subcommand.

func ValidateTestFlightCommand

func ValidateTestFlightCommand() *ffcli.Command

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL