klua

package module
v0.0.0-...-55d7f90 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2025 License: LGPL-2.1 Imports: 13 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.

README

klua

Lua binding for the Kubernetes API

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exec

func Exec(ctx context.Context, code string, cli client.Client) error

Types

type Registry

type Registry struct {
	// contains filtered or unexported fields
}

func GetRegistry

func GetRegistry() *Registry

func (*Registry) Lookup

func (r *Registry) Lookup(name string) (reflect.Type, bool)

Lookup retrieves the type by name from the registry It returns the reflect.Value of the registered type and a bool indicating if the type exists

func (*Registry) Register

func (r *Registry) Register(val reflect.Value)

Register adds a new type to the registry with the given name

Jump to

Keyboard shortcuts

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