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 ClientCertificate struct + Certificate string + CertificateAuthority ClientCertificateCertificateAuthority + CommonName string + Country string + Csr string + ExpiresOn string + FingerprintSha256 string + ID string + IssuedOn string + JSON clientCertificateJSON + Location string + Organization string + OrganizationalUnit string + SerialNumber string + Signature string + Ski string + State string + Status custom_certificates.Status + ValidityDays int64 + func (r *ClientCertificate) UnmarshalJSON(data []byte) (err error) + type ClientCertificateCertificateAuthority struct + ID string + JSON clientCertificateCertificateAuthorityJSON + Name string + func (r *ClientCertificateCertificateAuthority) UnmarshalJSON(data []byte) (err error) + type ClientCertificateDeleteParams struct + ZoneID param.Field[string] + type ClientCertificateDeleteResponseEnvelope struct + Errors []shared.ResponseInfo + JSON clientCertificateDeleteResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result ClientCertificate + Success ClientCertificateDeleteResponseEnvelopeSuccess + func (r *ClientCertificateDeleteResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type ClientCertificateDeleteResponseEnvelopeSuccess bool + const ClientCertificateDeleteResponseEnvelopeSuccessTrue + func (r ClientCertificateDeleteResponseEnvelopeSuccess) IsKnown() bool + type ClientCertificateEditParams struct + ZoneID param.Field[string] + type ClientCertificateEditResponseEnvelope struct + Errors []shared.ResponseInfo + JSON clientCertificateEditResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result ClientCertificate + Success ClientCertificateEditResponseEnvelopeSuccess + func (r *ClientCertificateEditResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type ClientCertificateEditResponseEnvelopeSuccess bool + const ClientCertificateEditResponseEnvelopeSuccessTrue + func (r ClientCertificateEditResponseEnvelopeSuccess) IsKnown() bool + type ClientCertificateGetParams struct + ZoneID param.Field[string] + type ClientCertificateGetResponseEnvelope struct + Errors []shared.ResponseInfo + JSON clientCertificateGetResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result ClientCertificate + Success ClientCertificateGetResponseEnvelopeSuccess + func (r *ClientCertificateGetResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type ClientCertificateGetResponseEnvelopeSuccess bool + const ClientCertificateGetResponseEnvelopeSuccessTrue + func (r ClientCertificateGetResponseEnvelopeSuccess) IsKnown() bool + type ClientCertificateListParams struct + Limit param.Field[int64] + Offset param.Field[int64] + Page param.Field[float64] + PerPage param.Field[float64] + Status param.Field[ClientCertificateListParamsStatus] + ZoneID param.Field[string] + func (r ClientCertificateListParams) URLQuery() (v url.Values) + type ClientCertificateListParamsStatus string + const ClientCertificateListParamsStatusActive + const ClientCertificateListParamsStatusAll + const ClientCertificateListParamsStatusPendingReactivation + const ClientCertificateListParamsStatusPendingRevocation + const ClientCertificateListParamsStatusRevoked + func (r ClientCertificateListParamsStatus) IsKnown() bool + type ClientCertificateNewParams struct + Csr param.Field[string] + ValidityDays param.Field[int64] + ZoneID param.Field[string] + func (r ClientCertificateNewParams) MarshalJSON() (data []byte, err error) + type ClientCertificateNewResponseEnvelope struct + Errors []shared.ResponseInfo + JSON clientCertificateNewResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result ClientCertificate + Success ClientCertificateNewResponseEnvelopeSuccess + func (r *ClientCertificateNewResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type ClientCertificateNewResponseEnvelopeSuccess bool + const ClientCertificateNewResponseEnvelopeSuccessTrue + func (r ClientCertificateNewResponseEnvelopeSuccess) IsKnown() bool + type ClientCertificateService struct + Options []option.RequestOption + func NewClientCertificateService(opts ...option.RequestOption) (r *ClientCertificateService) + func (r *ClientCertificateService) Delete(ctx context.Context, clientCertificateID string, ...) (res *ClientCertificate, err error) + func (r *ClientCertificateService) Edit(ctx context.Context, clientCertificateID string, ...) (res *ClientCertificate, err error) + func (r *ClientCertificateService) Get(ctx context.Context, clientCertificateID string, ...) (res *ClientCertificate, err error) + func (r *ClientCertificateService) List(ctx context.Context, params ClientCertificateListParams, ...) (res *pagination.V4PagePaginationArray[ClientCertificate], err error) + func (r *ClientCertificateService) ListAutoPaging(ctx context.Context, params ClientCertificateListParams, ...) *pagination.V4PagePaginationArrayAutoPager[ClientCertificate] + func (r *ClientCertificateService) New(ctx context.Context, params ClientCertificateNewParams, ...) (res *ClientCertificate, err error) + type CloudflareTunnel = shared.CloudflareTunnel + type CloudflareTunnelConnection = shared.CloudflareTunnelConnection + type CloudflareTunnelStatus = shared.CloudflareTunnelStatus + type CloudflareTunnelTunType = shared.CloudflareTunnelTunType + type Error = apierror.Error + type ErrorData = shared.ErrorData + 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 RatePlan = shared.RatePlan + type RatePlanParam = shared.RatePlanParam + type ResponseInfo = shared.ResponseInfo + type Role = shared.Role + type SortDirection = shared.SortDirection + 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 github.com/cloudflare/cloudflare-go/v4