Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListenOnAddr ¶
func ListenOnSocket ¶
func SecureWithAPIKey ¶
SecureWithAPIKey secures the api with a secret access token The access token needs to be passed in Authorization Header with value Bearer <secret> For invalid key, it sends “401 - Unauthorized” response. For missing key, it sends “400 - Bad Request” response.
Types ¶
type APIConfig ¶
type APIConfig struct {
BuildID string
JobID string
ProjectDir string
Modules []*analyzerapi.ProjectModule
CurrentModule *analyzerapi.ProjectModule
CurrentAction *catalog.Action
Env map[string]string
ActionConfig string
State *state.ActionStateContext
TempDir string
ArtifactDir string
ExecutableCandidates []executable.Candidate
}
Click to show internal directories.
Click to hide internal directories.