Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GHExistGitHubRepositoryFunc = gh.ExistGitHubRepository GHExistRunnerReleases = gh.ExistRunnerReleases GHListRunnersFunc = gh.ListRunners GHIsInstalledGitHubApp = gh.IsInstalledGitHubApp GHGenerateGitHubAppsToken = gh.GenerateGitHubAppsToken GHNewClientApps = gh.NewClientGitHubApps )
function pointer (for testing)
Functions ¶
Types ¶
type ErrorResponse ¶ added in v1.10.9
type ErrorResponse struct {
Error string `json:"error"`
}
ErrorResponse is error response
type TargetCreateParam ¶ added in v1.8.5
type TargetCreateParam struct { datastore.Target RunnerUser *string `json:"runner_user"` // nullable GHEDomain string `json:"ghe_domain"` RunnerVersion *string `json:"runner_version"` // nullable ProviderURL *string `json:"provider_url"` // nullable }
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.