settings
settings
import "github.com/conductor-sdk/conductor-go/sdk/settings"
Index
type AuthenticationSettings
type AuthenticationSettings struct {
// contains filtered or unexported fields
}
func NewAuthenticationSettings
func NewAuthenticationSettings(keyId string, keySecret string) *AuthenticationSettings
func (*AuthenticationSettings) GetBody
func (s *AuthenticationSettings) GetBody() map[string]string
type ExternalStorageSettings
type ExternalStorageSettings struct {
TaskOutputPayloadThresholdKB int64
TaskOutputMaxPayloadThresholdKB int64
ExternalStorageHandler model.ExternalStorageHandler
}
func NewExternalStorageSettings
func NewExternalStorageSettings(taskOutputPayloadThresholdKB int64, taskOutputMaxPayloadThresholdKB int64, externalStorageHandler model.ExternalStorageHandler) *ExternalStorageSettings
type HttpSettings
type HttpSettings struct {
BaseUrl string
Headers map[string]string
}
func NewHttpDefaultSettings
func NewHttpDefaultSettings() *HttpSettings
func NewHttpSettings
func NewHttpSettings(baseUrl string) *HttpSettings
type MetricsSettings
MetricsSettings configures the prometheus metrics for worker SDK
type MetricsSettings struct {
ApiEndpoint string
Port int
}
func NewDefaultMetricsSettings
func NewDefaultMetricsSettings() *MetricsSettings
NewDefaultMetricsSettings creates an endpoint at /metrics on port 2112
func NewMetricsSettings
func NewMetricsSettings(apiEndpoint string, port int) *MetricsSettings
NewMetricsSettings new metrics settings with endpoint and port
Generated by gomarkdoc