resources

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HTTPProtocol = "HTTP"
)

Variables

This section is empty.

Functions

func ApiPublisherConfigMap added in v0.4.0

func ApiPublisherConfigMap(gateway *v1alpha2.Gateway) string

func ClusterIngressName added in v0.2.0

func ClusterIngressName(gateway *v1alpha2.Gateway) string

func ClusterIngressSecretName added in v0.3.0

func ClusterIngressSecretName(gateway *v1alpha2.Gateway) string

func CopyClusterIngress added in v0.4.0

func CopyClusterIngress(source, destination *v1beta1.Ingress)

func CopyClusterIngressSecret added in v0.4.0

func CopyClusterIngressSecret(source, destination *corev1.Secret)

func CopyDeployment added in v0.4.0

func CopyDeployment(source, destination *appsv1.Deployment)

func CopyGatewayConfigMap added in v0.4.0

func CopyGatewayConfigMap(source, destination *corev1.ConfigMap)

func CopyHpa added in v0.4.0

func CopyHpa(source, destination *autoscalingv2beta1.HorizontalPodAutoscaler)

func CopyIstioGateway added in v0.4.0

func CopyIstioGateway(source, destination *v1alpha3.Gateway)

func CopyOidcEnvoyFilter added in v0.4.0

func CopyOidcEnvoyFilter(source, destination *v1alpha3.EnvoyFilter)

func CopyService added in v0.4.0

func CopyService(source, destination *corev1.Service)

func CopyVirtualService added in v0.4.0

func CopyVirtualService(source, destination *v1alpha3.VirtualService)

func CreateGatewayConfigMap

func CreateGatewayConfigMap(gateway *v1alpha2.Gateway, cfg config.Interface) (*corev1.ConfigMap, error)

func DeploymentName added in v0.4.0

func DeploymentName(gateway *v1alpha2.Gateway) string

func GatewayFullK8sServiceName

func GatewayFullK8sServiceName(gateway *v1alpha2.Gateway) string

func HpaName added in v0.4.0

func HpaName(gw *v1alpha2.Gateway) string

func IsApiPublishingRequired added in v0.4.0

func IsApiPublishingRequired(gateway *v1alpha2.Gateway) bool

func IstioDestinationRuleName

func IstioDestinationRuleName(gateway *v1alpha2.Gateway) string

func IstioGatewayName

func IstioGatewayName(gateway *v1alpha2.Gateway) string

func IstioIngressVirtualServiceName

func IstioIngressVirtualServiceName(gateway *v1alpha2.Gateway) string

func IstioVirtualServiceName added in v0.4.0

func IstioVirtualServiceName(gateway *v1alpha2.Gateway) string

func JobName added in v0.4.0

func JobName(gateway *v1alpha2.Gateway) string

func MakeApiPublisherJob added in v0.4.0

func MakeApiPublisherJob(gateway *v1alpha2.Gateway, cfg config.Interface) *batchv1.Job

func MakeClusterIngress added in v0.4.0

func MakeClusterIngress(gateway *v1alpha2.Gateway) *v1beta1.Ingress

func MakeClusterIngressSecret added in v0.4.0

func MakeClusterIngressSecret(gateway *v1alpha2.Gateway, cfg config.Interface) (*corev1.Secret, error)

func MakeDeployment added in v0.4.0

func MakeDeployment(gateway *v1alpha2.Gateway, cfg config.Interface) (*appsv1.Deployment, error)

func MakeHpa added in v0.4.0

func MakeIstioGateway added in v0.4.0

func MakeIstioGateway(gateway *v1alpha2.Gateway) *v1alpha3.Gateway

func MakeOidcEnvoyFilter added in v0.4.0

func MakeOidcEnvoyFilter(gateway *v1alpha2.Gateway) *v1alpha3.EnvoyFilter

func MakeOriginalGatewayK8sService added in v0.4.0

func MakeOriginalGatewayK8sService(gateway *v1alpha2.Gateway, name string) *corev1.Service

func MakeService added in v0.4.0

func MakeService(gateway *v1alpha2.Gateway) *corev1.Service

func MakeVirtualService added in v0.4.0

func MakeVirtualService(gateway *v1alpha2.Gateway) *v1alpha3.VirtualService

func OidcEnvoyFilterName added in v0.4.0

func OidcEnvoyFilterName(gateway *v1alpha2.Gateway) string

func RequireApiPublisherJob added in v0.4.0

func RequireApiPublisherJob(gateway *v1alpha2.Gateway) bool

func RequireApiPublisherJobUpdate added in v0.4.0

func RequireApiPublisherJobUpdate(gateway *v1alpha2.Gateway, job *batchv1.Job) bool

func RequireClusterIngress added in v0.4.0

func RequireClusterIngress(gateway *v1alpha2.Gateway) bool

func RequireClusterIngressSecret added in v0.4.0

func RequireClusterIngressSecret(gateway *v1alpha2.Gateway) bool

func RequireClusterIngressSecretUpdate added in v0.4.0

func RequireClusterIngressSecretUpdate(gateway *v1alpha2.Gateway, secret *corev1.Secret) bool

func RequireClusterIngressUpdate added in v0.4.0

func RequireClusterIngressUpdate(gateway *v1alpha2.Gateway, ingress *v1beta1.Ingress) bool

func RequireDeployment added in v0.4.0

func RequireDeployment(gateway *v1alpha2.Gateway) bool

func RequireDeploymentUpdate added in v0.4.0

func RequireDeploymentUpdate(gateway *v1alpha2.Gateway, deployment *appsv1.Deployment) bool

func RequireGatewayConfigMapUpdate added in v0.4.0

func RequireGatewayConfigMapUpdate(gateway *v1alpha2.Gateway, configMap *corev1.ConfigMap) bool

func RequireHpa added in v0.4.0

func RequireHpa(gw *v1alpha2.Gateway) bool

func RequireHpaUpdate added in v0.4.0

func RequireIstioGateway added in v0.4.0

func RequireIstioGateway(gateway *v1alpha2.Gateway) bool

func RequireIstioGatewayUpdate added in v0.4.0

func RequireIstioGatewayUpdate(gateway *v1alpha2.Gateway, istioGateway *v1alpha3.Gateway) bool

func RequireOidcEnvoyFilter added in v0.4.0

func RequireOidcEnvoyFilter(gateway *v1alpha2.Gateway) bool

func RequireOidcEnvoyFilterUpdate added in v0.4.0

func RequireOidcEnvoyFilterUpdate(gateway *v1alpha2.Gateway, envoyFilter *v1alpha3.EnvoyFilter) bool

func RequireService added in v0.4.0

func RequireService(gateway *v1alpha2.Gateway) bool

func RequireServiceUpdate added in v0.4.0

func RequireServiceUpdate(gateway *v1alpha2.Gateway, service *corev1.Service) bool

func RequireVirtualService added in v0.4.0

func RequireVirtualService(gateway *v1alpha2.Gateway) bool

func RequireVirtualServiceUpdate added in v0.4.0

func RequireVirtualServiceUpdate(gateway *v1alpha2.Gateway, virtualService *v1alpha3.VirtualService) bool

func ServiceName added in v0.4.0

func ServiceName(gateway *v1alpha2.Gateway) string

func StatusFromApiPublisherJob added in v0.4.0

func StatusFromApiPublisherJob(gateway *v1alpha2.Gateway, job *batchv1.Job)

func StatusFromClusterIngress added in v0.4.0

func StatusFromClusterIngress(gateway *v1alpha2.Gateway, ingress *v1beta1.Ingress)

func StatusFromClusterIngressSecret added in v0.4.0

func StatusFromClusterIngressSecret(gateway *v1alpha2.Gateway, secret *corev1.Secret)

func StatusFromConfigMap added in v0.4.0

func StatusFromConfigMap(gateway *v1alpha2.Gateway, configMap *corev1.ConfigMap)

func StatusFromDeployment added in v0.4.0

func StatusFromDeployment(gateway *v1alpha2.Gateway, deployment *appsv1.Deployment)

func StatusFromHpa added in v0.4.0

func StatusFromIstioGateway added in v0.4.0

func StatusFromIstioGateway(gateway *v1alpha2.Gateway, istioGateway *v1alpha3.Gateway)

func StatusFromOidcEnvoyFilter added in v0.4.0

func StatusFromOidcEnvoyFilter(gateway *v1alpha2.Gateway, envoyFilter *v1alpha3.EnvoyFilter)

func StatusFromService added in v0.4.0

func StatusFromService(gateway *v1alpha2.Gateway, service *corev1.Service)

func StatusFromVirtualService added in v0.4.0

func StatusFromVirtualService(gateway *v1alpha2.Gateway, virtualService *v1alpha3.VirtualService)

Types

This section is empty.

Jump to

Keyboard shortcuts

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