core

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package core represents foundational data types that are used throughout the library, but are not part of the API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterObjectKey

type ClusterObjectKey struct {
	// Component references a single component.
	Component bundle.ComponentReference

	// Object represents a unique key for this object within a component.
	Object ObjectRef
}

ClusterObjectKey is a key representing a specific cluster object.

type ObjectRef

type ObjectRef struct {
	// The API Version for an Object.
	APIVersion string

	// The Kind for an Object.
	Kind string

	// The Name of an Object.
	Name string
}

ObjectRef is a stripped-down version of the Kubernetes corev1.ObjectReference type.

func ObjectRefFromUnstructured added in v0.5.0

func ObjectRefFromUnstructured(o *unstructured.Unstructured) ObjectRef

ObjectRefFromUnstructured creates an ObjectRef from Unstructured.

Jump to

Keyboard shortcuts

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