resources

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2018 License: Apache-2.0 Imports: 16 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

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