gf_admin_lib

package
v0.0.0-...-a1b0e2b Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: GPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitNewService

func InitNewService(pTemplatesPathsMap map[string]string,
	pServiceInfo *GFserviceInfo,
	pIdentityServiceInfo *gf_identity_core.GFserviceInfo,
	pHTTPmux *http.ServeMux,
	pLocalHub *sentry.Hub,
	pRuntimeSys *gf_core.RuntimeSys) *gf_core.GFerror

func PipelineRenderDashboard

func PipelineRenderDashboard(pTmpl *template.Template,
	pSubtemplatesNamesLst []string,
	pCtx context.Context,
	pRuntimeSys *gf_core.RuntimeSys) (string, *gf_core.GFerror)

func PipelineRenderLogin

func PipelineRenderLogin(pAuthSubsystemTypeStr string,
	pMFAconfirmBool bool,
	pTmpl *template.Template,
	pSubtemplatesNamesLst []string,
	pKeyServerInfo *gf_identity_core.GFkeyServerInfo,
	pCtx context.Context,
	pRuntimeSys *gf_core.RuntimeSys) (string, *gf_core.GFerror)

Types

type GFserviceInfo

type GFserviceInfo struct {
	NameStr string

	//------------------------
	// AUTH_SUBSYSTEM_TYPE - builtin | auth0
	AuthSubsystemTypeStr string

	//------------------------
	// ADMIN_EMAIL - what the default admin email is (for auth)
	AdminEmailStr string

	// EVENTS_APP - enable sending of app events from various functions
	EnableEventsAppBool bool

	// enable storage of user_creds in a secret store
	EnableUserCredsInSecretsStoreBool bool

	// enable sending of emails for any function that needs it
	EnableEmailBool bool
}

Jump to

Keyboard shortcuts

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