Documentation
¶
Index ¶
- func DisableControllingTTYForTesting() func()
- func RunAppsCreate(ctx context.Context, opts AppsCreateRunOptions) error
- func SetDeleteDeveloperAppGroup(...) func()
- func SetEnableDeveloperBundleIDCapability(...) func()
- 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 SetSetDeveloperAppGroups(...) func()
- func SetSyncAppClipBundleIDCapability(...) func()
- func SetUnassignDeveloperAppGroup(...) func()
- func WebAPIKeysCommand() *ffcli.Command
- func WebAPIKeysCreateCommand() *ffcli.Command
- func WebAPIKeysListCommand() *ffcli.Command
- func WebAPIKeysViewCommand() *ffcli.Command
- func WebAgreementsAcceptCommand() *ffcli.Command
- func WebAgreementsCommand() *ffcli.Command
- func WebAgreementsDownloadCommand() *ffcli.Command
- func WebAgreementsStatusCommand() *ffcli.Command
- 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 WebAppGroupsAssignCommand() *ffcli.Command
- func WebAppGroupsCommand() *ffcli.Command
- func WebAppGroupsCreateCommand() *ffcli.Command
- func WebAppGroupsDeleteCommand() *ffcli.Command
- func WebAppGroupsListCommand() *ffcli.Command
- func WebAppGroupsSetCommand() *ffcli.Command
- func WebAppGroupsUnassignCommand() *ffcli.Command
- func WebAppsAvailabilityCommand() *ffcli.Command
- func WebAppsAvailabilityCreateCommand() *ffcli.Command
- func WebAppsCommand() *ffcli.Command
- func WebAppsCompatibilityCommand() *ffcli.Command
- func WebAppsCompatibilityEditCommand() *ffcli.Command
- func WebAppsCompatibilityViewCommand() *ffcli.Command
- func WebAppsCreateCommand() *ffcli.Command
- func WebAppsDeclarationsCommand() *ffcli.Command
- func WebAppsDeclarationsListCommand() *ffcli.Command
- func WebAppsDeleteCommand() *ffcli.Command
- func WebAppsDistributionCommand() *ffcli.Command
- func WebAppsDistributionViewCommand() *ffcli.Command
- func WebAppsHistoryCommand() *ffcli.Command
- func WebAppsMedicalDeviceCommand() *ffcli.Command
- func WebAppsMedicalDeviceSetCommand() *ffcli.Command
- func WebAppsMedicalDeviceViewCommand() *ffcli.Command
- func WebAuthCapabilitiesCommand() *ffcli.Command
- func WebAuthCommand() *ffcli.Command
- func WebAuthLoginCommand() *ffcli.Command
- func WebAuthLogoutCommand() *ffcli.Command
- func WebAuthStatusCommand() *ffcli.Command
- func WebBundleIDCapabilitiesCommand() *ffcli.Command
- func WebBundleIDCapabilitiesEnableCommand() *ffcli.Command
- func WebBundleIDCapabilitiesSyncAppClipCommand() *ffcli.Command
- func WebBundleIDsCommand() *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 WebRemovedAppsCommand() *ffcli.Command
- func WebRemovedAppsListCommand() *ffcli.Command
- func WebReviewCommand() *ffcli.Command
- func WebReviewIAPsAttachCommand() *ffcli.Command
- func WebReviewIAPsCommand() *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 WebReviewThreadsCommand() *ffcli.Command
- func WebSandboxCommand() *ffcli.Command
- func WebSandboxCreateCommand() *ffcli.Command
- func WebSubscriptionsAvailabilityCommand() *ffcli.Command
- func WebSubscriptionsAvailabilityRemoveFromSaleCommand() *ffcli.Command
- func WebSubscriptionsCommand() *ffcli.Command
- func WebSubscriptionsPricingAdjustedEqualizationsCommand() *ffcli.Command
- func WebSubscriptionsPricingAdjustedEqualizationsViewCommand() *ffcli.Command
- func WebSubscriptionsPricingCommand() *ffcli.Command
- func WebSubscriptionsPricingMonthlyCommitmentBootstrapCommand() *ffcli.Command
- func WebSubscriptionsPricingMonthlyCommitmentCommand() *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 DisableControllingTTYForTesting ¶ added in v1.260807.0
func DisableControllingTTYForTesting() func()
DisableControllingTTYForTesting prevents tests from opening the process's controlling terminal. The returned function restores the previous behavior.
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 SetDeleteDeveloperAppGroup ¶ added in v1.260904.0
func SetDeleteDeveloperAppGroup(fn func(context.Context, *webcore.Client, webcore.DeveloperAppGroupDeleteRequest) (*asc.WebAppGroupDeleteResult, error)) func()
func SetEnableDeveloperBundleIDCapability ¶ added in v1.260810.0
func SetEnableDeveloperBundleIDCapability(fn func(context.Context, *webcore.Client, webcore.DeveloperBundleIDCapabilityEnableRequest) (*webcore.DeveloperBundleIDCapabilityEnableResult, error)) func()
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 SetSetDeveloperAppGroups ¶ added in v1.260904.0
func SetSetDeveloperAppGroups(fn func(context.Context, *webcore.Client, webcore.DeveloperAppGroupSetRequest) (*asc.WebAppGroupSetResult, error)) func()
func SetSyncAppClipBundleIDCapability ¶ added in v1.260601.0
func SetSyncAppClipBundleIDCapability(fn func(context.Context, *webcore.Client, webcore.AppClipBundleIDCapabilitySyncRequest) (*webcore.AppClipBundleIDCapabilitySyncResult, error)) func()
func SetUnassignDeveloperAppGroup ¶ added in v1.260904.0
func SetUnassignDeveloperAppGroup(fn func(context.Context, *webcore.Client, webcore.DeveloperAppGroupUnassignRequest) (*asc.WebAppGroupUnassignResult, error)) func()
func WebAPIKeysCommand ¶ added in v1.260807.0
WebAPIKeysCommand returns the web-session API keys command group.
func WebAPIKeysCreateCommand ¶ added in v1.260807.0
WebAPIKeysCreateCommand creates a team API key and saves its one-time P8.
func WebAPIKeysListCommand ¶ added in v1.260904.0
WebAPIKeysListCommand lists team and individual API keys visible to the web session.
func WebAPIKeysViewCommand ¶ added in v1.260904.0
WebAPIKeysViewCommand inspects one team API key by ID.
func WebAgreementsAcceptCommand ¶ added in v1.260825.0
WebAgreementsAcceptCommand accepts one or more pending program agreements.
func WebAgreementsCommand ¶ added in v1.260825.0
WebAgreementsCommand returns the Apple Developer Program agreements group.
func WebAgreementsDownloadCommand ¶ added in v1.260904.0
WebAgreementsDownloadCommand saves the content of one program agreement.
func WebAgreementsStatusCommand ¶ added in v1.260825.0
WebAgreementsStatusCommand reports pending and accepted program agreements.
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 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 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 WebAppGroupsAssignCommand ¶ added in v1.260816.0
WebAppGroupsAssignCommand assigns an App Group to a Bundle ID.
func WebAppGroupsCommand ¶ added in v1.260816.0
WebAppGroupsCommand returns the Developer Portal App Groups command group.
func WebAppGroupsCreateCommand ¶ added in v1.260816.0
WebAppGroupsCreateCommand registers an App Group identifier.
func WebAppGroupsDeleteCommand ¶ added in v1.260904.0
WebAppGroupsDeleteCommand deletes an App Group registration.
func WebAppGroupsListCommand ¶ added in v1.260816.0
WebAppGroupsListCommand lists App Groups for the selected Developer Portal team.
func WebAppGroupsSetCommand ¶ added in v1.260904.0
WebAppGroupsSetCommand converges a Bundle ID on a complete App Group set.
func WebAppGroupsUnassignCommand ¶ added in v1.260904.0
WebAppGroupsUnassignCommand removes an App Group from a Bundle ID.
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 WebAppsCompatibilityCommand ¶ added in v1.260531.0
WebAppsCompatibilityCommand returns the web app compatibility command group.
func WebAppsCompatibilityEditCommand ¶ added in v1.260531.0
WebAppsCompatibilityEditCommand returns the compatibility edit command.
func WebAppsCompatibilityViewCommand ¶ added in v1.260531.0
WebAppsCompatibilityViewCommand returns the compatibility view command.
func WebAppsCreateCommand ¶
WebAppsCreateCommand creates apps using the internal web API.
func WebAppsDeclarationsCommand ¶ added in v1.260904.0
WebAppsDeclarationsCommand returns the app declarations command group.
func WebAppsDeclarationsListCommand ¶ added in v1.260904.0
WebAppsDeclarationsListCommand lists the compliance declarations for an app.
func WebAppsDeleteCommand ¶ added in v1.260707.0
WebAppsDeleteCommand removes apps using the internal web API.
func WebAppsDistributionCommand ¶ added in v1.260904.0
WebAppsDistributionCommand returns the web app distribution method command group.
func WebAppsDistributionViewCommand ¶ added in v1.260904.0
WebAppsDistributionViewCommand returns the distribution method view command.
func WebAppsHistoryCommand ¶ added in v1.260904.0
WebAppsHistoryCommand returns the app status history command.
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 WebAppsMedicalDeviceViewCommand ¶ added in v1.260904.0
WebAppsMedicalDeviceViewCommand reads 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 WebBundleIDCapabilitiesCommand ¶ added in v1.260601.0
WebBundleIDCapabilitiesCommand returns the Bundle ID capabilities group.
func WebBundleIDCapabilitiesEnableCommand ¶ added in v1.260810.0
WebBundleIDCapabilitiesEnableCommand enables a Developer Portal-only Bundle ID capability while preserving all existing capability relationships.
func WebBundleIDCapabilitiesSyncAppClipCommand ¶ added in v1.260601.0
WebBundleIDCapabilitiesSyncAppClipCommand syncs one App Clip capability relationship.
func WebBundleIDsCommand ¶ added in v1.260601.0
WebBundleIDsCommand returns the Bundle ID 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 WebRemovedAppsCommand ¶ added in v1.260707.0
WebRemovedAppsCommand returns the removed apps command group.
func WebRemovedAppsListCommand ¶ added in v1.260707.0
WebRemovedAppsListCommand lists removed apps using the internal web API.
func WebReviewCommand ¶
WebReviewCommand returns the detached web review command group.
func WebReviewIAPsAttachCommand ¶ added in v1.260531.0
WebReviewIAPsAttachCommand attaches a non-renewing IAP to the next app version review via the iris endpoint.
func WebReviewIAPsCommand ¶ added in v1.260531.0
WebReviewIAPsCommand groups iris-API operations that attach a non-renewing in-app purchase to the next app version review. Mirrors `asc web review subscriptions` but routes to the IAP iris endpoint.
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 WebReviewThreadsCommand ¶ added in v1.260904.0
WebReviewThreadsCommand lists app-scoped resolution center threads.
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 web session endpoints.
func WebSubscriptionsAvailabilityCommand ¶ added in v1.260519.0
WebSubscriptionsAvailabilityCommand returns the web subscription availability command group.
func WebSubscriptionsAvailabilityRemoveFromSaleCommand ¶ added in v1.260519.0
WebSubscriptionsAvailabilityRemoveFromSaleCommand removes an approved subscription from sale.
func WebSubscriptionsCommand ¶ added in v1.260519.0
WebSubscriptionsCommand returns the web subscriptions command group.
func WebSubscriptionsPricingAdjustedEqualizationsCommand ¶ added in v1.260616.0
WebSubscriptionsPricingAdjustedEqualizationsCommand returns the adjusted equalizations group.
func WebSubscriptionsPricingAdjustedEqualizationsViewCommand ¶ added in v1.260616.0
WebSubscriptionsPricingAdjustedEqualizationsViewCommand inspects one price point.
func WebSubscriptionsPricingCommand ¶ added in v1.260616.0
WebSubscriptionsPricingCommand returns the web subscription pricing command group.
func WebSubscriptionsPricingMonthlyCommitmentBootstrapCommand ¶ added in v1.260616.0
WebSubscriptionsPricingMonthlyCommitmentBootstrapCommand creates availability and prices.
func WebSubscriptionsPricingMonthlyCommitmentCommand ¶ added in v1.260616.0
WebSubscriptionsPricingMonthlyCommitmentCommand returns the monthly commitment group.
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
Access string
Users []string
// 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_agreements.go
- web_analytics.go
- web_analytics_pages.go
- web_analytics_table_sections.go
- web_api_keys.go
- web_app_availability.go
- web_app_groups.go
- web_apps.go
- web_apps_compatibility.go
- web_apps_create_access.go
- web_apps_create_shared.go
- web_apps_declarations.go
- web_apps_delete.go
- web_apps_distribution.go
- web_apps_history.go
- web_apps_medical_device.go
- web_auth.go
- web_auth_capabilities.go
- web_auth_read_unix.go
- web_bundle_ids.go
- web_developer_portal_flags.go
- web_privacy.go
- web_progress.go
- web_removed_apps.go
- web_review.go
- web_review_iaps.go
- web_review_subscriptions.go
- web_sandbox.go
- web_session_flags.go
- web_subscriptions.go
- web_subscriptions_pricing.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