# Functions
ADifferenceFromB returns the difference in position between ComponentType A and ComponentType B e.g.
AGreaterThanB returns whether ComponentType A is further along the pipeline than ComponentType B e.g.
ComponentTypeNames returns a list of possible string values of ComponentType.
ComponentTypeValues returns a list of the values for ComponentType.
FromReference resolves a reference and returns an instance of a component.
GatherTasks returns the paths of all the Tekton Tasks discovered
revive:disable:cognitive-complexity High complexity score but easy to understand.
GetPrevious returns previous component type e.g.
LabelValueOneOf checks if the labels map has the expected key set and if that key has any one of the expected values.
No description provided by the author
MustParseComponentType converts a string to a ComponentType, and panics if is not valid.
MustParseOrchestrationType converts a string to a OrchestrationType, and panics if is not valid.
No description provided by the author
No description provided by the author
OrchestrationTypeNames returns a list of possible string values of OrchestrationType.
Package explores the components folder provided and gathers all the Tekton Tasks into one Helm chart.
ParseComponentType attempts to convert a string to a ComponentType.
ParseOrchestrationType attempts to convert a string to a OrchestrationType.
ProcessTasks adds anchors, environment variables, parameters and any extra infrastructure required for a Task to become a useful part of a pipeline.
No description provided by the author
# Constants
Base is a ComponentType of type base.
Consumer is a ComponentType of type consumer.
Enricher is a ComponentType of type enricher.
EnricherAggregator is a ComponentType of type enricher-aggregator.
LabelKey is the key of the label where the value must be a string of the ComponentType enum.
OrchestrationTypeExternalHelm is a OrchestrationType of type external-helm.
OrchestrationTypeNaive is a OrchestrationType of type naive.
OrchestrationTypeUnknown is a OrchestrationType of type unknown.
Producer is a ComponentType of type producer.
ProducerAggregator is a ComponentType of type producer-aggregator.
Source is a ComponentType of type source.
Unknown is a ComponentType of type unknown.
# Variables
ErrCouldNotStatPath is returned when the path to the components doesn't exist or is inaccesbile.
No description provided by the author
No description provided by the author
ErrNotADirectory is returned when the path is not pointing to a directory.
# Structs
Component represents a Smithy component.
No description provided by the author
No description provided by the author
# Type aliases
ComponentType represents all the types of components that Smithy supports ENUM(unknown, base, source, producer, producer-aggregator, enricher, enricher-aggregator, consumer).
ENUM(unknown, naive, external-helm).