accessors

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessSpec

type AccessSpec interface {
	runtime.VersionedTypedObject
}

AccessSpec is the minimal interface for access spec attributes.

type ArtifactAccessor

type ArtifactAccessor interface {
	ElementMetaAccessor
	GetType() string
	GetAccess() AccessSpec
}

ArtifactAccessor provides access to generic artifact information of an element.

type ElementListAccessor

type ElementListAccessor interface {
	Len() int
	Get(i int) ElementMetaAccessor
}

ElementListAccessor provides generic access to list of elements.

type ElementMeta

type ElementMeta interface {
	GetName() string
	GetVersion() string
	GetExtraIdentity() v1.Identity
	GetLabels() v1.Labels
	GetIdentityForContext(accessor ElementListAccessor) v1.Identity
}

ElementMeta describes the access to common element meta data attributes.

type ElementMetaAccessor

type ElementMetaAccessor interface {
	GetMeta() ElementMeta
}

ElementMetaAccessor provides generic access an elements meta information.

type ReferenceAccessor

type ReferenceAccessor interface {
	ElementMetaAccessor
	GetComponentName() string
}

ReferenceAccessor provides access to source attribute.

type ResourceAccessor

type ResourceAccessor interface {
	ArtifactAccessor
	GetRelation() v1.ResourceRelation
	GetDigest() *v1.DigestSpec
}

ResourceAccessor provides access to resource attribute.

type SourceAccessor

type SourceAccessor interface {
	ArtifactAccessor
}

SourceAccessor provides access to source attribute.

Jump to

Keyboard shortcuts

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