service

package
v0.0.0-...-e41bbbb Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PodManagerImpl

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

func InitializePodManager

func InitializePodManager(ctx context.Context, httpSender comms.CommsSender, httpReceiver comms.CommsReceiver) (*PodManagerImpl, error)

Initializes a new PodManagerImpl object

func (*PodManagerImpl) RefreshConfiguration

func (p *PodManagerImpl) RefreshConfiguration(ctx context.Context, w comms.ResponseWriter, r comms.Request)

RefreshConfiguration is a callback function that is called when a refresh request is received

func (*PodManagerImpl) Start

func (p *PodManagerImpl) Start(ctx context.Context, signals <-chan os.Signal) error

Start the pod manager

func (*PodManagerImpl) Stop

func (p *PodManagerImpl) Stop(ctx context.Context)

Stop the pod manager

func (*PodManagerImpl) TestCallback

func (p *PodManagerImpl) TestCallback(ctx context.Context, w comms.ResponseWriter, r comms.Request)

Dummy function for testing purposes

Jump to

Keyboard shortcuts

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