api

package
v0.0.0-...-2998d80 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GenericObject

type GenericObject struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata"`

	Data []byte `json:"data,omitempty"`
}

func (*GenericObject) DeepCopy

func (e *GenericObject) DeepCopy() Object

type Object

type Object interface {
	GetName() string
	GetNamespace() string
	GetNamespaceName() metav1.NamespaceName
	GetVersionKind() metav1.VersionKind
	GetRessourceVersion() int64
	DeepCopy() Object
}

type ObjectList

type ObjectList []Object

func (ObjectList) Index

func (o ObjectList) Index(namespaceName metav1.NamespaceName) int

Directories

Path Synopsis
v1

Jump to

Keyboard shortcuts

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