dsp

package
v2.0.8 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCommandToMain

func AddCommandToMain(appContext context.Context, cmd *cobra.Command, roles []string)

# THE MAIN COMMAND GETS A SUPPLY OF ENV VARS TO WORK WITH (WHEN it gets deployed by ai-provisioner / deployment server within DSP) # # Security stuff # - JWT_ISSUER the token ISSUER that will be used to validate all provided tokens # (i.e. https://auth.tiki-dsp.io/auth/realms/tiki) # # - OAUTH_CLIENT_ID the client that will be used to validate all provided tokens # (i.e. ai-examples-python-dev-web-py36) #

func MainCommandFromContext

func MainCommandFromContext(ctx context.Context) *cobra.Command

func NewContextWithMainCommand

func NewContextWithMainCommand(ctx context.Context, mainCommand *cobra.Command) context.Context

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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