Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Destination ¶
type Destination struct {
Namespace string `json:"namespace"`
}
type Image ¶
type Image struct { Name string `json:"name"` DockerContainerRepository string `json:"docker_container_repository"` Version string `json:"version"` Count int `json:"count"` Repo *gh.RepositorySlim `json:"repo,omitempty"` Sonarcloud *Sonarcloud `json:"sonarcloud,omitempty"` Destination *Destination `json:"destination,omitempty"` }
type Mapper ¶
type Mapper struct {
// contains filtered or unexported fields
}
Mapper gives high-level access to a parser.MappingRuleSet
func LoadFromFile ¶
LoadFromFile returns an initilised Mapping instance or an error
func New ¶
func New(rules *parser.MappingRuleSet) *Mapper
New returns a successfully initilised Mapping instance
type Sonarcloud ¶
type Sonarcloud struct { CodeCoverage struct { Value float64 `json:"value"` } `json:"code_coverage"` }
Click to show internal directories.
Click to hide internal directories.