# Functions
AddToTimeline inserts items into timeline slice.
BuildResourceFromPath builds a new instance of Resource from the given path.
CompareDirs takes two directory paths as inputs and returns a slice of different files between them.
ConvertMRNtoPath transforms machine resource name to templated path to resource.
CreateTimeline returns fresh timeline slice.
GetFiles returns list of files as map.
GetMetaVersion searches for version in meta data.
HashFileByPath opens file and hash content.
HashFileFromReader uses reader to copy and hash file.
HashString is wrapper for hashing string.
IsUpdatableKind checks if resource kind is in [Kinds] range.
LoadVariablesFile loads vars yaml file from path.
LoadVariablesFileFromBytes loads vars yaml file from bytes input.
LoadYamlFileFromBytes loads yaml file from bytes input.
NewArtifact returns new instance of artifact to get.
NewInventory creates a new instance of Inventory with the provided vault password.
NewOrderedMap returns a new instance of [OrderedMap].
NewResource returns new [Resource] instance.
NewResourcesCrawler creates a new instance of ResourcesCrawler with initialized taskSources and templateSources maps.
NewTimelineResourcesItem returns new instance of [TimelineResourcesItem].
NewTimelineVariablesItem returns new instance of [TimelineVariablesItem].
PrepareMachineResourceName concatenates resource platform, kind and role via specific template.
ProcessResourcePath splits resource path onto platform, kind and role.
SortTimeline sorts timeline items in slice.
UnmarshallFixDuplicates handles duplicated values in yaml instead throwing error.
# Constants
ArtifactTruncateLength contains bump commit hash truncate length.
# Variables
ErrArtifactNotFound not artifact error.
InventoryExcluded is list of excluded files and folders from inventory.
Kinds are list of target resources.
# Structs
Artifact represents a storage for artifacts.
Inventory represents the inventory used in the application to search and collect resources and variable resources.
OrderedMap represents generic struct with map and order keys.
Resource represents a platform resource.
ResourcesCrawler is a type that represents a crawler for resources in a given directory.
TimelineResourcesItem implements TimelineItem interface and stores Resource map.
TimelineVariablesItem implements TimelineItem interface and stores Variable map.
Variable represents a variable used in the application.
# Interfaces
TimelineItem is interface for storing commit, date and version of propagated items.