contourconfig

package
v1.23.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Defaults added in v1.21.0

Defaults returns the default settings Contour uses if no user-specified configuration is provided.

func OverlayOnDefaults added in v1.21.0

OverlayOnDefaults overlays the settings in the provided spec onto the default settings, and returns the results.

func UInt32Ptr added in v1.21.0

func UInt32Ptr(val uint32) *uint32

UInt32Ptr returns a pointer to a uint32 value.

func UIntPtr added in v1.21.0

func UIntPtr(val uint) *uint

UIntPtr returns a pointer to a uint value.

Types

type Timeouts

type Timeouts struct {
	Request                       timeout.Setting
	ConnectionIdle                timeout.Setting
	StreamIdle                    timeout.Setting
	MaxConnectionDuration         timeout.Setting
	DelayedClose                  timeout.Setting
	ConnectionShutdownGracePeriod timeout.Setting
	ConnectTimeout                time.Duration // Since "infinite" is not valid ConnectTimeout value, use time.Duration instead of timeout.Setting.
}

func ParseTimeoutPolicy

func ParseTimeoutPolicy(timeoutParameters *contour_api_v1alpha1.TimeoutParameters) (Timeouts, error)

Jump to

Keyboard shortcuts

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