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 { Element GetType() string GetAccess() AccessSpec }
ArtifactAccessor provides access to generic artifact information of an element.
type Element ¶ added in v0.15.0
type Element interface { ElementMetaProvider Equivalent(Element) equivalent.EqualState }
Element represents a generic element with meta information. It also allows to check for equivalence of elements of the same kind.
type ElementListAccessor ¶
ElementListAccessor provides generic access to list of elements.
type ElementMeta ¶
type ElementMeta interface { GetName() string GetVersion() string GetExtraIdentity() v1.Identity GetLabels() v1.Labels GetIdentity(accessor ElementListAccessor) v1.Identity GetIdentityDigest(accessor ElementListAccessor) []byte GetRawIdentity() v1.Identity GetMatchBaseIdentity() v1.Identity GetMeta() ElementMeta // ElementMeta is again a Meta provider SetLabels(labels []v1.Label) }
ElementMeta describes the access to common element meta data attributes.
type ElementMetaProvider ¶ added in v0.15.0
type ElementMetaProvider interface {
GetMeta() ElementMeta
}
ElementMetaProvider just provides access to element meta data of an element.
type ReferenceAccessor ¶
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.