apiserver

package
v1.5.9-beta.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2017 License: Apache-2.0 Imports: 15 Imported by: 0

README

API Server

This is a work in progress example for an API Server. We are working on isolating the generic api server code from kubernetes specific API objects. Some relevant issues:

This code here is to examplify what it takes to write your own API server.

To start this example api server, run:

$ go run examples/apiserver/server/main.go

Analytics

Documentation

Index

Constants

View Source
const (
	// Ports on which to run the server.
	// Explicitly setting these to a different value than the default values, to prevent this from clashing with a local cluster.
	InsecurePort = 8081
	SecurePort   = 6444
)

Variables

This section is empty.

Functions

func NewServerRunOptions added in v1.3.0

func NewServerRunOptions() *genericoptions.ServerRunOptions

func Run

func Run(serverOptions *genericoptions.ServerRunOptions, stopCh <-chan struct{}) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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