app

package
v0.0.0-...-6410feb Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExportOptionsHandler

func ExportOptionsHandler(app *appsrv.Application, options interface{})

func ExportOptionsHandlerWithPrefix

func ExportOptionsHandlerWithPrefix(app *appsrv.Application, prefix string, options interface{})

func FetchEtcdServiceInfo

func FetchEtcdServiceInfo() (*identity.EndpointDetails, error)

func InitApp

func InitApp(options *common_options.BaseOptions, dbAccess bool) *appsrv.Application

func InitAuth

func InitAuth(options *common_options.CommonOptions, authComplete auth.AuthCompletedCallback)

func InitBaseAuth

func InitBaseAuth(options *common_options.BaseOptions)

func ServeForever

func ServeForever(app *appsrv.Application, options *common_options.BaseOptions)

func ServeForeverExtended

func ServeForeverExtended(app *appsrv.Application, options *common_options.BaseOptions, port int, onStop func(), isMaster bool)

func ServeForeverWithCleanup

func ServeForeverWithCleanup(app *appsrv.Application, options *common_options.BaseOptions, onStop func())

Types

type SEndpointChangeManager

type SEndpointChangeManager struct {
	watcher.SInformerSyncManager
}

func (*SEndpointChangeManager) DoSync

func (man *SEndpointChangeManager) DoSync(first bool, timeout bool) (time.Duration, error)

func (*SEndpointChangeManager) Name

func (man *SEndpointChangeManager) Name() string

func (*SEndpointChangeManager) NeedSync

func (man *SEndpointChangeManager) NeedSync(dat *jsonutils.JSONDict) bool

Jump to

Keyboard shortcuts

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