cloudflare

package
v0.0.0-...-1dbcda5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudflareClient

type CloudflareClient struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(ctx context.Context, apiToken string, zoneName string) (*CloudflareClient, error)

func (*CloudflareClient) GetHostnameInfo

func (client *CloudflareClient) GetHostnameInfo(ctx context.Context, hostname string) (*cloudflare.CustomHostname, error)

func (*CloudflareClient) RegisterHostname

func (client *CloudflareClient) RegisterHostname(ctx context.Context, hostname string) (*cloudflare.CustomHostname, error)

type NotFoundError

type NotFoundError struct {
	// contains filtered or unexported fields
}

func (*NotFoundError) Error

func (err *NotFoundError) Error() string

type OwnerhsipStatus

type OwnerhsipStatus cloudflare.CustomHostnameStatus

type SSLVerificationStatus

type SSLVerificationStatus string

https://github.com/cloudflare/cloudflare-go/issues/131

const (
	PENDING_VALIDATION SSLVerificationStatus = "pending_validation"
	PENDING_ISSUANCE   SSLVerificationStatus = "pending_issuance"
	PENDING_DEPLOYMENT SSLVerificationStatus = "pending_deployment"
	ACTIVE             SSLVerificationStatus = "active"
	DELETED            SSLVerificationStatus = "deleted"
	INITIALIZING       SSLVerificationStatus = "initializing"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL