thirdcomponent

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: LGPL-3.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiscoverPool

type DiscoverPool struct {
	// contains filtered or unexported fields
}

DiscoverPool -

func NewDiscoverPool

func NewDiscoverPool(ctx context.Context,
	reconciler *Reconciler,
	recorder record.EventRecorder) *DiscoverPool

NewDiscoverPool -

func (*DiscoverPool) AddDiscover

func (d *DiscoverPool) AddDiscover(dis dis.Discover)

AddDiscover -

func (*DiscoverPool) GetSize

func (d *DiscoverPool) GetSize() float64

GetSize -

func (*DiscoverPool) RemoveDiscover

func (d *DiscoverPool) RemoveDiscover(component *v1alpha1.ThirdComponent)

RemoveDiscover -

func (*DiscoverPool) RemoveDiscoverByName

func (d *DiscoverPool) RemoveDiscoverByName(req types.NamespacedName)

RemoveDiscoverByName -

func (*DiscoverPool) Start

func (d *DiscoverPool) Start()

Start -

type Reconciler

type Reconciler struct {
	Client client.Client

	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

Reconciler -

func Setup

func Setup(ctx context.Context, mgr ctrl.Manager) (*Reconciler, error)

Setup adds a controller that reconciles AppDeployment.

func (*Reconciler) Collect

func (r *Reconciler) Collect(ch chan<- prometheus.Metric)

Collect -

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (res reconcile.Result, retErr error)

Reconcile is the main logic of appDeployment controller

func (*Reconciler) SetupWithManager

func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager setup the controller with manager

type Worker

type Worker struct {
	// contains filtered or unexported fields
}

Worker -

func (*Worker) IsStop

func (w *Worker) IsStop() bool

IsStop -

func (*Worker) Start

func (w *Worker) Start()

Start -

func (*Worker) Stop

func (w *Worker) Stop()

Stop -

func (*Worker) UpdateDiscover

func (w *Worker) UpdateDiscover(discover dis.Discover)

UpdateDiscover -

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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