model

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessApplicationDescription

type AccessApplicationDescription struct {
	ID                     string
	Name                   string
	AccountID              string
	AccountName            string
	Domain                 string
	CreatedAt              *time.Time
	Aud                    string
	AutoRedirectToIdentity bool
	CustomDenyMessage      string
	CustomDenyURL          string
	EnableBindingCookie    bool
	SessionDuration        string
	UpdatedAt              *time.Time
	AllowedIDPs            []string
	CORSHeaders            *cloudflare.AccessApplicationCorsHeaders
}

type AccessGroupDescription

type AccessGroupDescription struct {
	ID          string
	Name        string
	AccountID   string
	AccountName string
	CreatedAt   *time.Time
	UpdatedAt   *time.Time
	Exclude     []interface{}
	Include     []interface{}
	Require     []interface{}
}

type AccessPolicyDescription

type AccessPolicyDescription struct {
	ID                           string
	Name                         string
	ApplicationID                string
	ApplicationName              string
	AccountID                    string
	CreatedAt                    *time.Time
	Decision                     string
	Precedence                   int
	PurposeJustificationPrompt   *string
	PurposeJustificationRequired *bool
	UpdatedAt                    *time.Time
	ApprovalGroups               []cloudflare.AccessApprovalGroup
	Exclude                      []interface{}
	Include                      []interface{}
	Require                      []interface{}
}

type AccountDescription

type AccountDescription struct {
	ID       string
	Name     string
	Type     string
	Settings *cloudflare.AccountSettings
}

type AccountMemberDescription

type AccountMemberDescription struct {
	UserEmail string
	ID        string
	Status    string
	AccountID string
	Code      string
	User      cloudflare.AccountMemberUserDetails
	Roles     []cloudflare.AccountRole
	Title     string
}

type AccountRoleDescription

type AccountRoleDescription = struct {
	ID          string
	Name        string
	Description string
	Permissions map[string]cloudflare.AccountRolePermission
	AccountID   string
	Title       string
}

type ApiTokenDescription

type ApiTokenDescription struct {
	ID         string
	Name       string
	Status     string
	Condition  *cloudflare.APITokenCondition
	ExpiresOn  *time.Time
	IssuedOn   *time.Time
	ModifiedOn *time.Time
	NotBefore  *time.Time
	Policies   []cloudflare.APITokenPolicies
}

type DNSRecordDescription

type DNSRecordDescription struct {
	ZoneID     string
	ZoneName   string
	ID         string
	Type       string
	Name       string
	Content    string
	TTL        int
	CreatedOn  time.Time
	Locked     bool
	ModifiedOn time.Time
	Priority   *uint16
	Proxiable  bool
	Proxied    *bool
	Data       interface{}
	Meta       interface{}
}

type FireWallRuleDescription

type FireWallRuleDescription struct {
	ID          string
	Paused      bool
	Description string
	Action      string
	Title       string
	Priority    interface{}
	Filter      cloudflare.Filter
	Products    []string
	CreatedOn   time.Time
	ModifiedOn  time.Time
	ZoneID      string
}

type LoadBalancerDescription

type LoadBalancerDescription struct {
	ID                        string
	Name                      string
	ZoneName                  string
	ZoneID                    string
	TTL                       int
	Enabled                   *bool
	CreatedOn                 *time.Time
	Description               string
	FallbackPool              string
	ModifiedOn                *time.Time
	Proxied                   bool
	SessionAffinity           string
	SessionAffinityTTL        int
	SteeringPolicy            string
	DefaultPools              []string
	PopPools                  map[string][]string
	RegionPools               map[string][]string
	SessionAffinityAttributes *cloudflare.SessionAffinityAttributes
}

type LoadBalancerMonitorDescription

type LoadBalancerMonitorDescription struct {
	ID              string
	CreatedOn       *time.Time
	ModifiedOn      *time.Time
	Type            string
	Description     string
	Method          string
	Path            string
	Header          map[string][]string
	Timeout         int
	Retries         int
	Interval        int
	Port            uint16
	ExpectedBody    string
	ExpectedCodes   string
	FollowRedirects bool
	AllowInsecure   bool
	ProbeZone       string
}

type LoadBalancerPoolDescription

type LoadBalancerPoolDescription struct {
	ID                string
	Name              string
	Enabled           bool
	Monitor           string
	CreatedOn         *time.Time
	Description       string
	Latitude          *float32
	Longitude         *float32
	MinimumOrigins    int
	ModifiedOn        *time.Time
	NotificationEmail string
	CheckRegions      []string
	LoadShedding      *cloudflare.LoadBalancerLoadShedding
	Origins           []cloudflare.LoadBalancerOrigin
}

type Metadata

type Metadata struct{}

type PageRuleDescription

type PageRuleDescription struct {
	ID         string
	Status     string
	ZoneID     string
	CreatedOn  time.Time
	ModifiedOn time.Time
	Priority   int
	Title      string
	Actions    []cloudflare.PageRuleAction
	Targets    []cloudflare.PageRuleTarget
}

type UserAuditLogDescription

type UserAuditLogDescription struct {
	ActorEmail   string
	ActorID      string
	ActorIP      string
	ActorType    string
	ID           string
	NewValue     string
	OldValue     string
	OwnerID      string
	When         string
	Action       cloudflare.AuditLogAction
	Metadata     map[string]interface{}
	NewValueJSON map[string]interface{}
	OldValueJSON map[string]interface{}
	Resource     cloudflare.AuditLogResource
}

type UserDescription

type UserDescription struct {
	ID                             string
	Email                          string
	Username                       string
	Telephone                      string
	FirstName                      string
	LastName                       string
	Country                        string
	Zipcode                        string
	CreatedOn                      *time.Time
	ModifiedOn                     *time.Time
	APIKey                         string
	TwoFactorAuthenticationEnabled bool
	Betas                          []string
	Organizations                  []cloudflare.Account
}

type WorkerRouteDescription

type WorkerRouteDescription struct {
	ID       string
	ZoneName string
	Pattern  string
	Script   string
	ZoneID   string
}

type ZoneDescription

type ZoneDescription struct {
	ID                  string
	Name                string
	Betas               []string
	CreatedOn           time.Time
	DeactivationReason  string
	DevelopmentMode     int
	DNSSEC              cloudflare.ZoneDNSSEC
	Host                host
	Meta                cloudflare.ZoneMeta
	ModifiedOn          time.Time
	NameServers         []string
	OriginalDNSHost     string
	OriginalNameServers []string
	OriginalRegistrar   string
	Owner               cloudflare.Owner
	Paused              bool
	Permissions         []string
	Settings            map[string]interface{}
	Plan                cloudflare.ZonePlan
	PlanPending         cloudflare.ZonePlan
	Status              string
	Type                string
	VanityNameServers   []string
}

Jump to

Keyboard shortcuts

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