Documentation
¶
Index ¶
- func DisableControllingTTYForTesting() func()
- func NewVersionRatingResetCommand(d *shared.Deps) *ffcli.Command
- func NewWebCommand(d *shared.Deps) *ffcli.Command
- func RunAppsCreate(ctx context.Context, d *shared.Deps, opts AppsCreateRunOptions) error
- func SetControllingTTYForTesting(fn func() (*os.File, error)) func()
- func SetDeleteDeveloperAppGroup(...) func()
- func SetListDeveloperBundleIDs(...) func()
- func SetLookupWebAuthKey(...) func()
- func SetNewWebAuthClient(fn func(*webcore.AuthSession) *webcore.Client) func()
- func SetPersistWebSession(fn func(*webcore.AuthSession) error) func()
- func SetResolveWebAuthCredentials(fn func(string) (shared.ResolvedAuthCredentials, error)) func()
- func SetResolveWebSession(fn any) func()
- func SetSetDeveloperAppGroups(...) func()
- func SetSetDeveloperServiceIDDomains(...) func()
- func SetSyncAppClipBundleIDCapability(...) func()
- func SetUnassignDeveloperAppGroup(...) func()
- func SetWebLogin(...) func()
- 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 NewVersionRatingResetCommand ¶
NewVersionRatingResetCommand returns the version overview-rating reset command group. It lives in the web command package so it can share the existing web-session authentication and provider-selection implementation while remaining mounted at "asc versions rating-reset".
func NewWebCommand ¶
NewWebCommand returns the web command group built on d.
func RunAppsCreate ¶ added in v1.260328.0
RunAppsCreate executes the canonical web-backed app-create flow.
func SetControllingTTYForTesting ¶
SetControllingTTYForTesting replaces how the process's controlling terminal is opened. The returned function restores the previous behavior.
func SetDeleteDeveloperAppGroup ¶ added in v1.260904.0
func SetDeleteDeveloperAppGroup(fn func(context.Context, *webcore.Client, webcore.DeveloperAppGroupDeleteRequest) (*asc.WebAppGroupDeleteResult, error)) func()
func SetListDeveloperBundleIDs ¶ added in v1.260907.0
func SetLookupWebAuthKey ¶
func SetNewWebAuthClient ¶
func SetNewWebAuthClient(fn func(*webcore.AuthSession) *webcore.Client) func()
func SetPersistWebSession ¶ added in v1.260907.0
func SetPersistWebSession(fn func(*webcore.AuthSession) error) 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 SetSetDeveloperServiceIDDomains ¶
func SetSetDeveloperServiceIDDomains(fn func(context.Context, *webcore.Client, webcore.DeveloperServiceIDDomainsSetRequest) (*asc.WebServiceIDMutationResult, 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 SetWebLogin ¶
func SetWebLogin(fn func(context.Context, webcore.LoginCredentials) (*webcore.AuthSession, error)) func()
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
TwoFactorCodeCommand string
AutoRename bool
Output string
Pretty bool
// IfExists selects how an Apple 409 for an app that already exists is
// handled. Empty means fail, the historical behavior.
IfExists shared.IfExistsMode
Access string
Users []string
}
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
- version_rating_reset.go
- web.go
- web_agreements.go
- web_analytics.go
- web_analytics_experiments.go
- web_analytics_pages.go
- web_analytics_table_sections.go
- web_api_keys.go
- web_api_keys_individual.go
- web_app_availability.go
- web_app_bundles.go
- web_app_groups.go
- web_apps.go
- web_apps_age_ratings.go
- web_apps_age_ratings_edit.go
- web_apps_compatibility.go
- web_apps_compliance.go
- web_apps_create_access.go
- web_apps_create_if_exists.go
- web_apps_create_shared.go
- web_apps_declarations.go
- web_apps_delete.go
- web_apps_distribution.go
- web_apps_distribution_users.go
- web_apps_history.go
- web_apps_medical_device.go
- web_apps_medical_device_region.go
- web_apps_tax_category.go
- web_apps_transfer.go
- web_auth.go
- web_auth_capabilities.go
- web_auth_messages_code.go
- web_auth_read_unix.go
- web_auth_session_transfer.go
- web_auth_session_transfer_security.go
- web_auth_signin_policy.go
- web_auth_two_factor_delivery.go
- web_broker.go
- web_bundle_ids.go
- web_business.go
- web_developer_portal_flags.go
- web_ephemeral_session.go
- web_finance.go
- web_iap_tax_category.go
- web_icloud_containers.go
- web_privacy.go
- web_progress.go
- web_removed_apps.go
- web_review.go
- web_review_drafts.go
- web_review_iaps.go
- web_review_reply_refusals.go
- web_review_sandbox_entitlements.go
- web_review_show_thread.go
- web_review_subscriptions.go
- web_review_subscriptions_attach.go
- web_sandbox.go
- web_service_ids.go
- web_session_flags.go
- web_sign_in_keys.go
- web_subscriptions.go
- web_subscriptions_pricing.go
- web_teams.go
- web_website_push_ids.go
- web_xcode_cloud.go
- web_xcode_cloud_alert.go
- web_xcode_cloud_envvars.go
- web_xcode_cloud_next_build_number.go
- web_xcode_cloud_scm.go
- web_xcode_cloud_shared_envvars.go
- web_xcode_cloud_version_aliases.go
- web_xcode_cloud_workflow_options.go
- web_xcode_cloud_workflows.go