Versions in this module Expand all Collapse all v3 v3.1.0 Sep 24, 2024 v3.0.1 Sep 23, 2024 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 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 + type ASN = shared.ASN + type ASNParam = shared.ASNParam + 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 CustomCertificate struct + BundleMethod custom_hostnames.BundleMethod + ExpiresOn time.Time + GeoRestrictions GeoRestrictions + Hosts []string + ID string + Issuer string + JSON customCertificateJSON + KeylessServer keyless_certificates.KeylessCertificate + ModifiedOn time.Time + Policy string + Priority float64 + Signature string + Status CustomCertificateStatus + UploadedOn time.Time + ZoneID string + func (r *CustomCertificate) UnmarshalJSON(data []byte) (err error) + type CustomCertificateDeleteParams struct + ZoneID param.Field[string] + type CustomCertificateDeleteResponse struct + ID string + JSON customCertificateDeleteResponseJSON + func (r *CustomCertificateDeleteResponse) UnmarshalJSON(data []byte) (err error) + type CustomCertificateDeleteResponseEnvelope struct + Errors []shared.ResponseInfo + JSON customCertificateDeleteResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result CustomCertificateDeleteResponse + Success CustomCertificateDeleteResponseEnvelopeSuccess + func (r *CustomCertificateDeleteResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type CustomCertificateDeleteResponseEnvelopeSuccess bool + const CustomCertificateDeleteResponseEnvelopeSuccessTrue + func (r CustomCertificateDeleteResponseEnvelopeSuccess) IsKnown() bool + type CustomCertificateEditParams struct + BundleMethod param.Field[custom_hostnames.BundleMethod] + Certificate param.Field[string] + GeoRestrictions param.Field[GeoRestrictionsParam] + Policy param.Field[string] + PrivateKey param.Field[string] + ZoneID param.Field[string] + func (r CustomCertificateEditParams) MarshalJSON() (data []byte, err error) + type CustomCertificateEditResponseEnvelope struct + Errors []shared.ResponseInfo + JSON customCertificateEditResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result CustomCertificate + Success CustomCertificateEditResponseEnvelopeSuccess + func (r *CustomCertificateEditResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type CustomCertificateEditResponseEnvelopeSuccess bool + const CustomCertificateEditResponseEnvelopeSuccessTrue + func (r CustomCertificateEditResponseEnvelopeSuccess) IsKnown() bool + type CustomCertificateGetParams struct + ZoneID param.Field[string] + type CustomCertificateGetResponseEnvelope struct + Errors []shared.ResponseInfo + JSON customCertificateGetResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result CustomCertificate + Success CustomCertificateGetResponseEnvelopeSuccess + func (r *CustomCertificateGetResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type CustomCertificateGetResponseEnvelopeSuccess bool + const CustomCertificateGetResponseEnvelopeSuccessTrue + func (r CustomCertificateGetResponseEnvelopeSuccess) IsKnown() bool + type CustomCertificateListParams struct + Match param.Field[CustomCertificateListParamsMatch] + Page param.Field[float64] + PerPage param.Field[float64] + Status param.Field[CustomCertificateListParamsStatus] + ZoneID param.Field[string] + func (r CustomCertificateListParams) URLQuery() (v url.Values) + type CustomCertificateListParamsMatch string + const CustomCertificateListParamsMatchAll + const CustomCertificateListParamsMatchAny + func (r CustomCertificateListParamsMatch) IsKnown() bool + type CustomCertificateListParamsStatus string + const CustomCertificateListParamsStatusActive + const CustomCertificateListParamsStatusDeleted + const CustomCertificateListParamsStatusExpired + const CustomCertificateListParamsStatusInitializing + const CustomCertificateListParamsStatusPending + func (r CustomCertificateListParamsStatus) IsKnown() bool + type CustomCertificateNewParams struct + BundleMethod param.Field[custom_hostnames.BundleMethod] + Certificate param.Field[string] + GeoRestrictions param.Field[GeoRestrictionsParam] + Policy param.Field[string] + PrivateKey param.Field[string] + Type param.Field[CustomCertificateNewParamsType] + ZoneID param.Field[string] + func (r CustomCertificateNewParams) MarshalJSON() (data []byte, err error) + type CustomCertificateNewParamsType string + const CustomCertificateNewParamsTypeLegacyCustom + const CustomCertificateNewParamsTypeSNICustom + func (r CustomCertificateNewParamsType) IsKnown() bool + type CustomCertificateNewResponseEnvelope struct + Errors []shared.ResponseInfo + JSON customCertificateNewResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result CustomCertificate + Success CustomCertificateNewResponseEnvelopeSuccess + func (r *CustomCertificateNewResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type CustomCertificateNewResponseEnvelopeSuccess bool + const CustomCertificateNewResponseEnvelopeSuccessTrue + func (r CustomCertificateNewResponseEnvelopeSuccess) IsKnown() bool + type CustomCertificateService struct + Options []option.RequestOption + Prioritize *PrioritizeService + func NewCustomCertificateService(opts ...option.RequestOption) (r *CustomCertificateService) + func (r *CustomCertificateService) Delete(ctx context.Context, customCertificateID string, ...) (res *CustomCertificateDeleteResponse, err error) + func (r *CustomCertificateService) Edit(ctx context.Context, customCertificateID string, ...) (res *CustomCertificate, err error) + func (r *CustomCertificateService) Get(ctx context.Context, customCertificateID string, ...) (res *CustomCertificate, err error) + func (r *CustomCertificateService) List(ctx context.Context, params CustomCertificateListParams, ...) (res *pagination.V4PagePaginationArray[CustomCertificate], err error) + func (r *CustomCertificateService) ListAutoPaging(ctx context.Context, params CustomCertificateListParams, ...) *pagination.V4PagePaginationArrayAutoPager[CustomCertificate] + func (r *CustomCertificateService) New(ctx context.Context, params CustomCertificateNewParams, ...) (res *CustomCertificate, err error) + type CustomCertificateStatus string + const CustomCertificateStatusActive + const CustomCertificateStatusDeleted + const CustomCertificateStatusExpired + const CustomCertificateStatusInitializing + const CustomCertificateStatusPending + func (r CustomCertificateStatus) IsKnown() bool + type Error = apierror.Error + type ErrorData = shared.ErrorData + type GeoRestrictions struct + JSON geoRestrictionsJSON + Label GeoRestrictionsLabel + func (r *GeoRestrictions) UnmarshalJSON(data []byte) (err error) + type GeoRestrictionsLabel string + const GeoRestrictionsLabelEu + const GeoRestrictionsLabelHighestSecurity + const GeoRestrictionsLabelUs + func (r GeoRestrictionsLabel) IsKnown() bool + type GeoRestrictionsParam struct + Label param.Field[GeoRestrictionsLabel] + func (r GeoRestrictionsParam) MarshalJSON() (data []byte, err error) + type MemberParam = shared.MemberParam + type MemberRoleParam = shared.MemberRoleParam + type MemberRolesPermissionsParam = shared.MemberRolesPermissionsParam + type MemberStatus = shared.MemberStatus + type MemberUserParam = shared.MemberUserParam + type Permission = shared.Permission + type PermissionGrant = shared.PermissionGrant + type PermissionGrantParam = shared.PermissionGrantParam + type PrioritizeService struct + Options []option.RequestOption + func NewPrioritizeService(opts ...option.RequestOption) (r *PrioritizeService) + func (r *PrioritizeService) Update(ctx context.Context, params PrioritizeUpdateParams, ...) (res *[]CustomCertificate, err error) + type PrioritizeUpdateParams struct + Certificates param.Field[[]PrioritizeUpdateParamsCertificate] + ZoneID param.Field[string] + func (r PrioritizeUpdateParams) MarshalJSON() (data []byte, err error) + type PrioritizeUpdateParamsCertificate struct + ID param.Field[string] + Priority param.Field[float64] + func (r PrioritizeUpdateParamsCertificate) MarshalJSON() (data []byte, err error) + type PrioritizeUpdateResponseEnvelope struct + Errors []shared.ResponseInfo + JSON prioritizeUpdateResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result []CustomCertificate + ResultInfo PrioritizeUpdateResponseEnvelopeResultInfo + Success PrioritizeUpdateResponseEnvelopeSuccess + func (r *PrioritizeUpdateResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type PrioritizeUpdateResponseEnvelopeResultInfo struct + Count float64 + JSON prioritizeUpdateResponseEnvelopeResultInfoJSON + Page float64 + PerPage float64 + TotalCount float64 + func (r *PrioritizeUpdateResponseEnvelopeResultInfo) UnmarshalJSON(data []byte) (err error) + type PrioritizeUpdateResponseEnvelopeSuccess bool + const PrioritizeUpdateResponseEnvelopeSuccessTrue + func (r PrioritizeUpdateResponseEnvelopeSuccess) IsKnown() bool + type RatePlan = shared.RatePlan + type RatePlanParam = shared.RatePlanParam + type ResponseInfo = shared.ResponseInfo + type Role = shared.Role + type SortDirection = shared.SortDirection + type Status string + const StatusActive + const StatusPendingReactivation + const StatusPendingRevocation + const StatusRevoked + func (r Status) IsKnown() bool + type Subscription = shared.Subscription + type SubscriptionFrequency = shared.SubscriptionFrequency + type SubscriptionParam = shared.SubscriptionParam + type SubscriptionState = shared.SubscriptionState Other modules containing this package github.com/cloudflare/cloudflare-go/v2