k3s/examples/apiserver
Kubernetes Submit Queue 5caf74c517 Merge pull request #30529 from hongchaodeng/r1
Automatic merge from submit-queue

change all PredicateFunc to use SelectionPredicate

What?
- This PR changes all PredicateFunc in registry to return SelectionPredicate instead of Matcher interface.

Why?
- We want to pass SelectionPredicate to storage layer. Matcher interface did not expose enough information for indexing.
2016-08-20 00:24:40 -07:00
..
rest generic.Matcher -> *generic.SelectionPredicate 2016-08-13 21:52:11 -07:00
server Extract etcd options from genericapiserver. 2016-08-09 13:35:53 +02:00
README.md Fix broken warning image link in docs 2016-07-15 10:44:58 +01:00
apiserver.go Update etcd default ports for v3, and validate tests 2016-08-17 07:49:19 -05:00

README.md

WARNING WARNING WARNING WARNING WARNING

PLEASE NOTE: This document applies to the HEAD of the source tree

If you are using a released version of Kubernetes, you should refer to the docs that go with that version.

The latest release of this document can be found [here](http://releases.k8s.io/release-1.3/examples/apiserver/README.md).

Documentation for other releases can be found at releases.k8s.io.

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