usecase

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2020 License: Apache-2.0 Imports: 11 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 represent a client sidecar behavior

func New

func New(cfg config.Config) (Tenant, 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