Help us shape the future of Go! Take the 2026 Go Developer Survey

web

package
v1.260322.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2026 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 SetResolveWebAuthCredentials

func SetResolveWebAuthCredentials(fn func(string) (shared.ResolvedAuthCredentials, error)) func()

func SetResolveWebSession

func SetResolveWebSession(fn any) func()

func WebAppsAvailabilityCommand

func WebAppsAvailabilityCommand() *ffcli.Command

WebAppsAvailabilityCommand returns the web app availability command group.

func WebAppsAvailabilityCreateCommand

func WebAppsAvailabilityCreateCommand() *ffcli.Command

WebAppsAvailabilityCreateCommand bootstraps missing app availability via the internal web API.

func WebAppsCommand

func WebAppsCommand() *ffcli.Command

WebAppsCommand returns the detached web apps command group.

func WebAppsCreateCommand

func WebAppsCreateCommand() *ffcli.Command

WebAppsCreateCommand creates apps using the internal web API.

func WebAuthCapabilitiesCommand

func WebAuthCapabilitiesCommand() *ffcli.Command

WebAuthCapabilitiesCommand returns exact key-role lookup via App Store Connect web-session endpoints.

func WebAuthCommand

func WebAuthCommand() *ffcli.Command

WebAuthCommand returns the detached web auth command group.

func WebAuthLoginCommand

func WebAuthLoginCommand() *ffcli.Command

WebAuthLoginCommand creates or refreshes a web session.

func WebAuthLogoutCommand

func WebAuthLogoutCommand() *ffcli.Command

WebAuthLogoutCommand clears cached web sessions.

func WebAuthStatusCommand

func WebAuthStatusCommand() *ffcli.Command

WebAuthStatusCommand checks whether a cached session is currently valid.

func WebCommand

func WebCommand() *ffcli.Command

WebCommand returns the detached experimental web command group.

func WebPrivacyApplyCommand

func WebPrivacyApplyCommand() *ffcli.Command

WebPrivacyApplyCommand applies local declaration changes to remote app data usages.

func WebPrivacyCatalogCommand

func WebPrivacyCatalogCommand() *ffcli.Command

WebPrivacyCatalogCommand lists available privacy declaration catalog values.

func WebPrivacyCommand

func WebPrivacyCommand() *ffcli.Command

WebPrivacyCommand returns the detached web privacy command group.

func WebPrivacyPlanCommand

func WebPrivacyPlanCommand() *ffcli.Command

WebPrivacyPlanCommand compares local declaration file with remote state.

func WebPrivacyPublishCommand

func WebPrivacyPublishCommand() *ffcli.Command

WebPrivacyPublishCommand explicitly publishes app data usage declarations.

func WebPrivacyPullCommand

func WebPrivacyPullCommand() *ffcli.Command

WebPrivacyPullCommand pulls remote app privacy declarations into canonical JSON.

func WebReviewCommand

func WebReviewCommand() *ffcli.Command

WebReviewCommand returns the detached web review command group.

func WebReviewListCommand

func WebReviewListCommand() *ffcli.Command

WebReviewListCommand lists review submissions for an app.

func WebReviewShowCommand

func WebReviewShowCommand() *ffcli.Command

WebReviewShowCommand shows a submission with full review context and downloads screenshots.

func WebReviewSubscriptionsAttachCommand

func WebReviewSubscriptionsAttachCommand() *ffcli.Command

WebReviewSubscriptionsAttachCommand attaches a subscription to the next app version review.

func WebReviewSubscriptionsAttachGroupCommand

func WebReviewSubscriptionsAttachGroupCommand() *ffcli.Command

WebReviewSubscriptionsAttachGroupCommand attaches every READY_TO_SUBMIT subscription in one group.

func WebReviewSubscriptionsCommand

func WebReviewSubscriptionsCommand() *ffcli.Command

WebReviewSubscriptionsCommand returns the app-version subscription attach helpers.

func WebReviewSubscriptionsListCommand

func WebReviewSubscriptionsListCommand() *ffcli.Command

WebReviewSubscriptionsListCommand lists review-scoped subscriptions for an app.

func WebReviewSubscriptionsRemoveCommand

func WebReviewSubscriptionsRemoveCommand() *ffcli.Command

WebReviewSubscriptionsRemoveCommand removes a subscription from the next app version review.

func WebReviewSubscriptionsRemoveGroupCommand

func WebReviewSubscriptionsRemoveGroupCommand() *ffcli.Command

WebReviewSubscriptionsRemoveGroupCommand removes all attached subscriptions in one group.

func WebXcodeCloudCommand

func WebXcodeCloudCommand() *ffcli.Command

WebXcodeCloudCommand returns the xcode-cloud command group.

Types

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.

Jump to

Keyboard shortcuts

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