app

package
v0.3.9-5 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: Apache-2.0 Imports: 22 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExportOptionsHandler

func ExportOptionsHandler(app *appsrv.Application, 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) (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