app

package
v0.4.13 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2025 License: Apache-2.0 Imports: 28 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 {
	K8sInterface    kubernetes.Interface
	Client          client.WithWatch
	InformerFactory informers.SharedInformerFactory
	Options         *Options
	// contains filtered or unexported fields
}

func New

func New() (*App, error)

func (*App) RegisterPlugins

func (app *App) RegisterPlugins(plugins *plugins.BinderPlugins)

func (*App) Run

func (app *App) Run() error

type Options

type Options struct {
	ResourceReservePodImage              string
	ResourceReservationAllocationTimeout int
	QPS                                  float64
	Burst                                int
	MaxConcurrentReconciles              int
	RateLimiterBaseDelaySeconds          int
	RateLimiterMaxDelaySeconds           int
	EnableLeaderElection                 bool
	MetricsAddr                          string
	ProbeAddr                            string
	WebhookPort                          int
	FakeGPUNodes                         bool
	GpuCdiEnabled                        bool
	VolumeBindingTimeoutSeconds          int
	GPUSharingEnabled                    bool
	SchedulerName                        string
}

func InitOptions

func InitOptions() *Options

Jump to

Keyboard shortcuts

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