Documentation
¶
Overview ¶
Package loader parses one or more Tekton YAML files into a Bundle of typed resources keyed by name. Multi-document YAML is supported.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bundle ¶
type Bundle struct {
Tasks map[string]tektontypes.Task
Pipelines map[string]tektontypes.Pipeline
PipelineRuns []tektontypes.PipelineRun // ordered as found
TaskRuns []tektontypes.TaskRun
// ConfigMaps and Secrets are bytes-by-key, populated from any
// `kind: ConfigMap` / `kind: Secret` (apiVersion: v1) doc found in
// the loaded YAML. They are intended to be poured into the
// volumes.Store at run time, where the precedence layering with
// inline (--configmap) and on-disk (--configmap-dir) overrides
// happens. Map shape: name -> key -> bytes.
ConfigMaps map[string]map[string][]byte
Secrets map[string]map[string][]byte
}
Bundle holds all resources loaded from one or more files.
Click to show internal directories.
Click to hide internal directories.