Documentation ¶
Index ¶
- type Location
- type YAMLInfo
- type YAMLInfos
- func (m *YAMLInfos) GetYamlInfosCopy() map[uintptr]map[string]YAMLInfo
- func (m *YAMLInfos) Locate(obj interface{}) *Location
- func (m *YAMLInfos) LocateByPointer(ptr uintptr) *Location
- func (m *YAMLInfos) LocateElement(obj interface{}, idx int) *Location
- func (m *YAMLInfos) LocateField(obj interface{}, fieldName string) *Location
- type YAMLOverrideInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Location ¶
func MissingLocation ¶
func MissingLocation() *Location
type YAMLInfos ¶
type YAMLInfos struct { FieldsOverrodeByProfile map[string]YAMLOverrideInfo // map of schema path -> profile name -- ex: /artifacts/0/image -> "overwrite-artifacte-image-profile" // contains filtered or unexported fields }
func NewYAMLInfos ¶
func NewYAMLInfos() *YAMLInfos
func Parse ¶
func Parse(sourceFile string, config *latest.SkaffoldConfig, fieldsOverrodeByProfile map[string]YAMLOverrideInfo) (*YAMLInfos, error)
Parse parses a skaffold config entry collecting file location information for each schema config object
func (*YAMLInfos) GetYamlInfosCopy ¶
func (*YAMLInfos) LocateByPointer ¶
Locate gets the location for a skaffold schema struct pointer
func (*YAMLInfos) LocateElement ¶
Locate gets the location for a skaffold schema struct pointer
func (*YAMLInfos) LocateField ¶
Locate gets the location for a skaffold schema struct pointer
Click to show internal directories.
Click to hide internal directories.