Documentation ¶
Index ¶
- func Process(ctx context.Context, computeService *compute.Service, httpClient *http.Client, ...) ([]string, []OnDemandInstance, []OnDemandInstance, []OnDemandInstance, error)
- func RunWatchdog(w http.ResponseWriter, r *http.Request)
- type GitHubWorkflowYamlJob
- type GitHubWorkflowYamlJobs
- type LogMessage
- type OnDemandInstance
- type Result
- type RunsOn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Process ¶
func Process(ctx context.Context, computeService *compute.Service, httpClient *http.Client, gitHubClient *github.Client, project string, zone string, gitHubOrganization string, gitHubRepository string) ([]string, []OnDemandInstance, []OnDemandInstance, []OnDemandInstance, error)
func RunWatchdog ¶
func RunWatchdog(w http.ResponseWriter, r *http.Request)
Types ¶
type GitHubWorkflowYamlJob ¶
type GitHubWorkflowYamlJobs ¶
type GitHubWorkflowYamlJobs struct {
Jobs map[string]GitHubWorkflowYamlJob `yaml:"jobs"`
}
type LogMessage ¶
type OnDemandInstance ¶
type Result ¶
type Result struct { RunnersRequired []string `json:"runners_required"` OnDemandInstances []OnDemandInstance `json:"on_demand_instances"` StartedInstances []OnDemandInstance `json:"started_instances"` StoppedInstances []OnDemandInstance `json:"stopped_instances"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.