Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GHExistGitHubRepositoryFunc = gh.ExistGitHubRepository GHListRunnersFunc = gh.ListRunners GHIsInstalledGitHubApp = gh.IsInstalledGitHubApp GHGenerateGitHubAppsToken = gh.GenerateGitHubAppsToken )
function pointer (for testing)
Functions ¶
Types ¶
type TargetCreateParam ¶ added in v1.8.5
type TargetCreateParam struct {
datastore.Target
RunnerUser string `json:"runner_user"`
GHEDomain string `json:"ghe_domain"`
RunnerVersion string `json:"runner_version"`
ProviderURL string `json:"provider_url"`
}
TargetCreateParam is parameter for POST /target
type UserTarget ¶ added in v1.8.0
type UserTarget struct {
UUID uuid.UUID `json:"id"`
Scope string `json:"scope"`
TokenExpiredAt time.Time `json:"token_expired_at"`
GHEDomain string `json:"ghe_domain"`
ResourceType string `json:"resource_type"`
RunnerUser string `json:"runner_user"`
RunnerVersion string `json:"runner_version"`
ProviderURL string `json:"provider_url"`
Status datastore.TargetStatus `json:"status"`
StatusDescription string `json:"status_description"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
}
UserTarget is format for user
Click to show internal directories.
Click to hide internal directories.