proxy

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterRoutes

func RegisterRoutes(r *gin.Engine, ic Istioer, apiToken string)

RegisterRoutes bootstraps http routes

func VersionInfo

func VersionInfo() string

VersionInfo returns a string representing the version

Types

type IstioClient

type IstioClient struct {
	*versionedclient.Clientset
	// contains filtered or unexported fields
}

IstioClient is an implementation of Istioer

func NewIstioClient

func NewIstioClient(namespace string, gateway string, host string, waitForWarmup bool, vsNamePrefix string, clusterDomain string) (*IstioClient, error)

NewIstioClient returns a new IstioClient

type Istioer

type Istioer interface {
	// contains filtered or unexported methods
}

Istioer abstracts interactions with the kubernetes API for istio objects

Jump to

Keyboard shortcuts

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