controllers

package
v0.0.0-...-210f5be Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	*Options
	// contains filtered or unexported fields
}

App controllers

func NewControllers

func NewControllers(opt *Options) (*App, error)

NewControllers build App

func (*App) Start

func (app *App) Start() error

Start start controller

type Options

type Options struct {
	ClusterManagerOptions *client.Options

	Threadiness int
	GotInterval time.Duration
	MetricPort  int
	PprofPort   int

	Master bool
	Worker bool

	AdvConfig *advdeployment.AdvConfig
}

Options controllers options

func DefaultOptions

func DefaultOptions() *Options

DefaultOptions default controllers options

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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