Documentation ¶
Index ¶
- Variables
- func ClairEndpoint() string
- func Database() (*models.Database, error)
- func ExtEndpoint() (string, error)
- func Init() error
- func InternalTokenServiceEndpoint() string
- func JobserviceSecret() string
- func LocalRegURL() (string, error)
- func LocalUIURL() string
- func LogDir() string
- func MaxJobWorkers() (int, error)
- func SecretKey() (string, error)
- func UISecret() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // AdminserverClient is a client for adminserver AdminserverClient client.Client )
Functions ¶
func ClairEndpoint ¶
func ClairEndpoint() string
ClairEndpoint returns the end point of clair instance, by default it's the one deployed within Harbor.
func InternalTokenServiceEndpoint ¶
func InternalTokenServiceEndpoint() string
InternalTokenServiceEndpoint ...
func JobserviceSecret ¶
func JobserviceSecret() string
JobserviceSecret returns a secret to mark Jobservice when communicate with other component
func LocalRegURL ¶
LocalRegURL returns the local registry url, job service will use this URL to pull image from the registry
func LocalUIURL ¶
func LocalUIURL() string
LocalUIURL returns the local ui url, job service will use this URL to call API hosted on ui process
func LogDir ¶
func LogDir() string
LogDir returns the absolute path to which the log file will be written
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.