resources

package
v0.3.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2026 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PropagateMetadata

func PropagateMetadata(parentLabels ...map[string]string) map[string]string

Types

type InvalidObjectReference added in v0.2.5

type InvalidObjectReference struct {
	Message string
}

func (InvalidObjectReference) Error added in v0.2.5

func (i InvalidObjectReference) Error() string

type Invocation

type Invocation[S any] struct {
	// Spec is the spec of the resource
	Spec S
	// Parameters is the parameter settings of the resource
	Parameters []v1beta1.ParameterSetting
	// Metadata is the metadata of the resource
	Metadata metav1.ObjectMeta
}

Invocation represents the invocation of an Ocular resource (profile, downloader, crawler, uploader). It contains the spec of the resource, the metadata and the parameters that should be set. This is done since some resources additionally have a cluster wide version that share the same spec.

Jump to

Keyboard shortcuts

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