Documentation ¶
Index ¶
- Constants
- Variables
- func DesiredContourService(contour *operatorv1alpha1.Contour) *corev1.Service
- func DesiredEnvoyService(contour *operatorv1alpha1.Contour) *corev1.Service
- func EnsureContourService(ctx context.Context, cli client.Client, contour *operatorv1alpha1.Contour) error
- func EnsureContourServiceDeleted(ctx context.Context, cli client.Client, contour *operatorv1alpha1.Contour) error
- func EnsureEnvoyService(ctx context.Context, cli client.Client, contour *operatorv1alpha1.Contour) error
- func EnsureEnvoyServiceDeleted(ctx context.Context, cli client.Client, contour *operatorv1alpha1.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 ( // LbAnnotations maps cloud providers to the provider's annotation // key/value pair used for managing a load balancer. For additional // details see: // https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer // LbAnnotations = map[operatorv1alpha1.LoadBalancerProviderType]map[string]string{ // 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 // InternalLBAnnotations = map[operatorv1alpha1.LoadBalancerProviderType]map[string]string{ // contains filtered or unexported fields } )
Functions ¶
func DesiredContourService ¶
func DesiredContourService(contour *operatorv1alpha1.Contour) *corev1.Service
DesiredContourService generates the desired Contour Service for the given contour.
func DesiredEnvoyService ¶
func DesiredEnvoyService(contour *operatorv1alpha1.Contour) *corev1.Service
DesiredEnvoyService generates the desired Envoy Service for the given contour.
func EnsureContourService ¶
func EnsureContourService(ctx context.Context, cli client.Client, contour *operatorv1alpha1.Contour) error
EnsureContourService ensures that a Contour Service exists for the given contour.
func EnsureContourServiceDeleted ¶
func EnsureContourServiceDeleted(ctx context.Context, cli client.Client, contour *operatorv1alpha1.Contour) error
EnsureContourServiceDeleted ensures that a Contour Service for the provided contour is deleted if Contour owner labels exist.
func EnsureEnvoyService ¶
func EnsureEnvoyService(ctx context.Context, cli client.Client, contour *operatorv1alpha1.Contour) error
EnsureEnvoyService ensures that an Envoy Service exists for the given contour.
func EnsureEnvoyServiceDeleted ¶
func EnsureEnvoyServiceDeleted(ctx context.Context, cli client.Client, contour *operatorv1alpha1.Contour) error
EnsureEnvoyServiceDeleted ensures that an Envoy Service for the provided contour is deleted.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.