commonv1

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SourceRef

type SourceRef struct {
	// API version of the referent.
	// +optional
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind of the referent.
	// +required
	Kind string `json:"kind"`

	// Name of the referent.
	// +required
	Name string `json:"name"`

	// Namespace of the referent, defaults to the namespace of the Kubernetes
	// resource object that contains the reference.
	// +optional
	Namespace string `json:"namespace,omitempty"`
}

CrossNamespaceSourceReference contains enough information to let you locate the typed Kubernetes resource object at cluster level.

func (*SourceRef) GetGroupKind

func (s *SourceRef) GetGroupKind() schema.GroupKind

func (*SourceRef) GetName

func (s *SourceRef) GetName() string

func (*SourceRef) GetNamespace

func (s *SourceRef) GetNamespace() string

func (*SourceRef) GetObjectKey

func (s *SourceRef) GetObjectKey() ctrlclient.ObjectKey

func (*SourceRef) String

func (s *SourceRef) String() string

Jump to

Keyboard shortcuts

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