api

package
v2.27.3 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSettings

func GetSettings(cfgProvider *config.ConfigProviderWithRefresh) func(echo.Context) error

func TemporalAPIHandler

func TemporalAPIHandler(cfgProvider *config.ConfigProviderWithRefresh, apiMiddleware []Middleware) echo.HandlerFunc

Types

type Auth

type Auth struct {
	Enabled bool
	Options []string
}

type CodecResponse

type CodecResponse struct {
	Endpoint           string
	PassAccessToken    bool
	IncludeCredentials bool
}

type Middleware

type Middleware func(c echo.Context) runtime.ServeMuxOption

type SettingsResponse

type SettingsResponse struct {
	Auth                        *Auth
	BannerText                  string
	DefaultNamespace            string
	ShowTemporalSystemNamespace bool
	FeedbackURL                 string
	NotifyOnNewVersion          bool
	Codec                       *CodecResponse
	Version                     string
	DisableWriteActions         bool
	WorkflowTerminateDisabled   bool
	WorkflowCancelDisabled      bool
	WorkflowSignalDisabled      bool
	WorkflowResetDisabled       bool
	BatchActionsDisabled        bool
	HideWorkflowQueryErrors     bool
}

Jump to

Keyboard shortcuts

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