package options

import "k8s.io/kubernetes/federation/cmd/federation-apiserver/app/options"

Package options contains flags and options for initializing federation-apiserver.

Index

Types

type ServerRunOptions

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

	EventTTL time.Duration
}

Runtime options for the federation-apiserver.

func NewServerRunOptions

func NewServerRunOptions() *ServerRunOptions

NewServerRunOptions creates a new ServerRunOptions object with default values.

func (*ServerRunOptions) AddFlags

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

AddFlags adds flags for ServerRunOptions fields to be specified via FlagSet.

func (*ServerRunOptions) Validate

func (options *ServerRunOptions) Validate() []error

Source Files

options.go validation.go

Version
v1.6.0-alpha.1
Published
Jan 30, 2017
Platform
js/wasm
Imports
5 packages
Last checked
27 seconds ago

Tools for package owners.