api_server

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2021 License: Apache-2.0 Imports: 48 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var APIIndexResponseFn = kumaAPIIndexResponse
View Source
var Versions = []byte(`{
  "kumaDp": {
    "1.0.0": {
      "envoy": "1.16.0"
    },
    "1.0.1": {
      "envoy": "1.16.0"
    },
    "1.0.2": {
      "envoy": "1.16.1"
    },
    "1.0.3": {
      "envoy": "1.16.1"
    },
    "1.0.4": {
      "envoy": "1.16.1"
    },
    "1.0.5": {
      "envoy": "1.16.2"
    },
    "1.0.6": {
      "envoy": "1.16.2"
    },
    "1.0.7": {
      "envoy": "1.16.2"
    },
    "1.0.8": {
      "envoy": "1.16.2"
    },
    "~1.1.0": {
      "envoy": "~1.17.0"
    },
    "~1.2.0": {
      "envoy": "~1.18.0"
    }
  }
}`)

Functions

func ListByFilterFunc

func ListByFilterFunc(filterFunc store.ListFilterFunc) store.ListOptionsFunc

func SetupServer

func SetupServer(rt runtime.Runtime) error

Types

type ApiServer

type ApiServer struct {
	// contains filtered or unexported fields
}

func NewApiServer

func NewApiServer(resManager manager.ResourceManager, wsManager customization.APIInstaller, defs []definitions.ResourceWsDefinition, cfg *kuma_cp.Config, enableGUI bool, metrics metrics.Metrics) (*ApiServer, error)

func (*ApiServer) Address

func (a *ApiServer) Address() string

func (*ApiServer) NeedLeaderElection

func (a *ApiServer) NeedLeaderElection() bool

func (*ApiServer) Start

func (a *ApiServer) Start(stop <-chan struct{}) error

type DpFilter

type DpFilter func(a interface{}) bool

type Zone

type Zone struct {
	Name   string `json:"name"`
	Active bool   `json:"active"`
}

type Zones

type Zones []Zone

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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