reference

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2025 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Overview

Package reference contains references to resources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Claim

type Claim struct {
	// APIVersion of the referenced claim.
	APIVersion string `json:"apiVersion"`

	// Kind of the referenced claim.
	Kind string `json:"kind"`

	// Name of the referenced claim.
	Name string `json:"name"`

	// Namespace of the referenced claim.
	Namespace string `json:"namespace"`
}

A Claim is a reference to a claim.

func (*Claim) GroupVersionKind

func (c *Claim) GroupVersionKind() schema.GroupVersionKind

GroupVersionKind returns the GroupVersionKind of the claim reference.

type Composite

type Composite struct {
	// APIVersion of the referenced composite.
	APIVersion string `json:"apiVersion"`

	// Kind of the referenced composite.
	Kind string `json:"kind"`

	// Name of the referenced composite.
	Name string `json:"name"`

	// Namespace of the referenced composite.
	Namespace *string `json:"namespace,omitempty"`
}

A Composite is a reference to a composite.

func (*Composite) GroupVersionKind

func (c *Composite) GroupVersionKind() schema.GroupVersionKind

GroupVersionKind returns the GroupVersionKind of the composite reference.

Jump to

Keyboard shortcuts

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