ssl

package
v0.15.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2024 License: MIT Imports: 10 Imported by: 0

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)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL