api

package
v2.32.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateGRPCConnection added in v2.29.0

func CreateGRPCConnection(cfgProvider *config.ConfigProviderWithRefresh) (*grpc.ClientConn, error)

func GetSettings

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

func TemporalAPIHandler

func TemporalAPIHandler(cfgProvider *config.ConfigProviderWithRefresh, apiMiddleware []Middleware, conn *grpc.ClientConn) 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
	StartWorkflowDisabled         bool
	HideWorkflowQueryErrors       bool
	RefreshWorkflowCountsDisabled bool
}

Jump to

Keyboard shortcuts

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