Documentation ¶
Index ¶
Constants ¶
View Source
const ( // XDSPort is the network port number of Contour's xDS service. XDSPort = int32(8001) // EnvoyInsecureContainerPort is the network port number of Envoy's insecure listener. EnvoyInsecureContainerPort = int32(8080) // EnvoySecureContainerPort is the network port number of Envoy's secure listener. EnvoySecureContainerPort = int32(8443) // EnvoyMetricsPort is the network port number of Envoy's metrics listener. EnvoyMetricsPort = int32(8002) // EnvoyHealthPort is the network port number of Envoy's health listener. EnvoyHealthPort = 8002 )
Variables ¶
This section is empty.
Functions ¶
func EnsureObject ¶ added in v1.23.0
func EnsureObject[T client.Object]( ctx context.Context, cli client.Client, desired T, updateObject func(ctx context.Context, cli client.Client, current, desired T) error, emptyObj T, ) error
EnsureObject ensures that object "desired" is created or updated. If it does not already exist, it will be created as specified in "desired". If it does already exist, the "updateObject" function will be called with the current and desired states, to update the object appropriately.
func EnsureObjectDeleted ¶ added in v1.23.0
func EnsureObjectDeleted[T client.Object](ctx context.Context, cli client.Client, obj T, contour *model.Contour) error
EnsureObjectDeleted ensures that object "obj" is deleted. No error will be returned if it is successfully deleted, if it does not contain the appropriate Gateway owner label, or if it already does not exist.
func NewUnprivilegedPodSecurity ¶
func NewUnprivilegedPodSecurity() *core_v1.PodSecurityContext
NewUnprivilegedPodSecurity makes a a non-root PodSecurityContext object using 65534 as the user and group ID.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.