cnimodules

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Status

func Status(ctx context.Context, dynamicClient dynamic.Interface) statusresult.StatusResult

Status orchestrates retrieval, processing, and formatting of the resource's current status.

Types

type CNIModule

type CNIModule struct {
	Name    string
	Weight  string
	Source  string
	Phase   string
	Enabled string
	Ready   string
}

Get fetches raw resource data from the Kubernetes API.

func CNIModuleProcessing

func CNIModuleProcessing(item map[string]interface{}) (CNIModule, bool)

CNIModuleProcessing converts raw resource data into a CNIModule struct for output and analysis.

Jump to

Keyboard shortcuts

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