Documentation
¶
Index ¶
- Constants
- type ASN
- type ASNParam
- type AuditLog
- type AuditLogAction
- type AuditLogActor
- type AuditLogActorType
- type AuditLogOwner
- type AuditLogResource
- type CertificateCA
- type CertificateRequestType
- type CloudflareTunnel
- type CloudflareTunnelConnection
- type CloudflareTunnelStatus
- type CloudflareTunnelTunType
- type ContentList
- type ContentListAction
- type Error
- type ErrorData
- type Hostname
- type HostnameDeleteResponse
- type HostnameDeleteResponseEnvelope
- type HostnameDeleteResponseEnvelopeSuccess
- type HostnameEditParams
- type HostnameEditResponseEnvelope
- type HostnameEditResponseEnvelopeSuccess
- type HostnameGetResponseEnvelope
- type HostnameGetResponseEnvelopeSuccess
- type HostnameIPFSUniversalPathContentListEntryDeleteResponse
- type HostnameIPFSUniversalPathContentListEntryDeleteResponseEnvelope
- type HostnameIPFSUniversalPathContentListEntryDeleteResponseEnvelopeSuccess
- type HostnameIPFSUniversalPathContentListEntryGetResponse
- type HostnameIPFSUniversalPathContentListEntryGetResponseEnvelope
- type HostnameIPFSUniversalPathContentListEntryGetResponseEnvelopeSuccess
- type HostnameIPFSUniversalPathContentListEntryGetResponseType
- type HostnameIPFSUniversalPathContentListEntryListResponse
- type HostnameIPFSUniversalPathContentListEntryListResponseEntriesType
- type HostnameIPFSUniversalPathContentListEntryListResponseEntry
- type HostnameIPFSUniversalPathContentListEntryListResponseEnvelope
- type HostnameIPFSUniversalPathContentListEntryListResponseEnvelopeResultInfo
- type HostnameIPFSUniversalPathContentListEntryListResponseEnvelopeSuccess
- type HostnameIPFSUniversalPathContentListEntryNewParams
- type HostnameIPFSUniversalPathContentListEntryNewParamsType
- type HostnameIPFSUniversalPathContentListEntryNewResponse
- type HostnameIPFSUniversalPathContentListEntryNewResponseEnvelope
- type HostnameIPFSUniversalPathContentListEntryNewResponseEnvelopeSuccess
- type HostnameIPFSUniversalPathContentListEntryNewResponseType
- type HostnameIPFSUniversalPathContentListEntryService
- func (r *HostnameIPFSUniversalPathContentListEntryService) Delete(ctx context.Context, zoneIdentifier string, identifier string, ...) (res *HostnameIPFSUniversalPathContentListEntryDeleteResponse, err error)
- func (r *HostnameIPFSUniversalPathContentListEntryService) Get(ctx context.Context, zoneIdentifier string, identifier string, ...) (res *HostnameIPFSUniversalPathContentListEntryGetResponse, err error)
- func (r *HostnameIPFSUniversalPathContentListEntryService) List(ctx context.Context, zoneIdentifier string, identifier string, ...) (res *HostnameIPFSUniversalPathContentListEntryListResponse, err error)
- func (r *HostnameIPFSUniversalPathContentListEntryService) New(ctx context.Context, zoneIdentifier string, identifier string, ...) (res *HostnameIPFSUniversalPathContentListEntryNewResponse, err error)
- func (r *HostnameIPFSUniversalPathContentListEntryService) Update(ctx context.Context, zoneIdentifier string, identifier string, ...) (res *HostnameIPFSUniversalPathContentListEntryUpdateResponse, err error)
- type HostnameIPFSUniversalPathContentListEntryUpdateParams
- type HostnameIPFSUniversalPathContentListEntryUpdateParamsType
- type HostnameIPFSUniversalPathContentListEntryUpdateResponse
- type HostnameIPFSUniversalPathContentListEntryUpdateResponseEnvelope
- type HostnameIPFSUniversalPathContentListEntryUpdateResponseEnvelopeSuccess
- type HostnameIPFSUniversalPathContentListEntryUpdateResponseType
- type HostnameIPFSUniversalPathContentListGetResponseEnvelope
- type HostnameIPFSUniversalPathContentListGetResponseEnvelopeSuccess
- type HostnameIPFSUniversalPathContentListService
- func (r *HostnameIPFSUniversalPathContentListService) Get(ctx context.Context, zoneIdentifier string, identifier string, ...) (res *ContentList, err error)
- func (r *HostnameIPFSUniversalPathContentListService) Update(ctx context.Context, zoneIdentifier string, identifier string, ...) (res *ContentList, err error)
- type HostnameIPFSUniversalPathContentListUpdateParams
- type HostnameIPFSUniversalPathContentListUpdateParamsAction
- type HostnameIPFSUniversalPathContentListUpdateParamsEntriesType
- type HostnameIPFSUniversalPathContentListUpdateParamsEntry
- type HostnameIPFSUniversalPathContentListUpdateResponseEnvelope
- type HostnameIPFSUniversalPathContentListUpdateResponseEnvelopeSuccess
- type HostnameIPFSUniversalPathService
- type HostnameNewParams
- type HostnameNewParamsTarget
- type HostnameNewResponseEnvelope
- type HostnameNewResponseEnvelopeSuccess
- type HostnameService
- func (r *HostnameService) Delete(ctx context.Context, zoneIdentifier string, identifier string, ...) (res *HostnameDeleteResponse, err error)
- func (r *HostnameService) Edit(ctx context.Context, zoneIdentifier string, identifier string, ...) (res *Hostname, err error)
- func (r *HostnameService) Get(ctx context.Context, zoneIdentifier string, identifier string, ...) (res *Hostname, err error)
- func (r *HostnameService) List(ctx context.Context, zoneIdentifier string, opts ...option.RequestOption) (res *pagination.SinglePage[Hostname], err error)
- func (r *HostnameService) ListAutoPaging(ctx context.Context, zoneIdentifier string, opts ...option.RequestOption) *pagination.SinglePageAutoPager[Hostname]
- func (r *HostnameService) New(ctx context.Context, zoneIdentifier string, body HostnameNewParams, ...) (res *Hostname, err error)
- type HostnameStatus
- type HostnameTarget
- type MemberParam
- type MemberRoleParam
- type MemberRolesPermissionsParam
- type MemberStatus
- type MemberUserParam
- type Permission
- type PermissionGrant
- type PermissionGrantParam
- type ResponseInfo
- type Role
- type SortDirection
- type Web3Service
Constants ¶
const AuditLogActorTypeAdmin = shared.AuditLogActorTypeAdmin
This is an alias to an internal value.
const AuditLogActorTypeCloudflare = shared.AuditLogActorTypeCloudflare
This is an alias to an internal value.
const AuditLogActorTypeUser = shared.AuditLogActorTypeUser
This is an alias to an internal value.
const CertificateCADigicert = shared.CertificateCADigicert
This is an alias to an internal value.
const CertificateCAGoogle = shared.CertificateCAGoogle
This is an alias to an internal value.
const CertificateCALetsEncrypt = shared.CertificateCALetsEncrypt
This is an alias to an internal value.
const CertificateRequestTypeKeylessCertificate = shared.CertificateRequestTypeKeylessCertificate
This is an alias to an internal value.
const CertificateRequestTypeOriginECC = shared.CertificateRequestTypeOriginECC
This is an alias to an internal value.
const CertificateRequestTypeOriginRSA = shared.CertificateRequestTypeOriginRSA
This is an alias to an internal value.
const CloudflareTunnelStatusDegraded = shared.CloudflareTunnelStatusDegraded
This is an alias to an internal value.
const CloudflareTunnelStatusDown = shared.CloudflareTunnelStatusDown
This is an alias to an internal value.
const CloudflareTunnelStatusHealthy = shared.CloudflareTunnelStatusHealthy
This is an alias to an internal value.
const CloudflareTunnelStatusInactive = shared.CloudflareTunnelStatusInactive
This is an alias to an internal value.
const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI
This is an alias to an internal value.
const CloudflareTunnelTunTypeCfdTunnel = shared.CloudflareTunnelTunTypeCfdTunnel
This is an alias to an internal value.
const CloudflareTunnelTunTypeGRE = shared.CloudflareTunnelTunTypeGRE
This is an alias to an internal value.
const CloudflareTunnelTunTypeIPSec = shared.CloudflareTunnelTunTypeIPSec
This is an alias to an internal value.
const CloudflareTunnelTunTypeWARPConnector = shared.CloudflareTunnelTunTypeWARPConnector
This is an alias to an internal value.
const MemberStatusAccepted = shared.MemberStatusAccepted
This is an alias to an internal value.
const MemberStatusPending = shared.MemberStatusPending
This is an alias to an internal value.
const SortDirectionAsc = shared.SortDirectionAsc
This is an alias to an internal value.
const SortDirectionDesc = shared.SortDirectionDesc
This is an alias to an internal value.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditLogAction ¶
type AuditLogAction = shared.AuditLogAction
This is an alias to an internal type.
type AuditLogActor ¶
type AuditLogActor = shared.AuditLogActor
This is an alias to an internal type.
type AuditLogActorType ¶
type AuditLogActorType = shared.AuditLogActorType
The type of actor, whether a User, Cloudflare Admin, or an Automated System.
This is an alias to an internal type.
type AuditLogOwner ¶
type AuditLogOwner = shared.AuditLogOwner
This is an alias to an internal type.
type AuditLogResource ¶
type AuditLogResource = shared.AuditLogResource
This is an alias to an internal type.
type CertificateCA ¶ added in v2.2.0
type CertificateCA = shared.CertificateCA
The Certificate Authority that will issue the certificate
This is an alias to an internal type.
type CertificateRequestType ¶ added in v2.2.0
type CertificateRequestType = shared.CertificateRequestType
Signature type desired on certificate ("origin-rsa" (rsa), "origin-ecc" (ecdsa), or "keyless-certificate" (for Keyless SSL servers).
This is an alias to an internal type.
type CloudflareTunnel ¶
type CloudflareTunnel = shared.CloudflareTunnel
A Cloudflare Tunnel that connects your origin to Cloudflare's edge.
This is an alias to an internal type.
type CloudflareTunnelConnection ¶
type CloudflareTunnelConnection = shared.CloudflareTunnelConnection
This is an alias to an internal type.
type CloudflareTunnelStatus ¶ added in v2.3.0
type CloudflareTunnelStatus = shared.CloudflareTunnelStatus
The status of the tunnel. Valid values are `inactive` (tunnel has never been run), `degraded` (tunnel is active and able to serve traffic but in an unhealthy state), `healthy` (tunnel is active and able to serve traffic), or `down` (tunnel can not serve traffic as it has no connections to the Cloudflare Edge).
This is an alias to an internal type.
type CloudflareTunnelTunType ¶
type CloudflareTunnelTunType = shared.CloudflareTunnelTunType
The type of tunnel.
This is an alias to an internal type.
type ContentList ¶
type ContentList struct { // Behavior of the content list. Action ContentListAction `json:"action"` JSON contentListJSON `json:"-"` }
func (*ContentList) UnmarshalJSON ¶
func (r *ContentList) UnmarshalJSON(data []byte) (err error)
type ContentListAction ¶
type ContentListAction string
Behavior of the content list.
const (
ContentListActionBlock ContentListAction = "block"
)
func (ContentListAction) IsKnown ¶
func (r ContentListAction) IsKnown() bool
type Hostname ¶
type Hostname struct { // Identifier ID string `json:"id"` CreatedOn time.Time `json:"created_on" format:"date-time"` // An optional description of the hostname. Description string `json:"description"` // DNSLink value used if the target is ipfs. Dnslink string `json:"dnslink"` ModifiedOn time.Time `json:"modified_on" format:"date-time"` // The hostname that will point to the target gateway via CNAME. Name string `json:"name"` // Status of the hostname's activation. Status HostnameStatus `json:"status"` // Target gateway of the hostname. Target HostnameTarget `json:"target"` JSON hostnameJSON `json:"-"` }
func (Hostname) ImplementsRulesListItemGetResponseUnion ¶
func (r Hostname) ImplementsRulesListItemGetResponseUnion()
func (*Hostname) UnmarshalJSON ¶
type HostnameDeleteResponse ¶
type HostnameDeleteResponse struct { // Identifier ID string `json:"id,required"` JSON hostnameDeleteResponseJSON `json:"-"` }
func (*HostnameDeleteResponse) UnmarshalJSON ¶
func (r *HostnameDeleteResponse) UnmarshalJSON(data []byte) (err error)
type HostnameDeleteResponseEnvelope ¶
type HostnameDeleteResponseEnvelope struct { Errors []shared.ResponseInfo `json:"errors,required"` Messages []shared.ResponseInfo `json:"messages,required"` Result HostnameDeleteResponse `json:"result,required,nullable"` // Whether the API call was successful Success HostnameDeleteResponseEnvelopeSuccess `json:"success,required"` JSON hostnameDeleteResponseEnvelopeJSON `json:"-"` }
func (*HostnameDeleteResponseEnvelope) UnmarshalJSON ¶
func (r *HostnameDeleteResponseEnvelope) UnmarshalJSON(data []byte) (err error)
type HostnameDeleteResponseEnvelopeSuccess ¶
type HostnameDeleteResponseEnvelopeSuccess bool
Whether the API call was successful
const (
HostnameDeleteResponseEnvelopeSuccessTrue HostnameDeleteResponseEnvelopeSuccess = true
)
func (HostnameDeleteResponseEnvelopeSuccess) IsKnown ¶
func (r HostnameDeleteResponseEnvelopeSuccess) IsKnown() bool
type HostnameEditParams ¶
type HostnameEditParams struct { // An optional description of the hostname. Description param.Field[string] `json:"description"` // DNSLink value used if the target is ipfs. Dnslink param.Field[string] `json:"dnslink"` }
func (HostnameEditParams) MarshalJSON ¶
func (r HostnameEditParams) MarshalJSON() (data []byte, err error)
type HostnameEditResponseEnvelope ¶
type HostnameEditResponseEnvelope struct { Errors []shared.ResponseInfo `json:"errors,required"` Messages []shared.ResponseInfo `json:"messages,required"` Result Hostname `json:"result,required"` // Whether the API call was successful Success HostnameEditResponseEnvelopeSuccess `json:"success,required"` JSON hostnameEditResponseEnvelopeJSON `json:"-"` }
func (*HostnameEditResponseEnvelope) UnmarshalJSON ¶
func (r *HostnameEditResponseEnvelope) UnmarshalJSON(data []byte) (err error)
type HostnameEditResponseEnvelopeSuccess ¶
type HostnameEditResponseEnvelopeSuccess bool
Whether the API call was successful
const (
HostnameEditResponseEnvelopeSuccessTrue HostnameEditResponseEnvelopeSuccess = true
)
func (HostnameEditResponseEnvelopeSuccess) IsKnown ¶
func (r HostnameEditResponseEnvelopeSuccess) IsKnown() bool
type HostnameGetResponseEnvelope ¶
type HostnameGetResponseEnvelope struct { Errors []shared.ResponseInfo `json:"errors,required"` Messages []shared.ResponseInfo `json:"messages,required"` Result Hostname `json:"result,required"` // Whether the API call was successful Success HostnameGetResponseEnvelopeSuccess `json:"success,required"` JSON hostnameGetResponseEnvelopeJSON `json:"-"` }
func (*HostnameGetResponseEnvelope) UnmarshalJSON ¶
func (r *HostnameGetResponseEnvelope) UnmarshalJSON(data []byte) (err error)
type HostnameGetResponseEnvelopeSuccess ¶
type HostnameGetResponseEnvelopeSuccess bool
Whether the API call was successful
const (
HostnameGetResponseEnvelopeSuccessTrue HostnameGetResponseEnvelopeSuccess = true
)
func (HostnameGetResponseEnvelopeSuccess) IsKnown ¶
func (r HostnameGetResponseEnvelopeSuccess) IsKnown() bool
type HostnameIPFSUniversalPathContentListEntryDeleteResponse ¶
type HostnameIPFSUniversalPathContentListEntryDeleteResponse struct { // Identifier ID string `json:"id,required"` JSON hostnameIPFSUniversalPathContentListEntryDeleteResponseJSON `json:"-"` }
func (*HostnameIPFSUniversalPathContentListEntryDeleteResponse) UnmarshalJSON ¶
func (r *HostnameIPFSUniversalPathContentListEntryDeleteResponse) UnmarshalJSON(data []byte) (err error)
type HostnameIPFSUniversalPathContentListEntryDeleteResponseEnvelope ¶
type HostnameIPFSUniversalPathContentListEntryDeleteResponseEnvelope struct { Errors []shared.ResponseInfo `json:"errors,required"` Messages []shared.ResponseInfo `json:"messages,required"` Result HostnameIPFSUniversalPathContentListEntryDeleteResponse `json:"result,required,nullable"` // Whether the API call was successful Success HostnameIPFSUniversalPathContentListEntryDeleteResponseEnvelopeSuccess `json:"success,required"` JSON hostnameIPFSUniversalPathContentListEntryDeleteResponseEnvelopeJSON `json:"-"` }
func (*HostnameIPFSUniversalPathContentListEntryDeleteResponseEnvelope) UnmarshalJSON ¶
func (r *HostnameIPFSUniversalPathContentListEntryDeleteResponseEnvelope) UnmarshalJSON(data []byte) (err error)
type HostnameIPFSUniversalPathContentListEntryDeleteResponseEnvelopeSuccess ¶
type HostnameIPFSUniversalPathContentListEntryDeleteResponseEnvelopeSuccess bool
Whether the API call was successful
const (
HostnameIPFSUniversalPathContentListEntryDeleteResponseEnvelopeSuccessTrue HostnameIPFSUniversalPathContentListEntryDeleteResponseEnvelopeSuccess = true
)
func (HostnameIPFSUniversalPathContentListEntryDeleteResponseEnvelopeSuccess) IsKnown ¶
func (r HostnameIPFSUniversalPathContentListEntryDeleteResponseEnvelopeSuccess) IsKnown() bool
type HostnameIPFSUniversalPathContentListEntryGetResponse ¶
type HostnameIPFSUniversalPathContentListEntryGetResponse struct { // Identifier ID string `json:"id"` // CID or content path of content to block. Content string `json:"content"` CreatedOn time.Time `json:"created_on" format:"date-time"` // An optional description of the content list entry. Description string `json:"description"` ModifiedOn time.Time `json:"modified_on" format:"date-time"` // Type of content list entry to block. Type HostnameIPFSUniversalPathContentListEntryGetResponseType `json:"type"` JSON hostnameIPFSUniversalPathContentListEntryGetResponseJSON `json:"-"` }
Content list entry to be blocked.
func (*HostnameIPFSUniversalPathContentListEntryGetResponse) UnmarshalJSON ¶
func (r *HostnameIPFSUniversalPathContentListEntryGetResponse) UnmarshalJSON(data []byte) (err error)
type HostnameIPFSUniversalPathContentListEntryGetResponseEnvelope ¶
type HostnameIPFSUniversalPathContentListEntryGetResponseEnvelope struct { Errors []shared.ResponseInfo `json:"errors,required"` Messages []shared.ResponseInfo `json:"messages,required"` // Content list entry to be blocked. Result HostnameIPFSUniversalPathContentListEntryGetResponse `json:"result,required"` // Whether the API call was successful Success HostnameIPFSUniversalPathContentListEntryGetResponseEnvelopeSuccess `json:"success,required"` JSON hostnameIPFSUniversalPathContentListEntryGetResponseEnvelopeJSON `json:"-"` }
func (*HostnameIPFSUniversalPathContentListEntryGetResponseEnvelope) UnmarshalJSON ¶
func (r *HostnameIPFSUniversalPathContentListEntryGetResponseEnvelope) UnmarshalJSON(data []byte) (err error)
type HostnameIPFSUniversalPathContentListEntryGetResponseEnvelopeSuccess ¶
type HostnameIPFSUniversalPathContentListEntryGetResponseEnvelopeSuccess bool
Whether the API call was successful
const (
HostnameIPFSUniversalPathContentListEntryGetResponseEnvelopeSuccessTrue HostnameIPFSUniversalPathContentListEntryGetResponseEnvelopeSuccess = true
)
func (HostnameIPFSUniversalPathContentListEntryGetResponseEnvelopeSuccess) IsKnown ¶
func (r HostnameIPFSUniversalPathContentListEntryGetResponseEnvelopeSuccess) IsKnown() bool
type HostnameIPFSUniversalPathContentListEntryGetResponseType ¶
type HostnameIPFSUniversalPathContentListEntryGetResponseType string
Type of content list entry to block.
const ( HostnameIPFSUniversalPathContentListEntryGetResponseTypeCid HostnameIPFSUniversalPathContentListEntryGetResponseType = "cid" HostnameIPFSUniversalPathContentListEntryGetResponseTypeContentPath HostnameIPFSUniversalPathContentListEntryGetResponseType = "content_path" )
func (HostnameIPFSUniversalPathContentListEntryGetResponseType) IsKnown ¶
func (r HostnameIPFSUniversalPathContentListEntryGetResponseType) IsKnown() bool
type HostnameIPFSUniversalPathContentListEntryListResponse ¶
type HostnameIPFSUniversalPathContentListEntryListResponse struct { // Content list entries. Entries []HostnameIPFSUniversalPathContentListEntryListResponseEntry `json:"entries"` JSON hostnameIPFSUniversalPathContentListEntryListResponseJSON `json:"-"` }
func (*HostnameIPFSUniversalPathContentListEntryListResponse) UnmarshalJSON ¶
func (r *HostnameIPFSUniversalPathContentListEntryListResponse) UnmarshalJSON(data []byte) (err error)
type HostnameIPFSUniversalPathContentListEntryListResponseEntriesType ¶
type HostnameIPFSUniversalPathContentListEntryListResponseEntriesType string
Type of content list entry to block.
const ( HostnameIPFSUniversalPathContentListEntryListResponseEntriesTypeCid HostnameIPFSUniversalPathContentListEntryListResponseEntriesType = "cid" HostnameIPFSUniversalPathContentListEntryListResponseEntriesTypeContentPath HostnameIPFSUniversalPathContentListEntryListResponseEntriesType = "content_path" )
func (HostnameIPFSUniversalPathContentListEntryListResponseEntriesType) IsKnown ¶
func (r HostnameIPFSUniversalPathContentListEntryListResponseEntriesType) IsKnown() bool
type HostnameIPFSUniversalPathContentListEntryListResponseEntry ¶
type HostnameIPFSUniversalPathContentListEntryListResponseEntry struct { // Identifier ID string `json:"id"` // CID or content path of content to block. Content string `json:"content"` CreatedOn time.Time `json:"created_on" format:"date-time"` // An optional description of the content list entry. Description string `json:"description"` ModifiedOn time.Time `json:"modified_on" format:"date-time"` // Type of content list entry to block. Type HostnameIPFSUniversalPathContentListEntryListResponseEntriesType `json:"type"` JSON hostnameIPFSUniversalPathContentListEntryListResponseEntryJSON `json:"-"` }
Content list entry to be blocked.
func (*HostnameIPFSUniversalPathContentListEntryListResponseEntry) UnmarshalJSON ¶
func (r *HostnameIPFSUniversalPathContentListEntryListResponseEntry) UnmarshalJSON(data []byte) (err error)
type HostnameIPFSUniversalPathContentListEntryListResponseEnvelope ¶
type HostnameIPFSUniversalPathContentListEntryListResponseEnvelope struct { Errors []shared.ResponseInfo `json:"errors,required"` Messages []shared.ResponseInfo `json:"messages,required"` Result HostnameIPFSUniversalPathContentListEntryListResponse `json:"result,required,nullable"` // Whether the API call was successful Success HostnameIPFSUniversalPathContentListEntryListResponseEnvelopeSuccess `json:"success,required"` ResultInfo HostnameIPFSUniversalPathContentListEntryListResponseEnvelopeResultInfo `json:"result_info"` JSON hostnameIPFSUniversalPathContentListEntryListResponseEnvelopeJSON `json:"-"` }
func (*HostnameIPFSUniversalPathContentListEntryListResponseEnvelope) UnmarshalJSON ¶
func (r *HostnameIPFSUniversalPathContentListEntryListResponseEnvelope) UnmarshalJSON(data []byte) (err error)
type HostnameIPFSUniversalPathContentListEntryListResponseEnvelopeResultInfo ¶
type HostnameIPFSUniversalPathContentListEntryListResponseEnvelopeResultInfo struct { // Total number of results for the requested service Count float64 `json:"count"` // Current page within paginated list of results Page float64 `json:"page"` // Number of results per page of results PerPage float64 `json:"per_page"` // Total results available without any search parameters TotalCount float64 `json:"total_count"` JSON hostnameIPFSUniversalPathContentListEntryListResponseEnvelopeResultInfoJSON `json:"-"` }
func (*HostnameIPFSUniversalPathContentListEntryListResponseEnvelopeResultInfo) UnmarshalJSON ¶
func (r *HostnameIPFSUniversalPathContentListEntryListResponseEnvelopeResultInfo) UnmarshalJSON(data []byte) (err error)
type HostnameIPFSUniversalPathContentListEntryListResponseEnvelopeSuccess ¶
type HostnameIPFSUniversalPathContentListEntryListResponseEnvelopeSuccess bool
Whether the API call was successful
const (
HostnameIPFSUniversalPathContentListEntryListResponseEnvelopeSuccessTrue HostnameIPFSUniversalPathContentListEntryListResponseEnvelopeSuccess = true
)
func (HostnameIPFSUniversalPathContentListEntryListResponseEnvelopeSuccess) IsKnown ¶
func (r HostnameIPFSUniversalPathContentListEntryListResponseEnvelopeSuccess) IsKnown() bool
type HostnameIPFSUniversalPathContentListEntryNewParams ¶
type HostnameIPFSUniversalPathContentListEntryNewParams struct { // CID or content path of content to block. Content param.Field[string] `json:"content,required"` // Type of content list entry to block. Type param.Field[HostnameIPFSUniversalPathContentListEntryNewParamsType] `json:"type,required"` // An optional description of the content list entry. Description param.Field[string] `json:"description"` }
func (HostnameIPFSUniversalPathContentListEntryNewParams) MarshalJSON ¶
func (r HostnameIPFSUniversalPathContentListEntryNewParams) MarshalJSON() (data []byte, err error)
type HostnameIPFSUniversalPathContentListEntryNewParamsType ¶
type HostnameIPFSUniversalPathContentListEntryNewParamsType string
Type of content list entry to block.
const ( HostnameIPFSUniversalPathContentListEntryNewParamsTypeCid HostnameIPFSUniversalPathContentListEntryNewParamsType = "cid" HostnameIPFSUniversalPathContentListEntryNewParamsTypeContentPath HostnameIPFSUniversalPathContentListEntryNewParamsType = "content_path" )
func (HostnameIPFSUniversalPathContentListEntryNewParamsType) IsKnown ¶
func (r HostnameIPFSUniversalPathContentListEntryNewParamsType) IsKnown() bool
type HostnameIPFSUniversalPathContentListEntryNewResponse ¶
type HostnameIPFSUniversalPathContentListEntryNewResponse struct { // Identifier ID string `json:"id"` // CID or content path of content to block. Content string `json:"content"` CreatedOn time.Time `json:"created_on" format:"date-time"` // An optional description of the content list entry. Description string `json:"description"` ModifiedOn time.Time `json:"modified_on" format:"date-time"` // Type of content list entry to block. Type HostnameIPFSUniversalPathContentListEntryNewResponseType `json:"type"` JSON hostnameIPFSUniversalPathContentListEntryNewResponseJSON `json:"-"` }
Content list entry to be blocked.
func (*HostnameIPFSUniversalPathContentListEntryNewResponse) UnmarshalJSON ¶
func (r *HostnameIPFSUniversalPathContentListEntryNewResponse) UnmarshalJSON(data []byte) (err error)
type HostnameIPFSUniversalPathContentListEntryNewResponseEnvelope ¶
type HostnameIPFSUniversalPathContentListEntryNewResponseEnvelope struct { Errors []shared.ResponseInfo `json:"errors,required"` Messages []shared.ResponseInfo `json:"messages,required"` // Content list entry to be blocked. Result HostnameIPFSUniversalPathContentListEntryNewResponse `json:"result,required"` // Whether the API call was successful Success HostnameIPFSUniversalPathContentListEntryNewResponseEnvelopeSuccess `json:"success,required"` JSON hostnameIPFSUniversalPathContentListEntryNewResponseEnvelopeJSON `json:"-"` }
func (*HostnameIPFSUniversalPathContentListEntryNewResponseEnvelope) UnmarshalJSON ¶
func (r *HostnameIPFSUniversalPathContentListEntryNewResponseEnvelope) UnmarshalJSON(data []byte) (err error)
type HostnameIPFSUniversalPathContentListEntryNewResponseEnvelopeSuccess ¶
type HostnameIPFSUniversalPathContentListEntryNewResponseEnvelopeSuccess bool
Whether the API call was successful
const (
HostnameIPFSUniversalPathContentListEntryNewResponseEnvelopeSuccessTrue HostnameIPFSUniversalPathContentListEntryNewResponseEnvelopeSuccess = true
)
func (HostnameIPFSUniversalPathContentListEntryNewResponseEnvelopeSuccess) IsKnown ¶
func (r HostnameIPFSUniversalPathContentListEntryNewResponseEnvelopeSuccess) IsKnown() bool
type HostnameIPFSUniversalPathContentListEntryNewResponseType ¶
type HostnameIPFSUniversalPathContentListEntryNewResponseType string
Type of content list entry to block.
const ( HostnameIPFSUniversalPathContentListEntryNewResponseTypeCid HostnameIPFSUniversalPathContentListEntryNewResponseType = "cid" HostnameIPFSUniversalPathContentListEntryNewResponseTypeContentPath HostnameIPFSUniversalPathContentListEntryNewResponseType = "content_path" )
func (HostnameIPFSUniversalPathContentListEntryNewResponseType) IsKnown ¶
func (r HostnameIPFSUniversalPathContentListEntryNewResponseType) IsKnown() bool
type HostnameIPFSUniversalPathContentListEntryService ¶
type HostnameIPFSUniversalPathContentListEntryService struct {
Options []option.RequestOption
}
HostnameIPFSUniversalPathContentListEntryService contains methods and other services that help with interacting with the cloudflare API.
Note, unlike clients, this service does not read variables from the environment automatically. You should not instantiate this service directly, and instead use the NewHostnameIPFSUniversalPathContentListEntryService method instead.
func NewHostnameIPFSUniversalPathContentListEntryService ¶
func NewHostnameIPFSUniversalPathContentListEntryService(opts ...option.RequestOption) (r *HostnameIPFSUniversalPathContentListEntryService)
NewHostnameIPFSUniversalPathContentListEntryService generates a new service that applies the given options to each request. These options are applied after the parent client's options (if there is one), and before any request-specific options.
func (*HostnameIPFSUniversalPathContentListEntryService) Delete ¶
func (r *HostnameIPFSUniversalPathContentListEntryService) Delete(ctx context.Context, zoneIdentifier string, identifier string, contentListEntryIdentifier string, opts ...option.RequestOption) (res *HostnameIPFSUniversalPathContentListEntryDeleteResponse, err error)
Delete IPFS Universal Path Gateway Content List Entry
func (*HostnameIPFSUniversalPathContentListEntryService) Get ¶
func (r *HostnameIPFSUniversalPathContentListEntryService) Get(ctx context.Context, zoneIdentifier string, identifier string, contentListEntryIdentifier string, opts ...option.RequestOption) (res *HostnameIPFSUniversalPathContentListEntryGetResponse, err error)
IPFS Universal Path Gateway Content List Entry Details
func (*HostnameIPFSUniversalPathContentListEntryService) List ¶
func (r *HostnameIPFSUniversalPathContentListEntryService) List(ctx context.Context, zoneIdentifier string, identifier string, opts ...option.RequestOption) (res *HostnameIPFSUniversalPathContentListEntryListResponse, err error)
List IPFS Universal Path Gateway Content List Entries
func (*HostnameIPFSUniversalPathContentListEntryService) New ¶
func (r *HostnameIPFSUniversalPathContentListEntryService) New(ctx context.Context, zoneIdentifier string, identifier string, body HostnameIPFSUniversalPathContentListEntryNewParams, opts ...option.RequestOption) (res *HostnameIPFSUniversalPathContentListEntryNewResponse, err error)
Create IPFS Universal Path Gateway Content List Entry
func (*HostnameIPFSUniversalPathContentListEntryService) Update ¶
func (r *HostnameIPFSUniversalPathContentListEntryService) Update(ctx context.Context, zoneIdentifier string, identifier string, contentListEntryIdentifier string, body HostnameIPFSUniversalPathContentListEntryUpdateParams, opts ...option.RequestOption) (res *HostnameIPFSUniversalPathContentListEntryUpdateResponse, err error)
Edit IPFS Universal Path Gateway Content List Entry
type HostnameIPFSUniversalPathContentListEntryUpdateParams ¶
type HostnameIPFSUniversalPathContentListEntryUpdateParams struct { // CID or content path of content to block. Content param.Field[string] `json:"content,required"` // Type of content list entry to block. Type param.Field[HostnameIPFSUniversalPathContentListEntryUpdateParamsType] `json:"type,required"` // An optional description of the content list entry. Description param.Field[string] `json:"description"` }
func (HostnameIPFSUniversalPathContentListEntryUpdateParams) MarshalJSON ¶
func (r HostnameIPFSUniversalPathContentListEntryUpdateParams) MarshalJSON() (data []byte, err error)
type HostnameIPFSUniversalPathContentListEntryUpdateParamsType ¶
type HostnameIPFSUniversalPathContentListEntryUpdateParamsType string
Type of content list entry to block.
const ( HostnameIPFSUniversalPathContentListEntryUpdateParamsTypeCid HostnameIPFSUniversalPathContentListEntryUpdateParamsType = "cid" HostnameIPFSUniversalPathContentListEntryUpdateParamsTypeContentPath HostnameIPFSUniversalPathContentListEntryUpdateParamsType = "content_path" )
func (HostnameIPFSUniversalPathContentListEntryUpdateParamsType) IsKnown ¶
func (r HostnameIPFSUniversalPathContentListEntryUpdateParamsType) IsKnown() bool
type HostnameIPFSUniversalPathContentListEntryUpdateResponse ¶
type HostnameIPFSUniversalPathContentListEntryUpdateResponse struct { // Identifier ID string `json:"id"` // CID or content path of content to block. Content string `json:"content"` CreatedOn time.Time `json:"created_on" format:"date-time"` // An optional description of the content list entry. Description string `json:"description"` ModifiedOn time.Time `json:"modified_on" format:"date-time"` // Type of content list entry to block. Type HostnameIPFSUniversalPathContentListEntryUpdateResponseType `json:"type"` JSON hostnameIPFSUniversalPathContentListEntryUpdateResponseJSON `json:"-"` }
Content list entry to be blocked.
func (*HostnameIPFSUniversalPathContentListEntryUpdateResponse) UnmarshalJSON ¶
func (r *HostnameIPFSUniversalPathContentListEntryUpdateResponse) UnmarshalJSON(data []byte) (err error)
type HostnameIPFSUniversalPathContentListEntryUpdateResponseEnvelope ¶
type HostnameIPFSUniversalPathContentListEntryUpdateResponseEnvelope struct { Errors []shared.ResponseInfo `json:"errors,required"` Messages []shared.ResponseInfo `json:"messages,required"` // Content list entry to be blocked. Result HostnameIPFSUniversalPathContentListEntryUpdateResponse `json:"result,required"` // Whether the API call was successful Success HostnameIPFSUniversalPathContentListEntryUpdateResponseEnvelopeSuccess `json:"success,required"` JSON hostnameIPFSUniversalPathContentListEntryUpdateResponseEnvelopeJSON `json:"-"` }
func (*HostnameIPFSUniversalPathContentListEntryUpdateResponseEnvelope) UnmarshalJSON ¶
func (r *HostnameIPFSUniversalPathContentListEntryUpdateResponseEnvelope) UnmarshalJSON(data []byte) (err error)
type HostnameIPFSUniversalPathContentListEntryUpdateResponseEnvelopeSuccess ¶
type HostnameIPFSUniversalPathContentListEntryUpdateResponseEnvelopeSuccess bool
Whether the API call was successful
const (
HostnameIPFSUniversalPathContentListEntryUpdateResponseEnvelopeSuccessTrue HostnameIPFSUniversalPathContentListEntryUpdateResponseEnvelopeSuccess = true
)
func (HostnameIPFSUniversalPathContentListEntryUpdateResponseEnvelopeSuccess) IsKnown ¶
func (r HostnameIPFSUniversalPathContentListEntryUpdateResponseEnvelopeSuccess) IsKnown() bool
type HostnameIPFSUniversalPathContentListEntryUpdateResponseType ¶
type HostnameIPFSUniversalPathContentListEntryUpdateResponseType string
Type of content list entry to block.
const ( HostnameIPFSUniversalPathContentListEntryUpdateResponseTypeCid HostnameIPFSUniversalPathContentListEntryUpdateResponseType = "cid" HostnameIPFSUniversalPathContentListEntryUpdateResponseTypeContentPath HostnameIPFSUniversalPathContentListEntryUpdateResponseType = "content_path" )
func (HostnameIPFSUniversalPathContentListEntryUpdateResponseType) IsKnown ¶
func (r HostnameIPFSUniversalPathContentListEntryUpdateResponseType) IsKnown() bool
type HostnameIPFSUniversalPathContentListGetResponseEnvelope ¶
type HostnameIPFSUniversalPathContentListGetResponseEnvelope struct { Errors []shared.ResponseInfo `json:"errors,required"` Messages []shared.ResponseInfo `json:"messages,required"` Result ContentList `json:"result,required"` // Whether the API call was successful Success HostnameIPFSUniversalPathContentListGetResponseEnvelopeSuccess `json:"success,required"` JSON hostnameIPFSUniversalPathContentListGetResponseEnvelopeJSON `json:"-"` }
func (*HostnameIPFSUniversalPathContentListGetResponseEnvelope) UnmarshalJSON ¶
func (r *HostnameIPFSUniversalPathContentListGetResponseEnvelope) UnmarshalJSON(data []byte) (err error)
type HostnameIPFSUniversalPathContentListGetResponseEnvelopeSuccess ¶
type HostnameIPFSUniversalPathContentListGetResponseEnvelopeSuccess bool
Whether the API call was successful
const (
HostnameIPFSUniversalPathContentListGetResponseEnvelopeSuccessTrue HostnameIPFSUniversalPathContentListGetResponseEnvelopeSuccess = true
)
func (HostnameIPFSUniversalPathContentListGetResponseEnvelopeSuccess) IsKnown ¶
func (r HostnameIPFSUniversalPathContentListGetResponseEnvelopeSuccess) IsKnown() bool
type HostnameIPFSUniversalPathContentListService ¶
type HostnameIPFSUniversalPathContentListService struct { Options []option.RequestOption Entries *HostnameIPFSUniversalPathContentListEntryService }
HostnameIPFSUniversalPathContentListService contains methods and other services that help with interacting with the cloudflare API.
Note, unlike clients, this service does not read variables from the environment automatically. You should not instantiate this service directly, and instead use the NewHostnameIPFSUniversalPathContentListService method instead.
func NewHostnameIPFSUniversalPathContentListService ¶
func NewHostnameIPFSUniversalPathContentListService(opts ...option.RequestOption) (r *HostnameIPFSUniversalPathContentListService)
NewHostnameIPFSUniversalPathContentListService generates a new service that applies the given options to each request. These options are applied after the parent client's options (if there is one), and before any request-specific options.
func (*HostnameIPFSUniversalPathContentListService) Get ¶
func (r *HostnameIPFSUniversalPathContentListService) Get(ctx context.Context, zoneIdentifier string, identifier string, opts ...option.RequestOption) (res *ContentList, err error)
IPFS Universal Path Gateway Content List Details
func (*HostnameIPFSUniversalPathContentListService) Update ¶
func (r *HostnameIPFSUniversalPathContentListService) Update(ctx context.Context, zoneIdentifier string, identifier string, body HostnameIPFSUniversalPathContentListUpdateParams, opts ...option.RequestOption) (res *ContentList, err error)
Update IPFS Universal Path Gateway Content List
type HostnameIPFSUniversalPathContentListUpdateParams ¶
type HostnameIPFSUniversalPathContentListUpdateParams struct { // Behavior of the content list. Action param.Field[HostnameIPFSUniversalPathContentListUpdateParamsAction] `json:"action,required"` // Content list entries. Entries param.Field[[]HostnameIPFSUniversalPathContentListUpdateParamsEntry] `json:"entries,required"` }
func (HostnameIPFSUniversalPathContentListUpdateParams) MarshalJSON ¶
func (r HostnameIPFSUniversalPathContentListUpdateParams) MarshalJSON() (data []byte, err error)
type HostnameIPFSUniversalPathContentListUpdateParamsAction ¶
type HostnameIPFSUniversalPathContentListUpdateParamsAction string
Behavior of the content list.
const (
HostnameIPFSUniversalPathContentListUpdateParamsActionBlock HostnameIPFSUniversalPathContentListUpdateParamsAction = "block"
)
func (HostnameIPFSUniversalPathContentListUpdateParamsAction) IsKnown ¶
func (r HostnameIPFSUniversalPathContentListUpdateParamsAction) IsKnown() bool
type HostnameIPFSUniversalPathContentListUpdateParamsEntriesType ¶
type HostnameIPFSUniversalPathContentListUpdateParamsEntriesType string
Type of content list entry to block.
const ( HostnameIPFSUniversalPathContentListUpdateParamsEntriesTypeCid HostnameIPFSUniversalPathContentListUpdateParamsEntriesType = "cid" HostnameIPFSUniversalPathContentListUpdateParamsEntriesTypeContentPath HostnameIPFSUniversalPathContentListUpdateParamsEntriesType = "content_path" )
func (HostnameIPFSUniversalPathContentListUpdateParamsEntriesType) IsKnown ¶
func (r HostnameIPFSUniversalPathContentListUpdateParamsEntriesType) IsKnown() bool
type HostnameIPFSUniversalPathContentListUpdateParamsEntry ¶
type HostnameIPFSUniversalPathContentListUpdateParamsEntry struct { // CID or content path of content to block. Content param.Field[string] `json:"content"` // An optional description of the content list entry. Description param.Field[string] `json:"description"` // Type of content list entry to block. Type param.Field[HostnameIPFSUniversalPathContentListUpdateParamsEntriesType] `json:"type"` }
Content list entry to be blocked.
func (HostnameIPFSUniversalPathContentListUpdateParamsEntry) MarshalJSON ¶
func (r HostnameIPFSUniversalPathContentListUpdateParamsEntry) MarshalJSON() (data []byte, err error)
type HostnameIPFSUniversalPathContentListUpdateResponseEnvelope ¶
type HostnameIPFSUniversalPathContentListUpdateResponseEnvelope struct { Errors []shared.ResponseInfo `json:"errors,required"` Messages []shared.ResponseInfo `json:"messages,required"` Result ContentList `json:"result,required"` // Whether the API call was successful Success HostnameIPFSUniversalPathContentListUpdateResponseEnvelopeSuccess `json:"success,required"` JSON hostnameIPFSUniversalPathContentListUpdateResponseEnvelopeJSON `json:"-"` }
func (*HostnameIPFSUniversalPathContentListUpdateResponseEnvelope) UnmarshalJSON ¶
func (r *HostnameIPFSUniversalPathContentListUpdateResponseEnvelope) UnmarshalJSON(data []byte) (err error)
type HostnameIPFSUniversalPathContentListUpdateResponseEnvelopeSuccess ¶
type HostnameIPFSUniversalPathContentListUpdateResponseEnvelopeSuccess bool
Whether the API call was successful
const (
HostnameIPFSUniversalPathContentListUpdateResponseEnvelopeSuccessTrue HostnameIPFSUniversalPathContentListUpdateResponseEnvelopeSuccess = true
)
func (HostnameIPFSUniversalPathContentListUpdateResponseEnvelopeSuccess) IsKnown ¶
func (r HostnameIPFSUniversalPathContentListUpdateResponseEnvelopeSuccess) IsKnown() bool
type HostnameIPFSUniversalPathService ¶
type HostnameIPFSUniversalPathService struct { Options []option.RequestOption ContentLists *HostnameIPFSUniversalPathContentListService }
HostnameIPFSUniversalPathService contains methods and other services that help with interacting with the cloudflare API.
Note, unlike clients, this service does not read variables from the environment automatically. You should not instantiate this service directly, and instead use the NewHostnameIPFSUniversalPathService method instead.
func NewHostnameIPFSUniversalPathService ¶
func NewHostnameIPFSUniversalPathService(opts ...option.RequestOption) (r *HostnameIPFSUniversalPathService)
NewHostnameIPFSUniversalPathService generates a new service that applies the given options to each request. These options are applied after the parent client's options (if there is one), and before any request-specific options.
type HostnameNewParams ¶
type HostnameNewParams struct { // Target gateway of the hostname. Target param.Field[HostnameNewParamsTarget] `json:"target,required"` // An optional description of the hostname. Description param.Field[string] `json:"description"` // DNSLink value used if the target is ipfs. Dnslink param.Field[string] `json:"dnslink"` }
func (HostnameNewParams) MarshalJSON ¶
func (r HostnameNewParams) MarshalJSON() (data []byte, err error)
type HostnameNewParamsTarget ¶
type HostnameNewParamsTarget string
Target gateway of the hostname.
const ( HostnameNewParamsTargetEthereum HostnameNewParamsTarget = "ethereum" HostnameNewParamsTargetIPFS HostnameNewParamsTarget = "ipfs" HostnameNewParamsTargetIPFSUniversalPath HostnameNewParamsTarget = "ipfs_universal_path" )
func (HostnameNewParamsTarget) IsKnown ¶
func (r HostnameNewParamsTarget) IsKnown() bool
type HostnameNewResponseEnvelope ¶
type HostnameNewResponseEnvelope struct { Errors []shared.ResponseInfo `json:"errors,required"` Messages []shared.ResponseInfo `json:"messages,required"` Result Hostname `json:"result,required"` // Whether the API call was successful Success HostnameNewResponseEnvelopeSuccess `json:"success,required"` JSON hostnameNewResponseEnvelopeJSON `json:"-"` }
func (*HostnameNewResponseEnvelope) UnmarshalJSON ¶
func (r *HostnameNewResponseEnvelope) UnmarshalJSON(data []byte) (err error)
type HostnameNewResponseEnvelopeSuccess ¶
type HostnameNewResponseEnvelopeSuccess bool
Whether the API call was successful
const (
HostnameNewResponseEnvelopeSuccessTrue HostnameNewResponseEnvelopeSuccess = true
)
func (HostnameNewResponseEnvelopeSuccess) IsKnown ¶
func (r HostnameNewResponseEnvelopeSuccess) IsKnown() bool
type HostnameService ¶
type HostnameService struct { Options []option.RequestOption IPFSUniversalPaths *HostnameIPFSUniversalPathService }
HostnameService contains methods and other services that help with interacting with the cloudflare API.
Note, unlike clients, this service does not read variables from the environment automatically. You should not instantiate this service directly, and instead use the NewHostnameService method instead.
func NewHostnameService ¶
func NewHostnameService(opts ...option.RequestOption) (r *HostnameService)
NewHostnameService generates a new service that applies the given options to each request. These options are applied after the parent client's options (if there is one), and before any request-specific options.
func (*HostnameService) Delete ¶
func (r *HostnameService) Delete(ctx context.Context, zoneIdentifier string, identifier string, opts ...option.RequestOption) (res *HostnameDeleteResponse, err error)
Delete Web3 Hostname
func (*HostnameService) Edit ¶
func (r *HostnameService) Edit(ctx context.Context, zoneIdentifier string, identifier string, body HostnameEditParams, opts ...option.RequestOption) (res *Hostname, err error)
Edit Web3 Hostname
func (*HostnameService) Get ¶
func (r *HostnameService) Get(ctx context.Context, zoneIdentifier string, identifier string, opts ...option.RequestOption) (res *Hostname, err error)
Web3 Hostname Details
func (*HostnameService) List ¶
func (r *HostnameService) List(ctx context.Context, zoneIdentifier string, opts ...option.RequestOption) (res *pagination.SinglePage[Hostname], err error)
List Web3 Hostnames
func (*HostnameService) ListAutoPaging ¶
func (r *HostnameService) ListAutoPaging(ctx context.Context, zoneIdentifier string, opts ...option.RequestOption) *pagination.SinglePageAutoPager[Hostname]
List Web3 Hostnames
func (*HostnameService) New ¶
func (r *HostnameService) New(ctx context.Context, zoneIdentifier string, body HostnameNewParams, opts ...option.RequestOption) (res *Hostname, err error)
Create Web3 Hostname
type HostnameStatus ¶
type HostnameStatus string
Status of the hostname's activation.
const ( HostnameStatusActive HostnameStatus = "active" HostnameStatusPending HostnameStatus = "pending" HostnameStatusDeleting HostnameStatus = "deleting" HostnameStatusError HostnameStatus = "error" )
func (HostnameStatus) IsKnown ¶
func (r HostnameStatus) IsKnown() bool
type HostnameTarget ¶
type HostnameTarget string
Target gateway of the hostname.
const ( HostnameTargetEthereum HostnameTarget = "ethereum" HostnameTargetIPFS HostnameTarget = "ipfs" HostnameTargetIPFSUniversalPath HostnameTarget = "ipfs_universal_path" )
func (HostnameTarget) IsKnown ¶
func (r HostnameTarget) IsKnown() bool
type MemberParam ¶ added in v2.1.0
type MemberParam = shared.MemberParam
This is an alias to an internal type.
type MemberRoleParam ¶ added in v2.1.0
type MemberRoleParam = shared.MemberRoleParam
This is an alias to an internal type.
type MemberRolesPermissionsParam ¶ added in v2.1.0
type MemberRolesPermissionsParam = shared.MemberRolesPermissionsParam
This is an alias to an internal type.
type MemberStatus ¶ added in v2.3.0
type MemberStatus = shared.MemberStatus
A member's status in the account.
This is an alias to an internal type.
type MemberUserParam ¶ added in v2.1.0
type MemberUserParam = shared.MemberUserParam
Details of the user associated to the membership.
This is an alias to an internal type.
type PermissionGrant ¶
type PermissionGrant = shared.PermissionGrant
This is an alias to an internal type.
type PermissionGrantParam ¶
type PermissionGrantParam = shared.PermissionGrantParam
This is an alias to an internal type.
type SortDirection ¶ added in v2.2.0
type SortDirection = shared.SortDirection
Direction to order DNS records in.
This is an alias to an internal type.
type Web3Service ¶
type Web3Service struct { Options []option.RequestOption Hostnames *HostnameService }
Web3Service contains methods and other services that help with interacting with the cloudflare API.
Note, unlike clients, this service does not read variables from the environment automatically. You should not instantiate this service directly, and instead use the NewWeb3Service method instead.
func NewWeb3Service ¶
func NewWeb3Service(opts ...option.RequestOption) (r *Web3Service)
NewWeb3Service generates a new service that applies the given options to each request. These options are applied after the parent client's options (if there is one), and before any request-specific options.