Versions in this module Expand all Collapse all v2 v2.0.0 Nov 7, 2024 Changes in this version + const AuditLogActorTypeAdmin + const AuditLogActorTypeCloudflare + const AuditLogActorTypeUser + const CertificateCADigicert + const CertificateCAGoogle + const CertificateCALetsEncrypt + 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 + 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 Domain struct + Available bool + CanRegister bool + CreatedAt time.Time + CurrentRegistrar string + ExpiresAt time.Time + ID string + JSON domainJSON + Locked bool + RegistrantContact DomainRegistrantContact + RegistryStatuses string + SupportedTld bool + TransferIn DomainTransferIn + UpdatedAt time.Time + func (r *Domain) UnmarshalJSON(data []byte) (err error) + type DomainGetResponseArray []interface + func (r DomainGetResponseArray) ImplementsRegistrarDomainGetResponseUnion() + type DomainGetResponseEnvelope struct + Errors []shared.ResponseInfo + JSON domainGetResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result DomainGetResponseUnion + Success DomainGetResponseEnvelopeSuccess + func (r *DomainGetResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type DomainGetResponseEnvelopeSuccess bool + const DomainGetResponseEnvelopeSuccessTrue + func (r DomainGetResponseEnvelopeSuccess) IsKnown() bool + type DomainGetResponseUnion interface + ImplementsRegistrarDomainGetResponseUnion func() + type DomainRegistrantContact struct + Address string + Address2 string + City string + Country string + Email string + Fax string + FirstName string + ID string + JSON domainRegistrantContactJSON + LastName string + Organization string + Phone string + State string + Zip string + func (r *DomainRegistrantContact) UnmarshalJSON(data []byte) (err error) + type DomainService struct + Options []option.RequestOption + func NewDomainService(opts ...option.RequestOption) (r *DomainService) + func (r *DomainService) Get(ctx context.Context, accountID string, domainName string, ...) (res *DomainGetResponseUnion, err error) + func (r *DomainService) List(ctx context.Context, accountID string, opts ...option.RequestOption) (res *pagination.SinglePage[Domain], err error) + func (r *DomainService) ListAutoPaging(ctx context.Context, accountID string, opts ...option.RequestOption) *pagination.SinglePageAutoPager[Domain] + func (r *DomainService) Update(ctx context.Context, accountID string, domainName string, ...) (res *DomainUpdateResponseUnion, err error) + type DomainTransferIn struct + AcceptFoa string + ApproveTransfer string + CanCancelTransfer bool + DisablePrivacy interface{} + EnterAuthCode string + JSON domainTransferInJSON + UnlockDomain interface{} + func (r *DomainTransferIn) UnmarshalJSON(data []byte) (err error) + type DomainUpdateParams struct + AutoRenew param.Field[bool] + Locked param.Field[bool] + Privacy param.Field[bool] + func (r DomainUpdateParams) MarshalJSON() (data []byte, err error) + type DomainUpdateResponseArray []interface + func (r DomainUpdateResponseArray) ImplementsRegistrarDomainUpdateResponseUnion() + type DomainUpdateResponseEnvelope struct + Errors []shared.ResponseInfo + JSON domainUpdateResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result DomainUpdateResponseUnion + Success DomainUpdateResponseEnvelopeSuccess + func (r *DomainUpdateResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type DomainUpdateResponseEnvelopeSuccess bool + const DomainUpdateResponseEnvelopeSuccessTrue + func (r DomainUpdateResponseEnvelopeSuccess) IsKnown() bool + type DomainUpdateResponseUnion interface + ImplementsRegistrarDomainUpdateResponseUnion func() + 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 RegistrarService struct + Domains *DomainService + Options []option.RequestOption + func NewRegistrarService(opts ...option.RequestOption) (r *RegistrarService) + type ResponseInfo = shared.ResponseInfo + type Role = shared.Role + type SortDirection = shared.SortDirection