temporal

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultInternalNamespace string = "hatchet-internal"

Variables

This section is empty.

Functions

func BindAllEnv

func BindAllEnv(v *viper.Viper)

Types

type Config

type Config struct {
	ConfigFile *TemporalConfigFile
}

type TemporalConfigFile

type TemporalConfigFile struct {
	TemporalPublicURL          string   `mapstructure:"publicURL" json:"publicURL,omitempty" default:"http://127.0.0.1:7233"`
	TemporalAddress            string   `mapstructure:"address" json:"address,omitempty" default:"127.0.0.1"`
	TemporalBroadcastAddress   string   `mapstructure:"broadcastAddress" json:"broadcastAddress,omitempty" default:"127.0.0.1"`
	TemporalPProfPort          int64    `mapstructure:"pprofPort" json:"pprofPort,omitempty" default:"9500"`
	TemporalMetricsAddress     string   `mapstructure:"metricsAddress" json:"metricsAddress,omitempty" default:"127.0.0.1"`
	TemporalMetricsPort        int64    `mapstructure:"metricsPort" json:"metricsPort,omitempty" default:"10001"`
	TemporalLogLevel           string   `mapstructure:"logLevel" json:"logLevel,omitempty" default:"info"`
	TemporalSQLLitePath        string   `mapstructure:"sqlLitePath" json:"sqlLitePath,omitempty" default:"/hatchet/temporal.db"`
	TemporalNamespaces         []string `mapstructure:"namespaces" json:"namespaces,omitempty" default:"[\"default\"]"`
	TemporalInternalNamespace  string   `mapstructure:"internalNamespace" json:"internalNamespace,omitempty" default:"hatchet-internal"`
	TemporalInternalSigningKey string   `mapstructure:"internalSigningKey" json:"internalSigningKey,omitempty"`

	Frontend  TemporalConfigFileFrontend  `mapstructure:"frontend" json:"frontend,omitempty"`
	Worker    TemporalConfigFileWorker    `mapstructure:"worker" json:"worker,omitempty"`
	Internode TemporalConfigFileInternode `mapstructure:"internode" json:"internode,omitempty"`
	UI        TemporalConfigFileUI        `mapstructure:"ui" json:"ui,omitempty"`
}

type TemporalConfigFileFrontend

type TemporalConfigFileFrontend struct {
	TemporalFrontendPort          int64  `mapstructure:"port" json:"port,omitempty" default:"7233"`
	TemporalFrontendTLSServerName string `mapstructure:"tlsServerName" json:"tlsServerName,omitempty"`
	TemporalFrontendTLSCertFile   string `mapstructure:"tlsCertFile" json:"tlsCertFile,omitempty"`
	TemporalFrontendTLSKeyFile    string `mapstructure:"tlsKeyFile" json:"tlsKeyFile,omitempty"`
	TemporalFrontendTLSRootCAFile string `mapstructure:"tlsRootCAFile" json:"tlsRootCAFile,omitempty"`
}

type TemporalConfigFileInternode

type TemporalConfigFileInternode struct {
	TemporalInternodeTLSServerName string `mapstructure:"tlsServerName" json:"tlsServerName,omitempty"`
	TemporalInternodeTLSCertFile   string `mapstructure:"tlsCertFile" json:"tlsCertFile,omitempty"`
	TemporalInternodeTLSKeyFile    string `mapstructure:"tlsKeyFile" json:"tlsKeyFile,omitempty"`
	TemporalInternodeTLSRootCAFile string `mapstructure:"tlsRootCAFile" json:"tlsRootCAFile,omitempty"`
}

type TemporalConfigFileUI

type TemporalConfigFileUI struct {
	TemporalUIEnabled       bool   `mapstructure:"enabled" json:"enabled,omitempty" default:"true"`
	TemporalUIAddress       string `mapstructure:"uiAddress" json:"uiAddress,omitempty" default:"127.0.0.1"`
	TemporalUIPort          int64  `mapstructure:"port" json:"port,omitempty" default:"8233"`
	TemporalUITLSServerName string `mapstructure:"tlsServerName" json:"tlsServerName,omitempty"`
	TemporalUITLSCertFile   string `mapstructure:"tlsCertFile" json:"tlsCertFile,omitempty"`
	TemporalUITLSKeyFile    string `mapstructure:"tlsKeyFile" json:"tlsKeyFile,omitempty"`
	TemporalUITLSRootCAFile string `mapstructure:"tlsRootCAFile" json:"tlsRootCAFile,omitempty"`
}

type TemporalConfigFileWorker

type TemporalConfigFileWorker struct {
	TemporalWorkerTLSServerName string `mapstructure:"tlsServerName" json:"tlsServerName,omitempty"`
	TemporalWorkerTLSCertFile   string `mapstructure:"tlsCertFile" json:"tlsCertFile,omitempty"`
	TemporalWorkerTLSKeyFile    string `mapstructure:"tlsKeyFile" json:"tlsKeyFile,omitempty"`
	TemporalWorkerTLSRootCAFile string `mapstructure:"tlsRootCAFile" json:"tlsRootCAFile,omitempty"`
}

Jump to

Keyboard shortcuts

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