Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DatapathRegenerationLevel ¶
type DatapathRegenerationLevel int
DatapathRegenerationLevel determines what is expected of the datapath when a regeneration event is processed.
const ( // Invalid is the default level to enforce explicit setting of // the regeneration level. Invalid DatapathRegenerationLevel = iota // RegenerateWithoutDatapath indicates that datapath rebuild or reload // is not required to implement this regeneration. RegenerateWithoutDatapath // RegenerateWithDatapath indicates that the datapath must be // recompiled and reloaded to implement this regeneration. RegenerateWithDatapath )
func (DatapathRegenerationLevel) String ¶
func (r DatapathRegenerationLevel) String() string
String converts a DatapathRegenerationLevel into a human-readable string.
type ExternalRegenerationMetadata ¶
type ExternalRegenerationMetadata struct {
// Reason provides context to source for the regeneration, which is
// used to generate useful log messages.
Reason string
// RegenerationLevel forces datapath regeneration according to the
// levels defined in the DatapathRegenerationLevel description.
RegenerationLevel DatapathRegenerationLevel
ParentContext context.Context
}
ExternalRegenerationMetadata contains any information about a regeneration that the endpoint subsystem should be made aware of for a given endpoint.
type Fence ¶ added in v1.18.0
Fence delays the endpoint regeneration until all registered wait functions have returned.
A new type around hive.Fence to give it a unique type that can be provided to Hive.
Click to show internal directories.
Click to hide internal directories.