orchestratorinterface

package module
v0.52.1 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 1 Imported by: 2

Documentation

Overview

Package orchestratorinterface defines the interface for the orchestrator forwarder component.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Component

type Component interface {
	// Get the forwarder instance if it exists.
	Get() (defaultforwarder.Forwarder, bool)

	// TODO: (components): This function is used to know if Stop was already called in AgentDemultiplexer.Stop.
	// Reset results `Get` methods to return false.
	// Remove it when Stop is not part of this interface.
	Reset()
}

Component is the component type. The main method of this component is `Get` which returns the forwarder instance only if it enabled.

Jump to

Keyboard shortcuts

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