Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudflareCleanupConfig ¶
CloudflareCleanupConfig contains deployment cleanup settings. Cleanup is automatically enabled when OlderThanDays or KeepLast is set (> 0).
type PagesProvider ¶
type PagesProvider struct {
// contains filtered or unexported fields
}
PagesProvider implements the provider.Provider interface for Cloudflare Pages. It handles deployment using the Cloudflare Direct Upload API.
func NewCloudflare ¶
func NewCloudflare(apiToken, accountID, projectName string, cleanup CloudflareCleanupConfig, repositories []*config.RepositoryConfig, poolMode string) (*PagesProvider, error)
New creates a new Cloudflare Pages provider.
func (*PagesProvider) GetURL ¶
func (p *PagesProvider) GetURL() string
GetURL returns the production URL for the project.
Click to show internal directories.
Click to hide internal directories.