options

package
v1.1.0-alpha.0....-ad7ed67 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2016 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package options contains flags and options for initializing an apiserver

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIServer

type APIServer struct {
	*genericapiserver.ServerRunOptions
	APIGroupPrefix             string
	APIPrefix                  string
	AdmissionControl           string
	AdmissionControlConfigFile string
	AdvertiseAddress           net.IP
	AllowPrivileged            bool
	AuthorizationMode          string
	AuthorizationPolicyFile    string
	BasicAuthFile              string
	CloudConfigFile            string
	CloudProvider              string
	CorsAllowedOriginList      []string
	DeprecatedStorageVersion   string
	EnableLogsSupport          bool
	EnableProfiling            bool
	EnableWatchCache           bool
	EtcdPathPrefix             string
	EtcdServerList             []string
	EtcdServersOverrides       []string
	EventTTL                   time.Duration
	ExternalHost               string
	KeystoneURL                string
	KubeletConfig              kubeletclient.KubeletClientConfig
	KubernetesServiceNodePort  int
	MasterCount                int
	MasterServiceNamespace     string
	MaxConnectionBytesPerSec   int64
	MinRequestTimeout          int
	OIDCCAFile                 string
	OIDCClientID               string
	OIDCIssuerURL              string
	OIDCUsernameClaim          string
	RuntimeConfig              util.ConfigurationMap
	SSHKeyfile                 string
	SSHUser                    string
	ServiceAccountKeyFile      string
	ServiceAccountLookup       bool
	ServiceClusterIPRange      net.IPNet // TODO: make this a list
	ServiceNodePortRange       utilnet.PortRange
	StorageVersions            string
	TokenAuthFile              string
	WatchCacheSizes            []string
}

APIServer runs a kubernetes api server.

func NewAPIServer

func NewAPIServer() *APIServer

NewAPIServer creates a new APIServer object with default parameters

func (*APIServer) AddFlags

func (s *APIServer) AddFlags(fs *pflag.FlagSet)

AddFlags adds flags for a specific APIServer to the specified FlagSet

Jump to

Keyboard shortcuts

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