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

func ObjectRefFromUnstructured(o *unstructured.Unstructured) ObjectRef

ObjectRefFromUnstructured creates an ObjectRef from Unstructured.

Source Files