Documentation ¶
Overview ¶
Package metadata provides methods to deal with a metadata container server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ProjectInfo ¶
type ProjectInfo struct { ProjectID string `json:"project_id"` ProjectNum int64 `json:"project_num"` }
ProjectInfo represents an incoming build request containing the project ID and number to make available as metadata.
type RealUpdater ¶
type RealUpdater struct{}
RealUpdater actually sends POST requests to update spoofed metadata.
func (RealUpdater) SetProjectInfo ¶
func (RealUpdater) SetProjectInfo(b ProjectInfo) error
SetBuild updates the spoofed metadata server's project information.
Click to show internal directories.
Click to hide internal directories.