Documentation
¶
Overview ¶
Copyright © 2017 VMware, Inc. All Rights Reserved. SPDX-License-Identifier: BSD-2-Clause
Copyright © 2017 VMware, Inc. All Rights Reserved. SPDX-License-Identifier: BSD-2-Clause
Copyright © 2017 VMware, Inc. All Rights Reserved. SPDX-License-Identifier: BSD-2-Clause
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfigFile = "config.yaml"
Functions ¶
Types ¶
type Config ¶
type Config struct {
ServerConfig `yaml:"server"`
DataStoreConfig `yaml:"dataStore"`
VirtualKeyStoreConfig `yaml:"virtualKeyStore"`
}
func GenerateTestConfig ¶
func GenerateTestConfig() *Config
type DataStoreConfig ¶
type HttpConfig ¶
type HttpsConfig ¶
type KeyStoreConfig ¶
type ServerConfig ¶
type ServerConfig struct {
HttpConfig `yaml:"http"`
HttpsConfig `yaml:"https"`
RootInitPubKey string `yaml:"rootInitPubKey"`
RootInitPrivateKey string `yaml:"rootInitPriKey"`
}
type VirtualKeyStoreConfig ¶
type VirtualKeyStoreConfig struct {
KeyStoreCount int `yaml:"keyStoreCount"`
KeyStoreThreshold int `yaml:"keyStoreThreshold"`
KeyStores []KeyStoreConfig `yaml:"keyStores"`
}
Click to show internal directories.
Click to hide internal directories.