kubernetesk8s.io/kubernetes/examples/apiserver Index | Files | Directories

package apiserver

import "k8s.io/kubernetes/examples/apiserver"

Index

Constants

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
)

Types

type ServerRunOptions

type ServerRunOptions struct {
	GenericServerRunOptions *genericoptions.ServerRunOptions
	Etcd                    *genericoptions.EtcdOptions
	SecureServing           *genericoptions.SecureServingOptions
	InsecureServing         *genericoptions.ServingOptions
	Authentication          *kubeoptions.BuiltInAuthenticationOptions
	CloudProvider           *kubeoptions.CloudProviderOptions
}

func NewServerRunOptions

func NewServerRunOptions() *ServerRunOptions

func (*ServerRunOptions) Run

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

Source Files

apiserver.go

Directories

PathSynopsis
examples/apiserver/rest
examples/apiserver/server
Version
v1.6.0-alpha.1
Published
Jan 30, 2017
Platform
js/wasm
Imports
15 packages
Last checked
1 minute ago

Tools for package owners.