Documentation
¶
Index ¶
- Constants
- func EnsureObject(ctx context.Context, cli client.Client, contour *model.Contour, ...) error
- func EnsureObjectDeleted(ctx context.Context, cli client.Client, contour *model.Contour, name string, ...) error
- func NewUnprivilegedPodSecurity() *corev1.PodSecurityContext
- type ObjectGetter
- type ObjectUpdater
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) )
Variables ¶
This section is empty.
Functions ¶
func EnsureObject ¶ added in v1.23.0
func EnsureObject( ctx context.Context, cli client.Client, contour *model.Contour, desired client.Object, getter ObjectGetter, updater ObjectUpdater) error
EnsureObject ensures that an object with the given namespace and name is created or updated
func EnsureObjectDeleted ¶ added in v1.23.0
func EnsureObjectDeleted(ctx context.Context, cli client.Client, contour *model.Contour, name string, getter ObjectGetter) error
EnsureObjectDeleted ensures that an object with the given namespace and name is deleted if Contour owner labels exist.
func NewUnprivilegedPodSecurity ¶
func NewUnprivilegedPodSecurity() *corev1.PodSecurityContext
NewUnprivilegedPodSecurity makes a a non-root PodSecurityContext object using 65534 as the user and group ID.
Types ¶
Click to show internal directories.
Click to hide internal directories.