Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DockerCommand ¶
func DockerCommand(processor *resources.Processor, message *RepositoryMessage) error
Types ¶
type Discovery ¶
type Discovery struct { Source int `json:"source"` DiscoPath string `json:"discoPath"` DiscoHash string `json:"discoHash"` DiscoHashType string `json:"discoHashType"` BuildPath string `json:"buildPath"` BuildTimestamp string `json:"buildTimestamp"` BuildHash string `json:"buildHash"` BuildHashType string `json:"buildHashType"` Name string `json:"name"` Namespace string `json:"namespace"` Labels map[string]string `json:"labels"` Annotations map[string]string `json:"annotations"` }
type DiscoveryStatus ¶
type Protocol ¶
type Protocol string
Protocol is a semantic version string
const Protocol_0_1_0 Protocol = "0.1.0"
type RepositoryMessage ¶
type RepositoryMessage struct { Protocol Protocol `json:"protocol"` Name string `json:"name"` RepoRoot string `json:"repoRoot"` BuildPath string `json:"buildPath"` Processor Processor `json:"processor"` Sources []Source `json:"sources"` Discoveries DiscoveryStatus `json:"discoveries"` }
func NewRepositoryMessage ¶
func NewRepositoryMessage( repository *resources.Repository, intersection *build.DiscoveryIntersection, ) *RepositoryMessage
func (*RepositoryMessage) WithProcessor ¶
func (message *RepositoryMessage) WithProcessor(processor *resources.Processor)
func (*RepositoryMessage) WithRebuilt ¶
func (message *RepositoryMessage) WithRebuilt(rebuilt []build.PairedDiscovery)
Click to show internal directories.
Click to hide internal directories.