Documentation ¶
Index ¶
Constants ¶
View Source
const ( WatcherTypeKube = "kube" WatcherTypeConsul = "consul" WatcherTypeFile = "file" WatcherTypeVault = "vault" )
Variables ¶
View Source
var ( SupportedCwTypes = []string{ WatcherTypeFile, WatcherTypeKube, WatcherTypeConsul, } SupportedFwTypes = []string{ WatcherTypeConsul, WatcherTypeFile, WatcherTypeKube, } SupportedSwTypes = []string{ WatcherTypeVault, WatcherTypeKube, WatcherTypeFile, } )
Functions ¶
This section is empty.
Types ¶
type CoPilotOptions ¶
type CoPilotOptions struct { // Address is the address of the Consul server Address string // Datacenter to use. If not provided, the default agent datacenter is used. ServerCA string // Scheme is the URI scheme for the Consul server ClientCert string // Username to use for HTTP Basic Authentication ClientKey string }
type ConsulOptions ¶
type ConsulOptions struct { // Address is the address of the Consul server Address string // Datacenter to use. If not provided, the default agent datacenter is used. Datacenter string // Scheme is the URI scheme for the Consul server Scheme string // Username to use for HTTP Basic Authentication Username string // Password to use for HTTP Basic Authentication Password string // Token is used to provide a per-request ACL token // which overrides the agent's default token. Token string // RootPath is used as the root for all keys stored // in consul by gloo RootPath string }
func (ConsulOptions) ToConsulConfig ¶
func (o ConsulOptions) ToConsulConfig() *api.Config
type FileOptions ¶
type KubeOptions ¶
type Options ¶
type Options struct { // general options for storage backends ConfigStorageOptions StorageOptions SecretStorageOptions StorageOptions FileStorageOptions StorageOptions // options for platforms KubeOptions KubeOptions ConsulOptions ConsulOptions CoPilotOptions CoPilotOptions FileOptions FileOptions VaultOptions VaultOptions }
type StorageOptions ¶
type VaultOptions ¶
type XdsOptions ¶
type XdsOptions struct {
Port int
}
Click to show internal directories.
Click to hide internal directories.