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

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