Documentation
¶
Index ¶
- func RunAppsCreate(ctx context.Context, opts AppsCreateRunOptions) error
- func SetLookupWebAuthKey(...) func()
- func SetNewWebAuthClient(fn func(*webcore.AuthSession) *webcore.Client) func()
- func SetResolveWebAuthCredentials(fn func(string) (shared.ResolvedAuthCredentials, error)) func()
- func SetResolveWebSession(fn any) func()
- func WebAnalyticsAppClipsCommand() *ffcli.Command
- func WebAnalyticsBenchmarksCommand() *ffcli.Command
- func WebAnalyticsCampaignsCommand() *ffcli.Command
- func WebAnalyticsCohortsCommand() *ffcli.Command
- func WebAnalyticsCommand() *ffcli.Command
- func WebAnalyticsInAppEventsCommand() *ffcli.Command
- func WebAnalyticsMetricsCommand() *ffcli.Command
- func WebAnalyticsOffersCommand() *ffcli.Command
- func WebAnalyticsOverviewCommand() *ffcli.Command
- func WebAnalyticsProductPagesCommand() *ffcli.Command
- func WebAnalyticsRetentionCommand() *ffcli.Command
- func WebAnalyticsSalesCommand() *ffcli.Command
- func WebAnalyticsSourcesCommand() *ffcli.Command
- func WebAnalyticsSubscriptionsCommand() *ffcli.Command
- func WebAppsAvailabilityCommand() *ffcli.Command
- func WebAppsAvailabilityCreateCommand() *ffcli.Command
- func WebAppsCommand() *ffcli.Command
- func WebAppsCreateCommand() *ffcli.Command
- func WebAppsMedicalDeviceCommand() *ffcli.Command
- func WebAppsMedicalDeviceSetCommand() *ffcli.Command
- func WebAuthCapabilitiesCommand() *ffcli.Command
- func WebAuthCommand() *ffcli.Command
- func WebAuthLoginCommand() *ffcli.Command
- func WebAuthLogoutCommand() *ffcli.Command
- func WebAuthStatusCommand() *ffcli.Command
- func WebCommand() *ffcli.Command
- func WebPrivacyApplyCommand() *ffcli.Command
- func WebPrivacyCatalogCommand() *ffcli.Command
- func WebPrivacyCommand() *ffcli.Command
- func WebPrivacyPlanCommand() *ffcli.Command
- func WebPrivacyPublishCommand() *ffcli.Command
- func WebPrivacyPullCommand() *ffcli.Command
- func WebReviewCommand() *ffcli.Command
- func WebReviewListCommand() *ffcli.Command
- func WebReviewShowCommand() *ffcli.Command
- func WebReviewSubscriptionsAttachCommand() *ffcli.Command
- func WebReviewSubscriptionsAttachGroupCommand() *ffcli.Command
- func WebReviewSubscriptionsCommand() *ffcli.Command
- func WebReviewSubscriptionsListCommand() *ffcli.Command
- func WebReviewSubscriptionsRemoveCommand() *ffcli.Command
- func WebReviewSubscriptionsRemoveGroupCommand() *ffcli.Command
- func WebSandboxCommand() *ffcli.Command
- func WebSandboxCreateCommand() *ffcli.Command
- func WebXcodeCloudCommand() *ffcli.Command
- type AppsCreateRunOptions
- type CIEnvVarsDeleteResult
- type CIEnvVarsListResult
- type CIEnvVarsSetResult
- type CISharedEnvVarsDeleteResult
- type CISharedEnvVarsListResult
- type CISharedEnvVarsSetResult
- type CIUsageAlertMonth
- type CIUsageAlertNotification
- type CIUsageAlertPlan
- type CIUsageAlertResult
- type CIUsageAlertThresholds
- type CIUsageAlertTrend
- type CIWorkflowCreateResult
- type CIWorkflowDescribeResult
- type CIWorkflowEditResult
- type CIWorkflowToggleResult
- type CIWorkflowsResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunAppsCreate ¶ added in v1.260328.0
func RunAppsCreate(ctx context.Context, opts AppsCreateRunOptions) error
RunAppsCreate executes the canonical web-backed app-create flow.
func SetLookupWebAuthKey ¶
func SetNewWebAuthClient ¶
func SetNewWebAuthClient(fn func(*webcore.AuthSession) *webcore.Client) func()
func SetResolveWebAuthCredentials ¶
func SetResolveWebAuthCredentials(fn func(string) (shared.ResolvedAuthCredentials, error)) func()
func SetResolveWebSession ¶
func SetResolveWebSession(fn any) func()
func WebAnalyticsAppClipsCommand ¶ added in v1.260328.0
WebAnalyticsAppClipsCommand explains App Clip tab availability for the app.
func WebAnalyticsBenchmarksCommand ¶ added in v1.260328.0
WebAnalyticsBenchmarksCommand recreates the Benchmarks summary page.
func WebAnalyticsCampaignsCommand ¶ added in v1.260328.0
WebAnalyticsCampaignsCommand recreates the Acquisition > Campaigns page.
func WebAnalyticsCohortsCommand ¶ added in v1.260328.0
WebAnalyticsCohortsCommand queries private analytics cohorts directly.
func WebAnalyticsCommand ¶ added in v1.260328.0
WebAnalyticsCommand returns the analytics command group under `asc web`.
func WebAnalyticsInAppEventsCommand ¶ added in v1.260328.0
WebAnalyticsInAppEventsCommand recreates the Acquisition > In-App Events page.
func WebAnalyticsMetricsCommand ¶ added in v1.260328.0
WebAnalyticsMetricsCommand queries analytics measure series directly.
func WebAnalyticsOffersCommand ¶ added in v1.260328.0
WebAnalyticsOffersCommand explains Offers tab capability for the app.
func WebAnalyticsOverviewCommand ¶ added in v1.260328.0
WebAnalyticsOverviewCommand recreates the analytics overview dashboard.
func WebAnalyticsProductPagesCommand ¶ added in v1.260328.0
WebAnalyticsProductPagesCommand explains Product Pages availability for the app.
func WebAnalyticsRetentionCommand ¶ added in v1.260328.0
WebAnalyticsRetentionCommand queries private analytics retention data.
func WebAnalyticsSalesCommand ¶ added in v1.260328.0
WebAnalyticsSalesCommand recreates the Monetization > Sales page.
func WebAnalyticsSourcesCommand ¶ added in v1.260328.0
WebAnalyticsSourcesCommand recreates the Acquisition > Sources page.
func WebAnalyticsSubscriptionsCommand ¶ added in v1.260328.0
WebAnalyticsSubscriptionsCommand recreates the subscriptions summary dashboard.
func WebAppsAvailabilityCommand ¶
WebAppsAvailabilityCommand returns the web app availability command group.
func WebAppsAvailabilityCreateCommand ¶
WebAppsAvailabilityCreateCommand bootstraps missing app availability via the internal web API.
func WebAppsCommand ¶
WebAppsCommand returns the detached web apps command group.
func WebAppsCreateCommand ¶
WebAppsCreateCommand creates apps using the internal web API.
func WebAppsMedicalDeviceCommand ¶ added in v1.260331.0
WebAppsMedicalDeviceCommand returns the regulated medical device command group.
func WebAppsMedicalDeviceSetCommand ¶ added in v1.260331.0
WebAppsMedicalDeviceSetCommand sets the regulated medical device declaration.
func WebAuthCapabilitiesCommand ¶
WebAuthCapabilitiesCommand returns exact key-role lookup via App Store Connect web-session endpoints.
func WebAuthCommand ¶
WebAuthCommand returns the detached web auth command group.
func WebAuthLoginCommand ¶
WebAuthLoginCommand creates or refreshes a web session.
func WebAuthLogoutCommand ¶
WebAuthLogoutCommand clears cached web sessions.
func WebAuthStatusCommand ¶
WebAuthStatusCommand checks whether a cached session is currently valid.
func WebCommand ¶
WebCommand returns the detached experimental web command group.
func WebPrivacyApplyCommand ¶
WebPrivacyApplyCommand applies local declaration changes to remote app data usages.
func WebPrivacyCatalogCommand ¶
WebPrivacyCatalogCommand lists available privacy declaration catalog values.
func WebPrivacyCommand ¶
WebPrivacyCommand returns the detached web privacy command group.
func WebPrivacyPlanCommand ¶
WebPrivacyPlanCommand compares local declaration file with remote state.
func WebPrivacyPublishCommand ¶
WebPrivacyPublishCommand explicitly publishes app data usage declarations.
func WebPrivacyPullCommand ¶
WebPrivacyPullCommand pulls remote app privacy declarations into canonical JSON.
func WebReviewCommand ¶
WebReviewCommand returns the detached web review command group.
func WebReviewListCommand ¶
WebReviewListCommand lists review submissions for an app.
func WebReviewShowCommand ¶
WebReviewShowCommand shows a submission with full review context and downloads screenshots.
func WebReviewSubscriptionsAttachCommand ¶
WebReviewSubscriptionsAttachCommand attaches a subscription to the next app version review.
func WebReviewSubscriptionsAttachGroupCommand ¶
WebReviewSubscriptionsAttachGroupCommand attaches every READY_TO_SUBMIT subscription in one group.
func WebReviewSubscriptionsCommand ¶
WebReviewSubscriptionsCommand returns the app-version subscription attach helpers.
func WebReviewSubscriptionsListCommand ¶
WebReviewSubscriptionsListCommand lists review-scoped subscriptions for an app.
func WebReviewSubscriptionsRemoveCommand ¶
WebReviewSubscriptionsRemoveCommand removes a subscription from the next app version review.
func WebReviewSubscriptionsRemoveGroupCommand ¶
WebReviewSubscriptionsRemoveGroupCommand removes all attached subscriptions in one group.
func WebSandboxCommand ¶ added in v1.260328.0
WebSandboxCommand returns the detached web sandbox command group.
func WebSandboxCreateCommand ¶ added in v1.260328.0
WebSandboxCreateCommand creates a sandbox tester via App Store Connect's private web session endpoints.
func WebXcodeCloudCommand ¶
WebXcodeCloudCommand returns the xcode-cloud command group.
Types ¶
type AppsCreateRunOptions ¶ added in v1.260328.0
type AppsCreateRunOptions struct {
Name string
BundleID string
SKU string
PrimaryLocale string
Platform string
Version string
CompanyName string
AppleID string
Password string
TwoFactorCode string
TwoFactorCodeCommand string
AutoRename bool
Output string
Pretty bool
// Deprecated shim compatibility: when a direct password is provided without an
// Apple ID, preserve the old behavior of prompting for account selection
// instead of silently reusing the last cached session.
PromptForAppleIDWithPassword bool
// Deprecated shim compatibility: preserve the old apps-create contract and
// avoid official ASC bundle-ID preflight side effects.
DisableBundleIDPreflight bool
}
AppsCreateRunOptions configures the canonical web-backed app-create flow.
type CIEnvVarsDeleteResult ¶
type CIEnvVarsDeleteResult struct {
WorkflowID string `json:"workflow_id"`
WorkflowName string `json:"workflow_name"`
Name string `json:"name"`
}
CIEnvVarsDeleteResult is the output type for the env-vars delete command.
type CIEnvVarsListResult ¶
type CIEnvVarsListResult struct {
WorkflowID string `json:"workflow_id"`
Variables []webcore.CIEnvironmentVariable `json:"variables"`
}
CIEnvVarsListResult is the output type for the env-vars list command.
type CIEnvVarsSetResult ¶
type CIEnvVarsSetResult struct {
WorkflowID string `json:"workflow_id"`
WorkflowName string `json:"workflow_name"`
Name string `json:"name"`
Type string `json:"type"`
Action string `json:"action"`
}
CIEnvVarsSetResult is the output type for the env-vars set command.
type CISharedEnvVarsDeleteResult ¶
type CISharedEnvVarsDeleteResult struct {
}
CISharedEnvVarsDeleteResult is the output type for the env-vars shared delete command.
type CISharedEnvVarsListResult ¶
type CISharedEnvVarsListResult struct {
}
CISharedEnvVarsListResult is the output type for the env-vars shared list command.
type CISharedEnvVarsSetResult ¶
type CISharedEnvVarsSetResult struct {
}
CISharedEnvVarsSetResult is the output type for the env-vars shared set command.
type CIUsageAlertMonth ¶
type CIUsageAlertMonth struct {
Year int `json:"year"`
Month int `json:"month"`
Minutes int `json:"minutes"`
Builds int `json:"builds"`
}
CIUsageAlertMonth is one monthly usage datapoint.
type CIUsageAlertNotification ¶
type CIUsageAlertNotification struct {
Channel string `json:"channel"`
Triggered bool `json:"triggered"`
Delivered bool `json:"delivered"`
StatusCode int `json:"status_code,omitempty"`
Error string `json:"error,omitempty"`
}
CIUsageAlertNotification captures delivery status for outbound notifications.
type CIUsageAlertPlan ¶
type CIUsageAlertPlan struct {
Name string `json:"name"`
Used int `json:"used"`
Available int `json:"available"`
Total int `json:"total"`
UsedPercent int `json:"used_percent"`
ResetDate string `json:"reset_date,omitempty"`
ResetDateTime string `json:"reset_date_time,omitempty"`
ManageURL string `json:"manage_url,omitempty"`
}
CIUsageAlertPlan captures plan quota and calculated usage percentage.
type CIUsageAlertResult ¶
type CIUsageAlertResult struct {
TeamID string `json:"team_id"`
EvaluatedAt string `json:"evaluated_at"`
Severity usageAlertSeverity `json:"severity"`
Message string `json:"message"`
FailOn usageAlertFailOn `json:"fail_on"`
NotifyOn usageAlertNotifyOn `json:"notify_on"`
Thresholds CIUsageAlertThresholds `json:"thresholds"`
Plan CIUsageAlertPlan `json:"plan"`
Trend *CIUsageAlertTrend `json:"trend,omitempty"`
Notifications []CIUsageAlertNotification `json:"notifications,omitempty"`
}
CIUsageAlertResult is the output payload for usage alert evaluation.
type CIUsageAlertThresholds ¶
type CIUsageAlertThresholds struct {
WarnAt int `json:"warn_at"`
CriticalAt int `json:"critical_at"`
}
CIUsageAlertThresholds captures warning and critical threshold percentages.
type CIUsageAlertTrend ¶
type CIUsageAlertTrend struct {
RequestedMonths int `json:"requested_months"`
Available bool `json:"available"`
AverageMinutes int `json:"average_minutes,omitempty"`
PeakMinutes int `json:"peak_minutes,omitempty"`
Months []CIUsageAlertMonth `json:"months,omitempty"`
}
CIUsageAlertTrend carries monthly usage context.
type CIWorkflowCreateResult ¶
type CIWorkflowCreateResult struct {
CIWorkflowDescribeResult
Created bool `json:"created"`
}
CIWorkflowCreateResult is the output type for workflows create.
type CIWorkflowDescribeResult ¶
type CIWorkflowDescribeResult struct {
ProductID string `json:"product_id"`
WorkflowID string `json:"workflow_id"`
Name string `json:"name"`
Description string `json:"description,omitempty"`
Disabled bool `json:"disabled"`
Locked bool `json:"locked"`
XcodeVersion json.RawMessage `json:"xcode_version,omitempty"`
MacOSVersion json.RawMessage `json:"macos_version,omitempty"`
Clean json.RawMessage `json:"clean,omitempty"`
ContainerFilePath string `json:"container_file_path,omitempty"`
ProductEnvironmentVariables []string `json:"product_environment_variables,omitempty"`
StartConditions json.RawMessage `json:"start_conditions,omitempty"`
Actions json.RawMessage `json:"actions,omitempty"`
PostActions json.RawMessage `json:"post_actions,omitempty"`
Repo json.RawMessage `json:"repo,omitempty"`
}
CIWorkflowDescribeResult is the output type for workflows describe.
type CIWorkflowEditResult ¶
type CIWorkflowEditResult struct {
CIWorkflowDescribeResult
Changed bool `json:"changed"`
}
CIWorkflowEditResult is the output type for workflows edit.
type CIWorkflowToggleResult ¶
type CIWorkflowToggleResult struct {
ProductID string `json:"product_id"`
WorkflowID string `json:"workflow_id"`
WorkflowName string `json:"workflow_name"`
Action string `json:"action"`
DisabledBefore bool `json:"disabled_before"`
DisabledAfter bool `json:"disabled_after"`
Changed bool `json:"changed"`
}
CIWorkflowToggleResult is the output type for workflows enable/disable.
type CIWorkflowsResult ¶
type CIWorkflowsResult struct {
ProductID string `json:"product_id"`
Start string `json:"start"`
End string `json:"end"`
Workflows []webcore.CIWorkflowUsage `json:"workflows"`
}
CIWorkflowsResult is the output type for the workflows command. It wraps the workflow usage data with product context for clean JSON output.
Source Files
¶
- test_hooks.go
- web.go
- web_analytics.go
- web_analytics_pages.go
- web_analytics_table_sections.go
- web_app_availability.go
- web_apps.go
- web_apps_create_shared.go
- web_apps_medical_device.go
- web_auth.go
- web_auth_capabilities.go
- web_auth_read_unix.go
- web_privacy.go
- web_progress.go
- web_review.go
- web_review_subscriptions.go
- web_sandbox.go
- web_session_flags.go
- web_xcode_cloud.go
- web_xcode_cloud_alert.go
- web_xcode_cloud_envvars.go
- web_xcode_cloud_shared_envvars.go
- web_xcode_cloud_workflow_options.go
- web_xcode_cloud_workflows.go