Versions in this module Expand all Collapse all v0 v0.12.0 Apr 13, 2020 Changes in this version + const AuthKeyEmail + const AuthToken + const AuthUserService + var PageRuleActions = map[string]string + type API struct + APIEmail string + APIKey string + APIToken string + APIUserServiceKey string + AccountID string + BaseURL string + UserAgent string + func New(key, email string, opts ...Option) (*API, error) + func NewWithAPIToken(token string, opts ...Option) (*API, error) + func NewWithUserServiceKey(key string, opts ...Option) (*API, error) + func (api *API) AccessApplication(zoneID, applicationID string) (AccessApplication, error) + func (api *API) AccessApplications(zoneID string, pageOpts PaginationOptions) ([]AccessApplication, ResultInfo, error) + func (api *API) AccessGroup(accountID, groupID string) (AccessGroup, error) + func (api *API) AccessGroups(accountID string, pageOpts PaginationOptions) ([]AccessGroup, ResultInfo, error) + func (api *API) AccessIdentityProviderDetails(accountID, identityProviderID string) (AccessIdentityProvider, error) + func (api *API) AccessIdentityProviders(accountID string) ([]AccessIdentityProvider, error) + func (api *API) AccessOrganization(accountID string) (AccessOrganization, ResultInfo, error) + func (api *API) AccessPolicies(zoneID, applicationID string, pageOpts PaginationOptions) ([]AccessPolicy, ResultInfo, error) + func (api *API) AccessPolicy(zoneID, applicationID, policyID string) (AccessPolicy, error) + func (api *API) AccessServiceTokens(accountID string) ([]AccessServiceToken, ResultInfo, error) + func (api *API) Account(accountID string) (Account, ResultInfo, error) + func (api *API) AccountAccessRule(accountID string, accessRuleID string) (*AccessRuleResponse, error) + func (api *API) AccountMember(accountID string, memberID string) (AccountMember, error) + func (api *API) AccountMembers(accountID string, pageOpts PaginationOptions) ([]AccountMember, ResultInfo, error) + func (api *API) AccountRole(accountID string, roleID string) (AccountRole, error) + func (api *API) AccountRoles(accountID string) ([]AccountRole, error) + func (api *API) Accounts(pageOpts PaginationOptions) ([]Account, ResultInfo, error) + func (api *API) ArgoSmartRouting(zoneID string) (ArgoFeatureSetting, error) + func (api *API) ArgoTieredCaching(zoneID string) (ArgoFeatureSetting, error) + func (api *API) AvailableZonePlans(zoneID string) ([]ZonePlan, error) + func (api *API) AvailableZoneRatePlans(zoneID string) ([]ZoneRatePlan, error) + func (api *API) CancelRegistrarDomainTransfer(accountID, domainName string) ([]RegistrarDomain, error) + func (api *API) ChangePageRule(zoneID, ruleID string, rule PageRule) error + func (api *API) CheckLogpushDestinationExists(zoneID, destinationConf string) (bool, error) + func (api *API) ConnectZoneRailgun(zoneID, railgunID string) (ZoneRailgun, error) + func (api *API) CreateAccessApplication(zoneID string, accessApplication AccessApplication) (AccessApplication, error) + func (api *API) CreateAccessGroup(accountID string, accessGroup AccessGroup) (AccessGroup, error) + func (api *API) CreateAccessIdentityProvider(accountID string, identityProviderConfiguration AccessIdentityProvider) (AccessIdentityProvider, error) + func (api *API) CreateAccessOrganization(accountID string, accessOrganization AccessOrganization) (AccessOrganization, error) + func (api *API) CreateAccessPolicy(zoneID, applicationID string, accessPolicy AccessPolicy) (AccessPolicy, error) + func (api *API) CreateAccessServiceToken(accountID, name string) (AccessServiceTokenCreateResponse, error) + func (api *API) CreateAccountAccessRule(accountID string, accessRule AccessRule) (*AccessRuleResponse, error) + func (api *API) CreateAccountMember(accountID string, emailAddress string, roles []string) (AccountMember, error) + func (api *API) CreateCustomHostname(zoneID string, ch CustomHostname) (*CustomHostnameResponse, error) + func (api *API) CreateDNSRecord(zoneID string, rr DNSRecord) (*DNSRecordResponse, error) + func (api *API) CreateFilters(zoneID string, filters []Filter) ([]Filter, error) + func (api *API) CreateFirewallRules(zoneID string, firewallRules []FirewallRule) ([]FirewallRule, error) + func (api *API) CreateHealthcheck(zoneID string, healthcheck Healthcheck) (Healthcheck, error) + func (api *API) CreateHealthcheckPreview(zoneID string, healthcheck Healthcheck) (Healthcheck, error) + func (api *API) CreateKeyless() + func (api *API) CreateLoadBalancer(zoneID string, lb LoadBalancer) (LoadBalancer, error) + func (api *API) CreateLoadBalancerMonitor(monitor LoadBalancerMonitor) (LoadBalancerMonitor, error) + func (api *API) CreateLoadBalancerPool(pool LoadBalancerPool) (LoadBalancerPool, error) + func (api *API) CreateLogpushJob(zoneID string, job LogpushJob) (*LogpushJob, error) + func (api *API) CreateOriginCertificate(certificate OriginCACertificate) (*OriginCACertificate, error) + func (api *API) CreatePageRule(zoneID string, rule PageRule) (*PageRule, error) + func (api *API) CreateRailgun(name string) (Railgun, error) + func (api *API) CreateRateLimit(zoneID string, limit RateLimit) (RateLimit, error) + func (api *API) CreateSSL(zoneID string, options ZoneCustomSSLOptions) (ZoneCustomSSL, error) + func (api *API) CreateSpectrumApplication(zoneID string, appDetails SpectrumApplication) (SpectrumApplication, error) + func (api *API) CreateUserAccessRule(accessRule AccessRule) (*AccessRuleResponse, error) + func (api *API) CreateUserAgentRule(zoneID string, ld UserAgentRule) (*UserAgentRuleResponse, error) + func (api *API) CreateVirtualDNS(v *VirtualDNS) (*VirtualDNS, error) + func (api *API) CreateWAFOverride(zoneID string, override WAFOverride) (WAFOverride, error) + func (api *API) CreateWorkerRoute(zoneID string, route WorkerRoute) (WorkerRouteResponse, error) + func (api *API) CreateWorkersKVNamespace(ctx context.Context, req *WorkersKVNamespaceRequest) (WorkersKVNamespaceResponse, error) + func (api *API) CreateZone(name string, jumpstart bool, account Account, zoneType string) (Zone, error) + func (api *API) CreateZoneAccessRule(zoneID string, accessRule AccessRule) (*AccessRuleResponse, error) + func (api *API) CreateZoneLockdown(zoneID string, ld ZoneLockdown) (*ZoneLockdownResponse, error) + func (api *API) CustomHostname(zoneID string, customHostnameID string) (CustomHostname, error) + func (api *API) CustomHostnameIDByName(zoneID string, hostname string) (string, error) + func (api *API) CustomHostnames(zoneID string, page int, filter CustomHostname) ([]CustomHostname, ResultInfo, error) + func (api *API) CustomPage(options *CustomPageOptions, customPageID string) (CustomPage, error) + func (api *API) CustomPages(options *CustomPageOptions) ([]CustomPage, error) + func (api *API) DNSRecord(zoneID, recordID string) (DNSRecord, error) + func (api *API) DNSRecords(zoneID string, rr DNSRecord) ([]DNSRecord, error) + func (api *API) DeleteAccessApplication(zoneID, applicationID string) error + func (api *API) DeleteAccessGroup(accountID, groupID string) error + func (api *API) DeleteAccessIdentityProvider(accountID, identityProviderUUID string) (AccessIdentityProvider, error) + func (api *API) DeleteAccessPolicy(zoneID, applicationID, accessPolicyID string) error + func (api *API) DeleteAccessServiceToken(accountID, uuid string) (AccessServiceTokenUpdateResponse, error) + func (api *API) DeleteAccountAccessRule(accountID, accessRuleID string) (*AccessRuleResponse, error) + func (api *API) DeleteAccountMember(accountID string, userID string) error + func (api *API) DeleteCustomHostname(zoneID string, customHostnameID string) error + func (api *API) DeleteDNSRecord(zoneID, recordID string) error + func (api *API) DeleteFilter(zoneID, filterID string) error + func (api *API) DeleteFilters(zoneID string, filterIDs []string) error + func (api *API) DeleteFirewallRule(zoneID, firewallRuleID string) error + func (api *API) DeleteFirewallRules(zoneID string, firewallRuleIDs []string) error + func (api *API) DeleteHealthcheck(zoneID string, healthcheckID string) error + func (api *API) DeleteHealthcheckPreview(zoneID string, id string) error + func (api *API) DeleteKeyless() + func (api *API) DeleteLoadBalancer(zoneID, lbID string) error + func (api *API) DeleteLoadBalancerMonitor(monitorID string) error + func (api *API) DeleteLoadBalancerPool(poolID string) error + func (api *API) DeleteLogpushJob(zoneID string, jobID int) error + func (api *API) DeletePageRule(zoneID, ruleID string) error + func (api *API) DeleteRailgun(railgunID string) error + func (api *API) DeleteRateLimit(zoneID, limitID string) error + func (api *API) DeleteSSL(zoneID, certificateID string) error + func (api *API) DeleteSpectrumApplication(zoneID string, applicationID string) error + func (api *API) DeleteUserAccessRule(accessRuleID string) (*AccessRuleResponse, error) + func (api *API) DeleteUserAgentRule(zoneID string, id string) (*UserAgentRuleResponse, error) + func (api *API) DeleteVirtualDNS(virtualDNSID string) error + func (api *API) DeleteWAFOverride(zoneID, overrideID string) error + func (api *API) DeleteWorker(requestParams *WorkerRequestParams) (WorkerScriptResponse, error) + func (api *API) DeleteWorkerRoute(zoneID string, routeID string) (WorkerRouteResponse, error) + func (api *API) DeleteWorkersKVNamespace(ctx context.Context, namespaceID string) (Response, error) + func (api *API) DeleteZone(zoneID string) (ZoneID, error) + func (api *API) DeleteZoneAccessRule(zoneID, accessRuleID string) (*AccessRuleResponse, error) + func (api *API) DeleteZoneLockdown(zoneID string, id string) (*ZoneLockdownResponse, error) + func (api *API) DisableRailgun(railgunID string) (Railgun, error) + func (api *API) DisconnectZoneRailgun(zoneID, railgunID string) (ZoneRailgun, error) + func (api *API) DownloadWorker(requestParams *WorkerRequestParams) (WorkerScriptResponse, error) + func (api *API) EditUniversalSSLSetting(zoneID string, setting UniversalSSLSetting) (UniversalSSLSetting, error) + func (api *API) EditZone(zoneID string, zoneOpts ZoneOptions) (Zone, error) + func (api *API) EnableRailgun(railgunID string) (Railgun, error) + func (api *API) FallbackOrigin(zoneID string) (FallbackOrigin, error) + func (api *API) Filter(zoneID, filterID string) (Filter, error) + func (api *API) Filters(zoneID string, pageOpts PaginationOptions) ([]Filter, error) + func (api *API) FirewallRule(zoneID, firewallRuleID string) (FirewallRule, error) + func (api *API) FirewallRules(zoneID string, pageOpts PaginationOptions) ([]FirewallRule, error) + func (api *API) GetLogpushOwnershipChallenge(zoneID, destinationConf string) (*LogpushGetOwnershipChallenge, error) + func (api *API) GetOrganizationAuditLogs(organizationID string, a AuditLogFilter) (AuditLogResponse, error) + func (api *API) GetUserAuditLogs(a AuditLogFilter) (AuditLogResponse, error) + func (api *API) Healthcheck(zoneID, healthcheckID string) (Healthcheck, error) + func (api *API) HealthcheckPreview(zoneID, id string) (Healthcheck, error) + func (api *API) Healthchecks(zoneID string) ([]Healthcheck, error) + func (api *API) Keyless() + func (api *API) ListAccountAccessRules(accountID string, accessRule AccessRule, page int) (*AccessRuleListResponse, error) + func (api *API) ListAllRateLimits(zoneID string) ([]RateLimit, error) + func (api *API) ListKeyless() + func (api *API) ListLoadBalancerMonitors() ([]LoadBalancerMonitor, error) + func (api *API) ListLoadBalancerPools() ([]LoadBalancerPool, error) + func (api *API) ListLoadBalancers(zoneID string) ([]LoadBalancer, error) + func (api *API) ListPageRules(zoneID string) ([]PageRule, error) + func (api *API) ListRailguns(options RailgunListOptions) ([]Railgun, error) + func (api *API) ListRateLimits(zoneID string, pageOpts PaginationOptions) ([]RateLimit, ResultInfo, error) + func (api *API) ListSSL(zoneID string) ([]ZoneCustomSSL, error) + func (api *API) ListUserAccessRules(accessRule AccessRule, page int) (*AccessRuleListResponse, error) + func (api *API) ListUserAgentRules(zoneID string, page int) (*UserAgentRuleListResponse, error) + func (api *API) ListVirtualDNS() ([]*VirtualDNS, error) + func (api *API) ListWAFGroups(zoneID, packageID string) ([]WAFGroup, error) + func (api *API) ListWAFOverrides(zoneID string) ([]WAFOverride, error) + func (api *API) ListWAFPackages(zoneID string) ([]WAFPackage, error) + func (api *API) ListWAFRules(zoneID, packageID string) ([]WAFRule, error) + func (api *API) ListWorkerBindings(requestParams *WorkerRequestParams) (WorkerBindingListResponse, error) + func (api *API) ListWorkerRoutes(zoneID string) (WorkerRoutesResponse, error) + func (api *API) ListWorkerScripts() (WorkerListResponse, error) + func (api *API) ListWorkersKVNamespaces(ctx context.Context) ([]WorkersKVNamespace, error) + func (api *API) ListZoneAccessRules(zoneID string, accessRule AccessRule, page int) (*AccessRuleListResponse, error) + func (api *API) ListZoneLockdowns(zoneID string, page int) (*ZoneLockdownListResponse, error) + func (api *API) ListZones(z ...string) ([]Zone, error) + func (api *API) ListZonesContext(ctx context.Context, opts ...ReqOption) (r ZonesResponse, err error) + func (api *API) LoadBalancerDetails(zoneID, lbID string) (LoadBalancer, error) + func (api *API) LoadBalancerMonitorDetails(monitorID string) (LoadBalancerMonitor, error) + func (api *API) LoadBalancerPoolDetails(poolID string) (LoadBalancerPool, error) + func (api *API) LogpushFields(zoneID, dataset string) (LogpushFields, error) + func (api *API) LogpushJob(zoneID string, jobID int) (LogpushJob, error) + func (api *API) LogpushJobs(zoneID string) ([]LogpushJob, error) + func (api *API) LogpushJobsForDataset(zoneID, dataset string) ([]LogpushJob, error) + func (api *API) ModifyLoadBalancer(zoneID string, lb LoadBalancer) (LoadBalancer, error) + func (api *API) ModifyLoadBalancerMonitor(monitor LoadBalancerMonitor) (LoadBalancerMonitor, error) + func (api *API) ModifyLoadBalancerPool(pool LoadBalancerPool) (LoadBalancerPool, error) + func (api *API) OriginCertificate(certificateID string) (*OriginCACertificate, error) + func (api *API) OriginCertificates(options OriginCACertificateListOptions) ([]OriginCACertificate, error) + func (api *API) PageRule(zoneID, ruleID string) (PageRule, error) + func (api *API) PoolHealthDetails(poolID string) (LoadBalancerPoolHealth, error) + func (api *API) PurgeCache(zoneID string, pcr PurgeCacheRequest) (PurgeCacheResponse, error) + func (api *API) PurgeEverything(zoneID string) (PurgeCacheResponse, error) + func (api *API) RailgunDetails(railgunID string) (Railgun, error) + func (api *API) RailgunZones(railgunID string) ([]Zone, error) + func (api *API) RateLimit(zoneID, limitID string) (RateLimit, error) + func (api *API) Raw(method, endpoint string, data interface{}) (json.RawMessage, error) + func (api *API) RegistrarDomain(accountID, domainName string) (RegistrarDomain, error) + func (api *API) RegistrarDomains(accountID string) ([]RegistrarDomain, error) + func (api *API) ReprioritizeSSL(zoneID string, p []ZoneCustomSSLPriority) ([]ZoneCustomSSL, error) + func (api *API) RevokeAccessApplicationTokens(zoneID, applicationID string) error + func (api *API) RevokeOriginCertificate(certificateID string) (*OriginCACertificateID, error) + func (api *API) SSLDetails(zoneID, certificateID string) (ZoneCustomSSL, error) + func (api *API) SetAuthType(authType int) + func (api *API) SpectrumApplication(zoneID string, applicationID string) (SpectrumApplication, error) + func (api *API) SpectrumApplications(zoneID string) ([]SpectrumApplication, error) + func (api *API) TestRailgunConnection(zoneID, railgunID string) (RailgunDiagnosis, error) + func (api *API) TransferRegistrarDomain(accountID, domainName string) ([]RegistrarDomain, error) + func (api *API) UniversalSSLSettingDetails(zoneID string) (UniversalSSLSetting, error) + func (api *API) UniversalSSLVerificationDetails(zoneID string) ([]UniversalSSLVerificationDetails, error) + func (api *API) UpdateAccessApplication(zoneID string, accessApplication AccessApplication) (AccessApplication, error) + func (api *API) UpdateAccessGroup(accountID string, accessGroup AccessGroup) (AccessGroup, error) + func (api *API) UpdateAccessIdentityProvider(accountID, identityProviderUUID string, ...) (AccessIdentityProvider, error) + func (api *API) UpdateAccessOrganization(accountID string, accessOrganization AccessOrganization) (AccessOrganization, error) + func (api *API) UpdateAccessPolicy(zoneID, applicationID string, accessPolicy AccessPolicy) (AccessPolicy, error) + func (api *API) UpdateAccessServiceToken(accountID, uuid, name string) (AccessServiceTokenUpdateResponse, error) + func (api *API) UpdateAccount(accountID string, account Account) (Account, error) + func (api *API) UpdateAccountAccessRule(accountID, accessRuleID string, accessRule AccessRule) (*AccessRuleResponse, error) + func (api *API) UpdateAccountMember(accountID string, userID string, member AccountMember) (AccountMember, error) + func (api *API) UpdateArgoSmartRouting(zoneID, settingValue string) (ArgoFeatureSetting, error) + func (api *API) UpdateArgoTieredCaching(zoneID, settingValue string) (ArgoFeatureSetting, error) + func (api *API) UpdateCustomHostnameSSL(zoneID string, customHostnameID string, ssl CustomHostnameSSL) (*CustomHostnameResponse, error) + func (api *API) UpdateCustomPage(options *CustomPageOptions, customPageID string, ...) (CustomPage, error) + func (api *API) UpdateDNSRecord(zoneID, recordID string, rr DNSRecord) error + func (api *API) UpdateFallbackOrigin(zoneID string, fbo FallbackOrigin) (*FallbackOriginResponse, error) + func (api *API) UpdateFilter(zoneID string, filter Filter) (Filter, error) + func (api *API) UpdateFilters(zoneID string, filters []Filter) ([]Filter, error) + func (api *API) UpdateFirewallRule(zoneID string, firewallRule FirewallRule) (FirewallRule, error) + func (api *API) UpdateFirewallRules(zoneID string, firewallRules []FirewallRule) ([]FirewallRule, error) + func (api *API) UpdateHealthcheck(zoneID string, healthcheckID string, healthcheck Healthcheck) (Healthcheck, error) + func (api *API) UpdateKeyless() + func (api *API) UpdateLogpushJob(zoneID string, jobID int, job LogpushJob) error + func (api *API) UpdatePageRule(zoneID, ruleID string, rule PageRule) error + func (api *API) UpdateRateLimit(zoneID, limitID string, limit RateLimit) (RateLimit, error) + func (api *API) UpdateRegistrarDomain(accountID, domainName string, domainConfiguration RegistrarDomainConfiguration) (RegistrarDomain, error) + func (api *API) UpdateSSL(zoneID, certificateID string, options ZoneCustomSSLOptions) (ZoneCustomSSL, error) + func (api *API) UpdateSpectrumApplication(zoneID, appID string, appDetails SpectrumApplication) (SpectrumApplication, error) + func (api *API) UpdateUser(user *User) (User, error) + func (api *API) UpdateUserAccessRule(accessRuleID string, accessRule AccessRule) (*AccessRuleResponse, error) + func (api *API) UpdateUserAgentRule(zoneID string, id string, ld UserAgentRule) (*UserAgentRuleResponse, error) + func (api *API) UpdateVirtualDNS(virtualDNSID string, vv VirtualDNS) error + func (api *API) UpdateWAFGroup(zoneID, packageID, groupID, mode string) (WAFGroup, error) + func (api *API) UpdateWAFOverride(zoneID, overrideID string, override WAFOverride) (WAFOverride, error) + func (api *API) UpdateWAFPackage(zoneID, packageID string, opts WAFPackageOptions) (WAFPackage, error) + func (api *API) UpdateWAFRule(zoneID, packageID, ruleID, mode string) (WAFRule, error) + func (api *API) UpdateWorkerRoute(zoneID string, routeID string, route WorkerRoute) (WorkerRouteResponse, error) + func (api *API) UpdateWorkersKVNamespace(ctx context.Context, namespaceID string, req *WorkersKVNamespaceRequest) (Response, error) + func (api *API) UpdateZoneAccessRule(zoneID, accessRuleID string, accessRule AccessRule) (*AccessRuleResponse, error) + func (api *API) UpdateZoneLockdown(zoneID string, id string, ld ZoneLockdown) (*ZoneLockdownResponse, error) + func (api *API) UpdateZoneSettings(zoneID string, settings []ZoneSetting) (*ZoneSettingResponse, error) + func (api *API) UpdateZoneSingleSetting(zoneID, settingName string, setting ZoneSetting) (*ZoneSettingSingleResponse, error) + func (api *API) UploadWorker(requestParams *WorkerRequestParams, data string) (WorkerScriptResponse, error) + func (api *API) UploadWorkerWithBindings(requestParams *WorkerRequestParams, data *WorkerScriptParams) (WorkerScriptResponse, error) + func (api *API) UserAccessRule(accessRuleID string) (*AccessRuleResponse, error) + func (api *API) UserAgentRule(zoneID string, id string) (*UserAgentRuleResponse, error) + func (api *API) UserBillingProfile() (UserBillingProfile, error) + func (api *API) UserDetails() (User, error) + func (api *API) ValidateFilterExpression(expression string) error + func (api *API) ValidateLogpushOwnershipChallenge(zoneID, destinationConf, ownershipChallenge string) (bool, error) + func (api *API) VirtualDNS(virtualDNSID string) (*VirtualDNS, error) + func (api *API) VirtualDNSUserAnalytics(virtualDNSID string, o VirtualDNSUserAnalyticsOptions) (VirtualDNSAnalytics, error) + func (api *API) WAFGroup(zoneID, packageID, groupID string) (WAFGroup, error) + func (api *API) WAFOverride(zoneID, overrideID string) (WAFOverride, error) + func (api *API) WAFPackage(zoneID, packageID string) (WAFPackage, error) + func (api *API) WAFRule(zoneID, packageID, ruleID string) (WAFRule, error) + func (api *API) WriteWorkersKV(ctx context.Context, namespaceID, key string, value []byte) (Response, error) + func (api *API) WriteWorkersKVBulk(ctx context.Context, namespaceID string, kvs WorkersKVBulkWriteRequest) (Response, error) + func (api *API) ZoneAccessRule(zoneID string, accessRuleID string) (*AccessRuleResponse, error) + func (api *API) ZoneActivationCheck(zoneID string) (Response, error) + func (api *API) ZoneAnalyticsByColocation(zoneID string, options ZoneAnalyticsOptions) ([]ZoneAnalyticsColocation, error) + func (api *API) ZoneAnalyticsDashboard(zoneID string, options ZoneAnalyticsOptions) (ZoneAnalyticsData, error) + func (api *API) ZoneDetails(zoneID string) (Zone, error) + func (api *API) ZoneExport(zoneID string) (string, error) + func (api *API) ZoneIDByName(zoneName string) (string, error) + func (api *API) ZoneImport(zoneID string, fileName string) (string, error) + func (api *API) ZoneLockdown(zoneID string, id string) (*ZoneLockdownResponse, error) + func (api *API) ZoneRailgunDetails(zoneID, railgunID string) (ZoneRailgun, error) + func (api *API) ZoneRailguns(zoneID string) ([]ZoneRailgun, error) + func (api *API) ZoneSSLSettings(zoneID string) (ZoneSSLSetting, error) + func (api *API) ZoneSetPaused(zoneID string, paused bool) (Zone, error) + func (api *API) ZoneSetPlan(zoneID string, planType string) error + func (api *API) ZoneSetVanityNS(zoneID string, ns []string) (Zone, error) + func (api *API) ZoneSettings(zoneID string) (*ZoneSettingResponse, error) + func (api *API) ZoneSingleSetting(zoneID, settingName string) (ZoneSetting, error) + func (api *API) ZoneUpdatePlan(zoneID string, planType string) error + func (api API) DeleteWorkersKV(ctx context.Context, namespaceID, key string) (Response, error) + func (api API) ListWorkersKVs(ctx context.Context, namespaceID string) (ListStorageKeysResponse, error) + func (api API) ReadWorkersKV(ctx context.Context, namespaceID, key string) ([]byte, error) + type AccessApplication struct + AUD string + CreatedAt *time.Time + Domain string + ID string + Name string + SessionDuration string + UpdatedAt *time.Time + type AccessApplicationDetailResponse struct + Errors []string + Messages []string + Result AccessApplication + Success bool + type AccessApplicationListResponse struct + Result []AccessApplication + type AccessGroup struct + CreatedAt *time.Time + Exclude []interface{} + ID string + Include []interface{} + Name string + Require []interface{} + UpdatedAt *time.Time + type AccessGroupAccessGroup struct + Group struct{ ... } + type AccessGroupAnyValidServiceToken struct + AnyValidServiceToken struct{} + type AccessGroupAzure struct + AzureAD struct{ ... } + type AccessGroupCertificate struct + Certificate struct{} + type AccessGroupCertificateCommonName struct + CommonName struct{ ... } + type AccessGroupDetailResponse struct + Errors []string + Messages []string + Result AccessGroup + Success bool + type AccessGroupEmail struct + Email struct{ ... } + type AccessGroupEmailDomain struct + EmailDomain struct{ ... } + type AccessGroupEveryone struct + Everyone struct{} + type AccessGroupGSuite struct + Gsuite struct{ ... } + type AccessGroupGitHub struct + GitHubOrganization struct{ ... } + type AccessGroupIP struct + IP struct{ ... } + type AccessGroupListResponse struct + Result []AccessGroup + type AccessGroupOkta struct + Okta struct{ ... } + type AccessGroupSAML struct + Saml struct{ ... } + type AccessGroupServiceToken struct + ServiceToken struct{ ... } + type AccessIdentityProvider struct + Config AccessIdentityProviderConfiguration + ID string + Name string + Type string + type AccessIdentityProviderConfiguration struct + AppsDomain string + Attributes []string + AuthURL string + CentrifyAccount string + CentrifyAppID string + CertsURL string + ClientID string + ClientSecret string + DirectoryID string + EmailAttributeName string + IdpPublicCert string + IssuerURL string + OktaAccount string + OneloginAccount string + RedirectURL string + SignRequest bool + SsoTargetURL string + SupportGroups bool + TokenURL string + type AccessIdentityProviderListResponse struct + Result AccessIdentityProvider + type AccessIdentityProvidersListResponse struct + Result []AccessIdentityProvider + type AccessOrganization struct + AuthDomain string + CreatedAt *time.Time + LoginDesign AccessOrganizationLoginDesign + Name string + UpdatedAt *time.Time + type AccessOrganizationDetailResponse struct + Errors []string + Messages []string + Result AccessOrganization + Success bool + type AccessOrganizationListResponse struct + Result AccessOrganization + type AccessOrganizationLoginDesign struct + BackgroundColor string + LogoPath string + TextColor string + type AccessPolicy struct + CreatedAt *time.Time + Decision string + Exclude []interface{} + ID string + Include []interface{} + Name string + Precedence int + Require []interface{} + UpdatedAt *time.Time + type AccessPolicyDetailResponse struct + Errors []string + Messages []string + Result AccessPolicy + Success bool + type AccessPolicyListResponse struct + Result []AccessPolicy + type AccessRule struct + AllowedModes []string + Configuration AccessRuleConfiguration + CreatedOn time.Time + ID string + Mode string + ModifiedOn time.Time + Notes string + Scope AccessRuleScope + type AccessRuleConfiguration struct + Target string + Value string + type AccessRuleListResponse struct + Result []AccessRule + type AccessRuleResponse struct + Result AccessRule + type AccessRuleScope struct + Email string + ID string + Name string + Type string + type AccessServiceToken struct + ClientID string + CreatedAt *time.Time + ExpiresAt *time.Time + ID string + Name string + UpdatedAt *time.Time + type AccessServiceTokenCreateResponse struct + ClientID string + ClientSecret string + CreatedAt *time.Time + ID string + Name string + UpdatedAt *time.Time + type AccessServiceTokenUpdateResponse struct + ClientID string + CreatedAt *time.Time + ID string + Name string + UpdatedAt *time.Time + type AccessServiceTokensCreationDetailResponse struct + Errors []string + Messages []string + Result AccessServiceTokenCreateResponse + Success bool + type AccessServiceTokensDetailResponse struct + Errors []string + Messages []string + Result AccessServiceToken + Success bool + type AccessServiceTokensListResponse struct + Result []AccessServiceToken + type AccessServiceTokensUpdateDetailResponse struct + Errors []string + Messages []string + Result AccessServiceTokenUpdateResponse + Success bool + type Account struct + ID string + Name string + Settings *AccountSettings + type AccountDetailResponse struct + Errors []string + Messages []string + Result Account + Success bool + type AccountListResponse struct + Result []Account + type AccountMember struct + Code string + ID string + Roles []AccountRole + Status string + User AccountMemberUserDetails + type AccountMemberDetailResponse struct + Errors []string + Messages []string + Result AccountMember + Success bool + type AccountMemberInvitation struct + Email string + Roles []string + type AccountMemberUserDetails struct + Email string + FirstName string + ID string + LastName string + TwoFactorAuthenticationEnabled bool + type AccountMembersListResponse struct + Result []AccountMember + type AccountResponse struct + Result Account + type AccountRole struct + Description string + ID string + Name string + Permissions map[string]AccountRolePermission + type AccountRoleDetailResponse struct + Errors []string + Messages []string + Result AccountRole + Success bool + type AccountRolePermission struct + Edit bool + Read bool + type AccountRolesListResponse struct + Result []AccountRole + type AccountSettings struct + EnforceTwoFactor bool + type ArgoDetailsResponse struct + Result ArgoFeatureSetting + type ArgoFeatureSetting struct + Editable bool + ID string + ModifiedOn time.Time + Value string + type AuditLog struct + Action AuditLogAction + Actor AuditLogActor + ID string + Metadata map[string]interface{} + NewValue string + OldValue string + Owner AuditLogOwner + Resource AuditLogResource + When time.Time + type AuditLogAction struct + Result bool + Type string + type AuditLogActor struct + Email string + ID string + IP string + Type string + type AuditLogFilter struct + ActorEmail string + ActorIP string + Before string + Direction string + ID string + Page int + PerPage int + Since string + ZoneName string + func (a AuditLogFilter) ToQuery() url.Values + type AuditLogOwner struct + ID string + type AuditLogResource struct + ID string + Type string + type AuditLogResponse struct + Response Response + Result []AuditLog + type AvailableZonePlansResponse struct + Result []ZonePlan + type AvailableZoneRatePlansResponse struct + Result []ZoneRatePlan + type CustomHostname struct + CustomMetadata CustomMetadata + CustomOriginServer string + Hostname string + ID string + OwnershipVerification CustomHostnameOwnershipVerification + SSL CustomHostnameSSL + Status CustomHostnameStatus + VerificationErrors []string + type CustomHostnameListResponse struct + Result []CustomHostname + type CustomHostnameOwnershipVerification struct + Name string + Type string + Value string + type CustomHostnameResponse struct + Result CustomHostname + type CustomHostnameSSL struct + CnameName string + CnameTarget string + Method string + Settings CustomHostnameSSLSettings + Status string + Type string + type CustomHostnameSSLSettings struct + Ciphers []string + HTTP2 string + MinTLSVersion string + TLS13 string + type CustomHostnameStatus string + const ACTIVE + const MOVED + const PENDING + const REMOVED + type CustomMetadata map[string]interface + type CustomPage struct + CreatedOn time.Time + Description string + ID string + ModifiedOn time.Time + PreviewTarget string + RequiredTokens []string + State string + URL interface{} + type CustomPageDetailResponse struct + Result CustomPage + type CustomPageOptions struct + AccountID string + ZoneID string + type CustomPageParameters struct + State string + URL interface{} + type CustomPageResponse struct + Result []CustomPage + type DNSListResponse struct + Result []DNSRecord + type DNSRecord struct + Content string + CreatedOn time.Time + Data interface{} + ID string + Locked bool + Meta interface{} + ModifiedOn time.Time + Name string + Priority int + Proxiable bool + Proxied bool + TTL int + Type string + ZoneID string + ZoneName string + type DNSRecordResponse struct + Result DNSRecord + type Duration struct + func (d *Duration) UnmarshalJSON(buf []byte) error + func (d Duration) MarshalJSON() ([]byte, error) + type Error interface + Network func() bool + Parse func() bool + User func() bool + type FallbackOrigin struct + ID string + Value string + type FallbackOriginResponse struct + Result FallbackOrigin + type Filter struct + Description string + Expression string + ID string + Paused bool + Ref string + type FilterDetailResponse struct + Result Filter + type FilterValidateExpression struct + Expression string + type FilterValidateExpressionResponse struct + Errors []FilterValidationExpressionMessage + Success bool + type FilterValidationExpressionMessage struct + Message string + type FiltersDetailResponse struct + Result []Filter + type FirewallRule struct + Action string + CreatedOn time.Time + Description string + Filter Filter + ID string + ModifiedOn time.Time + Paused bool + Priority interface{} + Products []string + type FirewallRuleResponse struct + Result FirewallRule + type FirewallRulesDetailResponse struct + Result []FirewallRule + type Healthcheck struct + Address string + CheckRegions []string + ConsecutiveFails int + ConsecutiveSuccesses int + CreatedOn *time.Time + Description string + FailureReason string + HTTPConfig *HealthcheckHTTPConfig + ID string + Interval int + ModifiedOn *time.Time + Name string + Notification HealthcheckNotification + Retries int + Status string + Suspended bool + TCPConfig *HealthcheckTCPConfig + Timeout int + Type string + type HealthcheckHTTPConfig struct + AllowInsecure bool + ExpectedBody string + ExpectedCodes []string + FollowRedirects bool + Header map[string][]string + Method string + Path string + Port uint16 + type HealthcheckListResponse struct + Result []Healthcheck + type HealthcheckNotification struct + EmailAddresses []string + Suspended bool + type HealthcheckResponse struct + Result Healthcheck + type HealthcheckTCPConfig struct + Method string + Port uint16 + type IPRanges struct + IPv4CIDRs []string + IPv6CIDRs []string + func IPs() (IPRanges, error) + type IPsResponse struct + Result IPRanges + type KeylessSSL struct + CreatedOn time.Time + Enabled bool + Host string + ID string + ModifiedOn time.Time + Name string + Permissions []string + Port int + Status string + type KeylessSSLResponse struct + Result []KeylessSSL + type ListStorageKeysResponse struct + Result []StorageKey + type ListWorkersKVNamespacesResponse struct + Result []WorkersKVNamespace + type LoadBalancer struct + CreatedOn *time.Time + DefaultPools []string + Description string + Enabled *bool + FallbackPool string + ID string + ModifiedOn *time.Time + Name string + Persistence string + PersistenceTTL int + PopPools map[string][]string + Proxied bool + RegionPools map[string][]string + SteeringPolicy string + TTL int + type LoadBalancerMonitor struct + AllowInsecure bool + CreatedOn *time.Time + Description string + ExpectedBody string + ExpectedCodes string + FollowRedirects bool + Header map[string][]string + ID string + Interval int + Method string + ModifiedOn *time.Time + Path string + Port uint16 + ProbeZone string + Retries int + Timeout int + Type string + type LoadBalancerOrigin struct + Address string + Enabled bool + Name string + Weight float64 + type LoadBalancerOriginHealth struct + FailureReason string + Healthy bool + RTT Duration + ResponseCode int + type LoadBalancerPool struct + CheckRegions []string + CreatedOn *time.Time + Description string + Enabled bool + ID string + MinimumOrigins int + ModifiedOn *time.Time + Monitor string + Name string + NotificationEmail string + Origins []LoadBalancerOrigin + type LoadBalancerPoolHealth struct + ID string + PopHealth map[string]LoadBalancerPoolPopHealth + type LoadBalancerPoolPopHealth struct + Healthy bool + Origins []map[string]LoadBalancerOriginHealth + type Logger interface + Printf func(format string, v ...interface{}) + type LogpushDestinationExistsRequest struct + DestinationConf string + type LogpushDestinationExistsResponse struct + Result struct{ ... } + type LogpushFields map[string]string + type LogpushFieldsResponse struct + Result LogpushFields + type LogpushGetOwnershipChallenge struct + Filename string + Message string + Valid bool + type LogpushGetOwnershipChallengeRequest struct + DestinationConf string + type LogpushGetOwnershipChallengeResponse struct + Result LogpushGetOwnershipChallenge + type LogpushJob struct + Dataset string + DestinationConf string + Enabled bool + ErrorMessage string + ID int + LastComplete *time.Time + LastError *time.Time + LogpullOptions string + Name string + OwnershipChallenge string + type LogpushJobDetailsResponse struct + Result LogpushJob + type LogpushJobsResponse struct + Result []LogpushJob + type LogpushOwnershipChallangeValidationResponse struct + Result struct{ ... } + type LogpushValidateOwnershipChallengeRequest struct + DestinationConf string + OwnershipChallenge string + type Option func(*API) error + func HTTPClient(client *http.Client) Option + func Headers(headers http.Header) Option + func UserAgent(userAgent string) Option + func UsingAccount(accountID string) Option + func UsingLogger(logger Logger) Option + func UsingRateLimit(rps float64) Option + func UsingRetryPolicy(maxRetries int, minRetryDelaySecs int, maxRetryDelaySecs int) Option + type OriginCACertificate struct + CSR string + Certificate string + ExpiresOn time.Time + Hostnames []string + ID string + RequestType string + RequestValidity int + RevokedAt time.Time + func (c *OriginCACertificate) UnmarshalJSON(data []byte) error + type OriginCACertificateID struct + ID string + type OriginCACertificateListOptions struct + ZoneID string + type Owner struct + Email string + ID string + Name string + OwnerType string + type PageRule struct + Actions []PageRuleAction + CreatedOn time.Time + ID string + ModifiedOn time.Time + Priority int + Status string + Targets []PageRuleTarget + type PageRuleAction struct + ID string + Value interface{} + type PageRuleDetailResponse struct + Errors []string + Messages []string + Result PageRule + Success bool + type PageRuleTarget struct + Constraint struct{ ... } + Target string + type PageRulesResponse struct + Errors []string + Messages []string + Result []PageRule + Success bool + type PaginationOptions struct + Page int + PerPage int + type ProxyProtocol string + func (p *ProxyProtocol) UnmarshalJSON(data []byte) error + type PurgeCacheRequest struct + Everything bool + Files []string + Hosts []string + Tags []string + type PurgeCacheResponse struct + Result struct{ ... } + type Railgun struct + ActivatedOn time.Time + ActivationKey string + Build string + CreatedOn time.Time + Enabled bool + ID string + ModifiedOn time.Time + Name string + Revision string + Status string + UpgradeInfo struct{ ... } + Version string + ZonesConnected int + type RailgunDiagnosis struct + BodyHash string + BodySize string + CFCacheStatus string + CFRay string + CFWANError string + Cloudflare string + ConnectionClose bool + ElapsedTime string + HTTPStatus int + HostName string + Method string + MissingHeaders string + Protocol string + Railgun string + ResponseStatus string + URL string + type RailgunListOptions struct + Direction string + type RateLimit struct + Action RateLimitAction + Bypass []RateLimitKeyValue + Correlate *RateLimitCorrelate + Description string + Disabled bool + ID string + Match RateLimitTrafficMatcher + Period int + Threshold int + type RateLimitAction struct + Mode string + Response *RateLimitActionResponse + Timeout int + type RateLimitActionResponse struct + Body string + ContentType string + type RateLimitCorrelate struct + By string + type RateLimitKeyValue struct + Name string + Value string + type RateLimitRequestMatcher struct + Methods []string + Schemes []string + URLPattern string + type RateLimitResponseMatcher struct + Headers []RateLimitResponseMatcherHeader + OriginTraffic *bool + Statuses []int + type RateLimitResponseMatcherHeader struct + Name string + Op string + Value string + type RateLimitTrafficMatcher struct + Request RateLimitRequestMatcher + Response RateLimitResponseMatcher + type RawResponse struct + Result json.RawMessage + type RegistrantContact struct + Address string + Address2 string + City string + Country string + Email string + Fax string + FirstName string + ID string + LastName string + Organization string + Phone string + State string + Zip string + type RegistrarDomain struct + Available bool + CanRegister bool + CreatedAt time.Time + CurrentRegistrar string + ExpiresAt time.Time + ID string + Locked bool + RegistrantContact RegistrantContact + RegistryStatuses string + SupportedTLD bool + TransferIn RegistrarTransferIn + UpdatedAt time.Time + type RegistrarDomainConfiguration struct + AutoRenew bool + Locked bool + NameServers []string + Privacy bool + type RegistrarDomainDetailResponse struct + Result RegistrarDomain + type RegistrarDomainsDetailResponse struct + Result []RegistrarDomain + type RegistrarTransferIn struct + AcceptFoa string + ApproveTransfer string + CanCancelTransfer bool + DisablePrivacy string + EnterAuthCode string + UnlockDomain string + type ReqOption func(opt *reqOption) + func WithPagination(opts PaginationOptions) ReqOption + func WithZoneFilter(zone string) ReqOption + type Response struct + Errors []ResponseInfo + Messages []ResponseInfo + Success bool + type ResponseInfo struct + Code int + Message string + type ResultInfo struct + Count int + Page int + PerPage int + Total int + TotalPages int + type RetryPolicy struct + MaxRetries int + MaxRetryDelay time.Duration + MinRetryDelay time.Duration + type SpectrumApplication struct + ArgoSmartRouting bool + CreatedOn *time.Time + DNS SpectrumApplicationDNS + EdgeIPs *SpectrumApplicationEdgeIPs + ID string + IPFirewall bool + IPv4 bool + ModifiedOn *time.Time + OriginDNS *SpectrumApplicationOriginDNS + OriginDirect []string + OriginPort int + Protocol string + ProxyProtocol ProxyProtocol + TLS string + TrafficType string + func (a *SpectrumApplication) UnmarshalJSON(data []byte) error + type SpectrumApplicationConnectivity string + const SpectrumConnectivityAll + const SpectrumConnectivityIPv4 + const SpectrumConnectivityIPv6 + const SpectrumConnectivityStatic + func (c *SpectrumApplicationConnectivity) UnmarshalJSON(b []byte) error + func (c SpectrumApplicationConnectivity) Dynamic() bool + func (c SpectrumApplicationConnectivity) Static() bool + func (c SpectrumApplicationConnectivity) String() string + type SpectrumApplicationDNS struct + Name string + Type string + type SpectrumApplicationDetailResponse struct + Result SpectrumApplication + type SpectrumApplicationEdgeIPs struct + Connectivity *SpectrumApplicationConnectivity + IPs []net.IP + Type SpectrumApplicationEdgeType + type SpectrumApplicationEdgeType string + const SpectrumEdgeTypeDynamic + const SpectrumEdgeTypeStatic + func (t *SpectrumApplicationEdgeType) UnmarshalJSON(b []byte) error + func (t SpectrumApplicationEdgeType) String() string + type SpectrumApplicationOriginDNS struct + Name string + type SpectrumApplicationsDetailResponse struct + Result []SpectrumApplication + type StorageKey struct + Name string + type UniversalSSLSetting struct + Enabled bool + type UniversalSSLVerificationDetails struct + BrandCheck bool + CertPackUUID string + CertificateStatus string + ValidationMethod string + VerificationInfo UniversalSSLVerificationInfo + VerificationStatus bool + VerificationType string + type UniversalSSLVerificationInfo struct + RecordName string + RecordTarget string + type User struct + APIKey string + Accounts []Account + Betas []string + Country string + CreatedOn *time.Time + Email string + FirstName string + ID string + LastName string + ModifiedOn *time.Time + Telephone string + TwoFA bool + Username string + Zipcode string + type UserAgentRule struct + Configuration UserAgentRuleConfig + Description string + ID string + Mode string + Paused bool + type UserAgentRuleConfig ZoneLockdownConfig + type UserAgentRuleListResponse struct + Result []UserAgentRule + type UserAgentRuleResponse struct + Result UserAgentRule + type UserBillingProfile struct + Address string + Address2 string + CardExpiryMonth int + CardExpiryYear int + CardNumber string + City string + Company string + Country string + CreatedOn *time.Time + EditedOn *time.Time + FirstName string + ID string + LastName string + State string + Telephone string + VAT string + ZipCode string + type UserError struct + Err error + func (e *UserError) Error() string + func (e *UserError) Network() bool + func (e *UserError) Parse() bool + func (e *UserError) User() bool + type UserResponse struct + Result User + type VirtualDNS struct + DeprecateAnyRequests bool + ID string + MaximumCacheTTL uint + MinimumCacheTTL uint + ModifiedOn string + Name string + OriginIPs []string + VirtualDNSIPs []string + type VirtualDNSAnalytics struct + Max VirtualDNSAnalyticsMetrics + Min VirtualDNSAnalyticsMetrics + Totals VirtualDNSAnalyticsMetrics + type VirtualDNSAnalyticsMetrics struct + QueryCount *int64 + ResponseTime90th *float64 + ResponseTime99th *float64 + ResponseTimeAvg *float64 + ResponseTimeMedian *float64 + StaleCount *int64 + UncachedCount *int64 + type VirtualDNSAnalyticsResponse struct + Result VirtualDNSAnalytics + type VirtualDNSListResponse struct + Result []*VirtualDNS + type VirtualDNSResponse struct + Result *VirtualDNS + type VirtualDNSUserAnalyticsOptions struct + Metrics []string + Since *time.Time + Until *time.Time + type WAFGroup struct + AllowedModes []string + Description string + ID string + Mode string + ModifiedRulesCount int + Name string + PackageID string + RulesCount int + type WAFGroupResponse struct + Result WAFGroup + ResultInfo ResultInfo + type WAFGroupsResponse struct + Result []WAFGroup + ResultInfo ResultInfo + type WAFOverride struct + Description string + Groups map[string]string + ID string + Paused bool + Priority int + RewriteAction map[string]string + Rules map[string]string + URLs []string + type WAFOverrideResponse struct + Result WAFOverride + ResultInfo ResultInfo + type WAFOverridesResponse struct + Result []WAFOverride + ResultInfo ResultInfo + type WAFPackage struct + ActionMode string + Description string + DetectionMode string + ID string + Name string + Sensitivity string + ZoneID string + type WAFPackageOptions struct + ActionMode string + Sensitivity string + type WAFPackageResponse struct + Result WAFPackage + ResultInfo ResultInfo + type WAFPackagesResponse struct + Result []WAFPackage + ResultInfo ResultInfo + type WAFRule struct + AllowedModes []string + DefaultMode string + Description string + Group struct{ ... } + ID string + Mode string + PackageID string + Priority string + type WAFRuleOptions struct + Mode string + type WAFRuleResponse struct + Result WAFRule + ResultInfo ResultInfo + type WAFRulesResponse struct + Result []WAFRule + ResultInfo ResultInfo + type WorkerBinding interface + Type func() WorkerBindingType + type WorkerBindingListItem struct + Binding WorkerBinding + Name string + type WorkerBindingListResponse struct + BindingList []WorkerBindingListItem + type WorkerBindingType string + const WorkerInheritBindingType + const WorkerKvNamespaceBindingType + const WorkerWebAssemblyBindingType + func (b WorkerBindingType) String() string + type WorkerInheritBinding struct + OldName string + func (b WorkerInheritBinding) Type() WorkerBindingType + type WorkerKvNamespaceBinding struct + NamespaceID string + func (b WorkerKvNamespaceBinding) Type() WorkerBindingType + type WorkerListResponse struct + WorkerList []WorkerMetaData + type WorkerMetaData struct + CreatedOn time.Time + ETAG string + ID string + ModifiedOn time.Time + Size int + type WorkerRequestParams struct + ScriptName string + ZoneID string + type WorkerRoute struct + Enabled bool + ID string + Pattern string + Script string + type WorkerRouteResponse struct + type WorkerRoutesResponse struct + Routes []WorkerRoute + type WorkerScript struct + Script string + type WorkerScriptParams struct + Bindings map[string]WorkerBinding + Script string + type WorkerScriptResponse struct + type WorkerWebAssemblyBinding struct + Module io.Reader + func (b WorkerWebAssemblyBinding) Type() WorkerBindingType + type WorkersKVBulkWriteRequest []*WorkersKVPair + type WorkersKVNamespace struct + ID string + Title string + type WorkersKVNamespaceRequest struct + Title string + type WorkersKVNamespaceResponse struct + Result WorkersKVNamespace + type WorkersKVPair struct + Expiration int + ExpirationTTL int + Key string + Value string + type Zone struct + Account Account + Betas []string + CreatedOn time.Time + DeactReason string + DevMode int + Host struct{ ... } + ID string + Meta ZoneMeta + ModifiedOn time.Time + Name string + NameServers []string + OriginalDNSHost string + OriginalNS []string + OriginalRegistrar string + Owner Owner + Paused bool + Permissions []string + Plan ZonePlan + PlanPending ZonePlan + Status string + Type string + VanityNS []string + VerificationKey string + type ZoneAnalytics struct + Bandwidth struct{ ... } + Pageviews struct{ ... } + Requests struct{ ... } + Since time.Time + Threats struct{ ... } + Uniques struct{ ... } + Until time.Time + type ZoneAnalyticsColocation struct + ColocationID string + Timeseries []ZoneAnalytics + type ZoneAnalyticsData struct + Timeseries []ZoneAnalytics + Totals ZoneAnalytics + type ZoneAnalyticsOptions struct + Continuous *bool + Since *time.Time + Until *time.Time + type ZoneCustomSSL struct + BundleMethod string + ExpiresOn time.Time + GeoRestrictions ZoneCustomSSLGeoRestrictions + Hosts []string + ID string + Issuer string + KeylessServer KeylessSSL + ModifiedOn time.Time + Priority int + Signature string + Status string + UploadedOn time.Time + ZoneID string + type ZoneCustomSSLGeoRestrictions struct + Label string + type ZoneCustomSSLOptions struct + BundleMethod string + Certificate string + GeoRestrictions ZoneCustomSSLGeoRestrictions + PrivateKey string + Type string + type ZoneCustomSSLPriority struct + ID string + Priority int + type ZoneID struct + ID string + type ZoneIDResponse struct + Result ZoneID + type ZoneLockdown struct + Configurations []ZoneLockdownConfig + Description string + ID string + Paused bool + Priority int + URLs []string + type ZoneLockdownConfig struct + Target string + Value string + type ZoneLockdownListResponse struct + Result []ZoneLockdown + type ZoneLockdownResponse struct + Result ZoneLockdown + type ZoneMeta struct + PageRuleQuota int + PhishingDetected bool + WildcardProxiable bool + type ZoneOptions struct + Paused *bool + Plan *ZonePlan + VanityNS []string + type ZonePlan struct + CanSubscribe bool + ExternallyManaged bool + IsSubscribed bool + LegacyDiscount bool + LegacyID string + type ZonePlanCommon struct + Currency string + Frequency string + ID string + Name string + Price int + type ZoneRailgun struct + Connected bool + Enabled bool + ID string + Name string + type ZoneRatePlan struct + Components []zoneRatePlanComponents + type ZoneRatePlanResponse struct + Result ZoneRatePlan + type ZoneResponse struct + Result Zone + type ZoneSSLSetting struct + CertificateStatus string + Editable bool + ID string + ModifiedOn string + Value string + type ZoneSSLSettingResponse struct + Result ZoneSSLSetting + type ZoneSetting struct + Editable bool + ID string + ModifiedOn string + TimeRemaining int + Value interface{} + type ZoneSettingResponse struct + Result []ZoneSetting + type ZoneSettingSingleResponse struct + Result ZoneSetting + type ZonesResponse struct + Result []Zone