Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BunnyClientParams ¶
type BunnyClientParams struct {
APIKey string
}
type Client ¶
type Client interface {
ListPullZones(ctx context.Context, params ListPullZoneParams) (bunny.Page[PullZone], error)
}
func New ¶
func New(params BunnyClientParams, options ...Option) Client
type EdgeRuleTrigger ¶
type ListPullZoneParams ¶
type ListPullZoneParams struct { bunny.PageParams Search bunny.OptionalValue[string] }
type PullZone ¶
type PullZone struct { ID string `json:"Id"` Name string OriginUrl string Enabled bool Hostnames []PullZoneHostname StorageZoneID int EdgeScriptID int AllowedReferrer []string BlockedReferrer []string BlockedIP []string EnabledGeoZoneUS bool EnabledGeoZoneEU bool EnabledGeoZoneAsia bool EnabledGeoZoneSA bool ZoneSecurityEnabled bool ZoneSecurityKey string ZoneSecurityIncludeHashRemoteIP bool IgnoreQueryStrings bool MonthlyBandwidthLimit int MonthlyBandwidthUsed int }
type PullZoneHostname ¶
type PullZoneHostname struct{}
Click to show internal directories.
Click to hide internal directories.