model

package
v0.5.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	CategoryECDSGolang   = "ecds_golang"
	CategoryECDSListener = "ecds_listener"
	CategoryECDSNetwork  = "ecds_network"
	CategoryListener     = "listener"

	CategoryRoute       = "route"
	CategoryRouteFilter = "route_filter"

	// This constant is used in the resource name which doesn't support '_' in the name
	ECDSGolangPlugins = "golang-filter"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Gateway

type Gateway struct {
	GatewaySection *GatewaySection
	// HasHCM shows if the HCM HTTP filter is present in the gateway
	HasHCM bool
}

type GatewaySection added in v0.3.0

type GatewaySection struct {
	// Fields here can't be pointer because we use GatewaySection as map key
	NsName      types.NamespacedName
	SectionName string
}

func (GatewaySection) String added in v0.3.0

func (g GatewaySection) String() string

type VirtualHost

type VirtualHost struct {
	GatewaySection *GatewaySection
	// NsName is the namespace and name of the k8s resource which generates VirtualHost
	NsName *types.NamespacedName
	// Name is the name of VirtualHost in the RDS
	Name string
	// ECDSResourceName is the name of ECDS which is used to configure the Gateway attached by this VirtualHost
	ECDSResourceName string
}

Jump to

Keyboard shortcuts

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