Documentation
¶
Index ¶
Constants ¶
View Source
const ( RegistrationToken = "fake-registration-token" RunnersListBody = `` /* 208-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FixedResponses ¶ added in v0.6.0
type FixedResponses struct { ListRepositoryWorkflowRuns *Handler ListWorkflowJobs *MapHandler }
type MapHandler ¶ added in v0.9.0
func (*MapHandler) ServeHTTP ¶ added in v0.9.0
func (h *MapHandler) ServeHTTP(w http.ResponseWriter, req *http.Request)
type Option ¶ added in v0.6.0
type Option func(*ServerConfig)
func WithFixedResponses ¶ added in v0.7.2
func WithFixedResponses(responses *FixedResponses) Option
func WithListRepositoryWorkflowRunsResponse ¶ added in v0.6.0
type RunnersList ¶ added in v0.8.0
type RunnersList struct {
// contains filtered or unexported fields
}
func NewRunnersList ¶ added in v0.8.0
func NewRunnersList() *RunnersList
func (*RunnersList) Add ¶ added in v0.8.0
func (r *RunnersList) Add(runner *github.Runner)
func (*RunnersList) GetServer ¶ added in v0.8.0
func (r *RunnersList) GetServer() *httptest.Server
type ServerConfig ¶ added in v0.7.2
type ServerConfig struct {
*FixedResponses
}
Click to show internal directories.
Click to hide internal directories.