Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RouterFlavorFromRoot ¶
func RouterFlavorFromRoot(r Root) (dpconf.RouterFlavor, error)
Types ¶
type KongStartUpOptions ¶
type KongStartUpOptions struct { DBMode dpconf.DBMode RouterFlavor dpconf.RouterFlavor Version kong.Version }
KongStartUpOptions includes start up configurations of Kong that could change behavior of Kong Ingress Controller. The fields are extracted from results of Kong gateway configuration root.
func ValidateRoots ¶
func ValidateRoots(roots []Root, skipCACerts bool) (*KongStartUpOptions, error)
ValidateRoots checks if all provided kong roots are the same given that we only care about the fact that the following fields are the same: - database setting - router flavor - kong version.
type Root ¶
Root represents Kong Gateway configuration root.
Click to show internal directories.
Click to hide internal directories.