Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAPIReleaseDate ¶ added in v0.3.0
func GetAPIReleaseDate() string
GetAPIReleaseDate returns current API release date
func GetAPIVersion ¶ added in v0.3.0
func GetAPIVersion() string
GetAPIVersion returns current API version
Types ¶
type APIConfig ¶
type APIConfig struct {
Port int
Version string
ReleaseDate string
UseTLS bool
GitPrivateSSHKey string
GraylogConfig *GraylogConfig
MongoDBConfig *MongoConfig
DockerHostsConfig *DockerHostsConfig
EnrySecurityTest *types.SecurityTest
GosecSecurityTest *types.SecurityTest
BanditSecurityTest *types.SecurityTest
BrakemanSecurityTest *types.SecurityTest
RetirejsSecurityTest *types.SecurityTest
SafetySecurityTest *types.SecurityTest
}
APIConfig represents API configuration.
var APIConfiguration *APIConfig
APIConfiguration holds all API configuration.
func GetAPIConfig ¶
func GetAPIConfig() *APIConfig
GetAPIConfig returns the instance of an APIConfig.
type DockerHostsConfig ¶
type DockerHostsConfig struct {
Address string
DockerAPIPort int
Certificate string
PathCertificate string
Key string
Host string
TLSVerify int
MaxContainersAllowed int
}
DockerHostsConfig represents Docker Hosts configuration.
Click to show internal directories.
Click to hide internal directories.