parents

package
v6.0.8 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServerChildType                = "server"
	HTTPAfterResponseRuleChildType = "http_after_response_rule"
	HTTPCheckChildType             = "http_check"
	HTTPErrorRuleChildType         = "http_error_rule"
	HTTPRequestRuleChildType       = "http_request_rule"
	HTTPResponseRuleChildType      = "http_response_rule"
	TCPCheckChildType              = "tcp_check"
	TCPRequestRuleChildType        = "tcp_request_rule"
	TCPResponseRuleChildType       = "tcp_response_rule"
	ACLChildType                   = "acl"
	BindChildType                  = "bind"
	FilterChildType                = "filter"
	LogTargetChildType             = "log_target"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CnParentType

type CnParentType string
const (
	BackendParentType    CnParentType = "backend"
	FrontendParentType   CnParentType = "frontend"
	DefaultsParentType   CnParentType = "defaults"
	LogForwardParentType CnParentType = "log_forward"
	PeerParentType       CnParentType = "peers"
	RingParentType       CnParentType = "ring"
	GlobalParentType     CnParentType = "global"
	FCGIAppParentType    CnParentType = "fcgi-app"
	ResolverParentType   CnParentType = "resolvers"
)

type Parent

type Parent struct {
	PathParentType    string
	ParentType        string
	IsGenericParent   bool // only one of the parents for a child type can be set as Geenric - used in Dapi
	GenericParentType string
	IsUnnamedParent   bool
}

func Parents

func Parents(childType string) []Parent

Jump to

Keyboard shortcuts

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