controller

package
v0.0.0-...-cbe8cb9 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	SdkEndpoint        string
	ResyncPeriod       time.Duration
	RetryIntervalStart time.Duration
	RetryIntervalMax   time.Duration
}

Config represents a configuration for creating a controller server

type Controller

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

Controller represents a controller server

func New

func New(cfg *Config) (*Controller, error)

New returns a new controller server

func (*Controller) Run

func (ctrl *Controller) Run(workers int, stopCh chan struct{})

Run starts the Px Object Service controller

Jump to

Keyboard shortcuts

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