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: 0

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