Documentation
¶
Index ¶
- Variables
- func Clone(s *scm.ScmHandler, channel chan int, hashes *[]uint64, wg *sync.WaitGroup) error
- func GenerateSchema(baseSchemaID, schemaDir string) error
- func PrintTitle(title string)
- type Engine
- func (e *Engine) Clean() (err error)
- func (e *Engine) InitSCM() (err error)
- func (e *Engine) LoadAutoDiscovery(defaultEnabled bool) error
- func (e *Engine) LoadConfigurations() error
- func (e *Engine) ManifestUpgrade(saveToDisk bool) (err error)
- func (e *Engine) Prepare() (err error)
- func (e *Engine) PullFromRegistry(policyReference string, disableTLS bool) (err error)
- func (e *Engine) PushToRegistry(manifests, valuesFiles, secretsFiles, policyReference []string, ...) error
- func (e *Engine) Run() (err error)
- func (e *Engine) Scaffold(rootDir string) error
- func (e *Engine) Show() (err error)
- type Options
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNoManifestDetected is the error message returned by Updatecli if it can't find manifest ErrNoManifestDetected error = errors.New("no Updatecli manifest detected") )
Functions ¶
func GenerateSchema ¶ added in v0.23.0
Types ¶
type Engine ¶
type Engine struct {
Pipelines []*pipeline.Pipeline
Options Options
Reports reports.Reports
// contains filtered or unexported fields
}
Engine defined parameters for a specific engine run.
func (*Engine) LoadAutoDiscovery ¶ added in v0.31.0
LoadAutoDiscovery tries to guess available pipelines based on specific directory
func (*Engine) LoadConfigurations ¶ added in v0.17.0
ReadConfigurations read every strategies configuration.
func (*Engine) ManifestUpgrade ¶ added in v0.27.0
ManifestUpgrade load Updatecli Manifest to update them then written them back on disk
func (*Engine) PullFromRegistry ¶ added in v0.63.0
PullFromRegistry retrieves an Updatecli policy from an OCI registry.
type Options ¶
type Options struct {
// Config holds the application configuration options
Config config.Option
// Pipeline holds pipeline execution options
Pipeline pipeline.Options
// Manifests holds a list of manifests to process
Manifests []manifest.Manifest
// DisplayFlavor defines the flavor of the display output
DisplayFlavor string
// GraphFlavor defines the flavor of the dependency graph
GraphFlavor string
// PipelineIDs holds a list of pipeline IDs to filter on
PipelineIDs []string
}
Options defines application specific behaviors
Source Files
¶
Click to show internal directories.
Click to hide internal directories.