Versions in this module Expand all Collapse all v1 v1.16.4 Nov 29, 2024 v0 v0.16.4 Nov 29, 2024 Changes in this version + var ErrNoData = fmt.Errorf("config source contained no data") + func AddFlags(fs *flag.FlagSet, f *LoadOpts) + func ApplyDefaultQueryOptions(config *RuntimeConfig) func(options *structs.QueryOptions) + func UIPathBuilder(UIContentString string) string + type ACL struct + DefaultPolicy *string + DownPolicy *string + EnableKeyListPolicy *bool + EnableTokenPersistence *bool + Enabled *bool + MSPDisableBootstrap *bool + PolicyTTL *string + RoleTTL *string + TokenReplication *bool + TokenTTL *string + Tokens Tokens + type Addresses struct + DNS *string + GRPC *string + GRPCTLS *string + HTTP *string + HTTPS *string + type AdvertiseAddrsConfig struct + RPC *string + SerfLAN *string + SerfWAN *string + type Audit struct + Enabled *bool + RPCEnabled *bool + Sinks map[string]AuditSink + type AuditSink struct + DeliveryGuarantee *string + Format *string + Mode *string + Path *string + RotateBytes *int + RotateDuration *string + RotateMaxFiles *int + Type *string + type AutoConfig struct + Authorizer AutoConfigAuthorizer + DNSSANs []string + Enabled bool + IPSANs []net.IP + IntroToken string + IntroTokenFile string + ServerAddresses []string + type AutoConfigAuthorizationRaw struct + Enabled *bool + Static AutoConfigAuthorizerRaw + type AutoConfigAuthorizer struct + AllowReuse bool + AuthMethod structs.ACLAuthMethod + ClaimAssertions []string + Enabled bool + type AutoConfigAuthorizerRaw struct + AllowReuse *bool + BoundAudiences []string + BoundIssuer *string + ClaimAssertions []string + ClaimMappings map[string]string + ClockSkewLeeway *string + ExpirationLeeway *string + JWKSCACert *string + JWKSURL *string + JWTSupportedAlgs []string + JWTValidationPubKeys []string + ListClaimMappings map[string]string + NotBeforeLeeway *string + OIDCDiscoveryCACert *string + OIDCDiscoveryURL *string + type AutoConfigRaw struct + Authorization AutoConfigAuthorizationRaw + DNSSANs []string + Enabled *bool + IPSANs []string + IntroToken *string + IntroTokenFile *string + ServerAddresses []string + type AutoEncrypt struct + AllowTLS *bool + DNSSAN []string + IPSAN []string + TLS *bool + type Autopilot struct + CleanupDeadServers *bool + DisableUpgradeMigration *bool + LastContactThreshold *string + MaxTrailingLogs *int + MinQuorum *uint + RedundancyZoneTag *string + ServerStabilizationTime *string + UpgradeVersionTag *string + type Cache struct + EntryFetchMaxBurst *int + EntryFetchRate *float64 + type CheckDefinition struct + AliasNode *string + AliasService *string + Body *string + DeregisterCriticalServiceAfter *string + DisableRedirects *bool + DockerContainerID *string + FailuresBeforeCritical *int + FailuresBeforeWarning *int + GRPC *string + GRPCUseTLS *bool + H2PING *string + H2PingUseTLS *bool + HTTP *string + Header map[string][]string + ID *string + Interval *string + Method *string + Name *string + Notes *string + OSService *string + OutputMaxSize *int + ScriptArgs []string + ServiceID *string + Shell *string + Status *string + SuccessBeforePassing *int + TCP *string + TCPUseTLS *bool + TLSServerName *string + TLSSkipVerify *bool + TTL *string + Timeout *string + Token *string + UDP *string + type CloudConfigRaw struct + AuthURL *string + ClientID *string + ClientSecret *string + Hostname *string + ResourceID *string + ScadaAddress *string + type Config struct + ACL ACL + AEInterval *string + Addresses Addresses + AdvertiseAddrLAN *string + AdvertiseAddrLANIPv4 *string + AdvertiseAddrLANIPv6 *string + AdvertiseAddrWAN *string + AdvertiseAddrWANIPv4 *string + AdvertiseAddrWANIPv6 *string + AdvertiseReconnectTimeout *string + Audit Audit + AutoConfig AutoConfigRaw + AutoEncrypt AutoEncrypt + AutoReloadConfig *bool + Autopilot Autopilot + BindAddr *string + Bootstrap *bool + BootstrapExpect *int + BuildDate *time.Time + Cache Cache + Check *CheckDefinition + CheckDeregisterIntervalMin *string + CheckOutputMaxSize *int + CheckReapInterval *string + CheckUpdateInterval *string + Checks []CheckDefinition + ClientAddr *string + Cloud *CloudConfigRaw + ConfigEntries ConfigEntries + Connect Connect + Consul Consul + DNS DNS + DNSAltDomain *string + DNSDomain *string + DNSRecursors []string + DataDir *string + Datacenter *string + DefaultQueryTime *string + DisableAnonymousSignature *bool + DisableCoordinates *bool + DisableHTTPUnprintableCharFilter *bool + DisableHostNodeID *bool + DisableKeyringFile *bool + DisableRemoteExec *bool + DisableUpdateCheck *bool + DiscardCheckOutput *bool + DiscoveryMaxStale *string + EnableAgentTLSForChecks *bool + EnableCentralServiceConfig *bool + EnableDebug *bool + EnableLocalScriptChecks *bool + EnableScriptChecks *bool + EnableSyslog *bool + EncryptKey *string + EncryptVerifyIncoming *bool + EncryptVerifyOutgoing *bool + Experiments []string + GossipLAN GossipLANConfig + GossipWAN GossipWANConfig + HTTPConfig HTTPConfig + LeaveOnTerm *bool + LicensePath *string + LicensePollBaseTime *string + LicensePollMaxTime *string + LicenseUpdateBaseTime *string + LicenseUpdateMaxTime *string + Limits Limits + Locality *Locality + LogFile *string + LogJSON *bool + LogLevel *string + LogRotateBytes *int + LogRotateDuration *string + LogRotateMaxFiles *int + MaxQueryTime *string + NodeID *string + NodeMeta map[string]string + NodeName *string + Partition *string + Peering Peering + Performance Performance + PidFile *string + Ports Ports + PrimaryDatacenter *string + PrimaryGateways []string + PrimaryGatewaysInterval *string + RPC RPC + RPCProtocol *int + RaftLogStore RaftLogStoreRaw + RaftProtocol *int + RaftSnapshotInterval *string + RaftSnapshotThreshold *int + RaftTrailingLogs *int + ReadReplica *bool + ReconnectTimeoutLAN *string + ReconnectTimeoutWAN *string + RejoinAfterLeave *bool + Reporting Reporting + RetryJoinIntervalLAN *string + RetryJoinIntervalWAN *string + RetryJoinLAN []string + RetryJoinMaxAttemptsLAN *int + RetryJoinMaxAttemptsWAN *int + RetryJoinWAN []string + Revision *string + SegmentLimit *int + SegmentName *string + SegmentNameLimit *int + Segments []Segment + SerfAllowedCIDRsLAN []string + SerfAllowedCIDRsWAN []string + SerfBindAddrLAN *string + SerfBindAddrWAN *string + ServerMode *bool + ServerName *string + ServerRejoinAgeMax *string + Service *ServiceDefinition + Services []ServiceDefinition + SessionTTLMin *string + SkipLeaveOnInt *bool + SnapshotAgent map[string]interface{} + SyncCoordinateIntervalMin *string + SyncCoordinateRateTarget *float64 + SyslogFacility *string + TLS TLS + TaggedAddresses map[string]string + Telemetry Telemetry + TranslateWANAddrs *bool + UI *bool + UIConfig RawUIConfig + UIContentPath *string + UIDir *string + UnixSocket UnixSocket + UseStreamingBackend *bool + Version *string + VersionMetadata *string + VersionPrerelease *string + Watches []map[string]interface{} + XDS XDS + func Merge(files ...Config) Config + type ConfigEntries struct + Bootstrap []map[string]interface{} + type Connect struct + CAConfig map[string]interface{} + CAProvider *string + Enabled *bool + MeshGatewayWANFederationEnabled *bool + TestCALeafRootChangeSpread *string + type Consul struct + Coordinate struct{ ... } + Raft struct{ ... } + Server struct{ ... } + type DNS struct + ARecordLimit *int + AllowStale *bool + CacheMaxAge *string + DisableCompression *bool + EnableTruncate *bool + MaxStale *string + NodeMetaTXT *bool + NodeTTL *string + OnlyPassing *bool + PreferNamespace *bool + RecursorStrategy *string + RecursorTimeout *string + SOA *SOA + ServiceTTL map[string]string + UDPAnswerLimit *int + UseCache *bool + type DeprecatedConfig struct + ACLAgentMasterToken *string + ACLAgentToken *string + ACLDatacenter *string + ACLDefaultPolicy *string + ACLDownPolicy *string + ACLEnableKeyListPolicy *bool + ACLMasterToken *string + ACLReplicationToken *string + ACLTTL *string + ACLToken *string + CAFile *string + CAPath *string + CertFile *string + EnableACLReplication *bool + KeyFile *string + RaftBoltDBConfig *consul.RaftBoltDBConfig + StartJoinAddrsLAN []string + StartJoinAddrsWAN []string + TLSCipherSuites *string + TLSMinVersion *string + TLSPreferServerCipherSuites *bool + VerifyIncoming *bool + VerifyIncomingHTTPS *bool + VerifyIncomingRPC *bool + VerifyOutgoing *bool + VerifyServerHostname *bool + type DeprecatedTokens struct + AgentMaster *string + Master *string + type EnterpriseMeta struct + func (_ *EnterpriseMeta) ToStructs() acl.EnterpriseMeta + type EnterpriseRuntimeConfig struct + type ExposeConfig struct + Checks *bool + Paths []ExposePath + Port *int + type ExposePath struct + ListenerPort *int + LocalPathPort *int + Path *string + Protocol *string + type FileSource struct + Data string + Format string + Name string + func (f FileSource) Parse() (Config, Metadata, error) + func (f FileSource) Source() string + type FileWatcherEvent struct + Filenames []string + type FlagValuesTarget = decodeTarget + type GossipLANConfig struct + GossipInterval *string + GossipNodes *int + ProbeInterval *string + ProbeTimeout *string + RetransmitMult *int + SuspicionMult *int + type GossipWANConfig struct + GossipInterval *string + GossipNodes *int + ProbeInterval *string + ProbeTimeout *string + RetransmitMult *int + SuspicionMult *int + type HTTPConfig struct + AllowWriteHTTPFrom []string + BlockEndpoints []string + MaxHeaderBytes *int + ResponseHeaders map[string]string + UseCache *bool + type License struct + Enabled *bool + type LicenseConfig struct + Enabled bool + type Limits struct + HTTPMaxConnsPerClient *int + HTTPSHandshakeTimeout *string + KVMaxValueSize *uint64 + RPCClientTimeout *string + RPCHandshakeTimeout *string + RPCMaxBurst *int + RPCMaxConnsPerClient *int + RPCRate *float64 + RequestLimits RequestLimits + TxnMaxReqLen *uint64 + type LiteralSource struct + Config Config + Name string + func (l LiteralSource) Parse() (Config, Metadata, error) + func (l LiteralSource) Source() string + type LoadOpts struct + ConfigFiles []string + ConfigFormat string + DefaultConfig Source + DevMode *bool + FlagValues FlagValuesTarget + HCL []string + Overrides []Source + type LoadResult struct + RuntimeConfig *RuntimeConfig + Warnings []string + WatchedFiles []string + func Load(opts LoadOpts) (LoadResult, error) + type Locality struct + Region *string + Zone *string + type MeshGatewayConfig struct + Mode *string + type Metadata struct + Keys []string + Unused []string + Warnings []string + type Peering struct + Enabled *bool + TestAllowPeerRegistrations *bool + type Performance struct + GRPCKeepaliveInterval *string + GRPCKeepaliveTimeout *string + LeaveDrainTime *string + RPCHoldTimeout *string + RaftMultiplier *int + type Ports struct + DNS *int + ExposeMaxPort *int + ExposeMinPort *int + GRPC *int + GRPCTLS *int + HTTP *int + HTTPS *int + ProxyMaxPort *int + ProxyMinPort *int + SerfLAN *int + SerfWAN *int + Server *int + SidecarMaxPort *int + SidecarMinPort *int + type RPC struct + EnableStreaming *bool + type RaftBoltDBConfigRaw struct + NoFreelistSync *bool + type RaftLogStoreRaw struct + Backend *string + BoltDBConfig RaftBoltDBConfigRaw + DisableLogCache *bool + Verification RaftLogStoreVerificationRaw + WALConfig RaftWALConfigRaw + type RaftLogStoreVerificationRaw struct + Enabled *bool + Interval *string + type RaftWALConfigRaw struct + SegmentSizeMB *int + type RawUIConfig struct + ContentPath *string + DashboardURLTemplates map[string]string + Dir *string + Enabled *bool + MetricsProvider *string + MetricsProviderFiles []string + MetricsProviderOptionsJSON *string + MetricsProxy RawUIMetricsProxy + type RawUIMetricsProxy struct + AddHeaders []RawUIMetricsProxyAddHeader + BaseURL *string + PathAllowlist []string + type RawUIMetricsProxyAddHeader struct + Name *string + Value *string + type Reporting struct + License License + type ReportingConfig struct + License LicenseConfig + type RequestLimits struct + Mode *string + ReadRate *float64 + WriteRate *float64 + type RuntimeConfig struct + ACLEnableKeyListPolicy bool + ACLInitialManagementToken string + ACLResolverSettings consul.ACLResolverSettings + ACLTokenReplication bool + ACLTokens token.Config + ACLsEnabled bool + AEInterval time.Duration + AdvertiseAddrLAN *net.IPAddr + AdvertiseAddrWAN *net.IPAddr + AdvertiseReconnectTimeout time.Duration + AllowWriteHTTPFrom []*net.IPNet + AutoConfig AutoConfig + AutoEncryptAllowTLS bool + AutoEncryptDNSSAN []string + AutoEncryptIPSAN []net.IP + AutoEncryptTLS bool + AutoReloadConfig bool + AutoReloadConfigCoalesceInterval time.Duration + AutopilotCleanupDeadServers bool + AutopilotDisableUpgradeMigration bool + AutopilotLastContactThreshold time.Duration + AutopilotMaxTrailingLogs int + AutopilotMinQuorum uint + AutopilotRedundancyZoneTag string + AutopilotServerStabilizationTime time.Duration + AutopilotUpgradeVersionTag string + BindAddr *net.IPAddr + Bootstrap bool + BootstrapExpect int + BuildDate time.Time + Cache cache.Options + CheckDeregisterIntervalMin time.Duration + CheckOutputMaxSize int + CheckReapInterval time.Duration + CheckUpdateInterval time.Duration + Checks []*structs.CheckDefinition + ClientAddrs []*net.IPAddr + Cloud hcpconfig.CloudConfig + ConfigEntryBootstrap []structs.ConfigEntry + ConnectCAConfig map[string]interface{} + ConnectCAProvider string + ConnectEnabled bool + ConnectMeshGatewayWANFederationEnabled bool + ConnectSidecarMaxPort int + ConnectSidecarMinPort int + ConnectTestCALeafRootChangeSpread time.Duration + ConsulCoordinateUpdateBatchSize int + ConsulCoordinateUpdateMaxBatches int + ConsulCoordinateUpdatePeriod time.Duration + ConsulRaftElectionTimeout time.Duration + ConsulRaftHeartbeatTimeout time.Duration + ConsulRaftLeaderLeaseTimeout time.Duration + ConsulServerHealthInterval time.Duration + DNSARecordLimit int + DNSAddrs []net.Addr + DNSAllowStale bool + DNSAltDomain string + DNSCacheMaxAge time.Duration + DNSDisableCompression bool + DNSDomain string + DNSEnableTruncate bool + DNSMaxStale time.Duration + DNSNodeMetaTXT bool + DNSNodeTTL time.Duration + DNSOnlyPassing bool + DNSPort int + DNSRecursorStrategy dns.RecursorStrategy + DNSRecursorTimeout time.Duration + DNSRecursors []string + DNSSOA RuntimeSOAConfig + DNSServiceTTL map[string]time.Duration + DNSUDPAnswerLimit int + DNSUseCache bool + DataDir string + Datacenter string + DefaultQueryTime time.Duration + DevMode bool + DisableAnonymousSignature bool + DisableCoordinates bool + DisableHTTPUnprintableCharFilter bool + DisableHostNodeID bool + DisableKeyringFile bool + DisableRemoteExec bool + DisableUpdateCheck bool + DiscardCheckOutput bool + DiscoveryMaxStale time.Duration + EnableAgentTLSForChecks bool + EnableCentralServiceConfig bool + EnableDebug bool + EnableLocalScriptChecks bool + EnableRemoteScriptChecks bool + EncryptKey string + Experiments []string + ExposeMaxPort int + ExposeMinPort int + GRPCAddrs []net.Addr + GRPCKeepaliveInterval time.Duration + GRPCKeepaliveTimeout time.Duration + GRPCPort int + GRPCTLSAddrs []net.Addr + GRPCTLSPort int + GossipLANGossipInterval time.Duration + GossipLANGossipNodes int + GossipLANProbeInterval time.Duration + GossipLANProbeTimeout time.Duration + GossipLANRetransmitMult int + GossipLANSuspicionMult int + GossipWANGossipInterval time.Duration + GossipWANGossipNodes int + GossipWANProbeInterval time.Duration + GossipWANProbeTimeout time.Duration + GossipWANRetransmitMult int + GossipWANSuspicionMult int + HTTPAddrs []net.Addr + HTTPBlockEndpoints []string + HTTPMaxConnsPerClient int + HTTPMaxHeaderBytes int + HTTPPort int + HTTPResponseHeaders map[string]string + HTTPSAddrs []net.Addr + HTTPSHandshakeTimeout time.Duration + HTTPSPort int + HTTPUseCache bool + KVMaxValueSize uint64 + LeaveDrainTime time.Duration + LeaveOnTerm bool + LocalProxyConfigResyncInterval time.Duration + Locality *Locality + Logging logging.Config + MaxQueryTime time.Duration + NodeID types.NodeID + NodeMeta map[string]string + NodeName string + PeeringEnabled bool + PeeringTestAllowPeerRegistrations bool + PidFile string + PrimaryDatacenter string + PrimaryGateways []string + PrimaryGatewaysInterval time.Duration + RPCAdvertiseAddr *net.TCPAddr + RPCBindAddr *net.TCPAddr + RPCClientTimeout time.Duration + RPCConfig consul.RPCConfig + RPCHandshakeTimeout time.Duration + RPCHoldTimeout time.Duration + RPCMaxBurst int + RPCMaxConnsPerClient int + RPCProtocol int + RPCRateLimit rate.Limit + RaftLogStoreConfig consul.RaftLogStoreConfig + RaftProtocol int + RaftSnapshotInterval time.Duration + RaftSnapshotThreshold int + RaftTrailingLogs int + ReadReplica bool + ReconnectTimeoutLAN time.Duration + ReconnectTimeoutWAN time.Duration + RejoinAfterLeave bool + Reporting ReportingConfig + RequestLimitsMode consulrate.Mode + RequestLimitsReadRate rate.Limit + RequestLimitsWriteRate rate.Limit + RetryJoinIntervalLAN time.Duration + RetryJoinIntervalWAN time.Duration + RetryJoinLAN []string + RetryJoinMaxAttemptsLAN int + RetryJoinMaxAttemptsWAN int + RetryJoinWAN []string + Revision string + SegmentLimit int + SegmentName string + SegmentNameLimit int + Segments []structs.NetworkSegment + SerfAdvertiseAddrLAN *net.TCPAddr + SerfAdvertiseAddrWAN *net.TCPAddr + SerfAllowedCIDRsLAN []net.IPNet + SerfAllowedCIDRsWAN []net.IPNet + SerfBindAddrLAN *net.TCPAddr + SerfBindAddrWAN *net.TCPAddr + SerfPortLAN int + SerfPortWAN int + ServerMode bool + ServerName string + ServerPort int + ServerRejoinAgeMax time.Duration + Services []*structs.ServiceDefinition + SessionTTLMin time.Duration + SkipLeaveOnInt bool + StaticRuntimeConfig StaticRuntimeConfig + SyncCoordinateIntervalMin time.Duration + SyncCoordinateRateTarget float64 + TLS tlsutil.Config + TaggedAddresses map[string]string + Telemetry lib.TelemetryConfig + TranslateWANAddrs bool + TxnMaxReqLen uint64 + UIConfig UIConfig + UnixSocketGroup string + UnixSocketMode string + UnixSocketUser string + UseStreamingBackend bool + Version string + VersionMetadata string + VersionPrerelease string + Watches []map[string]interface{} + XDSUpdateRateLimit rate.Limit + func (c *RuntimeConfig) APIConfig(includeClientCerts bool) (*api.Config, error) + func (c *RuntimeConfig) ClientAddress() (unixAddr, httpAddr, httpsAddr string) + func (c *RuntimeConfig) ConnectCAConfiguration() (*structs.CAConfiguration, error) + func (c *RuntimeConfig) IsCloudEnabled() bool + func (c *RuntimeConfig) PartitionOrDefault() string + func (c *RuntimeConfig) PartitionOrEmpty() string + func (c *RuntimeConfig) Sanitized() map[string]interface{} + func (c *RuntimeConfig) StructLocality() *structs.Locality + func (c *RuntimeConfig) VersionWithMetadata() string + func (o *RuntimeConfig) DeepCopy() *RuntimeConfig + type RuntimeSOAConfig struct + Expire uint32 + Minttl uint32 + Refresh uint32 + Retry uint32 + type SOA struct + Expire *uint32 + Minttl *uint32 + Refresh *uint32 + Retry *uint32 + type Segment struct + Advertise *string + Bind *string + Name *string + Port *int + RPCListener *bool + type ServiceAddress struct + Address *string + Port *int + type ServiceConnect struct + Native *bool + SidecarService *ServiceDefinition + type ServiceDefinition struct + Address *string + Check *CheckDefinition + Checks []CheckDefinition + Connect *ServiceConnect + EnableTagOverride *bool + ID *string + Kind *string + Meta map[string]string + Name *string + Port *int + Proxy *ServiceProxy + SocketPath *string + TaggedAddresses map[string]ServiceAddress + Tags []string + Token *string + Weights *ServiceWeights + type ServiceProviderToken struct + AccessorID *string + SecretID *string + type ServiceProxy struct + Config map[string]interface{} + DestinationServiceID *string + DestinationServiceName *string + Expose *ExposeConfig + LocalServiceAddress *string + LocalServicePort *int + LocalServiceSocketPath string + MeshGateway *MeshGatewayConfig + Mode *string + TransparentProxy *TransparentProxyConfig + Upstreams []Upstream + type ServiceWeights struct + Passing *int + Warning *int + type Source interface + Parse func() (Config, Metadata, error) + Source func() string + func DefaultConsulSource() Source + func DefaultEnterpriseSource() Source + func DefaultSource() Source + func DevConsulSource() Source + func DevSource() Source + func NonUserSource() Source + func OverrideEnterpriseSource() Source + type StaticRuntimeConfig struct + EncryptVerifyIncoming bool + EncryptVerifyOutgoing bool + type TLS struct + Defaults TLSProtocolConfig + GRPC TLSProtocolConfig + GRPCModifiedByDeprecatedConfig *struct{} + HTTPS TLSProtocolConfig + InternalRPC TLSProtocolConfig + type TLSProtocolConfig struct + CAFile *string + CAPath *string + CertFile *string + KeyFile *string + TLSCipherSuites *string + TLSMinVersion *string + UseAutoCert *bool + VerifyIncoming *bool + VerifyOutgoing *bool + VerifyServerHostname *bool + type Telemetry struct + CirconusAPIApp *string + CirconusAPIToken *string + CirconusAPIURL *string + CirconusBrokerID *string + CirconusBrokerSelectTag *string + CirconusCheckDisplayName *string + CirconusCheckForceMetricActivation *string + CirconusCheckID *string + CirconusCheckInstanceID *string + CirconusCheckSearchTag *string + CirconusCheckTags *string + CirconusSubmissionInterval *string + CirconusSubmissionURL *string + DisableHostname *bool + DogstatsdAddr *string + DogstatsdTags []string + EnableHostMetrics *bool + FilterDefault *bool + MetricsPrefix *string + PrefixFilter []string + PrometheusRetentionTime *string + RetryFailedConfiguration *bool + StatsdAddr *string + StatsiteAddr *string + type Tokens struct + Agent *string + AgentRecovery *string + ConfigFileRegistration *string + Default *string + InitialManagement *string + ManagedServiceProvider []ServiceProviderToken + Replication *string + type TransparentProxyConfig struct + DialedDirectly *bool + OutboundListenerPort *int + type UIConfig struct + ContentPath string + DashboardURLTemplates map[string]string + Dir string + Enabled bool + HCPEnabled bool + MetricsProvider string + MetricsProviderFiles []string + MetricsProviderOptionsJSON string + MetricsProxy UIMetricsProxy + type UIMetricsProxy struct + AddHeaders []UIMetricsProxyAddHeader + BaseURL string + PathAllowlist []string + type UIMetricsProxyAddHeader struct + Name string + Value string + type UnixSocket struct + Group *string + Mode *string + User *string + type Upstream struct + Config map[string]interface{} + Datacenter *string + DestinationName *string + DestinationNamespace *string + DestinationPartition *string + DestinationPeer *string + DestinationType *string + LocalBindAddress *string + LocalBindPort *int + LocalBindSocketMode *string + LocalBindSocketPath *string + MeshGateway *MeshGatewayConfig + type Watcher interface + Add func(filename string) error + EventsCh func() chan *FileWatcherEvent + Remove func(filename string) + Replace func(oldFile, newFile string) error + Start func(ctx context.Context) + Stop func() error + func NewFileWatcher(configFiles []string, logger hclog.Logger) (Watcher, error) + func NewRateLimitedFileWatcher(configFiles []string, logger hclog.Logger, coalesceInterval time.Duration) (Watcher, error) + type XDS struct + UpdateMaxPerSecond *float64