Documentation
¶
Index ¶
- Constants
- func ListProjectResources(ctx context.Context, namespace string, origin Origin, ...) ([]provider.PhysicalResource, error)
- func New(namespace string, origin Origin, options Options) edge.Edge
- func NewDNS(zone string, origin Origin) edge.DNSRecords
- func Shape(site pricing.EdgeSite) (pricing.EdgeShape, error)
- type Options
- type Origin
- type OriginScope
- type Proxy
- func (x *Proxy) Bootstrap(ctx context.Context, tier environment.Tier) (edge.BootstrapOutput, error)
- func (x *Proxy) DestroyPreviewWildcard(ctx context.Context, baseDomain string) error
- func (x *Proxy) DomainOwner(ctx context.Context, hostname string) (string, error)
- func (x *Proxy) Facts() edge.Facts
- func (x *Proxy) Hooks() edge.Hooks
- func (x *Proxy) Kind() edge.Kind
- func (x *Proxy) Open(state edge.StackState) (edge.EdgeStack, error)
- func (x *Proxy) PlanPreviewWildcardRemoval(wildcard string) (removed, kept edge.PlanGroup, err error)
- func (x *Proxy) PlanProjectRemoval(scope edge.ProjectScope) ([]edge.PlanGroup, error)
- func (x *Proxy) PlanSharedPreviewRemoval() edge.PlanGroup
- func (x *Proxy) ProjectOwner(ctx context.Context, slug string, tier environment.Tier) (string, error)
- func (x *Proxy) Reconcile(ctx context.Context, spec edge.StackSpec, prior edge.StackState) (edge.EdgeStack, error)
- func (x *Proxy) ReconcilePreviewWildcard(ctx context.Context, spec edge.PreviewWildcardSpec) (string, error)
- func (x *Proxy) Teardown(ctx context.Context, tier environment.Tier) error
- type Router
Constants ¶
View Source
const Kind edge.Kind = "cloudflare"
Variables ¶
This section is empty.
Functions ¶
func ListProjectResources ¶
func ListProjectResources(ctx context.Context, namespace string, origin Origin, req provider.ProjectResourcesRequest) ([]provider.PhysicalResource, error)
Types ¶
type OriginScope ¶
func (OriginScope) String ¶
func (o OriginScope) String() string
type Proxy ¶
type Proxy struct {
// contains filtered or unexported fields
}
func (*Proxy) Bootstrap ¶
func (x *Proxy) Bootstrap(ctx context.Context, tier environment.Tier) (edge.BootstrapOutput, error)
func (*Proxy) DestroyPreviewWildcard ¶
func (*Proxy) DomainOwner ¶
func (*Proxy) PlanPreviewWildcardRemoval ¶
func (*Proxy) PlanProjectRemoval ¶
func (*Proxy) PlanSharedPreviewRemoval ¶
func (*Proxy) ProjectOwner ¶
func (*Proxy) ReconcilePreviewWildcard ¶
Source Files
¶
- apimethod.go
- bootstrap.go
- bootstrapaccount.go
- bootstrapbehind.go
- bootstrapdescription.go
- bootstrapplan.go
- clientcertificate.go
- cloudflare.go
- credentials.go
- dnsrecords.go
- domain.go
- entitlement.go
- entryprogram.go
- envelope.go
- gate.go
- hostname.go
- options.go
- origin.go
- originbinding.go
- origincertificate.go
- originfacing.go
- originnames.go
- originscope.go
- otherorigin.go
- previewwildcard.go
- projectresources.go
- proxy.go
- proxybootstrap.go
- proxyowner.go
- proxypreviewwildcard.go
- proxyremovals.go
- proxystack.go
- purge.go
- purgebudget.go
- ratelimit.go
- recordcomment.go
- removals.go
- router.go
- script.go
- servedrecord.go
- shape.go
- stack.go
- stamp.go
- store.go
- storeretry.go
- tierrecord.go
- tunnel.go
- workername.go
- workerscript.go
Click to show internal directories.
Click to hide internal directories.