Help us shape the future of Go! Take the 2026 Go Developer Survey

reference

package
v2.4.3 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 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