web

package
v1.261116.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: MIT Imports: 49 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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 NewWebCommand

func NewWebCommand(d *shared.Deps) *ffcli.Command

NewWebCommand returns the web command group built on d.

func RunAppsCreate added in v1.260328.0

func RunAppsCreate(ctx context.Context, d *shared.Deps, opts AppsCreateRunOptions) error

RunAppsCreate executes the canonical web-backed app-create flow.

func SetControllingTTYForTesting

func SetControllingTTYForTesting(fn func() (*os.File, error)) func()

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 SetListDeveloperBundleIDs(fn func(context.Context, *webcore.Client) (*webcore.DeveloperBundleIDsListResult, error)) func()

func SetLookupWebAuthKey

func SetLookupWebAuthKey(fn func(context.Context, *webcore.Client, string) (*webcore.APIKeyRoleLookup, error)) func()

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 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()

func VersionRatingResetCommand

func VersionRatingResetCommand() *ffcli.Command

VersionRatingResetCommand 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 VersionRatingResetCreateCommand

func VersionRatingResetCreateCommand() *ffcli.Command

VersionRatingResetCreateCommand returns the rating-reset create subcommand.

func VersionRatingResetDeleteCommand

func VersionRatingResetDeleteCommand() *ffcli.Command

VersionRatingResetDeleteCommand returns the rating-reset delete subcommand.

func VersionRatingResetViewCommand

func VersionRatingResetViewCommand() *ffcli.Command

VersionRatingResetViewCommand returns the rating-reset view subcommand.

func WebAgreementsAcceptCommand added in v1.260825.0

func WebAgreementsAcceptCommand() *ffcli.Command

WebAgreementsAcceptCommand accepts one or more pending program agreements.

func WebAgreementsCommand added in v1.260825.0

func WebAgreementsCommand() *ffcli.Command

WebAgreementsCommand returns the Apple Developer Program agreements group.

func WebAgreementsDownloadCommand added in v1.260904.0

func WebAgreementsDownloadCommand() *ffcli.Command

WebAgreementsDownloadCommand saves the content of one program agreement.

func WebAgreementsStatusCommand added in v1.260825.0

func WebAgreementsStatusCommand() *ffcli.Command

WebAgreementsStatusCommand reports pending and accepted program agreements.

func WebBusinessAgreementsAcceptCommand

func WebBusinessAgreementsAcceptCommand() *ffcli.Command

WebBusinessAgreementsAcceptCommand accepts one explicitly selected update.

func WebBusinessAgreementsCommand

func WebBusinessAgreementsCommand() *ffcli.Command

WebBusinessAgreementsCommand returns Business contract workflows, separate from Apple Developer Program licenses under web agreements.

func WebBusinessAgreementsListCommand

func WebBusinessAgreementsListCommand() *ffcli.Command

WebBusinessAgreementsListCommand lists contracts without losing Apple's envelope.

func WebBusinessCommand

func WebBusinessCommand() *ffcli.Command

WebBusinessCommand returns App Store Connect Business web-session workflows.

func WebFinanceCommand added in v1.260907.0

func WebFinanceCommand() *ffcli.Command

WebFinanceCommand returns private finance workflows that require an authenticated App Store Connect web session.

func WebICloudContainersCommand added in v1.260907.0

func WebICloudContainersCommand() *ffcli.Command

WebICloudContainersCommand returns the Developer Portal iCloud container command group.

func WebICloudContainersCreateCommand

func WebICloudContainersCreateCommand() *ffcli.Command

WebICloudContainersCreateCommand registers one permanent iCloud container.

func WebICloudContainersListCommand added in v1.260907.0

func WebICloudContainersListCommand() *ffcli.Command

WebICloudContainersListCommand lists iCloud containers for the selected Developer Portal team.

func WebSignInKeysCommand

func WebSignInKeysCommand() *ffcli.Command

func WebSignInKeysCreateCommand

func WebSignInKeysCreateCommand() *ffcli.Command

func WebSignInKeysDownloadCommand

func WebSignInKeysDownloadCommand() *ffcli.Command

func WebSignInKeysListCommand

func WebSignInKeysListCommand() *ffcli.Command

func WebSignInKeysViewCommand

func WebSignInKeysViewCommand() *ffcli.Command

func WebTeamsCommand

func WebTeamsCommand() *ffcli.Command

WebTeamsCommand returns the Developer Portal teams command group.

func WebTeamsListCommand

func WebTeamsListCommand() *ffcli.Command

WebTeamsListCommand lists every Developer Portal team on the web session.

func WebTransactionTaxCommand added in v1.260907.0

func WebTransactionTaxCommand() *ffcli.Command

WebTransactionTaxCommand returns the Transaction Tax Report workflow.

func WebTransactionTaxDownloadCommand added in v1.260907.0

func WebTransactionTaxDownloadCommand() *ffcli.Command

WebTransactionTaxDownloadCommand generates and saves one Transaction Tax Report archive without exposing the generated job ID or signed download URL.

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 {
	ProductID string `json:"product_id"`
	Name      string `json:"name"`
}

CISharedEnvVarsDeleteResult is the output type for the env-vars shared delete command.

type CISharedEnvVarsListResult

type CISharedEnvVarsListResult struct {
	ProductID string                                 `json:"product_id"`
	Variables []webcore.CIProductEnvironmentVariable `json:"variables"`
}

CISharedEnvVarsListResult is the output type for the env-vars shared list command.

type CISharedEnvVarsSetResult

type CISharedEnvVarsSetResult struct {
	ProductID string `json:"product_id"`
	Name      string `json:"name"`
	Type      string `json:"type"`
	Locked    bool   `json:"locked"`
	Action    string `json:"action"`
}

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"`
	UnavailableReason string              `json:"unavailable_reason,omitempty"`
	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

Jump to

Keyboard shortcuts

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