Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CpconPublishService ¶
type CpconPublishService struct { LocalArtifactPath string RetryCount int ServiceAccountCredsFilePath string Bucket string }
CpconPublishService serves only one publish request. Not to be confused with a server that creates a new service instance for each request.
func NewCpconPublishService ¶
func NewCpconPublishService(req *api.PublishRequest) (*CpconPublishService, error)
func (*CpconPublishService) UploadToCpcon ¶
func (ts *CpconPublishService) UploadToCpcon(ctx context.Context) error
type CpconUploadRequest ¶
type CpconUploadRequest struct { // Path to test results to upload ResultsDir string Bucket string ServiceAccountCredsFilePath string }
CpconUploadRequest holds information needed by upload_results.py script
Click to show internal directories.
Click to hide internal directories.