Documentation
¶
Index ¶
Constants ¶
View Source
const (
StorageTypeFile = "file"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { StoreConfig *StoreConfig `json:"storeConfig"` EnableWatch bool `json:"enableWatch,omitempty"` AsserterWebhookConfig *assertion.AsserterConfig `json:"asserterWebhookConfig,omitempty"` FuncsvcEndpoint string `json:"funcsvcEndpoint,omitempty"` ServerConfig *ServerConfig `json:"serverConfig,omitempty"` LogConfig *logging.LogConfig `json:"logConfig,omitempty"` AuditLogConfig *logging.LogConfig `json:"auditLogConfig,omitempty"` }
func ReadConfig ¶
type ServerConfig ¶
type ServerConfig struct { Endpoint string `json:"endpoint,omitempty"` Insecure string `json:"insecure,omitempty"` EnableAuthz string `json:"enableAuthz,omitempty"` KeyPath string `json:"keyPath,omitempty"` CertPath string `json:"certPath,omitempty"` ClientCertPath string `json:"clientCertPath,omitempty"` ForceClientCert bool `json:"forceClientCert,omitempty"` }
type StoreConfig ¶
type StoreConfig struct { StoreType string `json:"storeType"` StoreProps map[string]interface{} `json:"storeProps"` }
func ReadStoreConfig ¶
func ReadStoreConfig(configFileLocation string) (*StoreConfig, error)
Click to show internal directories.
Click to hide internal directories.