Documentation
¶
Index ¶
Constants ¶
View Source
const (
ComponentMetadataFilename = "component_metadata.yaml"
)
Variables ¶
This section is empty.
Functions ¶
func NewAction ¶
func NewAction(opts ...ActionOpts) actions.Fn
Types ¶
type ActionOpts ¶
type ActionOpts func(*Action)
func WithComponentReleaseStatus ¶
func WithComponentReleaseStatus(status []common.ComponentRelease) ActionOpts
WithComponentReleaseStatus allows setting a custom ComponentRelease for the action. This is mostly for testing purposes to simulate cached or pre-existing release statuses. In production scenarios, the action should fetch the current release status from the source rather than being manually set.
func WithMetadataFilePath ¶
func WithMetadataFilePath(filePath string) ActionOpts
WithMetadataFilePath is an ActionOpts function that sets a custom metadata file path.
Click to show internal directories.
Click to hide internal directories.