Versions in this module Expand all Collapse all v4 v4.0.0 Jan 10, 2025 Changes in this version + const AuditLogActorTypeAdmin + const AuditLogActorTypeCloudflare + const AuditLogActorTypeUser + const CertificateCADigicert + const CertificateCAGoogle + const CertificateCALetsEncrypt + const CertificateCASSLCom + const CertificateRequestTypeKeylessCertificate + const CertificateRequestTypeOriginECC + const CertificateRequestTypeOriginRSA + const CloudflareTunnelStatusDegraded + const CloudflareTunnelStatusDown + const CloudflareTunnelStatusHealthy + const CloudflareTunnelStatusInactive + const CloudflareTunnelTunTypeCNI + const CloudflareTunnelTunTypeCfdTunnel + const CloudflareTunnelTunTypeGRE + const CloudflareTunnelTunTypeIPSec + const CloudflareTunnelTunTypeWARPConnector + const MemberPoliciesAccessAllow + const MemberPoliciesAccessDeny + const MemberStatusAccepted + const MemberStatusPending + const SortDirectionAsc + const SortDirectionDesc + const SubscriptionFrequencyMonthly + const SubscriptionFrequencyQuarterly + const SubscriptionFrequencyWeekly + const SubscriptionFrequencyYearly + const SubscriptionStateAwaitingPayment + const SubscriptionStateCancelled + const SubscriptionStateExpired + const SubscriptionStateFailed + const SubscriptionStatePaid + const SubscriptionStateProvisioned + const SubscriptionStateTrial + const TokenPolicyEffectAllow + const TokenPolicyEffectDeny + const TokenStatusActive + const TokenStatusDisabled + const TokenStatusExpired + type ASN = shared.ASN + type ASNParam = shared.ASNParam + type AccountSettingGetParams struct + AccountID param.Field[string] + type AccountSettingGetResponse struct + DefaultUsageModel string + GreenCompute bool + JSON accountSettingGetResponseJSON + func (r *AccountSettingGetResponse) UnmarshalJSON(data []byte) (err error) + type AccountSettingGetResponseEnvelope struct + Errors []shared.ResponseInfo + JSON accountSettingGetResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result AccountSettingGetResponse + Success AccountSettingGetResponseEnvelopeSuccess + func (r *AccountSettingGetResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type AccountSettingGetResponseEnvelopeSuccess bool + const AccountSettingGetResponseEnvelopeSuccessTrue + func (r AccountSettingGetResponseEnvelopeSuccess) IsKnown() bool + type AccountSettingService struct + Options []option.RequestOption + func NewAccountSettingService(opts ...option.RequestOption) (r *AccountSettingService) + func (r *AccountSettingService) Get(ctx context.Context, query AccountSettingGetParams, ...) (res *AccountSettingGetResponse, err error) + func (r *AccountSettingService) Update(ctx context.Context, params AccountSettingUpdateParams, ...) (res *AccountSettingUpdateResponse, err error) + type AccountSettingUpdateParams struct + AccountID param.Field[string] + DefaultUsageModel param.Field[string] + GreenCompute param.Field[bool] + func (r AccountSettingUpdateParams) MarshalJSON() (data []byte, err error) + type AccountSettingUpdateResponse struct + DefaultUsageModel string + GreenCompute bool + JSON accountSettingUpdateResponseJSON + func (r *AccountSettingUpdateResponse) UnmarshalJSON(data []byte) (err error) + type AccountSettingUpdateResponseEnvelope struct + Errors []shared.ResponseInfo + JSON accountSettingUpdateResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result AccountSettingUpdateResponse + Success AccountSettingUpdateResponseEnvelopeSuccess + func (r *AccountSettingUpdateResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type AccountSettingUpdateResponseEnvelopeSuccess bool + const AccountSettingUpdateResponseEnvelopeSuccessTrue + func (r AccountSettingUpdateResponseEnvelopeSuccess) IsKnown() bool + type AssetService struct + Options []option.RequestOption + Upload *AssetUploadService + func NewAssetService(opts ...option.RequestOption) (r *AssetService) + type AssetUploadNewParams struct + AccountID param.Field[string] + AnyFileHash param.Field[[]string] + Base64 param.Field[AssetUploadNewParamsBase64] + func (r AssetUploadNewParams) MarshalMultipart() (data []byte, contentType string, err error) + func (r AssetUploadNewParams) URLQuery() (v url.Values) + type AssetUploadNewParamsBase64 bool + const AssetUploadNewParamsBase64True + func (r AssetUploadNewParamsBase64) IsKnown() bool + type AssetUploadNewResponse struct + JSON assetUploadNewResponseJSON + JWT string + func (r *AssetUploadNewResponse) UnmarshalJSON(data []byte) (err error) + type AssetUploadNewResponseEnvelope struct + Errors []shared.ResponseInfo + JSON assetUploadNewResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result AssetUploadNewResponse + Success AssetUploadNewResponseEnvelopeSuccess + func (r *AssetUploadNewResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type AssetUploadNewResponseEnvelopeSuccess bool + const AssetUploadNewResponseEnvelopeSuccessTrue + func (r AssetUploadNewResponseEnvelopeSuccess) IsKnown() bool + type AssetUploadService struct + Options []option.RequestOption + func NewAssetUploadService(opts ...option.RequestOption) (r *AssetUploadService) + func (r *AssetUploadService) New(ctx context.Context, params AssetUploadNewParams, opts ...option.RequestOption) (res *AssetUploadNewResponse, err error) + type AuditLog = shared.AuditLog + type AuditLogAction = shared.AuditLogAction + type AuditLogActor = shared.AuditLogActor + type AuditLogActorType = shared.AuditLogActorType + type AuditLogOwner = shared.AuditLogOwner + type AuditLogResource = shared.AuditLogResource + type CertificateCA = shared.CertificateCA + type CertificateRequestType = shared.CertificateRequestType + type CloudflareTunnel = shared.CloudflareTunnel + type CloudflareTunnelConnection = shared.CloudflareTunnelConnection + type CloudflareTunnelStatus = shared.CloudflareTunnelStatus + type CloudflareTunnelTunType = shared.CloudflareTunnelTunType + type ConsumerScript struct + Environment string + JSON consumerScriptJSON + Namespace string + Service string + func (r *ConsumerScript) UnmarshalJSON(data []byte) (err error) + type ConsumerScriptParam struct + Environment param.Field[string] + Namespace param.Field[string] + Service param.Field[string] + func (r ConsumerScriptParam) MarshalJSON() (data []byte, err error) + type Deployment struct + JSON deploymentJSON + WorkersMessage string + func (r *Deployment) UnmarshalJSON(data []byte) (err error) + type DeploymentParam struct + WorkersMessage param.Field[string] + func (r DeploymentParam) MarshalJSON() (data []byte, err error) + type Domain struct + Environment string + Hostname string + ID string + JSON domainJSON + Service string + ZoneID string + ZoneName string + func (r *Domain) UnmarshalJSON(data []byte) (err error) + type DomainDeleteParams struct + AccountID param.Field[string] + type DomainGetParams struct + AccountID param.Field[string] + type DomainGetResponseEnvelope struct + Errors []shared.ResponseInfo + JSON domainGetResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result Domain + Success DomainGetResponseEnvelopeSuccess + func (r *DomainGetResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type DomainGetResponseEnvelopeSuccess bool + const DomainGetResponseEnvelopeSuccessTrue + func (r DomainGetResponseEnvelopeSuccess) IsKnown() bool + type DomainListParams struct + AccountID param.Field[string] + Environment param.Field[string] + Hostname param.Field[string] + Service param.Field[string] + ZoneID param.Field[string] + ZoneName param.Field[string] + func (r DomainListParams) URLQuery() (v url.Values) + type DomainService struct + Options []option.RequestOption + func NewDomainService(opts ...option.RequestOption) (r *DomainService) + func (r *DomainService) Delete(ctx context.Context, domainID string, body DomainDeleteParams, ...) (err error) + func (r *DomainService) Get(ctx context.Context, domainID string, query DomainGetParams, ...) (res *Domain, err error) + func (r *DomainService) List(ctx context.Context, params DomainListParams, opts ...option.RequestOption) (res *pagination.SinglePage[Domain], err error) + func (r *DomainService) ListAutoPaging(ctx context.Context, params DomainListParams, opts ...option.RequestOption) *pagination.SinglePageAutoPager[Domain] + func (r *DomainService) Update(ctx context.Context, params DomainUpdateParams, opts ...option.RequestOption) (res *Domain, err error) + type DomainUpdateParams struct + AccountID param.Field[string] + Environment param.Field[string] + Hostname param.Field[string] + Service param.Field[string] + ZoneID param.Field[string] + func (r DomainUpdateParams) MarshalJSON() (data []byte, err error) + type DomainUpdateResponseEnvelope struct + Errors []shared.ResponseInfo + JSON domainUpdateResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result Domain + Success DomainUpdateResponseEnvelopeSuccess + func (r *DomainUpdateResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type DomainUpdateResponseEnvelopeSuccess bool + const DomainUpdateResponseEnvelopeSuccessTrue + func (r DomainUpdateResponseEnvelopeSuccess) IsKnown() bool + type Error = apierror.Error + type ErrorData = shared.ErrorData + type Member = shared.Member + type MemberPoliciesAccess = shared.MemberPoliciesAccess + type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + type MemberPolicy = shared.MemberPolicy + type MemberStatus = shared.MemberStatus + type MemberUser = shared.MemberUser + type MigrationStep struct + DeletedClasses []string + JSON migrationStepJSON + NewClasses []string + NewSqliteClasses []string + RenamedClasses []MigrationStepRenamedClass + TransferredClasses []MigrationStepTransferredClass + func (r *MigrationStep) UnmarshalJSON(data []byte) (err error) + type MigrationStepParam struct + DeletedClasses param.Field[[]string] + NewClasses param.Field[[]string] + NewSqliteClasses param.Field[[]string] + RenamedClasses param.Field[[]MigrationStepRenamedClassParam] + TransferredClasses param.Field[[]MigrationStepTransferredClassParam] + func (r MigrationStepParam) MarshalJSON() (data []byte, err error) + type MigrationStepRenamedClass struct + From string + JSON migrationStepRenamedClassJSON + To string + func (r *MigrationStepRenamedClass) UnmarshalJSON(data []byte) (err error) + type MigrationStepRenamedClassParam struct + From param.Field[string] + To param.Field[string] + func (r MigrationStepRenamedClassParam) MarshalJSON() (data []byte, err error) + type MigrationStepTransferredClass struct + From string + FromScript string + JSON migrationStepTransferredClassJSON + To string + func (r *MigrationStepTransferredClass) UnmarshalJSON(data []byte) (err error) + type MigrationStepTransferredClassParam struct + From param.Field[string] + FromScript param.Field[string] + To param.Field[string] + func (r MigrationStepTransferredClassParam) MarshalJSON() (data []byte, err error) + type Permission = shared.Permission + type PermissionGrant = shared.PermissionGrant + type PermissionGrantParam = shared.PermissionGrantParam + type RatePlan = shared.RatePlan + type RatePlanParam = shared.RatePlanParam + type ResponseInfo = shared.ResponseInfo + type Role = shared.Role + type RoleParam = shared.RoleParam + type RolePermissions = shared.RolePermissions + type RolePermissionsParam = shared.RolePermissionsParam + type RouteDeleteParams struct + ZoneID param.Field[string] + type RouteDeleteResponse struct + Errors []shared.ResponseInfo + JSON routeDeleteResponseJSON + Messages []shared.ResponseInfo + Success RouteDeleteResponseSuccess + func (r *RouteDeleteResponse) UnmarshalJSON(data []byte) (err error) + type RouteDeleteResponseSuccess bool + const RouteDeleteResponseSuccessTrue + func (r RouteDeleteResponseSuccess) IsKnown() bool + type RouteGetParams struct + ZoneID param.Field[string] + type RouteGetResponse struct + ID string + JSON routeGetResponseJSON + Pattern string + Script string + func (r *RouteGetResponse) UnmarshalJSON(data []byte) (err error) + type RouteGetResponseEnvelope struct + Errors []shared.ResponseInfo + JSON routeGetResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result RouteGetResponse + Success RouteGetResponseEnvelopeSuccess + func (r *RouteGetResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type RouteGetResponseEnvelopeSuccess bool + const RouteGetResponseEnvelopeSuccessTrue + func (r RouteGetResponseEnvelopeSuccess) IsKnown() bool + type RouteListParams struct + ZoneID param.Field[string] + type RouteListResponse struct + ID string + JSON routeListResponseJSON + Pattern string + Script string + func (r *RouteListResponse) UnmarshalJSON(data []byte) (err error) + type RouteNewParams struct + Pattern param.Field[string] + Script param.Field[string] + ZoneID param.Field[string] + func (r RouteNewParams) MarshalJSON() (data []byte, err error) + type RouteNewResponse struct + Errors []shared.ResponseInfo + JSON routeNewResponseJSON + Messages []shared.ResponseInfo + Success RouteNewResponseSuccess + func (r *RouteNewResponse) UnmarshalJSON(data []byte) (err error) + type RouteNewResponseSuccess bool + const RouteNewResponseSuccessTrue + func (r RouteNewResponseSuccess) IsKnown() bool + type RouteService struct + Options []option.RequestOption + func NewRouteService(opts ...option.RequestOption) (r *RouteService) + func (r *RouteService) Delete(ctx context.Context, routeID string, body RouteDeleteParams, ...) (res *RouteDeleteResponse, err error) + func (r *RouteService) Get(ctx context.Context, routeID string, query RouteGetParams, ...) (res *RouteGetResponse, err error) + func (r *RouteService) List(ctx context.Context, query RouteListParams, opts ...option.RequestOption) (res *pagination.SinglePage[RouteListResponse], err error) + func (r *RouteService) ListAutoPaging(ctx context.Context, query RouteListParams, opts ...option.RequestOption) *pagination.SinglePageAutoPager[RouteListResponse] + func (r *RouteService) New(ctx context.Context, params RouteNewParams, opts ...option.RequestOption) (res *RouteNewResponse, err error) + func (r *RouteService) Update(ctx context.Context, routeID string, params RouteUpdateParams, ...) (res *RouteUpdateResponse, err error) + type RouteUpdateParams struct + Pattern param.Field[string] + Script param.Field[string] + ZoneID param.Field[string] + func (r RouteUpdateParams) MarshalJSON() (data []byte, err error) + type RouteUpdateResponse struct + ID string + JSON routeUpdateResponseJSON + Pattern string + Script string + func (r *RouteUpdateResponse) UnmarshalJSON(data []byte) (err error) + type RouteUpdateResponseEnvelope struct + Errors []shared.ResponseInfo + JSON routeUpdateResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result RouteUpdateResponse + Success RouteUpdateResponseEnvelopeSuccess + func (r *RouteUpdateResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type RouteUpdateResponseEnvelopeSuccess bool + const RouteUpdateResponseEnvelopeSuccessTrue + func (r RouteUpdateResponseEnvelopeSuccess) IsKnown() bool + type Schedule struct + CreatedOn string + Cron string + JSON scheduleJSON + ModifiedOn string + func (r *Schedule) UnmarshalJSON(data []byte) (err error) + type ScheduleParam struct + Cron param.Field[string] + func (r ScheduleParam) MarshalJSON() (data []byte, err error) + type Script struct + CreatedOn time.Time + Etag string + HasAssets bool + HasModules bool + ID string + JSON scriptJSON + Logpush bool + ModifiedOn time.Time + Placement ScriptPlacement + PlacementMode ScriptPlacementMode + PlacementStatus ScriptPlacementStatus + TailConsumers []ConsumerScript + UsageModel ScriptUsageModel + func (r *Script) UnmarshalJSON(data []byte) (err error) + type ScriptAssetService struct + Options []option.RequestOption + Upload *ScriptAssetUploadService + func NewScriptAssetService(opts ...option.RequestOption) (r *ScriptAssetService) + type ScriptAssetUploadNewParams struct + AccountID param.Field[string] + Manifest param.Field[map[string]ScriptAssetUploadNewParamsManifest] + func (r ScriptAssetUploadNewParams) MarshalJSON() (data []byte, err error) + type ScriptAssetUploadNewParamsManifest struct + Hash param.Field[string] + Size param.Field[int64] + func (r ScriptAssetUploadNewParamsManifest) MarshalJSON() (data []byte, err error) + type ScriptAssetUploadNewResponse struct + Buckets [][]string + JSON scriptAssetUploadNewResponseJSON + JWT string + func (r *ScriptAssetUploadNewResponse) UnmarshalJSON(data []byte) (err error) + type ScriptAssetUploadNewResponseEnvelope struct + Errors []shared.ResponseInfo + JSON scriptAssetUploadNewResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result ScriptAssetUploadNewResponse + Success ScriptAssetUploadNewResponseEnvelopeSuccess + func (r *ScriptAssetUploadNewResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type ScriptAssetUploadNewResponseEnvelopeSuccess bool + const ScriptAssetUploadNewResponseEnvelopeSuccessTrue + func (r ScriptAssetUploadNewResponseEnvelopeSuccess) IsKnown() bool + type ScriptAssetUploadService struct + Options []option.RequestOption + func NewScriptAssetUploadService(opts ...option.RequestOption) (r *ScriptAssetUploadService) + func (r *ScriptAssetUploadService) New(ctx context.Context, scriptName string, params ScriptAssetUploadNewParams, ...) (res *ScriptAssetUploadNewResponse, err error) + type ScriptContentGetParams struct + AccountID param.Field[string] + type ScriptContentService struct + Options []option.RequestOption + func NewScriptContentService(opts ...option.RequestOption) (r *ScriptContentService) + func (r *ScriptContentService) Get(ctx context.Context, scriptName string, query ScriptContentGetParams, ...) (res *http.Response, err error) + func (r *ScriptContentService) Update(ctx context.Context, scriptName string, params ScriptContentUpdateParams, ...) (res *Script, err error) + type ScriptContentUpdateParams struct + AccountID param.Field[string] + CfWorkerBodyPart param.Field[string] + CfWorkerMainModulePart param.Field[string] + Metadata param.Field[WorkerMetadataParam] + func (r ScriptContentUpdateParams) MarshalMultipart() (data []byte, contentType string, err error) + type ScriptContentUpdateResponseEnvelope struct + Errors []shared.ResponseInfo + JSON scriptContentUpdateResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result Script + Success ScriptContentUpdateResponseEnvelopeSuccess + func (r *ScriptContentUpdateResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type ScriptContentUpdateResponseEnvelopeSuccess bool + const ScriptContentUpdateResponseEnvelopeSuccessTrue + func (r ScriptContentUpdateResponseEnvelopeSuccess) IsKnown() bool + type ScriptDeleteParams struct + AccountID param.Field[string] + Force param.Field[bool] + func (r ScriptDeleteParams) URLQuery() (v url.Values) + type ScriptDeploymentGetParams struct + AccountID param.Field[string] + type ScriptDeploymentGetResponse struct + Deployments []ScriptDeploymentGetResponseDeployment + JSON scriptDeploymentGetResponseJSON + func (r *ScriptDeploymentGetResponse) UnmarshalJSON(data []byte) (err error) + type ScriptDeploymentGetResponseDeployment struct + Annotations Deployment + AuthorEmail string + CreatedOn string + ID string + JSON scriptDeploymentGetResponseDeploymentJSON + Source string + Strategy ScriptDeploymentGetResponseDeploymentsStrategy + Versions []ScriptDeploymentGetResponseDeploymentsVersion + func (r *ScriptDeploymentGetResponseDeployment) UnmarshalJSON(data []byte) (err error) + type ScriptDeploymentGetResponseDeploymentsStrategy string + const ScriptDeploymentGetResponseDeploymentsStrategyPercentage + func (r ScriptDeploymentGetResponseDeploymentsStrategy) IsKnown() bool + type ScriptDeploymentGetResponseDeploymentsVersion struct + JSON scriptDeploymentGetResponseDeploymentsVersionJSON + Percentage float64 + VersionID string + func (r *ScriptDeploymentGetResponseDeploymentsVersion) UnmarshalJSON(data []byte) (err error) + type ScriptDeploymentGetResponseEnvelope struct + Errors []shared.ResponseInfo + JSON scriptDeploymentGetResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result ScriptDeploymentGetResponse + Success ScriptDeploymentGetResponseEnvelopeSuccess + func (r *ScriptDeploymentGetResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type ScriptDeploymentGetResponseEnvelopeSuccess bool + const ScriptDeploymentGetResponseEnvelopeSuccessTrue + func (r ScriptDeploymentGetResponseEnvelopeSuccess) IsKnown() bool + type ScriptDeploymentNewParams struct + AccountID param.Field[string] + Annotations param.Field[DeploymentParam] + Force param.Field[bool] + Strategy param.Field[ScriptDeploymentNewParamsStrategy] + Versions param.Field[[]ScriptDeploymentNewParamsVersion] + func (r ScriptDeploymentNewParams) MarshalJSON() (data []byte, err error) + func (r ScriptDeploymentNewParams) URLQuery() (v url.Values) + type ScriptDeploymentNewParamsStrategy string + const ScriptDeploymentNewParamsStrategyPercentage + func (r ScriptDeploymentNewParamsStrategy) IsKnown() bool + type ScriptDeploymentNewParamsVersion struct + Percentage param.Field[float64] + VersionID param.Field[string] + func (r ScriptDeploymentNewParamsVersion) MarshalJSON() (data []byte, err error) + type ScriptDeploymentNewResponse struct + Annotations Deployment + AuthorEmail string + CreatedOn string + ID string + JSON scriptDeploymentNewResponseJSON + Source string + Strategy ScriptDeploymentNewResponseStrategy + Versions []ScriptDeploymentNewResponseVersion + func (r *ScriptDeploymentNewResponse) UnmarshalJSON(data []byte) (err error) + type ScriptDeploymentNewResponseEnvelope struct + Errors []shared.ResponseInfo + JSON scriptDeploymentNewResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result ScriptDeploymentNewResponse + Success ScriptDeploymentNewResponseEnvelopeSuccess + func (r *ScriptDeploymentNewResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type ScriptDeploymentNewResponseEnvelopeSuccess bool + const ScriptDeploymentNewResponseEnvelopeSuccessTrue + func (r ScriptDeploymentNewResponseEnvelopeSuccess) IsKnown() bool + type ScriptDeploymentNewResponseStrategy string + const ScriptDeploymentNewResponseStrategyPercentage + func (r ScriptDeploymentNewResponseStrategy) IsKnown() bool + type ScriptDeploymentNewResponseVersion struct + JSON scriptDeploymentNewResponseVersionJSON + Percentage float64 + VersionID string + func (r *ScriptDeploymentNewResponseVersion) UnmarshalJSON(data []byte) (err error) + type ScriptDeploymentService struct + Options []option.RequestOption + func NewScriptDeploymentService(opts ...option.RequestOption) (r *ScriptDeploymentService) + func (r *ScriptDeploymentService) Get(ctx context.Context, scriptName string, query ScriptDeploymentGetParams, ...) (res *ScriptDeploymentGetResponse, err error) + func (r *ScriptDeploymentService) New(ctx context.Context, scriptName string, params ScriptDeploymentNewParams, ...) (res *ScriptDeploymentNewResponse, err error) + type ScriptGetParams struct + AccountID param.Field[string] + type ScriptListParams struct + AccountID param.Field[string] + type ScriptPlacement struct + JSON scriptPlacementJSON + Mode ScriptPlacementMode + Status ScriptPlacementStatus + func (r *ScriptPlacement) UnmarshalJSON(data []byte) (err error) + type ScriptPlacementMode string + const ScriptPlacementModeSmart + func (r ScriptPlacementMode) IsKnown() bool + type ScriptPlacementStatus string + const ScriptPlacementStatusInsufficientInvocations + const ScriptPlacementStatusSuccess + const ScriptPlacementStatusUnsupportedApplication + func (r ScriptPlacementStatus) IsKnown() bool + type ScriptScheduleGetParams struct + AccountID param.Field[string] + type ScriptScheduleGetResponse struct + JSON scriptScheduleGetResponseJSON + Schedules []Schedule + func (r *ScriptScheduleGetResponse) UnmarshalJSON(data []byte) (err error) + type ScriptScheduleGetResponseEnvelope struct + Errors []shared.ResponseInfo + JSON scriptScheduleGetResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result ScriptScheduleGetResponse + Success ScriptScheduleGetResponseEnvelopeSuccess + func (r *ScriptScheduleGetResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type ScriptScheduleGetResponseEnvelopeSuccess bool + const ScriptScheduleGetResponseEnvelopeSuccessTrue + func (r ScriptScheduleGetResponseEnvelopeSuccess) IsKnown() bool + type ScriptScheduleService struct + Options []option.RequestOption + func NewScriptScheduleService(opts ...option.RequestOption) (r *ScriptScheduleService) + func (r *ScriptScheduleService) Get(ctx context.Context, scriptName string, query ScriptScheduleGetParams, ...) (res *ScriptScheduleGetResponse, err error) + func (r *ScriptScheduleService) Update(ctx context.Context, scriptName string, params ScriptScheduleUpdateParams, ...) (res *ScriptScheduleUpdateResponse, err error) + type ScriptScheduleUpdateParams struct + AccountID param.Field[string] + Body []ScheduleParam + func (r ScriptScheduleUpdateParams) MarshalJSON() (data []byte, err error) + type ScriptScheduleUpdateResponse struct + JSON scriptScheduleUpdateResponseJSON + Schedules []Schedule + func (r *ScriptScheduleUpdateResponse) UnmarshalJSON(data []byte) (err error) + type ScriptScheduleUpdateResponseEnvelope struct + Errors []shared.ResponseInfo + JSON scriptScheduleUpdateResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result ScriptScheduleUpdateResponse + Success ScriptScheduleUpdateResponseEnvelopeSuccess + func (r *ScriptScheduleUpdateResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type ScriptScheduleUpdateResponseEnvelopeSuccess bool + const ScriptScheduleUpdateResponseEnvelopeSuccessTrue + func (r ScriptScheduleUpdateResponseEnvelopeSuccess) IsKnown() bool + type ScriptService struct + Assets *ScriptAssetService + Content *ScriptContentService + Deployments *ScriptDeploymentService + Options []option.RequestOption + Schedules *ScriptScheduleService + Settings *ScriptSettingService + Subdomain *ScriptSubdomainService + Tail *ScriptTailService + Versions *ScriptVersionService + func NewScriptService(opts ...option.RequestOption) (r *ScriptService) + func (r *ScriptService) Delete(ctx context.Context, scriptName string, params ScriptDeleteParams, ...) (err error) + func (r *ScriptService) Get(ctx context.Context, scriptName string, query ScriptGetParams, ...) (res *string, err error) + func (r *ScriptService) List(ctx context.Context, query ScriptListParams, opts ...option.RequestOption) (res *pagination.SinglePage[Script], err error) + func (r *ScriptService) ListAutoPaging(ctx context.Context, query ScriptListParams, opts ...option.RequestOption) *pagination.SinglePageAutoPager[Script] + func (r *ScriptService) Update(ctx context.Context, scriptName string, params ScriptUpdateParams, ...) (res *ScriptUpdateResponse, err error) + type ScriptSetting struct + JSON scriptSettingJSON + Logpush bool + Observability ScriptSettingObservability + TailConsumers []ConsumerScript + func (r *ScriptSetting) UnmarshalJSON(data []byte) (err error) + type ScriptSettingEditParams struct + AccountID param.Field[string] + ScriptSetting ScriptSettingParam + func (r ScriptSettingEditParams) MarshalJSON() (data []byte, err error) + type ScriptSettingEditResponseEnvelope struct + Errors []shared.ResponseInfo + JSON scriptSettingEditResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result ScriptSetting + Success ScriptSettingEditResponseEnvelopeSuccess + func (r *ScriptSettingEditResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type ScriptSettingEditResponseEnvelopeSuccess bool + const ScriptSettingEditResponseEnvelopeSuccessTrue + func (r ScriptSettingEditResponseEnvelopeSuccess) IsKnown() bool + type ScriptSettingGetParams struct + AccountID param.Field[string] + type ScriptSettingGetResponseEnvelope struct + Errors []shared.ResponseInfo + JSON scriptSettingGetResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result ScriptSetting + Success ScriptSettingGetResponseEnvelopeSuccess + func (r *ScriptSettingGetResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type ScriptSettingGetResponseEnvelopeSuccess bool + const ScriptSettingGetResponseEnvelopeSuccessTrue + func (r ScriptSettingGetResponseEnvelopeSuccess) IsKnown() bool + type ScriptSettingObservability struct + Enabled bool + HeadSamplingRate float64 + JSON scriptSettingObservabilityJSON + func (r *ScriptSettingObservability) UnmarshalJSON(data []byte) (err error) + type ScriptSettingObservabilityParam struct + Enabled param.Field[bool] + HeadSamplingRate param.Field[float64] + func (r ScriptSettingObservabilityParam) MarshalJSON() (data []byte, err error) + type ScriptSettingParam struct + Logpush param.Field[bool] + Observability param.Field[ScriptSettingObservabilityParam] + TailConsumers param.Field[[]ConsumerScriptParam] + func (r ScriptSettingParam) MarshalJSON() (data []byte, err error) + type ScriptSettingService struct + Options []option.RequestOption + func NewScriptSettingService(opts ...option.RequestOption) (r *ScriptSettingService) + func (r *ScriptSettingService) Edit(ctx context.Context, scriptName string, params ScriptSettingEditParams, ...) (res *ScriptSetting, err error) + func (r *ScriptSettingService) Get(ctx context.Context, scriptName string, query ScriptSettingGetParams, ...) (res *ScriptSetting, err error) + type ScriptSubdomainGetParams struct + AccountID param.Field[string] + type ScriptSubdomainGetResponse struct + Enabled bool + JSON scriptSubdomainGetResponseJSON + PreviewsEnabled bool + func (r *ScriptSubdomainGetResponse) UnmarshalJSON(data []byte) (err error) + type ScriptSubdomainNewParams struct + AccountID param.Field[string] + Enabled param.Field[bool] + PreviewsEnabled param.Field[bool] + func (r ScriptSubdomainNewParams) MarshalJSON() (data []byte, err error) + type ScriptSubdomainNewResponse struct + Enabled bool + JSON scriptSubdomainNewResponseJSON + PreviewsEnabled bool + func (r *ScriptSubdomainNewResponse) UnmarshalJSON(data []byte) (err error) + type ScriptSubdomainService struct + Options []option.RequestOption + func NewScriptSubdomainService(opts ...option.RequestOption) (r *ScriptSubdomainService) + func (r *ScriptSubdomainService) Get(ctx context.Context, scriptName string, query ScriptSubdomainGetParams, ...) (res *ScriptSubdomainGetResponse, err error) + func (r *ScriptSubdomainService) New(ctx context.Context, scriptName string, params ScriptSubdomainNewParams, ...) (res *ScriptSubdomainNewResponse, err error) + type ScriptTailDeleteParams struct + AccountID param.Field[string] + type ScriptTailDeleteResponse struct + Errors []shared.ResponseInfo + JSON scriptTailDeleteResponseJSON + Messages []shared.ResponseInfo + Success ScriptTailDeleteResponseSuccess + func (r *ScriptTailDeleteResponse) UnmarshalJSON(data []byte) (err error) + type ScriptTailDeleteResponseSuccess bool + const ScriptTailDeleteResponseSuccessTrue + func (r ScriptTailDeleteResponseSuccess) IsKnown() bool + type ScriptTailGetParams struct + AccountID param.Field[string] + type ScriptTailGetResponse struct + ExpiresAt string + ID string + JSON scriptTailGetResponseJSON + URL string + func (r *ScriptTailGetResponse) UnmarshalJSON(data []byte) (err error) + type ScriptTailGetResponseEnvelope struct + Errors []shared.ResponseInfo + JSON scriptTailGetResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result ScriptTailGetResponse + Success ScriptTailGetResponseEnvelopeSuccess + func (r *ScriptTailGetResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type ScriptTailGetResponseEnvelopeSuccess bool + const ScriptTailGetResponseEnvelopeSuccessTrue + func (r ScriptTailGetResponseEnvelopeSuccess) IsKnown() bool + type ScriptTailNewParams struct + AccountID param.Field[string] + Body interface{} + func (r ScriptTailNewParams) MarshalJSON() (data []byte, err error) + type ScriptTailNewResponse struct + ExpiresAt string + ID string + JSON scriptTailNewResponseJSON + URL string + func (r *ScriptTailNewResponse) UnmarshalJSON(data []byte) (err error) + type ScriptTailNewResponseEnvelope struct + Errors []shared.ResponseInfo + JSON scriptTailNewResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result ScriptTailNewResponse + Success ScriptTailNewResponseEnvelopeSuccess + func (r *ScriptTailNewResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type ScriptTailNewResponseEnvelopeSuccess bool + const ScriptTailNewResponseEnvelopeSuccessTrue + func (r ScriptTailNewResponseEnvelopeSuccess) IsKnown() bool + type ScriptTailService struct + Options []option.RequestOption + func NewScriptTailService(opts ...option.RequestOption) (r *ScriptTailService) + func (r *ScriptTailService) Delete(ctx context.Context, scriptName string, id string, body ScriptTailDeleteParams, ...) (res *ScriptTailDeleteResponse, err error) + func (r *ScriptTailService) Get(ctx context.Context, scriptName string, query ScriptTailGetParams, ...) (res *ScriptTailGetResponse, err error) + func (r *ScriptTailService) New(ctx context.Context, scriptName string, params ScriptTailNewParams, ...) (res *ScriptTailNewResponse, err error) + type ScriptUpdateParams struct + AccountID param.Field[string] + Metadata param.Field[ScriptUpdateParamsMetadata] + func (r ScriptUpdateParams) MarshalJSON() (data []byte, err error) + type ScriptUpdateParamsMetadata struct + Assets param.Field[ScriptUpdateParamsMetadataAssets] + Bindings param.Field[[]ScriptUpdateParamsMetadataBindingUnion] + BodyPart param.Field[string] + CompatibilityDate param.Field[string] + CompatibilityFlags param.Field[[]string] + KeepAssets param.Field[bool] + KeepBindings param.Field[[]string] + Logpush param.Field[bool] + MainModule param.Field[string] + Migrations param.Field[ScriptUpdateParamsMetadataMigrationsUnion] + Observability param.Field[ScriptUpdateParamsMetadataObservability] + Placement param.Field[ScriptUpdateParamsMetadataPlacement] + Tags param.Field[[]string] + TailConsumers param.Field[[]ConsumerScriptParam] + UsageModel param.Field[ScriptUpdateParamsMetadataUsageModel] + func (r ScriptUpdateParamsMetadata) MarshalJSON() (data []byte, err error) + type ScriptUpdateParamsMetadataAssets struct + Config param.Field[ScriptUpdateParamsMetadataAssetsConfig] + JWT param.Field[string] + func (r ScriptUpdateParamsMetadataAssets) MarshalJSON() (data []byte, err error) + type ScriptUpdateParamsMetadataAssetsConfig struct + HTMLHandling param.Field[ScriptUpdateParamsMetadataAssetsConfigHTMLHandling] + NotFoundHandling param.Field[ScriptUpdateParamsMetadataAssetsConfigNotFoundHandling] + ServeDirectly param.Field[bool] + func (r ScriptUpdateParamsMetadataAssetsConfig) MarshalJSON() (data []byte, err error) + type ScriptUpdateParamsMetadataAssetsConfigHTMLHandling string + const ScriptUpdateParamsMetadataAssetsConfigHTMLHandlingAutoTrailingSlash + const ScriptUpdateParamsMetadataAssetsConfigHTMLHandlingDropTrailingSlash + const ScriptUpdateParamsMetadataAssetsConfigHTMLHandlingForceTrailingSlash + const ScriptUpdateParamsMetadataAssetsConfigHTMLHandlingNone + func (r ScriptUpdateParamsMetadataAssetsConfigHTMLHandling) IsKnown() bool + type ScriptUpdateParamsMetadataAssetsConfigNotFoundHandling string + const ScriptUpdateParamsMetadataAssetsConfigNotFoundHandling404Page + const ScriptUpdateParamsMetadataAssetsConfigNotFoundHandlingNone + const ScriptUpdateParamsMetadataAssetsConfigNotFoundHandlingSinglePageApplication + func (r ScriptUpdateParamsMetadataAssetsConfigNotFoundHandling) IsKnown() bool + type ScriptUpdateParamsMetadataBinding struct + BucketName param.Field[string] + CertificateID param.Field[string] + ClassName param.Field[string] + Dataset param.Field[string] + Environment param.Field[string] + ID param.Field[string] + IndexName param.Field[string] + Json param.Field[string] + Name param.Field[string] + Namespace param.Field[string] + NamespaceID param.Field[string] + Outbound param.Field[interface{}] + QueueName param.Field[string] + ScriptName param.Field[string] + Service param.Field[string] + Text param.Field[string] + Type param.Field[string] + func (r ScriptUpdateParamsMetadataBinding) MarshalJSON() (data []byte, err error) + type ScriptUpdateParamsMetadataBindingUnion interface + type ScriptUpdateParamsMetadataBindingsWorkersBindingKindAI struct + Name param.Field[string] + Type param.Field[ScriptUpdateParamsMetadataBindingsWorkersBindingKindAIType] + func (r ScriptUpdateParamsMetadataBindingsWorkersBindingKindAI) MarshalJSON() (data []byte, err error) + type ScriptUpdateParamsMetadataBindingsWorkersBindingKindAIType string + const ScriptUpdateParamsMetadataBindingsWorkersBindingKindAITypeAI + func (r ScriptUpdateParamsMetadataBindingsWorkersBindingKindAIType) IsKnown() bool + type ScriptUpdateParamsMetadataBindingsWorkersBindingKindAnalyticsEngine struct + Dataset param.Field[string] + Name param.Field[string] + Type param.Field[ScriptUpdateParamsMetadataBindingsWorkersBindingKindAnalyticsEngineType] + func (r ScriptUpdateParamsMetadataBindingsWorkersBindingKindAnalyticsEngine) MarshalJSON() (data []byte, err error) + type ScriptUpdateParamsMetadataBindingsWorkersBindingKindAnalyticsEngineType string + const ScriptUpdateParamsMetadataBindingsWorkersBindingKindAnalyticsEngineTypeAnalyticsEngine + func (r ScriptUpdateParamsMetadataBindingsWorkersBindingKindAnalyticsEngineType) IsKnown() bool + type ScriptUpdateParamsMetadataBindingsWorkersBindingKindAny struct + ExtraFields map[string]interface{} + Name param.Field[string] + Type param.Field[string] + func (r ScriptUpdateParamsMetadataBindingsWorkersBindingKindAny) MarshalJSON() (data []byte, err error) + type ScriptUpdateParamsMetadataBindingsWorkersBindingKindAssets struct + Name param.Field[string] + Type param.Field[ScriptUpdateParamsMetadataBindingsWorkersBindingKindAssetsType] + func (r ScriptUpdateParamsMetadataBindingsWorkersBindingKindAssets) MarshalJSON() (data []byte, err error) + type ScriptUpdateParamsMetadataBindingsWorkersBindingKindAssetsType string + const ScriptUpdateParamsMetadataBindingsWorkersBindingKindAssetsTypeAssets + func (r ScriptUpdateParamsMetadataBindingsWorkersBindingKindAssetsType) IsKnown() bool + type ScriptUpdateParamsMetadataBindingsWorkersBindingKindBrowserRendering struct + Name param.Field[string] + Type param.Field[ScriptUpdateParamsMetadataBindingsWorkersBindingKindBrowserRenderingType] + func (r ScriptUpdateParamsMetadataBindingsWorkersBindingKindBrowserRendering) MarshalJSON() (data []byte, err error) + type ScriptUpdateParamsMetadataBindingsWorkersBindingKindBrowserRenderingType string + const ScriptUpdateParamsMetadataBindingsWorkersBindingKindBrowserRenderingTypeBrowserRendering + func (r ScriptUpdateParamsMetadataBindingsWorkersBindingKindBrowserRenderingType) IsKnown() bool + type ScriptUpdateParamsMetadataBindingsWorkersBindingKindD1 struct + ID param.Field[string] + Name param.Field[string] + Type param.Field[ScriptUpdateParamsMetadataBindingsWorkersBindingKindD1Type] + func (r ScriptUpdateParamsMetadataBindingsWorkersBindingKindD1) MarshalJSON() (data []byte, err error) + type ScriptUpdateParamsMetadataBindingsWorkersBindingKindD1Type string + const ScriptUpdateParamsMetadataBindingsWorkersBindingKindD1TypeD1 + func (r ScriptUpdateParamsMetadataBindingsWorkersBindingKindD1Type) IsKnown() bool + type ScriptUpdateParamsMetadataBindingsWorkersBindingKindDispatchNamespace struct + Name param.Field[string] + Namespace param.Field[string] + Outbound param.Field[ScriptUpdateParamsMetadataBindingsWorkersBindingKindDispatchNamespaceOutbound] + Type param.Field[ScriptUpdateParamsMetadataBindingsWorkersBindingKindDispatchNamespaceType] + func (r ScriptUpdateParamsMetadataBindingsWorkersBindingKindDispatchNamespace) MarshalJSON() (data []byte, err error) + type ScriptUpdateParamsMetadataBindingsWorkersBindingKindDispatchNamespaceOutbound struct + Params param.Field[[]string] + Worker param.Field[ScriptUpdateParamsMetadataBindingsWorkersBindingKindDispatchNamespaceOutboundWorker] + func (r ScriptUpdateParamsMetadataBindingsWorkersBindingKindDispatchNamespaceOutbound) MarshalJSON() (data []byte, err error) + type ScriptUpdateParamsMetadataBindingsWorkersBindingKindDispatchNamespaceOutboundWorker struct + Environment param.Field[string] + Service param.Field[string] + func (r ScriptUpdateParamsMetadataBindingsWorkersBindingKindDispatchNamespaceOutboundWorker) MarshalJSON() (data []byte, err error) + type ScriptUpdateParamsMetadataBindingsWorkersBindingKindDispatchNamespaceType string + const ScriptUpdateParamsMetadataBindingsWorkersBindingKindDispatchNamespaceTypeDispatchNamespace + func (r ScriptUpdateParamsMetadataBindingsWorkersBindingKindDispatchNamespaceType) IsKnown() bool + type ScriptUpdateParamsMetadataBindingsWorkersBindingKindDo struct + ClassName param.Field[string] + Environment param.Field[string] + Name param.Field[string] + NamespaceID param.Field[string] + ScriptName param.Field[string] + Type param.Field[ScriptUpdateParamsMetadataBindingsWorkersBindingKindDoType] + func (r ScriptUpdateParamsMetadataBindingsWorkersBindingKindDo) MarshalJSON() (data []byte, err error) + type ScriptUpdateParamsMetadataBindingsWorkersBindingKindDoType string + const ScriptUpdateParamsMetadataBindingsWorkersBindingKindDoTypeDurableObjectNamespace + func (r ScriptUpdateParamsMetadataBindingsWorkersBindingKindDoType) IsKnown() bool + type ScriptUpdateParamsMetadataBindingsWorkersBindingKindHyperdrive struct + ID param.Field[string] + Name param.Field[string] + Type param.Field[ScriptUpdateParamsMetadataBindingsWorkersBindingKindHyperdriveType] + func (r ScriptUpdateParamsMetadataBindingsWorkersBindingKindHyperdrive) MarshalJSON() (data []byte, err error) + type ScriptUpdateParamsMetadataBindingsWorkersBindingKindHyperdriveType string + const ScriptUpdateParamsMetadataBindingsWorkersBindingKindHyperdriveTypeHyperdrive + func (r ScriptUpdateParamsMetadataBindingsWorkersBindingKindHyperdriveType) IsKnown() bool + type ScriptUpdateParamsMetadataBindingsWorkersBindingKindJson struct + Json param.Field[string] + Name param.Field[string] + Type param.Field[ScriptUpdateParamsMetadataBindingsWorkersBindingKindJsonType] + func (r ScriptUpdateParamsMetadataBindingsWorkersBindingKindJson) MarshalJSON() (data []byte, err error) + type ScriptUpdateParamsMetadataBindingsWorkersBindingKindJsonType string + const ScriptUpdateParamsMetadataBindingsWorkersBindingKindJsonTypeJson + func (r ScriptUpdateParamsMetadataBindingsWorkersBindingKindJsonType) IsKnown() bool + type ScriptUpdateParamsMetadataBindingsWorkersBindingKindKVNamespace struct + Name param.Field[string] + NamespaceID param.Field[string] + Type param.Field[ScriptUpdateParamsMetadataBindingsWorkersBindingKindKVNamespaceType] + func (r ScriptUpdateParamsMetadataBindingsWorkersBindingKindKVNamespace) MarshalJSON() (data []byte, err error) + type ScriptUpdateParamsMetadataBindingsWorkersBindingKindKVNamespaceType string + const ScriptUpdateParamsMetadataBindingsWorkersBindingKindKVNamespaceTypeKVNamespace + func (r ScriptUpdateParamsMetadataBindingsWorkersBindingKindKVNamespaceType) IsKnown() bool + type ScriptUpdateParamsMetadataBindingsWorkersBindingKindMTLSCERT struct + CertificateID param.Field[string] + Name param.Field[string] + Type param.Field[ScriptUpdateParamsMetadataBindingsWorkersBindingKindMTLSCERTType] + func (r ScriptUpdateParamsMetadataBindingsWorkersBindingKindMTLSCERT) MarshalJSON() (data []byte, err error) + type ScriptUpdateParamsMetadataBindingsWorkersBindingKindMTLSCERTType string + const ScriptUpdateParamsMetadataBindingsWorkersBindingKindMTLSCERTTypeMTLSCertificate + func (r ScriptUpdateParamsMetadataBindingsWorkersBindingKindMTLSCERTType) IsKnown() bool + type ScriptUpdateParamsMetadataBindingsWorkersBindingKindPlainText struct + Name param.Field[string] + Text param.Field[string] + Type param.Field[ScriptUpdateParamsMetadataBindingsWorkersBindingKindPlainTextType] + func (r ScriptUpdateParamsMetadataBindingsWorkersBindingKindPlainText) MarshalJSON() (data []byte, err error) + type ScriptUpdateParamsMetadataBindingsWorkersBindingKindPlainTextType string + const ScriptUpdateParamsMetadataBindingsWorkersBindingKindPlainTextTypePlainText + func (r ScriptUpdateParamsMetadataBindingsWorkersBindingKindPlainTextType) IsKnown() bool + type ScriptUpdateParamsMetadataBindingsWorkersBindingKindQueue struct + Name param.Field[string] + QueueName param.Field[string] + Type param.Field[ScriptUpdateParamsMetadataBindingsWorkersBindingKindQueueType] + func (r ScriptUpdateParamsMetadataBindingsWorkersBindingKindQueue) MarshalJSON() (data []byte, err error) + type ScriptUpdateParamsMetadataBindingsWorkersBindingKindQueueType string + const ScriptUpdateParamsMetadataBindingsWorkersBindingKindQueueTypeQueue + func (r ScriptUpdateParamsMetadataBindingsWorkersBindingKindQueueType) IsKnown() bool + type ScriptUpdateParamsMetadataBindingsWorkersBindingKindR2 struct + BucketName param.Field[string] + Name param.Field[string] + Type param.Field[ScriptUpdateParamsMetadataBindingsWorkersBindingKindR2Type] + func (r ScriptUpdateParamsMetadataBindingsWorkersBindingKindR2) MarshalJSON() (data []byte, err error) + type ScriptUpdateParamsMetadataBindingsWorkersBindingKindR2Type string + const ScriptUpdateParamsMetadataBindingsWorkersBindingKindR2TypeR2Bucket + func (r ScriptUpdateParamsMetadataBindingsWorkersBindingKindR2Type) IsKnown() bool + type ScriptUpdateParamsMetadataBindingsWorkersBindingKindSecret struct + Name param.Field[string] + Text param.Field[string] + Type param.Field[ScriptUpdateParamsMetadataBindingsWorkersBindingKindSecretType] + func (r ScriptUpdateParamsMetadataBindingsWorkersBindingKindSecret) MarshalJSON() (data []byte, err error) + type ScriptUpdateParamsMetadataBindingsWorkersBindingKindSecretType string + const ScriptUpdateParamsMetadataBindingsWorkersBindingKindSecretTypeSecretText + func (r ScriptUpdateParamsMetadataBindingsWorkersBindingKindSecretType) IsKnown() bool + type ScriptUpdateParamsMetadataBindingsWorkersBindingKindService struct + Environment param.Field[string] + Name param.Field[string] + Service param.Field[string] + Type param.Field[ScriptUpdateParamsMetadataBindingsWorkersBindingKindServiceType] + func (r ScriptUpdateParamsMetadataBindingsWorkersBindingKindService) MarshalJSON() (data []byte, err error) + type ScriptUpdateParamsMetadataBindingsWorkersBindingKindServiceType string + const ScriptUpdateParamsMetadataBindingsWorkersBindingKindServiceTypeService + func (r ScriptUpdateParamsMetadataBindingsWorkersBindingKindServiceType) IsKnown() bool + type ScriptUpdateParamsMetadataBindingsWorkersBindingKindTailConsumer struct + Name param.Field[string] + Service param.Field[string] + Type param.Field[ScriptUpdateParamsMetadataBindingsWorkersBindingKindTailConsumerType] + func (r ScriptUpdateParamsMetadataBindingsWorkersBindingKindTailConsumer) MarshalJSON() (data []byte, err error) + type ScriptUpdateParamsMetadataBindingsWorkersBindingKindTailConsumerType string + const ScriptUpdateParamsMetadataBindingsWorkersBindingKindTailConsumerTypeTailConsumer + func (r ScriptUpdateParamsMetadataBindingsWorkersBindingKindTailConsumerType) IsKnown() bool + type ScriptUpdateParamsMetadataBindingsWorkersBindingKindVectorize struct + IndexName param.Field[string] + Name param.Field[string] + Type param.Field[ScriptUpdateParamsMetadataBindingsWorkersBindingKindVectorizeType] + func (r ScriptUpdateParamsMetadataBindingsWorkersBindingKindVectorize) MarshalJSON() (data []byte, err error) + type ScriptUpdateParamsMetadataBindingsWorkersBindingKindVectorizeType string + const ScriptUpdateParamsMetadataBindingsWorkersBindingKindVectorizeTypeVectorize + func (r ScriptUpdateParamsMetadataBindingsWorkersBindingKindVectorizeType) IsKnown() bool + type ScriptUpdateParamsMetadataBindingsWorkersBindingKindVersionMetadata struct + Name param.Field[string] + Type param.Field[ScriptUpdateParamsMetadataBindingsWorkersBindingKindVersionMetadataType] + func (r ScriptUpdateParamsMetadataBindingsWorkersBindingKindVersionMetadata) MarshalJSON() (data []byte, err error) + type ScriptUpdateParamsMetadataBindingsWorkersBindingKindVersionMetadataType string + const ScriptUpdateParamsMetadataBindingsWorkersBindingKindVersionMetadataTypeVersionMetadata + func (r ScriptUpdateParamsMetadataBindingsWorkersBindingKindVersionMetadataType) IsKnown() bool + type ScriptUpdateParamsMetadataMigrations struct + DeletedClasses param.Field[interface{}] + NewClasses param.Field[interface{}] + NewSqliteClasses param.Field[interface{}] + NewTag param.Field[string] + OldTag param.Field[string] + RenamedClasses param.Field[interface{}] + Steps param.Field[interface{}] + TransferredClasses param.Field[interface{}] + func (r ScriptUpdateParamsMetadataMigrations) MarshalJSON() (data []byte, err error) + type ScriptUpdateParamsMetadataMigrationsUnion interface + type ScriptUpdateParamsMetadataMigrationsWorkersMultipleStepMigrations struct + NewTag param.Field[string] + OldTag param.Field[string] + Steps param.Field[[]MigrationStepParam] + func (r ScriptUpdateParamsMetadataMigrationsWorkersMultipleStepMigrations) MarshalJSON() (data []byte, err error) + type ScriptUpdateParamsMetadataObservability struct + Enabled param.Field[bool] + HeadSamplingRate param.Field[float64] + func (r ScriptUpdateParamsMetadataObservability) MarshalJSON() (data []byte, err error) + type ScriptUpdateParamsMetadataPlacement struct + Mode param.Field[ScriptUpdateParamsMetadataPlacementMode] + func (r ScriptUpdateParamsMetadataPlacement) MarshalJSON() (data []byte, err error) + type ScriptUpdateParamsMetadataPlacementMode string + const ScriptUpdateParamsMetadataPlacementModeSmart + func (r ScriptUpdateParamsMetadataPlacementMode) IsKnown() bool + type ScriptUpdateParamsMetadataPlacementStatus string + const ScriptUpdateParamsMetadataPlacementStatusInsufficientInvocations + const ScriptUpdateParamsMetadataPlacementStatusSuccess + const ScriptUpdateParamsMetadataPlacementStatusUnsupportedApplication + func (r ScriptUpdateParamsMetadataPlacementStatus) IsKnown() bool + type ScriptUpdateParamsMetadataUsageModel string + const ScriptUpdateParamsMetadataUsageModelStandard + func (r ScriptUpdateParamsMetadataUsageModel) IsKnown() bool + type ScriptUpdateResponse struct + CreatedOn time.Time + Etag string + HasAssets bool + HasModules bool + ID string + JSON scriptUpdateResponseJSON + Logpush bool + ModifiedOn time.Time + Placement ScriptUpdateResponsePlacement + PlacementMode ScriptUpdateResponsePlacementMode + PlacementStatus ScriptUpdateResponsePlacementStatus + StartupTimeMs int64 + TailConsumers []ConsumerScript + UsageModel ScriptUpdateResponseUsageModel + func (r *ScriptUpdateResponse) UnmarshalJSON(data []byte) (err error) + type ScriptUpdateResponseEnvelope struct + Errors []shared.ResponseInfo + JSON scriptUpdateResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result ScriptUpdateResponse + Success ScriptUpdateResponseEnvelopeSuccess + func (r *ScriptUpdateResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type ScriptUpdateResponseEnvelopeSuccess bool + const ScriptUpdateResponseEnvelopeSuccessTrue + func (r ScriptUpdateResponseEnvelopeSuccess) IsKnown() bool + type ScriptUpdateResponsePlacement struct + JSON scriptUpdateResponsePlacementJSON + Mode ScriptUpdateResponsePlacementMode + Status ScriptUpdateResponsePlacementStatus + func (r *ScriptUpdateResponsePlacement) UnmarshalJSON(data []byte) (err error) + type ScriptUpdateResponsePlacementMode string + const ScriptUpdateResponsePlacementModeSmart + func (r ScriptUpdateResponsePlacementMode) IsKnown() bool + type ScriptUpdateResponsePlacementStatus string + const ScriptUpdateResponsePlacementStatusInsufficientInvocations + const ScriptUpdateResponsePlacementStatusSuccess + const ScriptUpdateResponsePlacementStatusUnsupportedApplication + func (r ScriptUpdateResponsePlacementStatus) IsKnown() bool + type ScriptUpdateResponseUsageModel string + const ScriptUpdateResponseUsageModelStandard + func (r ScriptUpdateResponseUsageModel) IsKnown() bool + type ScriptUsageModel string + const ScriptUsageModelStandard + func (r ScriptUsageModel) IsKnown() bool + type ScriptVersionGetParams struct + AccountID param.Field[string] + type ScriptVersionGetResponse struct + ID string + JSON scriptVersionGetResponseJSON + Metadata interface{} + Number float64 + Resources interface{} + func (r *ScriptVersionGetResponse) UnmarshalJSON(data []byte) (err error) + type ScriptVersionGetResponseEnvelope struct + Errors []shared.ResponseInfo + JSON scriptVersionGetResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result ScriptVersionGetResponse + Success ScriptVersionGetResponseEnvelopeSuccess + func (r *ScriptVersionGetResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type ScriptVersionGetResponseEnvelopeSuccess bool + const ScriptVersionGetResponseEnvelopeSuccessTrue + func (r ScriptVersionGetResponseEnvelopeSuccess) IsKnown() bool + type ScriptVersionListParams struct + AccountID param.Field[string] + Deployable param.Field[bool] + Page param.Field[int64] + PerPage param.Field[int64] + func (r ScriptVersionListParams) URLQuery() (v url.Values) + type ScriptVersionListResponse struct + ID string + JSON scriptVersionListResponseJSON + Metadata interface{} + Number float64 + func (r *ScriptVersionListResponse) UnmarshalJSON(data []byte) (err error) + type ScriptVersionNewParams struct + AccountID param.Field[string] + Metadata param.Field[ScriptVersionNewParamsMetadata] + func (r ScriptVersionNewParams) MarshalMultipart() (data []byte, contentType string, err error) + type ScriptVersionNewParamsMetadata struct + Annotations param.Field[ScriptVersionNewParamsMetadataAnnotations] + Bindings param.Field[[]ScriptVersionNewParamsMetadataBindingUnion] + CompatibilityDate param.Field[string] + CompatibilityFlags param.Field[[]string] + KeepBindings param.Field[[]string] + MainModule param.Field[string] + UsageModel param.Field[ScriptVersionNewParamsMetadataUsageModel] + func (r ScriptVersionNewParamsMetadata) MarshalJSON() (data []byte, err error) + type ScriptVersionNewParamsMetadataAnnotations struct + WorkersMessage param.Field[string] + WorkersTag param.Field[string] + func (r ScriptVersionNewParamsMetadataAnnotations) MarshalJSON() (data []byte, err error) + type ScriptVersionNewParamsMetadataBinding struct + BucketName param.Field[string] + CertificateID param.Field[string] + ClassName param.Field[string] + Dataset param.Field[string] + Environment param.Field[string] + ID param.Field[string] + IndexName param.Field[string] + Json param.Field[string] + Name param.Field[string] + Namespace param.Field[string] + NamespaceID param.Field[string] + Outbound param.Field[interface{}] + QueueName param.Field[string] + ScriptName param.Field[string] + Service param.Field[string] + Text param.Field[string] + Type param.Field[string] + func (r ScriptVersionNewParamsMetadataBinding) MarshalJSON() (data []byte, err error) + type ScriptVersionNewParamsMetadataBindingUnion interface + type ScriptVersionNewParamsMetadataBindingsWorkersBindingKindAI struct + Name param.Field[string] + Type param.Field[ScriptVersionNewParamsMetadataBindingsWorkersBindingKindAIType] + func (r ScriptVersionNewParamsMetadataBindingsWorkersBindingKindAI) MarshalJSON() (data []byte, err error) + type ScriptVersionNewParamsMetadataBindingsWorkersBindingKindAIType string + const ScriptVersionNewParamsMetadataBindingsWorkersBindingKindAITypeAI + func (r ScriptVersionNewParamsMetadataBindingsWorkersBindingKindAIType) IsKnown() bool + type ScriptVersionNewParamsMetadataBindingsWorkersBindingKindAnalyticsEngine struct + Dataset param.Field[string] + Name param.Field[string] + Type param.Field[ScriptVersionNewParamsMetadataBindingsWorkersBindingKindAnalyticsEngineType] + func (r ScriptVersionNewParamsMetadataBindingsWorkersBindingKindAnalyticsEngine) MarshalJSON() (data []byte, err error) + type ScriptVersionNewParamsMetadataBindingsWorkersBindingKindAnalyticsEngineType string + const ScriptVersionNewParamsMetadataBindingsWorkersBindingKindAnalyticsEngineTypeAnalyticsEngine + func (r ScriptVersionNewParamsMetadataBindingsWorkersBindingKindAnalyticsEngineType) IsKnown() bool + type ScriptVersionNewParamsMetadataBindingsWorkersBindingKindAny struct + ExtraFields map[string]interface{} + Name param.Field[string] + Type param.Field[string] + func (r ScriptVersionNewParamsMetadataBindingsWorkersBindingKindAny) MarshalJSON() (data []byte, err error) + type ScriptVersionNewParamsMetadataBindingsWorkersBindingKindAssets struct + Name param.Field[string] + Type param.Field[ScriptVersionNewParamsMetadataBindingsWorkersBindingKindAssetsType] + func (r ScriptVersionNewParamsMetadataBindingsWorkersBindingKindAssets) MarshalJSON() (data []byte, err error) + type ScriptVersionNewParamsMetadataBindingsWorkersBindingKindAssetsType string + const ScriptVersionNewParamsMetadataBindingsWorkersBindingKindAssetsTypeAssets + func (r ScriptVersionNewParamsMetadataBindingsWorkersBindingKindAssetsType) IsKnown() bool + type ScriptVersionNewParamsMetadataBindingsWorkersBindingKindBrowserRendering struct + Name param.Field[string] + Type param.Field[ScriptVersionNewParamsMetadataBindingsWorkersBindingKindBrowserRenderingType] + func (r ScriptVersionNewParamsMetadataBindingsWorkersBindingKindBrowserRendering) MarshalJSON() (data []byte, err error) + type ScriptVersionNewParamsMetadataBindingsWorkersBindingKindBrowserRenderingType string + const ScriptVersionNewParamsMetadataBindingsWorkersBindingKindBrowserRenderingTypeBrowserRendering + func (r ScriptVersionNewParamsMetadataBindingsWorkersBindingKindBrowserRenderingType) IsKnown() bool + type ScriptVersionNewParamsMetadataBindingsWorkersBindingKindD1 struct + ID param.Field[string] + Name param.Field[string] + Type param.Field[ScriptVersionNewParamsMetadataBindingsWorkersBindingKindD1Type] + func (r ScriptVersionNewParamsMetadataBindingsWorkersBindingKindD1) MarshalJSON() (data []byte, err error) + type ScriptVersionNewParamsMetadataBindingsWorkersBindingKindD1Type string + const ScriptVersionNewParamsMetadataBindingsWorkersBindingKindD1TypeD1 + func (r ScriptVersionNewParamsMetadataBindingsWorkersBindingKindD1Type) IsKnown() bool + type ScriptVersionNewParamsMetadataBindingsWorkersBindingKindDispatchNamespace struct + Name param.Field[string] + Namespace param.Field[string] + Outbound param.Field[ScriptVersionNewParamsMetadataBindingsWorkersBindingKindDispatchNamespaceOutbound] + Type param.Field[ScriptVersionNewParamsMetadataBindingsWorkersBindingKindDispatchNamespaceType] + func (r ScriptVersionNewParamsMetadataBindingsWorkersBindingKindDispatchNamespace) MarshalJSON() (data []byte, err error) + type ScriptVersionNewParamsMetadataBindingsWorkersBindingKindDispatchNamespaceOutbound struct + Params param.Field[[]string] + Worker param.Field[ScriptVersionNewParamsMetadataBindingsWorkersBindingKindDispatchNamespaceOutboundWorker] + func (r ScriptVersionNewParamsMetadataBindingsWorkersBindingKindDispatchNamespaceOutbound) MarshalJSON() (data []byte, err error) + type ScriptVersionNewParamsMetadataBindingsWorkersBindingKindDispatchNamespaceOutboundWorker struct + Environment param.Field[string] + Service param.Field[string] + func (r ScriptVersionNewParamsMetadataBindingsWorkersBindingKindDispatchNamespaceOutboundWorker) MarshalJSON() (data []byte, err error) + type ScriptVersionNewParamsMetadataBindingsWorkersBindingKindDispatchNamespaceType string + const ScriptVersionNewParamsMetadataBindingsWorkersBindingKindDispatchNamespaceTypeDispatchNamespace + func (r ScriptVersionNewParamsMetadataBindingsWorkersBindingKindDispatchNamespaceType) IsKnown() bool + type ScriptVersionNewParamsMetadataBindingsWorkersBindingKindDo struct + ClassName param.Field[string] + Environment param.Field[string] + Name param.Field[string] + NamespaceID param.Field[string] + ScriptName param.Field[string] + Type param.Field[ScriptVersionNewParamsMetadataBindingsWorkersBindingKindDoType] + func (r ScriptVersionNewParamsMetadataBindingsWorkersBindingKindDo) MarshalJSON() (data []byte, err error) + type ScriptVersionNewParamsMetadataBindingsWorkersBindingKindDoType string + const ScriptVersionNewParamsMetadataBindingsWorkersBindingKindDoTypeDurableObjectNamespace + func (r ScriptVersionNewParamsMetadataBindingsWorkersBindingKindDoType) IsKnown() bool + type ScriptVersionNewParamsMetadataBindingsWorkersBindingKindHyperdrive struct + ID param.Field[string] + Name param.Field[string] + Type param.Field[ScriptVersionNewParamsMetadataBindingsWorkersBindingKindHyperdriveType] + func (r ScriptVersionNewParamsMetadataBindingsWorkersBindingKindHyperdrive) MarshalJSON() (data []byte, err error) + type ScriptVersionNewParamsMetadataBindingsWorkersBindingKindHyperdriveType string + const ScriptVersionNewParamsMetadataBindingsWorkersBindingKindHyperdriveTypeHyperdrive + func (r ScriptVersionNewParamsMetadataBindingsWorkersBindingKindHyperdriveType) IsKnown() bool + type ScriptVersionNewParamsMetadataBindingsWorkersBindingKindJson struct + Json param.Field[string] + Name param.Field[string] + Type param.Field[ScriptVersionNewParamsMetadataBindingsWorkersBindingKindJsonType] + func (r ScriptVersionNewParamsMetadataBindingsWorkersBindingKindJson) MarshalJSON() (data []byte, err error) + type ScriptVersionNewParamsMetadataBindingsWorkersBindingKindJsonType string + const ScriptVersionNewParamsMetadataBindingsWorkersBindingKindJsonTypeJson + func (r ScriptVersionNewParamsMetadataBindingsWorkersBindingKindJsonType) IsKnown() bool + type ScriptVersionNewParamsMetadataBindingsWorkersBindingKindKVNamespace struct + Name param.Field[string] + NamespaceID param.Field[string] + Type param.Field[ScriptVersionNewParamsMetadataBindingsWorkersBindingKindKVNamespaceType] + func (r ScriptVersionNewParamsMetadataBindingsWorkersBindingKindKVNamespace) MarshalJSON() (data []byte, err error) + type ScriptVersionNewParamsMetadataBindingsWorkersBindingKindKVNamespaceType string + const ScriptVersionNewParamsMetadataBindingsWorkersBindingKindKVNamespaceTypeKVNamespace + func (r ScriptVersionNewParamsMetadataBindingsWorkersBindingKindKVNamespaceType) IsKnown() bool + type ScriptVersionNewParamsMetadataBindingsWorkersBindingKindMTLSCERT struct + CertificateID param.Field[string] + Name param.Field[string] + Type param.Field[ScriptVersionNewParamsMetadataBindingsWorkersBindingKindMTLSCERTType] + func (r ScriptVersionNewParamsMetadataBindingsWorkersBindingKindMTLSCERT) MarshalJSON() (data []byte, err error) + type ScriptVersionNewParamsMetadataBindingsWorkersBindingKindMTLSCERTType string + const ScriptVersionNewParamsMetadataBindingsWorkersBindingKindMTLSCERTTypeMTLSCertificate + func (r ScriptVersionNewParamsMetadataBindingsWorkersBindingKindMTLSCERTType) IsKnown() bool + type ScriptVersionNewParamsMetadataBindingsWorkersBindingKindPlainText struct + Name param.Field[string] + Text param.Field[string] + Type param.Field[ScriptVersionNewParamsMetadataBindingsWorkersBindingKindPlainTextType] + func (r ScriptVersionNewParamsMetadataBindingsWorkersBindingKindPlainText) MarshalJSON() (data []byte, err error) + type ScriptVersionNewParamsMetadataBindingsWorkersBindingKindPlainTextType string + const ScriptVersionNewParamsMetadataBindingsWorkersBindingKindPlainTextTypePlainText + func (r ScriptVersionNewParamsMetadataBindingsWorkersBindingKindPlainTextType) IsKnown() bool + type ScriptVersionNewParamsMetadataBindingsWorkersBindingKindQueue struct + Name param.Field[string] + QueueName param.Field[string] + Type param.Field[ScriptVersionNewParamsMetadataBindingsWorkersBindingKindQueueType] + func (r ScriptVersionNewParamsMetadataBindingsWorkersBindingKindQueue) MarshalJSON() (data []byte, err error) + type ScriptVersionNewParamsMetadataBindingsWorkersBindingKindQueueType string + const ScriptVersionNewParamsMetadataBindingsWorkersBindingKindQueueTypeQueue + func (r ScriptVersionNewParamsMetadataBindingsWorkersBindingKindQueueType) IsKnown() bool + type ScriptVersionNewParamsMetadataBindingsWorkersBindingKindR2 struct + BucketName param.Field[string] + Name param.Field[string] + Type param.Field[ScriptVersionNewParamsMetadataBindingsWorkersBindingKindR2Type] + func (r ScriptVersionNewParamsMetadataBindingsWorkersBindingKindR2) MarshalJSON() (data []byte, err error) + type ScriptVersionNewParamsMetadataBindingsWorkersBindingKindR2Type string + const ScriptVersionNewParamsMetadataBindingsWorkersBindingKindR2TypeR2Bucket + func (r ScriptVersionNewParamsMetadataBindingsWorkersBindingKindR2Type) IsKnown() bool + type ScriptVersionNewParamsMetadataBindingsWorkersBindingKindSecret struct + Name param.Field[string] + Text param.Field[string] + Type param.Field[ScriptVersionNewParamsMetadataBindingsWorkersBindingKindSecretType] + func (r ScriptVersionNewParamsMetadataBindingsWorkersBindingKindSecret) MarshalJSON() (data []byte, err error) + type ScriptVersionNewParamsMetadataBindingsWorkersBindingKindSecretType string + const ScriptVersionNewParamsMetadataBindingsWorkersBindingKindSecretTypeSecretText + func (r ScriptVersionNewParamsMetadataBindingsWorkersBindingKindSecretType) IsKnown() bool + type ScriptVersionNewParamsMetadataBindingsWorkersBindingKindService struct + Environment param.Field[string] + Name param.Field[string] + Service param.Field[string] + Type param.Field[ScriptVersionNewParamsMetadataBindingsWorkersBindingKindServiceType] + func (r ScriptVersionNewParamsMetadataBindingsWorkersBindingKindService) MarshalJSON() (data []byte, err error) + type ScriptVersionNewParamsMetadataBindingsWorkersBindingKindServiceType string + const ScriptVersionNewParamsMetadataBindingsWorkersBindingKindServiceTypeService + func (r ScriptVersionNewParamsMetadataBindingsWorkersBindingKindServiceType) IsKnown() bool + type ScriptVersionNewParamsMetadataBindingsWorkersBindingKindTailConsumer struct + Name param.Field[string] + Service param.Field[string] + Type param.Field[ScriptVersionNewParamsMetadataBindingsWorkersBindingKindTailConsumerType] + func (r ScriptVersionNewParamsMetadataBindingsWorkersBindingKindTailConsumer) MarshalJSON() (data []byte, err error) + type ScriptVersionNewParamsMetadataBindingsWorkersBindingKindTailConsumerType string + const ScriptVersionNewParamsMetadataBindingsWorkersBindingKindTailConsumerTypeTailConsumer + func (r ScriptVersionNewParamsMetadataBindingsWorkersBindingKindTailConsumerType) IsKnown() bool + type ScriptVersionNewParamsMetadataBindingsWorkersBindingKindVectorize struct + IndexName param.Field[string] + Name param.Field[string] + Type param.Field[ScriptVersionNewParamsMetadataBindingsWorkersBindingKindVectorizeType] + func (r ScriptVersionNewParamsMetadataBindingsWorkersBindingKindVectorize) MarshalJSON() (data []byte, err error) + type ScriptVersionNewParamsMetadataBindingsWorkersBindingKindVectorizeType string + const ScriptVersionNewParamsMetadataBindingsWorkersBindingKindVectorizeTypeVectorize + func (r ScriptVersionNewParamsMetadataBindingsWorkersBindingKindVectorizeType) IsKnown() bool + type ScriptVersionNewParamsMetadataBindingsWorkersBindingKindVersionMetadata struct + Name param.Field[string] + Type param.Field[ScriptVersionNewParamsMetadataBindingsWorkersBindingKindVersionMetadataType] + func (r ScriptVersionNewParamsMetadataBindingsWorkersBindingKindVersionMetadata) MarshalJSON() (data []byte, err error) + type ScriptVersionNewParamsMetadataBindingsWorkersBindingKindVersionMetadataType string + const ScriptVersionNewParamsMetadataBindingsWorkersBindingKindVersionMetadataTypeVersionMetadata + func (r ScriptVersionNewParamsMetadataBindingsWorkersBindingKindVersionMetadataType) IsKnown() bool + type ScriptVersionNewParamsMetadataUsageModel string + const ScriptVersionNewParamsMetadataUsageModelStandard + func (r ScriptVersionNewParamsMetadataUsageModel) IsKnown() bool + type ScriptVersionNewResponse struct + ID string + JSON scriptVersionNewResponseJSON + Metadata interface{} + Number float64 + Resources interface{} + StartupTimeMs int64 + func (r *ScriptVersionNewResponse) UnmarshalJSON(data []byte) (err error) + type ScriptVersionNewResponseEnvelope struct + Errors []shared.ResponseInfo + JSON scriptVersionNewResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result ScriptVersionNewResponse + Success ScriptVersionNewResponseEnvelopeSuccess + func (r *ScriptVersionNewResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type ScriptVersionNewResponseEnvelopeSuccess bool + const ScriptVersionNewResponseEnvelopeSuccessTrue + func (r ScriptVersionNewResponseEnvelopeSuccess) IsKnown() bool + type ScriptVersionService struct + Options []option.RequestOption + func NewScriptVersionService(opts ...option.RequestOption) (r *ScriptVersionService) + func (r *ScriptVersionService) Get(ctx context.Context, scriptName string, versionID string, ...) (res *ScriptVersionGetResponse, err error) + func (r *ScriptVersionService) List(ctx context.Context, scriptName string, params ScriptVersionListParams, ...) (res *pagination.V4PagePagination[ScriptVersionListResponse], err error) + func (r *ScriptVersionService) ListAutoPaging(ctx context.Context, scriptName string, params ScriptVersionListParams, ...) *pagination.V4PagePaginationAutoPager[ScriptVersionListResponse] + func (r *ScriptVersionService) New(ctx context.Context, scriptName string, params ScriptVersionNewParams, ...) (res *ScriptVersionNewResponse, err error) + type SingleStepMigration struct + DeletedClasses []string + JSON singleStepMigrationJSON + NewClasses []string + NewSqliteClasses []string + NewTag string + OldTag string + RenamedClasses []SingleStepMigrationRenamedClass + TransferredClasses []SingleStepMigrationTransferredClass + func (r *SingleStepMigration) UnmarshalJSON(data []byte) (err error) + func (r SingleStepMigration) ImplementsWorkersForPlatformsDispatchNamespaceScriptSettingEditResponseMigrations() + func (r SingleStepMigration) ImplementsWorkersForPlatformsDispatchNamespaceScriptSettingGetResponseMigrations() + type SingleStepMigrationParam struct + DeletedClasses param.Field[[]string] + NewClasses param.Field[[]string] + NewSqliteClasses param.Field[[]string] + NewTag param.Field[string] + OldTag param.Field[string] + RenamedClasses param.Field[[]SingleStepMigrationRenamedClassParam] + TransferredClasses param.Field[[]SingleStepMigrationTransferredClassParam] + func (r SingleStepMigrationParam) ImplementsWorkersForPlatformsDispatchNamespaceScriptSettingEditParamsSettingsMigrationsUnion() + func (r SingleStepMigrationParam) ImplementsWorkersForPlatformsDispatchNamespaceScriptUpdateParamsMetadataMigrationsUnion() + func (r SingleStepMigrationParam) MarshalJSON() (data []byte, err error) + type SingleStepMigrationRenamedClass struct + From string + JSON singleStepMigrationRenamedClassJSON + To string + func (r *SingleStepMigrationRenamedClass) UnmarshalJSON(data []byte) (err error) + type SingleStepMigrationRenamedClassParam struct + From param.Field[string] + To param.Field[string] + func (r SingleStepMigrationRenamedClassParam) MarshalJSON() (data []byte, err error) + type SingleStepMigrationTransferredClass struct + From string + FromScript string + JSON singleStepMigrationTransferredClassJSON + To string + func (r *SingleStepMigrationTransferredClass) UnmarshalJSON(data []byte) (err error) + type SingleStepMigrationTransferredClassParam struct + From param.Field[string] + FromScript param.Field[string] + To param.Field[string] + func (r SingleStepMigrationTransferredClassParam) MarshalJSON() (data []byte, err error) + type SortDirection = shared.SortDirection + type SubdomainGetParams struct + AccountID param.Field[string] + type SubdomainGetResponse struct + JSON subdomainGetResponseJSON + Subdomain string + func (r *SubdomainGetResponse) UnmarshalJSON(data []byte) (err error) + type SubdomainGetResponseEnvelope struct + Errors []shared.ResponseInfo + JSON subdomainGetResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result SubdomainGetResponse + Success SubdomainGetResponseEnvelopeSuccess + func (r *SubdomainGetResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type SubdomainGetResponseEnvelopeSuccess bool + const SubdomainGetResponseEnvelopeSuccessTrue + func (r SubdomainGetResponseEnvelopeSuccess) IsKnown() bool + type SubdomainService struct + Options []option.RequestOption + func NewSubdomainService(opts ...option.RequestOption) (r *SubdomainService) + func (r *SubdomainService) Get(ctx context.Context, query SubdomainGetParams, opts ...option.RequestOption) (res *SubdomainGetResponse, err error) + func (r *SubdomainService) Update(ctx context.Context, params SubdomainUpdateParams, ...) (res *SubdomainUpdateResponse, err error) + type SubdomainUpdateParams struct + AccountID param.Field[string] + Subdomain param.Field[string] + func (r SubdomainUpdateParams) MarshalJSON() (data []byte, err error) + type SubdomainUpdateResponse struct + JSON subdomainUpdateResponseJSON + Subdomain string + func (r *SubdomainUpdateResponse) UnmarshalJSON(data []byte) (err error) + type SubdomainUpdateResponseEnvelope struct + Errors []shared.ResponseInfo + JSON subdomainUpdateResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result SubdomainUpdateResponse + Success SubdomainUpdateResponseEnvelopeSuccess + func (r *SubdomainUpdateResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type SubdomainUpdateResponseEnvelopeSuccess bool + const SubdomainUpdateResponseEnvelopeSuccessTrue + func (r SubdomainUpdateResponseEnvelopeSuccess) IsKnown() bool + type Subscription = shared.Subscription + type SubscriptionFrequency = shared.SubscriptionFrequency + type SubscriptionParam = shared.SubscriptionParam + type SubscriptionState = shared.SubscriptionState + type Token = shared.Token + type TokenCondition = shared.TokenCondition + type TokenConditionCIDRList = shared.TokenConditionCIDRList + type TokenConditionCIDRListParam = shared.TokenConditionCIDRListParam + type TokenConditionParam = shared.TokenConditionParam + type TokenConditionRequestIP = shared.TokenConditionRequestIP + type TokenConditionRequestIPParam = shared.TokenConditionRequestIPParam + type TokenParam = shared.TokenParam + type TokenPolicy = shared.TokenPolicy + type TokenPolicyEffect = shared.TokenPolicyEffect + type TokenPolicyParam = shared.TokenPolicyParam + type TokenPolicyPermissionGroup = shared.TokenPolicyPermissionGroup + type TokenPolicyPermissionGroupParam = shared.TokenPolicyPermissionGroupParam + type TokenPolicyPermissionGroupsMeta = shared.TokenPolicyPermissionGroupsMeta + type TokenPolicyPermissionGroupsMetaParam = shared.TokenPolicyPermissionGroupsMetaParam + type TokenStatus = shared.TokenStatus + type TokenValue = shared.TokenValue + type WorkerMetadataParam struct + BodyPart param.Field[string] + MainModule param.Field[string] + func (r WorkerMetadataParam) MarshalJSON() (data []byte, err error) + type WorkerService struct + AccountSettings *AccountSettingService + Assets *AssetService + Domains *DomainService + Options []option.RequestOption + Routes *RouteService + Scripts *ScriptService + Subdomains *SubdomainService + func NewWorkerService(opts ...option.RequestOption) (r *WorkerService) Other modules containing this package github.com/cloudflare/cloudflare-go/v2 github.com/cloudflare/cloudflare-go/v3