package
3.1.3+incompatible
Repository: https://github.com/haproxytech/dataplaneapi.git
Documentation: pkg.go.dev
# README
Data Plane API internal storage (dataplane_storage_dir)
Dataplane API internal storage location
Location of Dataplane API storage is managed by :
- dataplane API start argument
dataplane-storage-dir
(default value:/etc/haproxy/dataplane
)
It can be overriden by a field in Daplane API configuration file:
dataplaneapi.resources.dataplane_storage_dir
: refer to example-full
Files stored in Dataplane API internal storage location
File name | content | example | Comment |
---|---|---|---|
cluster.json | Cluster configuration + Cluster users | cluster.json | Prior to 3.0 was in Dapi config file: cluster , dataplaneapi.user , status sections |
service_discovery/consul.json | Consul configuration | Prior to 3.0 was in Dapi config file service_discovery.consuls section | |
service_discovery/aws.json | AWS configuration | Prior to 3.0 was in Dapi config file service_discovery.aws_regions section |
# Functions
NewClusterModeStorage creates a new clusterStorageImpl with initial configuration from a file path.
NewSDAWSRegionStorage creates a new AWSRegionStorageImpl with initial configuration from a file path.
NewSDConsulStorage creates a new consulStorageImpl with initial configuration from a file path.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
type constraint for storable objects, add more when need arises with |.
No description provided by the author
No description provided by the author