apiextensions

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package apiextensions provides helpers structs which can be used anywhere +kubebuilder:object:generate:=true

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ObjectFieldReference

type ObjectFieldReference struct {
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
	Key       string `json:"key"`
}

ObjectFieldReference is namespaced reference to the object field

func (*ObjectFieldReference) AsNamespacedName

func (o *ObjectFieldReference) AsNamespacedName() types.NamespacedName

func (*ObjectFieldReference) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectFieldReference.

func (*ObjectFieldReference) DeepCopyInto

func (in *ObjectFieldReference) DeepCopyInto(out *ObjectFieldReference)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ObjectReference

type ObjectReference struct {
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
}

ObjectReference is namespaced reference to an object

func (*ObjectReference) AsNamespacedName

func (o *ObjectReference) AsNamespacedName() types.NamespacedName

func (*ObjectReference) DeepCopy

func (in *ObjectReference) DeepCopy() *ObjectReference

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReference.

func (*ObjectReference) DeepCopyInto

func (in *ObjectReference) DeepCopyInto(out *ObjectReference)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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