services

package
v0.0.0-...-90abbe5 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	HTTPListenPort     int    `usage:"HTTP port to listen on" default:"8080"`
	HTTPSListenPort    int    `usage:"HTTPS port to listen on"`
	AdminToken         string `usage:"Token for admin access, will be generated if not passed"`
	AuditLogPath       string `usage:"Location of where to store audit logs"`
	AuditLogPolicyFile string `usage:"Location of audit log policy file"`
	DSN                string `` /* 140-byte string literal not displayed */
}

type Services

type Services struct {
	Client     kclient.Client
	RESTConfig *rest.Config
	DB         *db.Factory
	Authn      authenticator.Request
}

func New

func New(config Config) (_ *Services, err error)

Jump to

Keyboard shortcuts

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