Versions in this module Expand all Collapse all v0 v0.60.0 Jan 28, 2025 v0.59.2 Nov 26, 2024 v0.59.1 Nov 19, 2024 v0.59.0 Nov 19, 2024 v0.58.0 Nov 15, 2024 v0.57.0 Nov 1, 2024 v0.56.5 Oct 31, 2024 v0.56.4 Oct 31, 2024 v0.56.3 Oct 29, 2024 v0.56.2 Oct 25, 2024 v0.56.1 Oct 24, 2024 v0.56.0 Oct 21, 2024 Changes in this version + const LabelKey + var ErrCouldNotStatPath = errors.New("could not stat path") + var ErrInvalidComponentType = fmt.Errorf("not a valid ComponentType, try [%s]", strings.Join(_ComponentTypeNames, ", ")) + var ErrInvalidOrchestrationType = fmt.Errorf("not a valid OrchestrationType, try [%s]", ...) + var ErrNotADirectory = errors.New("path is not a directory") + func ADifferenceFromB(componentTypeA ComponentType, componentTypeB ComponentType) int + func AGreaterThanB(componentTypeA ComponentType, componentTypeB ComponentType) bool + func ComponentTypeNames() []string + func GatherTasks(folder string) ([]string, error) + func LabelValueOneOf(labels map[string]string, componentTypes ...ComponentType) (bool, error) + func LoadTasks(ctx context.Context, taskPaths []string) ([]*tektonv1beta1api.Task, error) + func OrchestrationTypeNames() []string + func Package(ctx context.Context, name, componentFolder string, smithyVersion string, ...) (err error) + func ProcessTasks(taskList ...*tektonv1beta1api.Task) error + type Component struct + Manifest runtime.Object + Name string + OrchestrationType OrchestrationType + Reference string + Repository string + Resolved bool + Type ComponentType + func FromReference(ctx context.Context, ref string) (Component, error) + type ComponentType string + const Base + const Consumer + const Enricher + const EnricherAggregator + const Producer + const ProducerAggregator + const Source + const Unknown + func ComponentTypeValues() []ComponentType + func GetPrevious(componentType ComponentType) ComponentType + func MustParseComponentType(name string) ComponentType + func ParseComponentType(name string) (ComponentType, error) + func ValidateTask(task *tektonV1Beta1.Task) (ComponentType, error) + func (x *ComponentType) Scan(value interface{}) (err error) + func (x *ComponentType) UnmarshalText(text []byte) error + func (x ComponentType) IsValid() bool + func (x ComponentType) MarshalText() ([]byte, error) + func (x ComponentType) String() string + func (x ComponentType) Value() (driver.Value, error) + type NullComponentType struct + ComponentType ComponentType + Set bool + Valid bool + func NewNullComponentType(val interface{}) (x NullComponentType) + func (n *NullComponentType) UnmarshalJSON(b []byte) error + func (n NullComponentType) MarshalJSON() ([]byte, error) + func (x *NullComponentType) Scan(value interface{}) (err error) + func (x NullComponentType) Value() (driver.Value, error) + type NullOrchestrationType struct + OrchestrationType OrchestrationType + Set bool + Valid bool + func NewNullOrchestrationType(val interface{}) (x NullOrchestrationType) + func (n *NullOrchestrationType) UnmarshalJSON(b []byte) error + func (n NullOrchestrationType) MarshalJSON() ([]byte, error) + func (x *NullOrchestrationType) Scan(value interface{}) (err error) + func (x NullOrchestrationType) Value() (driver.Value, error) + type OrchestrationType string + const OrchestrationTypeExternalHelm + const OrchestrationTypeNaive + const OrchestrationTypeUnknown + func MustParseOrchestrationType(name string) OrchestrationType + func ParseOrchestrationType(name string) (OrchestrationType, error) + func (x *OrchestrationType) Scan(value interface{}) (err error) + func (x *OrchestrationType) UnmarshalText(text []byte) error + func (x OrchestrationType) IsValid() bool + func (x OrchestrationType) MarshalText() ([]byte, error) + func (x OrchestrationType) Ptr() *OrchestrationType + func (x OrchestrationType) String() string + func (x OrchestrationType) Value() (driver.Value, error)