Documentation
¶
Index ¶
- func GetAccountID(config *WranglerConfig, flagAccountID string) (string, bool)
- type AccountInfo
- type BrowserConfig
- type D1Database
- type ImagesConfig
- type KVNamespace
- type ObservabilityConfig
- type Pipeline
- type QueueProducer
- type QueuesConfig
- type R2Bucket
- type SecretsStoreSecret
- type TriggersConfig
- type VPCService
- type VectorizeIndex
- type Workflow
- type WranglerConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAccountID ¶
func GetAccountID(config *WranglerConfig, flagAccountID string) (string, bool)
Types ¶
type AccountInfo ¶
type BrowserConfig ¶
type BrowserConfig struct {
Binding string `json:"binding" toml:"binding"`
}
type D1Database ¶
type ImagesConfig ¶
type ImagesConfig struct {
Binding string `json:"binding" toml:"binding"`
}
type KVNamespace ¶
type ObservabilityConfig ¶
type ObservabilityConfig struct {
Enabled bool `json:"enabled" toml:"enabled"`
}
type QueueProducer ¶
type QueuesConfig ¶
type QueuesConfig struct {
Producers []QueueProducer `json:"producers" toml:"producers"`
}
type SecretsStoreSecret ¶
type TriggersConfig ¶
type TriggersConfig struct {
Crons []string `json:"crons" toml:"crons"`
}
type VPCService ¶
type VectorizeIndex ¶
type WranglerConfig ¶
type WranglerConfig struct {
Name string `json:"name" toml:"name"`
AccountID string `json:"account_id" toml:"account_id"`
CompatibilityDate string `json:"compatibility_date" toml:"compatibility_date"`
Vars map[string]any `json:"vars" toml:"vars"`
Observability *ObservabilityConfig `json:"observability" toml:"observability"`
Triggers *TriggersConfig `json:"triggers" toml:"triggers"`
Queues *QueuesConfig `json:"queues" toml:"queues"`
Workflows []Workflow `json:"workflows" toml:"workflows"`
Browser *BrowserConfig `json:"browser" toml:"browser"`
VPCServices []VPCService `json:"vpc_services" toml:"vpc_services"`
R2Buckets []R2Bucket `json:"r2_buckets" toml:"r2_buckets"`
KVNamespaces []KVNamespace `json:"kv_namespaces" toml:"kv_namespaces"`
D1Databases []D1Database `json:"d1_databases" toml:"d1_databases"`
Pipelines []Pipeline `json:"pipelines" toml:"pipelines"`
Vectorize []VectorizeIndex `json:"vectorize" toml:"vectorize"`
SecretsStoreSecrets []SecretsStoreSecret `json:"secrets_store_secrets" toml:"secrets_store_secrets"`
Images *ImagesConfig `json:"images" toml:"images"`
}
func LoadWranglerConfig ¶
func LoadWranglerConfig(configPath string) (*WranglerConfig, error)
Click to show internal directories.
Click to hide internal directories.