config

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppWrapperConfig

type AppWrapperConfig struct {
	ManageJobsWithoutQueueName bool                 `json:"manageJobsWithoutQueueName,omitempty"`
	StandaloneMode             bool                 `json:"standaloneMode,omitempty"`
	FaultTolerance             FaultToleranceConfig `json:"faultTolerance,omitempty"`
	CertManagement             CertManagementConfig `json:"certManagement,omitempty"`
}

func NewConfig added in v0.7.0

func NewConfig(namespace string) *AppWrapperConfig

NewConfig constructs an AppWrapperConfig and fills in default values

type CertManagementConfig added in v0.7.0

type CertManagementConfig struct {
	WebhookServiceName string `json:"webhookServiceName,omitempty"`
	WebhookSecretName  string `json:"webhookSecretName,omitempty"`
	Namespace          string `json:"namespace,omitempty"`
}

type FaultToleranceConfig added in v0.7.0

type FaultToleranceConfig struct {
	WarmupGracePeriod  time.Duration `json:"warmupGracePeriod,omitempty"`
	FailureGracePeriod time.Duration `json:"failureGracePeriod,omitempty"`
	ResetPause         time.Duration `json:"resetPause,omitempty"`
	RetryLimit         int32         `json:"retryLimit,omitempty"`
}

Jump to

Keyboard shortcuts

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