enactment

package
v8.56.1709838579-SHA-e... Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend interface {
	Apply(context.Context, *apipb.ScheduledControlUpdate) (*apipb.ControlPlaneState, error)
	Stats() interface{}
	Init(context.Context) error
	Close() error
}

Backend is the component that takes a ScheduledControlUpdate message for a given node and returns the new state for that node. If the error returned implements the gRPCStatus interface, the appropriate status will be used.

Directories

Path Synopsis
Package extproc provides an enactment.Backend implementation that relies on an external process to enact changes.
Package extproc provides an enactment.Backend implementation that relies on an external process to enact changes.

Jump to

Keyboard shortcuts

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