usecase

package
v2.4.0 Latest Latest
Warning

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

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

Documentation

Overview

Package usecase defines the daemon interface of Athenz client sidecar. It contains implementation that starts the underlining services and the server for HTTP request handling.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tenant

type Tenant interface {
	Start(ctx context.Context) chan []error
}

Tenant represents a client sidecar behavior

func New

func New(cfg config.Config) (t Tenant, err error)

New returns a client sidecar daemon, or any error occurred. Client sidecar daemon contains token service, role token service, host certificate service, user database client and client sidecar service.

Jump to

Keyboard shortcuts

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