Help us shape the future of Go! Take the 2026 Go Developer Survey

options

package
v1.16.21 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	AppID                         string
	ComponentsPath                string
	ControlPlaneAddress           string
	ControlPlaneTrustDomain       string
	ControlPlaneNamespace         string
	SentryAddress                 string
	TrustAnchors                  []byte
	AllowedOrigins                string
	EnableProfiling               bool
	AppMaxConcurrency             int
	EnableMTLS                    bool
	AppSSL                        bool
	MaxRequestSize                int // In bytes
	ResourcesPath                 []string
	AppProtocol                   string
	EnableAPILogging              *bool
	RuntimeVersion                bool
	BuildInfo                     bool
	WaitCommand                   bool
	DaprHTTPPort                  string
	DaprAPIGRPCPort               string
	ProfilePort                   string
	DaprInternalGRPCPort          string
	DaprInternalGRPCListenAddress string
	DaprPublicPort                string
	DaprPublicListenAddress       string
	AppPort                       string
	DaprGracefulShutdownSeconds   int
	DaprBlockShutdownDuration     *time.Duration
	ActorsService                 string
	RemindersService              string
	SchedulerAddress              []string
	SchedulerJobStreams           uint
	DaprAPIListenAddresses        string
	AppHealthProbeInterval        int
	AppHealthProbeTimeout         int
	AppHealthThreshold            int
	EnableAppHealthCheck          bool
	Mode                          string
	Config                        []string
	UnixDomainSocket              string
	ReadBufferSize                int // In bytes
	DisableBuiltinK8sSecretStore  bool
	AppHealthCheckPath            string
	AppChannelAddress             string
	SentryRequestJwtAudiences     []string
	Logger                        logger.Options
	Metrics                       *metrics.FlagOptions
	AppBindingOptionsTimeout      time.Duration
}

func New

func New(origArgs []string) (*Options, error)

Jump to

Keyboard shortcuts

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