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 ConfigDeleteParams struct + AccountID param.Field[string] + type ConfigDeleteResponseEnvelope struct + Errors []shared.ResponseInfo + JSON configDeleteResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result interface{} + Success ConfigDeleteResponseEnvelopeSuccess + func (r *ConfigDeleteResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type ConfigDeleteResponseEnvelopeSuccess bool + const ConfigDeleteResponseEnvelopeSuccessTrue + func (r ConfigDeleteResponseEnvelopeSuccess) IsKnown() bool + type ConfigEditParams struct + AccountID param.Field[string] + Hyperdrive HyperdriveParam + func (r ConfigEditParams) MarshalJSON() (data []byte, err error) + type ConfigEditResponseEnvelope struct + Errors []shared.ResponseInfo + JSON configEditResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result Hyperdrive + Success ConfigEditResponseEnvelopeSuccess + func (r *ConfigEditResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type ConfigEditResponseEnvelopeSuccess bool + const ConfigEditResponseEnvelopeSuccessTrue + func (r ConfigEditResponseEnvelopeSuccess) IsKnown() bool + type ConfigGetParams struct + AccountID param.Field[string] + type ConfigGetResponseEnvelope struct + Errors []shared.ResponseInfo + JSON configGetResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result Hyperdrive + Success ConfigGetResponseEnvelopeSuccess + func (r *ConfigGetResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type ConfigGetResponseEnvelopeSuccess bool + const ConfigGetResponseEnvelopeSuccessTrue + func (r ConfigGetResponseEnvelopeSuccess) IsKnown() bool + type ConfigListParams struct + AccountID param.Field[string] + type ConfigNewParams struct + AccountID param.Field[string] + Hyperdrive HyperdriveParam + func (r ConfigNewParams) MarshalJSON() (data []byte, err error) + type ConfigNewResponseEnvelope struct + Errors []shared.ResponseInfo + JSON configNewResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result Hyperdrive + Success ConfigNewResponseEnvelopeSuccess + func (r *ConfigNewResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type ConfigNewResponseEnvelopeSuccess bool + const ConfigNewResponseEnvelopeSuccessTrue + func (r ConfigNewResponseEnvelopeSuccess) IsKnown() bool + type ConfigService struct + Options []option.RequestOption + func NewConfigService(opts ...option.RequestOption) (r *ConfigService) + func (r *ConfigService) Delete(ctx context.Context, hyperdriveID string, body ConfigDeleteParams, ...) (res *interface{}, err error) + func (r *ConfigService) Edit(ctx context.Context, hyperdriveID string, params ConfigEditParams, ...) (res *Hyperdrive, err error) + func (r *ConfigService) Get(ctx context.Context, hyperdriveID string, query ConfigGetParams, ...) (res *Hyperdrive, err error) + func (r *ConfigService) List(ctx context.Context, query ConfigListParams, opts ...option.RequestOption) (res *pagination.SinglePage[Hyperdrive], err error) + func (r *ConfigService) ListAutoPaging(ctx context.Context, query ConfigListParams, opts ...option.RequestOption) *pagination.SinglePageAutoPager[Hyperdrive] + func (r *ConfigService) New(ctx context.Context, params ConfigNewParams, opts ...option.RequestOption) (res *Hyperdrive, err error) + func (r *ConfigService) Update(ctx context.Context, hyperdriveID string, params ConfigUpdateParams, ...) (res *Hyperdrive, err error) + type ConfigUpdateParams struct + AccountID param.Field[string] + Hyperdrive HyperdriveParam + func (r ConfigUpdateParams) MarshalJSON() (data []byte, err error) + type ConfigUpdateResponseEnvelope struct + Errors []shared.ResponseInfo + JSON configUpdateResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result Hyperdrive + Success ConfigUpdateResponseEnvelopeSuccess + func (r *ConfigUpdateResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type ConfigUpdateResponseEnvelopeSuccess bool + const ConfigUpdateResponseEnvelopeSuccessTrue + func (r ConfigUpdateResponseEnvelopeSuccess) IsKnown() bool + type Configuration struct + AccessClientID string + Database string + Host string + JSON configurationJSON + Port int64 + Scheme ConfigurationScheme + User string + func (r *Configuration) UnmarshalJSON(data []byte) (err error) + type ConfigurationParam struct + AccessClientID param.Field[string] + Database param.Field[string] + Host param.Field[string] + Port param.Field[int64] + Scheme param.Field[ConfigurationScheme] + User param.Field[string] + func (r ConfigurationParam) MarshalJSON() (data []byte, err error) + type ConfigurationScheme string + const ConfigurationSchemeMysql + const ConfigurationSchemePostgres + const ConfigurationSchemePostgresql + func (r ConfigurationScheme) IsKnown() bool + type Error = apierror.Error + type ErrorData = shared.ErrorData + type Hyperdrive struct + Caching HyperdriveCaching + JSON hyperdriveJSON + Name string + Origin Configuration + func (r *Hyperdrive) UnmarshalJSON(data []byte) (err error) + type HyperdriveCaching struct + Disabled bool + JSON hyperdriveCachingJSON + MaxAge int64 + StaleWhileRevalidate int64 + func (r *HyperdriveCaching) UnmarshalJSON(data []byte) (err error) + type HyperdriveCachingParam struct + Disabled param.Field[bool] + MaxAge param.Field[int64] + StaleWhileRevalidate param.Field[int64] + func (r HyperdriveCachingParam) MarshalJSON() (data []byte, err error) + type HyperdriveParam struct + Caching param.Field[HyperdriveCachingParam] + Name param.Field[string] + Origin param.Field[ConfigurationParam] + func (r HyperdriveParam) MarshalJSON() (data []byte, err error) + type HyperdriveService struct + Configs *ConfigService + Options []option.RequestOption + func NewHyperdriveService(opts ...option.RequestOption) (r *HyperdriveService) + 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 github.com/cloudflare/cloudflare-go/v5 github.com/cloudflare/cloudflare-go/v6