Documentation ¶
Index ¶
- func MakeCommand() *cobra.Command
- func ValidateAbs(Flags *Flags, r gitRunner) error
- func ValidateBase(Flags *Flags, cmd *cobra.Command, env envFetcher) error
- func ValidateInc(Flags *Flags) error
- func WriteJson(Flags *Flags, m Metadata) error
- type AbsMetadata
- type CoverageMetadata
- type Flags
- type IncMetadata
- type Metadata
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateAbs ¶
func ValidateInc ¶
Types ¶
type AbsMetadata ¶
type AbsMetadata struct { CoverageMetadata CommitID string `json:"commit_id"` Ref string `json:"ref"` Source string `json:"source"` ReplaceRoot string `json:"git_project"` }
type CoverageMetadata ¶
type IncMetadata ¶
type IncMetadata struct { CoverageMetadata ChangeNum string `json:"changelist_num"` PatchSet string `json:"patchset_num"` }
Click to show internal directories.
Click to hide internal directories.