Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteGHAMatrix ¶
func WriteGHAMatrix(refs []harnessdispatch.ExecutionRef) ([]byte, error)
WriteGHAMatrix encodes execution refs as a GHA matrix JSON object.
func WriteJSON ¶
func WriteJSON(w io.Writer, refs []harnessdispatch.ExecutionRef) error
WriteJSON writes execution refs as indented JSON to w.
Types ¶
type GHAMatrix ¶
type GHAMatrix struct {
Include []harnessdispatch.ExecutionRef `json:"include"`
}
GHAMatrix is the GitHub Actions matrix output shape.
Click to show internal directories.
Click to hide internal directories.