resources

package
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2019 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package resources holds simple functions for synthesizing child resources from a Route resource and any relevant Route controller configuration.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeClusterIngress

func MakeClusterIngress(r *servingv1alpha1.Route, tc *traffic.Config, ingressClass string) *v1alpha1.ClusterIngress

MakeClusterIngress creates ClusterIngress to set up routing rules. Such ClusterIngress specifies which Hosts that it applies to, as well as the routing rules.

func MakeK8sService

func MakeK8sService(route *v1alpha1.Route, ingress *netv1alpha1.ClusterIngress) (*corev1.Service, error)

MakeK8sService creates a Service that redirect to the loadbalancer specified in ClusterIngress status. It's owned by the provided v1alpha1.Route. The purpose of this service is to provide a domain name for Istio routing.

Types

This section is empty.

Directories

Path Synopsis
Package names holds simple functions for synthesizing resource names.
Package names holds simple functions for synthesizing resource names.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL