Documentation
¶
Index ¶
- func GetConfigurationFileContents() (string, error)
- func GetDebugLogLevel() bool
- func GetDefaultCountry() string
- func GetDefaultLocality() string
- func GetDefaultOrganization() string
- func GetDefaultOrganizationalUnit() string
- func GetDefaultProvince() string
- func GetGraphQLPort() int
- func GetPolicyFile() string
- func GetServerTLSHost() string
- func GetServerTLSPort() int
- func GetTLSCertDir() string
- func GetTPPCredentials() (tppToken, tppURL, tppZone string)
- func GetUsePassthrough() bool
- func GetUseSDS() bool
- func GetUserProvidedCACert() (string, string)
- func InitCLIConfiguration()
- func SetCSRConfiguration(o string, ou string, c string, p string, l string)
- func SetDebugLogLevel(configDebugLogging bool)
- func SetGraphQLPort(port int)
- func SetPolicyFile(configPolicy string)
- func SetServerTLSHost(v string)
- func SetServerTLSPort(v int)
- func SetTLSCertDir(configTlsCertDir string)
- func SetTPPCredentials(tppToken, tppURL, tppZone string)
- func SetUsePassthrough(v bool)
- func SetUseSDS(v bool)
- func SetUserProvidedCACert(configCACert, configCAKey string)
- func WriteConfigFile() error
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDebugLogLevel ¶ added in v0.6.0
func GetDebugLogLevel() bool
func GetDefaultCountry ¶
func GetDefaultCountry() string
func GetDefaultLocality ¶
func GetDefaultLocality() string
func GetDefaultOrganization ¶
func GetDefaultOrganization() string
func GetDefaultOrganizationalUnit ¶
func GetDefaultOrganizationalUnit() string
func GetDefaultProvince ¶
func GetDefaultProvince() string
func GetGraphQLPort ¶ added in v0.6.0
func GetGraphQLPort() int
func GetPolicyFile ¶ added in v0.6.0
func GetPolicyFile() string
func GetServerTLSHost ¶ added in v0.6.0
func GetServerTLSHost() string
func GetServerTLSPort ¶ added in v0.6.0
func GetServerTLSPort() int
func GetTLSCertDir ¶ added in v0.6.0
func GetTLSCertDir() string
func GetTPPCredentials ¶ added in v0.6.0
func GetTPPCredentials() (tppToken, tppURL, tppZone string)
func GetUsePassthrough ¶ added in v0.6.0
func GetUsePassthrough() bool
func GetUserProvidedCACert ¶ added in v0.6.0
func InitCLIConfiguration ¶
func InitCLIConfiguration()
func SetCSRConfiguration ¶
func SetDebugLogLevel ¶ added in v0.6.0
func SetDebugLogLevel(configDebugLogging bool)
func SetGraphQLPort ¶ added in v0.6.0
func SetGraphQLPort(port int)
func SetPolicyFile ¶ added in v0.6.0
func SetPolicyFile(configPolicy string)
func SetServerTLSHost ¶ added in v0.6.0
func SetServerTLSHost(v string)
func SetServerTLSPort ¶ added in v0.6.0
func SetServerTLSPort(v int)
func SetTLSCertDir ¶ added in v0.6.0
func SetTLSCertDir(configTlsCertDir string)
func SetTPPCredentials ¶ added in v0.6.0
func SetTPPCredentials(tppToken, tppURL, tppZone string)
func SetUsePassthrough ¶ added in v0.6.0
func SetUsePassthrough(v bool)
func SetUserProvidedCACert ¶ added in v0.6.0
func SetUserProvidedCACert(configCACert, configCAKey string)
func WriteConfigFile ¶ added in v0.6.0
func WriteConfigFile() error
Types ¶
type Config ¶
type Config struct {
UseSDS bool `yaml:"enable-sds"`
UsePassthrough bool `yaml:"enable-passthrough"`
GraphQLPort int `yaml:"graphql-port"`
CSR struct {
Organization string `yaml:"organization"`
OrganizationalUnit string `yaml:"organizationalUnit"`
Country string `yaml:"country"`
Province string `yaml:"province"`
Locality string `yaml:"locality"`
} `yaml:"default-csr-values"`
TPP struct {
Token string `yaml:"token"`
URL string `yaml:"url"`
Zone string `yaml:"zone"`
} `yaml:"tpp"`
GRPC struct {
Port int `yaml:"port"`
Host string `yaml:"host"`
CertificateDir string `yaml:"tls-certificates"`
} `yaml:"grpc-server"`
Policy struct {
Filename string `yaml:"filename"`
} `yaml:"policy"`
IssuingCertificate struct {
Certificate string `yaml:"certificate"`
PrivateKey string `yaml:"private-key"`
} `yaml:"user-provided-issuing-certificate"`
Logging struct {
Debug bool `yaml:"debug"`
} `yaml:"logging"`
}
Click to show internal directories.
Click to hide internal directories.