kubernetes

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewKusionResource

func NewKusionResource(obj runtime.Object, objectMeta metav1.ObjectMeta) (*v1.Resource, error)

NewKusionResource creates a Kusion Resource object with the given obj and objectMeta.

func ToKusionResourceID

func ToKusionResourceID(gvk schema.GroupVersionKind, objectMeta metav1.ObjectMeta) string

ToKusionResourceID returns the Kusion resource ID for the given Kubernetes object specified by its GroupVersionKind and ObjectMeta.

Types

This section is empty.

Jump to

Keyboard shortcuts

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