Documentation
¶
Index ¶
Constants ¶
View Source
const ( // DefaultServiceTimeout indicates the amount of time (by default) for // connections, reads and writes to a service over a network should // be given before timing out by default. DefaultServiceTimeout = 60000 // DefaultRetries indicates the number of times a connection should be // retried by default. DefaultRetries = 5 // DefaultHTTPPort is the network port that should be assumed by default // for HTTP traffic to services. DefaultHTTPPort = 80 )
Variables ¶
This section is empty.
Functions ¶
func Build ¶
Build creates a Kong configuration from Ingress and Custom resources defined in Kuberentes. It throws an error if there is an error returned from client-go.
func PortDefFromIntStr ¶
func PortDefFromIntStr(is intstr.IntOrString) kongstate.PortDef
func PortDefFromServiceBackendPort ¶
func PortDefFromServiceBackendPort(sbp *networkingv1.ServiceBackendPort) kongstate.PortDef
Types ¶
type SecretNameToSNIs ¶
Click to show internal directories.
Click to hide internal directories.