package
0.0.98
Repository: https://github.com/gardener/component-spec.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

DefaultComponent applies defaults to a component.
DefaultList defaults a list of components.
DefaultResources defaults a list of resources.
FromUnstructuredObject converts a unstructured object into a typed object.
InjectRepositoryContext appends the given repository context to components descriptor repository history.
MatchResourceSelectorFuncs applies all resource selector against the given resource object.
NewCodec creates a new typed object codec.
NewDefaultCodec creates a new default typed object codec.
NewEmptyUnstructured creates a new typed object without additional data.
NewExcludeFromSignatureDigest returns the special digest notation to indicate the resource content should not be part of the signature.
NewGitHubAccess creates a new Web accessor.
NewLocalFilesystemBlobAccess creates a new localFilesystemBlob accessor.
NewLocalOCIBlobAccess creates a new LocalOCIBlob accessor.
NewNameSelector creates a new selector that matches a resource name.
NewOCIBlobAccess creates a new OCIBlob accessor.
NewOCIRegistryAccess creates a new OCIRegistryAccess accessor.
NewOCIRegistryRepository creates a new OCIRegistryRepository accessor.
NewRelationResourceSelector creates a new resource selector that selects a resource based on its relation type.
NewRelativeOciAccess creates a new RelativeOciAccess accessor.
NewS3Access creates a new s3 accessor.
NewTypeResourceSelector creates a new resource selector that selects a resource based on its type.
NewUnstructured creates a new unstructured object from a typed object using the default codec.
NewUnstructuredType creates a new unstructured typed object.
NewVersionResourceSelector creates a new resource selector that selects a resource based on its version.
NewWebAccess creates a new Web accessor.
ToUnstructuredTypedObject converts a typed object to a unstructured object.
TypedObjectEqual compares two typed objects using the unstructured type.
UnstructuredTypesEqual compares two unstructured object.

# Constants

CosignSignatureType is the type of a cosign signature.
ExcludeFromSignature used in digest field for normalisationAlgorithm (in combination with NoDigest for hashAlgorithm and value) to indicate the resource content should not be part of the signature.
ExternalRelation defines a external relation which describes a resource maintained by a third party vendor in the origin's context.
No description provided by the author
GitHubAccessType is the type of a git object.
GitType is the type a git repository resource.
No description provided by the author
LocalFilesystemBlobType is the access type of a blob in a local filesystem.
LocalOCIBlobType is the access type of a oci blob in the current component descriptor manifest.
LocalRelation defines a internal relation which describes a internally maintained resource in the origin's context.
MediaTypePEM defines the media type for pem formatted data.
MediaTypeRSASignature defines the media type for a plain RSA signature.
NoDigest used in digest field for hashAlgorithm and value (in combination with ExcludeFromSignature for normalisationAlgorithm) to indicate the resource content should not be part of the signature.
No description provided by the author
OCIBlobType is the access type of a oci blob in a manifest.
OCIImageType is the type of an oci image component.
No description provided by the author
OCIRegistryType is the access type of a oci registry.
No description provided by the author
RelativeOciReferenceType is the access type of a relative oci reference.
RSAPKCS1v15 defines the type for the RSA PKCS #1 v1.5 signature algorithm.
S3AccessType is the type of a s3 access.
No description provided by the author
SignatureAlgorithmHeader defines a pem header where the signature algorithm is defined.
SignaturePEMBlockType defines the type of a signature pem block.
No description provided by the author
No description provided by the author
WebType is the type of a web component.

# Variables

DefaultJSONTypedObjectCodec implements TypedObjectCodec interface with the json decoder and json encoder.
KnownAccessTypes contains all known access serializer.
No description provided by the author

# Structs

ComponentDescriptor defines a versioned component with a source and dependencies.
ComponentDescriptorList describes the v2 component descriptor containing components and their versions.
ComponentReference describes the reference to another component in the registry.
ComponentSpec defines a virtual component with a repository context, source and dependencies.
DefaultJSONTypedObjectDecoder is a simple decoder that implements the TypedObjectDecoder interface.
DefaultJSONTypedObjectEncoder is a simple decoder that implements the TypedObjectDecoder interface.
DigestSpec defines a digest.
GitHubAccess describes a github repository resource access.
IdentityObjectMeta defines a object that is uniquely identified by its identity.
Label is a label that can be set on objects.
LocalFilesystemBlobAccess describes the access for a blob on the filesystem.
LocalOCIBlobAccess describes the access for a blob that is stored in the component descriptors oci manifest.
Metadata defines the metadata of the component descriptor.
ObjectMeta defines a object that is uniquely identified by its name and version.
ObjectType describes the type of a object +k8s:deepcopy-gen=true.
OCIBlobAccess describes the access for a oci registry.
OCIRegistryAccess describes the access for a oci registry.
OCIRegistryRepository describes a component repository backed by a oci registry.
RelativeOciAccess describes the access for a relative oci reference.
Resource describes a resource dependency of a component.
S3AccessType describes a s3 resource access.
Signature defines a digest and corresponding signature, identifyable by name.
SignatureSpec defines a signature.
Source is the definition of a component's source.
SourceRef defines a reference to a source +k8s:deepcopy-gen=true +k8s:openapi-gen=true.
TypedObjectCodecWrapper is a simple struct that implements the TypedObjectCodec interface.
UnstructuredTypedObject describes a generic typed object.
Web describes a web resource access that can be fetched via http GET request.

# Interfaces

LabelsAccessor describes a accessor for a labeled object.
NameAccessor describes a accessor for a named object.
ObjectMetaAccessor describes a accessor for named and versioned object.
TypedObjectAccessor defines the accessor for a typed component with additional data.
TypedObjectCodec describes a known component type and how it is decoded and encoded.
TypedObjectDecoder defines a decoder for a typed object.
TypedObjectEncoder defines a encoder for a typed object.
VersionAccessor describes a accessor for a versioned object.

# Type aliases

ComponentNameMapping describes the method that is used to map the "Component Name", "Component Version"-tuples to OCI Image References.
Identity describes the identity of an object.
No description provided by the author
KnownTypes defines a set of known types.
KnownTypeValidationFunc defines a function that can validate types.
Labels describe a list of labels +k8s:deepcopy-gen=true +k8s:openapi-gen=true.
NormalisationAlgorithm types and versions the algorithm used for digest generation.
ProviderType describes the provider of component in the origin's context.
Repository is a specific type that indicated a typed repository object.
ResourceRelation describes the type of a resource.
ResourceSelectorFunc defines a function to filter a resource.
TypedObjectDecoderFunc is a simple function that implements the TypedObjectDecoder interface.
TypedObjectEncoderFunc is a simple function that implements the TypedObjectEncoder interface.