v1

package
v0.0.0-...-affaa53 Latest Latest
Warning

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

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

Documentation

Overview

First version of Istio networking in Kyma. Based on Istio virtual services and gateways.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CORSConfig

type CORSConfig struct {
	AllowMethods []string
	AllowHeaders []string
	AllowOrigin  []string
}

type Dto

type Dto struct {
	MetaDto     meta.Dto
	Hostname    string
	ServiceName string
	ServicePort int
	Status      kymaMeta.GatewayResourceStatus
}

type HostnameNotAvailableError

type HostnameNotAvailableError struct {
	Hostname string
}

func (HostnameNotAvailableError) Error

type Interface

type Interface interface {
	Create(dto *Dto) (*kymaMeta.GatewayResource, error)
	Update(oldDto, newDto *Dto) (*kymaMeta.GatewayResource, error)
	Delete(dto *Dto) error
}

func New

func New(i istioNetworking.Interface, k k8sClient.Interface, istioGateway string, corsConfig CORSConfig) Interface

Jump to

Keyboard shortcuts

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