application

package
v0.0.0-...-881b546 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2022 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServerApplication

type ServerApplication struct {
	RawBackendConfigProvider              *raw_config_service.BackendConfigProvider
	CredResolverConfigStorage             *cred_resolver_config_persist.CredResolverConfigStorage
	AggreagtedClusterMetadataCacheStorage *cluster_metadata_persist.AggregatedClusterMetadataStorage

	RawConfigService *raw_config_service.Service
	CredStoreService *cred_resolver_service.CredResolverStoreService
	RegisterService  *cluster_register_service.ClusterRegisterService
	MetaService      *cluster_metadata_service.ClusterMetadataService

	KubeconfigController  protos.KubeconfigServer
	ApplicationController protos.ApplicationServer

	GrpcServer    *grpc.Server
	GrpcPort      int
	GrpcWebServer *http.Server
	GrpcWebPort   int

	Config *configs.ApplicationConfig

	//Lifecycle
	ApplicationClose chan bool
}

func (*ServerApplication) CloseApplication

func (s *ServerApplication) CloseApplication()

func (*ServerApplication) InitApplication

func (s *ServerApplication) InitApplication(option *ServerApplicationOption) error

func (*ServerApplication) StartApplication

func (s *ServerApplication) StartApplication()

type ServerApplicationOption

type ServerApplicationOption struct {
	GrpcPort          int
	GrpcWebPort       int
	AbsConfigPath     string
	UseMockController bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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