networkconfigmanagementimpl

package
v0.0.0-...-e70f483 Latest Latest
Warning

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

Go to latest
Published: May 21, 2026 License: Apache-2.0 Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package networkconfigmanagementimpl implements the networkconfigmanagement component interface

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetConfigResponse

type GetConfigResponse struct {
	ConfigUUID string           `json:"config_uuid"`
	DeviceID   string           `json:"device_id"`
	ConfigType types.ConfigType `json:"config_type"`
	CapturedAt int64            `json:"captured_at"`
	RawConfig  string           `json:"raw_config"`
}

GetConfigResponse is the JSON response returned by the /agent/ncm/config endpoint.

type Provides

type Provides struct {
	compdef.Out

	Comp              option.Option[networkconfigmanagement.Component]
	GetConfigEndpoint api.EndpointProvider `group:"agent_endpoint"`
}

Provides defines the output of the networkconfigmanagement component

func NewComponent

func NewComponent(reqs Requires) (Provides, error)

NewComponent creates a new networkconfigmanagement component

func NewNoopComponent

func NewNoopComponent() (Provides, error)

NewComponent creates a stub networkconfigmanagement component

type Requires

type Requires struct {
	compdef.In
	// Remove this field if the component has no lifecycle hooks
	Lifecycle compdef.Lifecycle
	Config    config.Component
	Logger    log.Component
}

Requires defines the dependencies for the networkconfigmanagement component

Jump to

Keyboard shortcuts

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