Documentation ¶
Index ¶
- Constants
- Variables
- func DesiredContourService(contour *model.Contour) *core_v1.Service
- func DesiredEnvoyService(contour *model.Contour) *core_v1.Service
- func EnsureContourService(ctx context.Context, cli client.Client, contour *model.Contour) error
- func EnsureContourServiceDeleted(ctx context.Context, cli client.Client, contour *model.Contour) error
- func EnsureEnvoyService(ctx context.Context, cli client.Client, contour *model.Contour) error
- func EnsureEnvoyServiceDeleted(ctx context.Context, cli client.Client, contour *model.Contour) error
Constants ¶
View Source
const ( // EnvoyServiceHTTPPort is the HTTP port number of the Envoy service. EnvoyServiceHTTPPort = int32(80) // EnvoyServiceHTTPSPort is the HTTPS port number of the Envoy service. EnvoyServiceHTTPSPort = int32(443) // EnvoyNodePortHTTPPort is the NodePort port number for Envoy's HTTP service. For NodePort // details see: https://kubernetes.io/docs/concepts/services-networking/service/#nodeport EnvoyNodePortHTTPPort = int32(30080) // EnvoyNodePortHTTPSPort is the NodePort port number for Envoy's HTTPS service. For NodePort // details see: https://kubernetes.io/docs/concepts/services-networking/service/#nodeport EnvoyNodePortHTTPSPort = int32(30443) )
Variables ¶
View Source
var InternalLBAnnotations = map[model.LoadBalancerProviderType]map[string]string{ model.AWSLoadBalancerProvider: { // contains filtered or unexported fields }, model.AzureLoadBalancerProvider: { // contains filtered or unexported fields }, model.GCPLoadBalancerProvider: { // contains filtered or unexported fields }, }
InternalLBAnnotations maps cloud providers to the provider's annotation key/value pair used for managing an internal load balancer. For additional details see:
https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
Functions ¶
func DesiredContourService ¶
DesiredContourService generates the desired Contour Service for the given contour.
func DesiredEnvoyService ¶
DesiredEnvoyService generates the desired Envoy Service for the given contour.
func EnsureContourService ¶
EnsureContourService ensures that a Contour Service exists for the given contour.
func EnsureContourServiceDeleted ¶
func EnsureContourServiceDeleted(ctx context.Context, cli client.Client, contour *model.Contour) error
EnsureContourServiceDeleted ensures that a Contour Service for the provided contour is deleted if Contour owner labels exist.
func EnsureEnvoyService ¶
EnsureEnvoyService ensures that an Envoy Service exists for the given contour.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.