api

package
v0.0.0-...-4957362 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Overview

Package api provides a slice of Servers

Index

Constants

This section is empty.

Variables

View Source
var Servers = map[string]rest.Server{
	"extended": {
		CoreAPI:   true,
		ServeUnix: true,
		Resources: []rest.Resources{
			{
				PathPrefix: types.ExtendedPathPrefix,
				Endpoints: []rest.Endpoint{
					extendedCmd,
				},
			},
		},
	},
}

Servers represents the list of listeners that the daemon will start Each Server has pre-defined endpoints that will be added to the listener If the Server is marked as CoreAPI, its endpoints will be added to the core listener of Microcluster.

Functions

func Extensions

func Extensions() []string

Extensions returns the list of MicroOVN extensions.

Types

This section is empty.

Directories

Path Synopsis
Package types provides shared types and structs.
Package types provides shared types and structs.

Jump to

Keyboard shortcuts

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