Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCreator ¶ added in v0.12.0
func NewCreator(globalConfigRepo GlobalConfigRepository) *creator
NewCreator generates and writes selfsigned certificates to the ces registry.
func NewSSLWriter ¶
func NewSSLWriter(globalConfigRepo GlobalConfigRepository) *sslWriter
NewSSLWriter creates a new sslWriter instance to write certificate information in the global config
func SetupAPI ¶
func SetupAPI(router ginRouter, globalConfigRepo GlobalConfigRepository)
SetupAPI setups the REST API for ssl generation
Types ¶
type GlobalConfigRepository ¶ added in v0.15.1
type GlobalConfigRepository interface { Watch(context.Context, ...libconfig.WatchFilter) (<-chan repository.GlobalConfigWatchResult, error) Get(context.Context) (libconfig.GlobalConfig, error) Update(ctx context.Context, globalConfig libconfig.GlobalConfig) (libconfig.GlobalConfig, error) }
Click to show internal directories.
Click to hide internal directories.