Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DotLekko ¶
type DotLekko struct { // v1 Version string `json:"version" yaml:"version"` // <owner>/<name> Repository string `json:"repository" yaml:"repository,omitempty"` // Where lekko/, the directory where config functions are managed, is in the project LekkoPath string `json:"lekkoPath" yaml:"lekko_path"` // The latest pushed commit SHA in the config repo from the perspective of the code repo. // Allows stable regeneration and correct 3-way merges. // This field is generated/managed by the CLI and should not be modified by hand. LockSHA string `json:"lockSHA" yaml:"lock_sha,omitempty"` // contains filtered or unexported fields }
Parsed schema for .lekko config/lock file in code repos. Allows the Lekko CLI and build tools to be able to fetch/generate correct information.
func NewDotLekko ¶ added in v0.3.25
func ReadDotLekko ¶
Looks for .lekko or .lekko.(yaml|yml) in the working directory Returns the parsed configuration object and the path to the file.
func (*DotLekko) GetRepoInfo ¶
Click to show internal directories.
Click to hide internal directories.