Documentation ¶
Overview ¶
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Quay Frontend * * This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. * * API version: v1 * Contact: support@quay.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- type APIClient
- type APIKey
- type APIResponse
- type AddLabel
- type ApiError
- type ApiErrorDescription
- type ApproveServiceKey
- type AppspecifictokensApiListAppTokensOpts
- type AppspecifictokensApiService
- func (a *AppspecifictokensApiService) CreateAppToken(ctx context.Context, body NewToken) (*http.Response, error)
- func (a *AppspecifictokensApiService) GetAppToken(ctx context.Context, tokenUuid string) (*http.Response, error)
- func (a *AppspecifictokensApiService) ListAppTokens(ctx context.Context, localVarOptionals *AppspecifictokensApiListAppTokensOpts) (*http.Response, error)
- func (a *AppspecifictokensApiService) RevokeAppToken(ctx context.Context, tokenUuid string) (*http.Response, error)
- type BasicAuth
- type BuildApiGetRepoBuildsOpts
- type BuildApiService
- func (a *BuildApiService) CancelRepoBuild(ctx context.Context, buildUuid string, repository string) (*http.Response, error)
- func (a *BuildApiService) GetRepoBuild(ctx context.Context, buildUuid string, repository string) (*http.Response, error)
- func (a *BuildApiService) GetRepoBuildLogs(ctx context.Context, buildUuid string, repository string) (*http.Response, error)
- func (a *BuildApiService) GetRepoBuildStatus(ctx context.Context, buildUuid string, repository string) (*http.Response, error)
- func (a *BuildApiService) GetRepoBuilds(ctx context.Context, repository string, ...) (*http.Response, error)
- func (a *BuildApiService) RequestRepoBuild(ctx context.Context, body RepositoryBuildRequest, repository string) (*http.Response, error)
- type BuildTriggerActivateRequest
- type ChangeRepoState
- type ChangeTag
- type ChangeVisibility
- type Configuration
- type CreateInstallUser
- type CreateMessage
- type CreateMessageMessage
- type CreateMirrorConfig
- type CreateRobot
- type CreateServiceKey
- type DiscoveryApiDiscoveryOpts
- type DiscoveryApiService
- type ErrorApiService
- type ExportLogs
- type GenericSwaggerError
- type GlobalmessagesApiService
- func (a *GlobalmessagesApiService) CreateGlobalMessage(ctx context.Context, body CreateMessage) (*http.Response, error)
- func (a *GlobalmessagesApiService) DeleteGlobalMessage(ctx context.Context, uuid string) (*http.Response, error)
- func (a *GlobalmessagesApiService) GetGlobalMessages(ctx context.Context) (*http.Response, error)
- type ImageApiService
- type LogsApiExportOrgLogsOpts
- type LogsApiExportRepoLogsOpts
- type LogsApiExportUserLogsOpts
- type LogsApiGetAggregateOrgLogsOpts
- type LogsApiGetAggregateRepoLogsOpts
- type LogsApiGetAggregateUserLogsOpts
- type LogsApiListOrgLogsOpts
- type LogsApiListRepoLogsOpts
- type LogsApiListUserLogsOpts
- type LogsApiService
- func (a *LogsApiService) ExportOrgLogs(ctx context.Context, body ExportLogs, orgname string, ...) (*http.Response, error)
- func (a *LogsApiService) ExportRepoLogs(ctx context.Context, body ExportLogs, repository string, ...) (*http.Response, error)
- func (a *LogsApiService) ExportUserLogs(ctx context.Context, body ExportLogs, ...) (*http.Response, error)
- func (a *LogsApiService) GetAggregateOrgLogs(ctx context.Context, orgname string, ...) (*http.Response, error)
- func (a *LogsApiService) GetAggregateRepoLogs(ctx context.Context, repository string, ...) (*http.Response, error)
- func (a *LogsApiService) GetAggregateUserLogs(ctx context.Context, localVarOptionals *LogsApiGetAggregateUserLogsOpts) (*http.Response, error)
- func (a *LogsApiService) ListOrgLogs(ctx context.Context, orgname string, localVarOptionals *LogsApiListOrgLogsOpts) (*http.Response, error)
- func (a *LogsApiService) ListRepoLogs(ctx context.Context, repository string, ...) (*http.Response, error)
- func (a *LogsApiService) ListUserLogs(ctx context.Context, localVarOptionals *LogsApiListUserLogsOpts) (*http.Response, error)
- type ManifestApiListManifestLabelsOpts
- type ManifestApiService
- func (a *ManifestApiService) AddManifestLabel(ctx context.Context, body AddLabel, manifestref string, repository string) (*http.Response, error)
- func (a *ManifestApiService) DeleteManifestLabel(ctx context.Context, labelid string, manifestref string, repository string) (*http.Response, error)
- func (a *ManifestApiService) GetManifestLabel(ctx context.Context, labelid string, manifestref string, repository string) (*http.Response, error)
- func (a *ManifestApiService) GetRepoManifest(ctx context.Context, manifestref string, repository string) (*http.Response, error)
- func (a *ManifestApiService) ListManifestLabels(ctx context.Context, manifestref string, repository string, ...) (*http.Response, error)
- type MirrorApiService
- func (a *MirrorApiService) ChangeRepoMirrorConfig(ctx context.Context, body UpdateMirrorConfig, repository string) (*http.Response, error)
- func (a *MirrorApiService) CreateRepoMirrorConfig(ctx context.Context, body CreateMirrorConfig, repository string) (*http.Response, error)
- func (a *MirrorApiService) GetRepoMirrorConfig(ctx context.Context, repository string) (ViewMirrorConfig, *http.Response, error)
- func (a *MirrorApiService) SyncCancel(ctx context.Context, repository string) (*http.Response, error)
- func (a *MirrorApiService) SyncNow(ctx context.Context, repository string) (*http.Response, error)
- type NewApp
- type NewOrg
- type NewPrototype
- type NewPrototypeActivatingUser
- type NewPrototypeDelegate
- type NewRepo
- type NewStarredRepository
- type NewToken
- type NewUser
- type NotificationCreateRequest
- type OrganizationApiService
- func (a *OrganizationApiService) ChangeOrganizationDetails(ctx context.Context, body UpdateOrg, orgname string) (*http.Response, error)
- func (a *OrganizationApiService) CreateOrganization(ctx context.Context, body NewOrg) (*http.Response, error)
- func (a *OrganizationApiService) CreateOrganizationApplication(ctx context.Context, body NewApp, orgname string) (*http.Response, error)
- func (a *OrganizationApiService) DeleteAdminedOrganization(ctx context.Context, orgname string) (*http.Response, error)
- func (a *OrganizationApiService) DeleteOrganizationApplication(ctx context.Context, orgname string, clientId string) (*http.Response, error)
- func (a *OrganizationApiService) GetApplicationInformation(ctx context.Context, clientId string) (*http.Response, error)
- func (a *OrganizationApiService) GetOrganization(ctx context.Context, orgname string) (*http.Response, error)
- func (a *OrganizationApiService) GetOrganizationApplication(ctx context.Context, orgname string, clientId string) (*http.Response, error)
- func (a *OrganizationApiService) GetOrganizationApplications(ctx context.Context, orgname string) (*http.Response, error)
- func (a *OrganizationApiService) GetOrganizationCollaborators(ctx context.Context, orgname string) (*http.Response, error)
- func (a *OrganizationApiService) GetOrganizationMember(ctx context.Context, orgname string, membername string) (*http.Response, error)
- func (a *OrganizationApiService) GetOrganizationMembers(ctx context.Context, orgname string) (*http.Response, error)
- func (a *OrganizationApiService) RemoveOrganizationMember(ctx context.Context, orgname string, membername string) (*http.Response, error)
- func (a *OrganizationApiService) UpdateOrganizationApplication(ctx context.Context, body UpdateApp, orgname string, clientId string) (*http.Response, error)
- type PermissionApiService
- func (a *PermissionApiService) ChangeTeamPermissions(ctx context.Context, body TeamPermission, teamname string, repository string) (*http.Response, error)
- func (a *PermissionApiService) ChangeUserPermissions(ctx context.Context, body UserPermission, username string, repository string) (*http.Response, error)
- func (a *PermissionApiService) DeleteTeamPermissions(ctx context.Context, teamname string, repository string) (*http.Response, error)
- func (a *PermissionApiService) DeleteUserPermissions(ctx context.Context, username string, repository string) (*http.Response, error)
- func (a *PermissionApiService) GetTeamPermissions(ctx context.Context, teamname string, repository string) (*http.Response, error)
- func (a *PermissionApiService) GetUserPermissions(ctx context.Context, username string, repository string) (*http.Response, error)
- func (a *PermissionApiService) GetUserTransitivePermission(ctx context.Context, username string, repository string) (*http.Response, error)
- func (a *PermissionApiService) ListRepoTeamPermissions(ctx context.Context, repository string) (*http.Response, error)
- func (a *PermissionApiService) ListRepoUserPermissions(ctx context.Context, repository string) (*http.Response, error)
- type PrototypeApiService
- func (a *PrototypeApiService) CreateOrganizationPrototypePermission(ctx context.Context, body NewPrototype, orgname string) (*http.Response, error)
- func (a *PrototypeApiService) DeleteOrganizationPrototypePermission(ctx context.Context, orgname string, prototypeid string) (*http.Response, error)
- func (a *PrototypeApiService) GetOrganizationPrototypePermissions(ctx context.Context, orgname string) (*http.Response, error)
- func (a *PrototypeApiService) UpdateOrganizationPrototypePermission(ctx context.Context, body PrototypeUpdate, orgname string, prototypeid string) (*http.Response, error)
- type PrototypeUpdate
- type PutServiceKey
- type RepoUpdate
- type RepositoryApiGetRepoOpts
- type RepositoryApiListReposOpts
- type RepositoryApiService
- func (a *RepositoryApiService) ChangeRepoState(ctx context.Context, body ChangeRepoState, repository string) (*http.Response, error)
- func (a *RepositoryApiService) ChangeRepoVisibility(ctx context.Context, body ChangeVisibility, repository string) (*http.Response, error)
- func (a *RepositoryApiService) CreateRepo(ctx context.Context, body NewRepo) (*http.Response, error)
- func (a *RepositoryApiService) DeleteRepository(ctx context.Context, repository string) (*http.Response, error)
- func (a *RepositoryApiService) GetRepo(ctx context.Context, repository string, ...) (*http.Response, error)
- func (a *RepositoryApiService) ListRepos(ctx context.Context, localVarOptionals *RepositoryApiListReposOpts) (*http.Response, error)
- func (a *RepositoryApiService) UpdateRepo(ctx context.Context, body RepoUpdate, repository string) (*http.Response, error)
- type RepositoryBuildRequest
- type RepositorynotificationApiService
- func (a *RepositorynotificationApiService) CreateRepoNotification(ctx context.Context, body NotificationCreateRequest, repository string) (*http.Response, error)
- func (a *RepositorynotificationApiService) DeleteRepoNotification(ctx context.Context, uuid string, repository string) (*http.Response, error)
- func (a *RepositorynotificationApiService) GetRepoNotification(ctx context.Context, uuid string, repository string) (*http.Response, error)
- func (a *RepositorynotificationApiService) ListRepoNotifications(ctx context.Context, repository string) (*http.Response, error)
- func (a *RepositorynotificationApiService) ResetRepositoryNotificationFailures(ctx context.Context, uuid string, repository string) (*http.Response, error)
- func (a *RepositorynotificationApiService) TestRepoNotification(ctx context.Context, uuid string, repository string) (*http.Response, error)
- type RepotokenApiService
- func (a *RepotokenApiService) ChangeToken(ctx context.Context, body TokenPermission, code string, repository string) (*http.Response, error)
- func (a *RepotokenApiService) CreateToken(ctx context.Context, body NewToken, repository string) (*http.Response, error)
- func (a *RepotokenApiService) DeleteToken(ctx context.Context, code string, repository string) (*http.Response, error)
- func (a *RepotokenApiService) GetTokens(ctx context.Context, code string, repository string) (*http.Response, error)
- func (a *RepotokenApiService) ListRepoTokens(ctx context.Context, repository string) (*http.Response, error)
- type RestoreTag
- type RobotApiGetOrgRobotsOpts
- type RobotApiGetUserRobotsOpts
- type RobotApiService
- func (a *RobotApiService) CreateOrgRobot(ctx context.Context, body CreateRobot, orgname string, robotShortname string) (*http.Response, error)
- func (a *RobotApiService) CreateUserRobot(ctx context.Context, body CreateRobot, robotShortname string) (*http.Response, error)
- func (a *RobotApiService) DeleteOrgRobot(ctx context.Context, orgname string, robotShortname string) (*http.Response, error)
- func (a *RobotApiService) DeleteUserRobot(ctx context.Context, robotShortname string) (*http.Response, error)
- func (a *RobotApiService) GetOrgRobot(ctx context.Context, orgname string, robotShortname string) (*http.Response, error)
- func (a *RobotApiService) GetOrgRobotPermissions(ctx context.Context, orgname string, robotShortname string) (*http.Response, error)
- func (a *RobotApiService) GetOrgRobots(ctx context.Context, orgname string, ...) (*http.Response, error)
- func (a *RobotApiService) GetUserRobot(ctx context.Context, robotShortname string) (*http.Response, error)
- func (a *RobotApiService) GetUserRobotPermissions(ctx context.Context, robotShortname string) (*http.Response, error)
- func (a *RobotApiService) GetUserRobots(ctx context.Context, localVarOptionals *RobotApiGetUserRobotsOpts) (*http.Response, error)
- func (a *RobotApiService) RegenerateOrgRobotToken(ctx context.Context, orgname string, robotShortname string) (*http.Response, error)
- func (a *RobotApiService) RegenerateUserRobotToken(ctx context.Context, robotShortname string) (*http.Response, error)
- type RunParameters
- type SearchApiConductRepoSearchOpts
- type SearchApiConductSearchOpts
- type SearchApiGetMatchingEntitiesOpts
- type SearchApiService
- func (a *SearchApiService) ConductRepoSearch(ctx context.Context, localVarOptionals *SearchApiConductRepoSearchOpts) (*http.Response, error)
- func (a *SearchApiService) ConductSearch(ctx context.Context, localVarOptionals *SearchApiConductSearchOpts) (*http.Response, error)
- func (a *SearchApiService) GetMatchingEntities(ctx context.Context, prefix string, ...) (*http.Response, error)
- type SecscanApiGetRepoImageSecurityOpts
- type SecscanApiGetRepoManifestSecurityOpts
- type SecscanApiService
- type SuperuserApiListAllUsersOpts
- type SuperuserApiService
- func (a *SuperuserApiService) ApproveServiceKey(ctx context.Context, body ApproveServiceKey, kid string) (*http.Response, error)
- func (a *SuperuserApiService) ChangeOrganization(ctx context.Context, body UpdateOrg, name string) (*http.Response, error)
- func (a *SuperuserApiService) CreateInstallUser(ctx context.Context, body CreateInstallUser) (*http.Response, error)
- func (a *SuperuserApiService) CreateServiceKey(ctx context.Context, body CreateServiceKey) (*http.Response, error)
- func (a *SuperuserApiService) DeleteOrganization(ctx context.Context, name string) (*http.Response, error)
- func (a *SuperuserApiService) DeleteServiceKey(ctx context.Context, kid string) (*http.Response, error)
- func (a *SuperuserApiService) GetRepoBuildLogsSuperUser(ctx context.Context, buildUuid string) (*http.Response, error)
- func (a *SuperuserApiService) GetRepoBuildStatusSuperUser(ctx context.Context, repository string, buildUuid string) (*http.Response, error)
- func (a *SuperuserApiService) GetRepoBuildSuperUser(ctx context.Context, repository string, buildUuid string) (*http.Response, error)
- func (a *SuperuserApiService) GetServiceKey(ctx context.Context, kid string) (*http.Response, error)
- func (a *SuperuserApiService) ListAllUsers(ctx context.Context, localVarOptionals *SuperuserApiListAllUsersOpts) (*http.Response, error)
- func (a *SuperuserApiService) ListServiceKeys(ctx context.Context) (*http.Response, error)
- func (a *SuperuserApiService) UpdateServiceKey(ctx context.Context, body PutServiceKey, kid string) (*http.Response, error)
- type TagApiListRepoTagsOpts
- type TagApiListTagImagesOpts
- type TagApiService
- func (a *TagApiService) ChangeTag(ctx context.Context, body ChangeTag, tag string, repository string) (*http.Response, error)
- func (a *TagApiService) DeleteFullTag(ctx context.Context, tag string, repository string) (*http.Response, error)
- func (a *TagApiService) ListRepoTags(ctx context.Context, repository string, ...) (*http.Response, error)
- func (a *TagApiService) ListTagImages(ctx context.Context, tag string, repository string, ...) (*http.Response, error)
- func (a *TagApiService) RestoreTag(ctx context.Context, body RestoreTag, tag string, repository string) (*http.Response, error)
- type TeamApiGetOrganizationTeamMembersOpts
- type TeamApiService
- func (a *TeamApiService) DeleteOrganizationTeam(ctx context.Context, orgname string, teamname string) (*http.Response, error)
- func (a *TeamApiService) DeleteOrganizationTeamMember(ctx context.Context, orgname string, membername string, teamname string) (*http.Response, error)
- func (a *TeamApiService) DeleteTeamMemberEmailInvite(ctx context.Context, orgname string, email string, teamname string) (*http.Response, error)
- func (a *TeamApiService) GetOrganizationTeamMembers(ctx context.Context, orgname string, teamname string, ...) (*http.Response, error)
- func (a *TeamApiService) GetOrganizationTeamPermissions(ctx context.Context, orgname string, teamname string) (*http.Response, error)
- func (a *TeamApiService) InviteTeamMemberEmail(ctx context.Context, orgname string, email string, teamname string) (*http.Response, error)
- func (a *TeamApiService) UpdateOrganizationTeam(ctx context.Context, body TeamDescription, orgname string, teamname string) (*http.Response, error)
- func (a *TeamApiService) UpdateOrganizationTeamMember(ctx context.Context, orgname string, membername string, teamname string) (*http.Response, error)
- type TeamDescription
- type TeamPermission
- type TokenPermission
- type TriggerApiListTriggerRecentBuildsOpts
- type TriggerApiService
- func (a *TriggerApiService) ActivateBuildTrigger(ctx context.Context, body BuildTriggerActivateRequest, triggerUuid string, ...) (*http.Response, error)
- func (a *TriggerApiService) DeleteBuildTrigger(ctx context.Context, triggerUuid string, repository string) (*http.Response, error)
- func (a *TriggerApiService) GetBuildTrigger(ctx context.Context, triggerUuid string, repository string) (*http.Response, error)
- func (a *TriggerApiService) ListBuildTriggers(ctx context.Context, repository string) (*http.Response, error)
- func (a *TriggerApiService) ListTriggerRecentBuilds(ctx context.Context, triggerUuid string, repository string, ...) (*http.Response, error)
- func (a *TriggerApiService) ManuallyStartBuildTrigger(ctx context.Context, body RunParameters, triggerUuid string, repository string) (*http.Response, error)
- func (a *TriggerApiService) UpdateBuildTrigger(ctx context.Context, body UpdateTrigger, triggerUuid string, repository string) (*http.Response, error)
- type UpdateApp
- type UpdateMirrorConfig
- type UpdateMirrorConfigExternalRegistryConfig
- type UpdateMirrorConfigRootRule
- type UpdateOrg
- type UpdateTrigger
- type UpdateUser
- type UserApiListStarredReposOpts
- type UserApiService
- func (a *UserApiService) CreateStar(ctx context.Context, body NewStarredRepository) (*http.Response, error)
- func (a *UserApiService) DeleteStar(ctx context.Context, repository string) (*http.Response, error)
- func (a *UserApiService) GetLoggedInUser(ctx context.Context) (UserView, *http.Response, error)
- func (a *UserApiService) GetUserInformation(ctx context.Context, username string) (*http.Response, error)
- func (a *UserApiService) ListStarredRepos(ctx context.Context, localVarOptionals *UserApiListStarredReposOpts) (*http.Response, error)
- type UserPermission
- type UserView
- type ViewMirrorConfig
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes a oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKey takes an APIKey as authentication for the request ContextAPIKey = contextKey("apikey") )
Functions ¶
Types ¶
type APIClient ¶
type APIClient struct { AppspecifictokensApi *AppspecifictokensApiService BuildApi *BuildApiService DiscoveryApi *DiscoveryApiService ErrorApi *ErrorApiService GlobalmessagesApi *GlobalmessagesApiService ImageApi *ImageApiService LogsApi *LogsApiService ManifestApi *ManifestApiService MirrorApi *MirrorApiService OrganizationApi *OrganizationApiService PermissionApi *PermissionApiService PrototypeApi *PrototypeApiService RepositoryApi *RepositoryApiService RepositorynotificationApi *RepositorynotificationApiService RepotokenApi *RepotokenApiService RobotApi *RobotApiService SearchApi *SearchApiService SecscanApi *SecscanApiService SuperuserApi *SuperuserApiService TagApi *TagApiService TeamApi *TeamApiService TriggerApi *TriggerApiService UserApi *UserApiService // contains filtered or unexported fields }
APIClient manages communication with the Quay Frontend API vv1 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) ChangeBasePath ¶
Change base path to allow switching to mocks
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the swagger operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
type AddLabel ¶
type AddLabel struct { // The value for the label Value string `json:"value"` // The key for the label Key string `json:"key"` }
Adds a label to a manifest
type ApiError ¶
type ApiError struct { // Status code of the response. Status int32 `json:"status"` // Deprecated; alias for detail ErrorMessage string `json:"error_message,omitempty"` // Unique error code to identify the type of error. Title string `json:"title"` // Deprecated; alias for detail ErrorType string `json:"error_type,omitempty"` // Details about the specific instance of the error. Detail string `json:"detail,omitempty"` // Reference to the type of the error. Type_ string `json:"type"` }
type ApiErrorDescription ¶
type ApiErrorDescription struct { // A reference to the error type resource Type_ string `json:"type"` // A more detailed description of the error that may include help for fixing the issue. Description string `json:"description"` // The title of the error. Can be used to uniquely identify the kind of error. Title string `json:"title"` }
Description of an error
type ApproveServiceKey ¶
type ApproveServiceKey struct { // Optional approval notes Notes string `json:"notes,omitempty"` }
Information for approving service keys
type AppspecifictokensApiService ¶
type AppspecifictokensApiService service
func (*AppspecifictokensApiService) CreateAppToken ¶
func (a *AppspecifictokensApiService) CreateAppToken(ctx context.Context, body NewToken) (*http.Response, error)
AppspecifictokensApiService Create a new app specific token for user.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Request body contents.
func (*AppspecifictokensApiService) GetAppToken ¶
func (a *AppspecifictokensApiService) GetAppToken(ctx context.Context, tokenUuid string) (*http.Response, error)
AppspecifictokensApiService Returns a specific app token for the user.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param tokenUuid The uuid of the app specific token
func (*AppspecifictokensApiService) ListAppTokens ¶
func (a *AppspecifictokensApiService) ListAppTokens(ctx context.Context, localVarOptionals *AppspecifictokensApiListAppTokensOpts) (*http.Response, error)
func (*AppspecifictokensApiService) RevokeAppToken ¶
func (a *AppspecifictokensApiService) RevokeAppToken(ctx context.Context, tokenUuid string) (*http.Response, error)
AppspecifictokensApiService Revokes a specific app token for the user.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param tokenUuid The uuid of the app specific token
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type BuildApiService ¶
type BuildApiService service
func (*BuildApiService) CancelRepoBuild ¶
func (a *BuildApiService) CancelRepoBuild(ctx context.Context, buildUuid string, repository string) (*http.Response, error)
BuildApiService Cancels a repository build.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param buildUuid The UUID of the build
- @param repository The full path of the repository. e.g. namespace/name
func (*BuildApiService) GetRepoBuild ¶
func (a *BuildApiService) GetRepoBuild(ctx context.Context, buildUuid string, repository string) (*http.Response, error)
BuildApiService Returns information about a build.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param buildUuid The UUID of the build
- @param repository The full path of the repository. e.g. namespace/name
func (*BuildApiService) GetRepoBuildLogs ¶
func (a *BuildApiService) GetRepoBuildLogs(ctx context.Context, buildUuid string, repository string) (*http.Response, error)
BuildApiService Return the build logs for the build specified by the build uuid.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param buildUuid The UUID of the build
- @param repository The full path of the repository. e.g. namespace/name
func (*BuildApiService) GetRepoBuildStatus ¶
func (a *BuildApiService) GetRepoBuildStatus(ctx context.Context, buildUuid string, repository string) (*http.Response, error)
BuildApiService Return the status for the builds specified by the build uuids.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param buildUuid The UUID of the build
- @param repository The full path of the repository. e.g. namespace/name
func (*BuildApiService) GetRepoBuilds ¶
func (a *BuildApiService) GetRepoBuilds(ctx context.Context, repository string, localVarOptionals *BuildApiGetRepoBuildsOpts) (*http.Response, error)
func (*BuildApiService) RequestRepoBuild ¶
func (a *BuildApiService) RequestRepoBuild(ctx context.Context, body RepositoryBuildRequest, repository string) (*http.Response, error)
BuildApiService Request that a repository be built and pushed from the specified input.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Request body contents.
- @param repository The full path of the repository. e.g. namespace/name
type BuildTriggerActivateRequest ¶
type BuildTriggerActivateRequest struct { // The name of the robot that will be used to pull images. PullRobot string `json:"pull_robot,omitempty"` // Arbitrary json. Config *interface{} `json:"config"` }
type ChangeRepoState ¶
type ChangeRepoState struct { // Determines whether pushes are allowed. State string `json:"state"` }
Change the state of the repository.
type ChangeVisibility ¶
type ChangeVisibility struct { // Visibility which the repository will start with Visibility string `json:"visibility"` }
Change the visibility for the repository.
type Configuration ¶
type Configuration struct { BasePath string `json:"basePath,omitempty"` Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` HTTPClient *http.Client }
func NewConfiguration ¶
func NewConfiguration() *Configuration
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
type CreateInstallUser ¶
type CreateInstallUser struct { // The username of the user being created Username string `json:"username"` // The email address of the user being created Email string `json:"email,omitempty"` }
Data for creating a user
type CreateMessage ¶
type CreateMessage struct {
Message *CreateMessageMessage `json:"message,omitempty"`
}
Create a new message
type CreateMessageMessage ¶
type CreateMessageMessage struct { // The actual message Content string `json:"content"` // The media type of the message MediaType string `json:"media_type"` // The severity of the message Severity string `json:"severity"` }
A single message
type CreateMirrorConfig ¶
type CreateMirrorConfig struct { // Used to enable or disable synchronizations. IsEnabled bool `json:"is_enabled,omitempty"` ExternalRegistryConfig *UpdateMirrorConfigExternalRegistryConfig `json:"external_registry_config,omitempty"` // Determines the next time this repository is ready for synchronization. SyncStartDate string `json:"sync_start_date"` // Location of the external repository. ExternalReference string `json:"external_reference"` RootRule *UpdateMirrorConfigRootRule `json:"root_rule"` // Number of seconds after next_start_date to begin synchronizing. SyncInterval int32 `json:"sync_interval"` // Username of robot which will be used for image pushes. RobotUsername string `json:"robot_username,omitempty"` }
Create the repository mirroring configuration.
type CreateRobot ¶
type CreateRobot struct { // Optional unstructured metadata for the robot UnstructuredMetadata *interface{} `json:"unstructured_metadata,omitempty"` // Optional text description for the robot Description string `json:"description,omitempty"` }
Optional data for creating a robot
type CreateServiceKey ¶
type CreateServiceKey struct { // If specified, the extra notes for the key Notes string `json:"notes,omitempty"` // The expiration date as a unix timestamp Expiration *interface{} `json:"expiration"` // The friendly name of a service key Name string `json:"name,omitempty"` // The service authenticating with this key Service string `json:"service"` // The key/value pairs of this key's metadata Metadata *interface{} `json:"metadata,omitempty"` }
Description of creation of a service key
type DiscoveryApiService ¶
type DiscoveryApiService service
func (*DiscoveryApiService) Discovery ¶
func (a *DiscoveryApiService) Discovery(ctx context.Context, localVarOptionals *DiscoveryApiDiscoveryOpts) (*http.Response, error)
type ErrorApiService ¶
type ErrorApiService service
func (*ErrorApiService) GetErrorDescription ¶
func (a *ErrorApiService) GetErrorDescription(ctx context.Context, errorType string) (ApiErrorDescription, *http.Response, error)
ErrorApiService Get a detailed description of the error.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param errorType The error code identifying the type of error.
@return ApiErrorDescription
type ExportLogs ¶
type ExportLogs struct { // The e-mail address at which to e-mail a link to the exported logs CallbackEmail string `json:"callback_email,omitempty"` // The callback URL to invoke with a link to the exported logs CallbackUrl string `json:"callback_url,omitempty"` }
Configuration for an export logs operation
type GenericSwaggerError ¶
type GenericSwaggerError struct {
// contains filtered or unexported fields
}
GenericSwaggerError Provides access to the body, error and model on returned errors.
func (GenericSwaggerError) Body ¶
func (e GenericSwaggerError) Body() []byte
Body returns the raw bytes of the response
func (GenericSwaggerError) Error ¶
func (e GenericSwaggerError) Error() string
Error returns non-empty string if there was an error.
func (GenericSwaggerError) Model ¶
func (e GenericSwaggerError) Model() interface{}
Model returns the unpacked model of the error
type GlobalmessagesApiService ¶
type GlobalmessagesApiService service
func (*GlobalmessagesApiService) CreateGlobalMessage ¶
func (a *GlobalmessagesApiService) CreateGlobalMessage(ctx context.Context, body CreateMessage) (*http.Response, error)
GlobalmessagesApiService Create a message.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Request body contents.
func (*GlobalmessagesApiService) DeleteGlobalMessage ¶
func (a *GlobalmessagesApiService) DeleteGlobalMessage(ctx context.Context, uuid string) (*http.Response, error)
GlobalmessagesApiService Delete a message.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param uuid
func (*GlobalmessagesApiService) GetGlobalMessages ¶
GlobalmessagesApiService Return a super users messages.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
type ImageApiService ¶
type ImageApiService service
func (*ImageApiService) GetImage ¶
func (a *ImageApiService) GetImage(ctx context.Context, imageId string, repository string) (*http.Response, error)
ImageApiService Get the information available for the specified image.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param imageId The Docker image ID
- @param repository The full path of the repository. e.g. namespace/name
func (*ImageApiService) ListRepositoryImages ¶
func (a *ImageApiService) ListRepositoryImages(ctx context.Context, repository string) (*http.Response, error)
ImageApiService List the images for the specified repository.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param repository The full path of the repository. e.g. namespace/name
type LogsApiListOrgLogsOpts ¶
type LogsApiListRepoLogsOpts ¶
type LogsApiListUserLogsOpts ¶
type LogsApiService ¶
type LogsApiService service
func (*LogsApiService) ExportOrgLogs ¶
func (a *LogsApiService) ExportOrgLogs(ctx context.Context, body ExportLogs, orgname string, localVarOptionals *LogsApiExportOrgLogsOpts) (*http.Response, error)
func (*LogsApiService) ExportRepoLogs ¶
func (a *LogsApiService) ExportRepoLogs(ctx context.Context, body ExportLogs, repository string, localVarOptionals *LogsApiExportRepoLogsOpts) (*http.Response, error)
func (*LogsApiService) ExportUserLogs ¶
func (a *LogsApiService) ExportUserLogs(ctx context.Context, body ExportLogs, localVarOptionals *LogsApiExportUserLogsOpts) (*http.Response, error)
func (*LogsApiService) GetAggregateOrgLogs ¶
func (a *LogsApiService) GetAggregateOrgLogs(ctx context.Context, orgname string, localVarOptionals *LogsApiGetAggregateOrgLogsOpts) (*http.Response, error)
func (*LogsApiService) GetAggregateRepoLogs ¶
func (a *LogsApiService) GetAggregateRepoLogs(ctx context.Context, repository string, localVarOptionals *LogsApiGetAggregateRepoLogsOpts) (*http.Response, error)
func (*LogsApiService) GetAggregateUserLogs ¶
func (a *LogsApiService) GetAggregateUserLogs(ctx context.Context, localVarOptionals *LogsApiGetAggregateUserLogsOpts) (*http.Response, error)
func (*LogsApiService) ListOrgLogs ¶
func (a *LogsApiService) ListOrgLogs(ctx context.Context, orgname string, localVarOptionals *LogsApiListOrgLogsOpts) (*http.Response, error)
func (*LogsApiService) ListRepoLogs ¶
func (a *LogsApiService) ListRepoLogs(ctx context.Context, repository string, localVarOptionals *LogsApiListRepoLogsOpts) (*http.Response, error)
func (*LogsApiService) ListUserLogs ¶
func (a *LogsApiService) ListUserLogs(ctx context.Context, localVarOptionals *LogsApiListUserLogsOpts) (*http.Response, error)
type ManifestApiService ¶
type ManifestApiService service
func (*ManifestApiService) AddManifestLabel ¶
func (a *ManifestApiService) AddManifestLabel(ctx context.Context, body AddLabel, manifestref string, repository string) (*http.Response, error)
ManifestApiService Adds a new label into the tag manifest.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Request body contents.
- @param manifestref The digest of the manifest
- @param repository The full path of the repository. e.g. namespace/name
func (*ManifestApiService) DeleteManifestLabel ¶
func (a *ManifestApiService) DeleteManifestLabel(ctx context.Context, labelid string, manifestref string, repository string) (*http.Response, error)
ManifestApiService Deletes an existing label from a manifest.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param labelid The ID of the label
- @param manifestref The digest of the manifest
- @param repository The full path of the repository. e.g. namespace/name
func (*ManifestApiService) GetManifestLabel ¶
func (a *ManifestApiService) GetManifestLabel(ctx context.Context, labelid string, manifestref string, repository string) (*http.Response, error)
ManifestApiService Retrieves the label with the specific ID under the manifest.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param labelid The ID of the label
- @param manifestref The digest of the manifest
- @param repository The full path of the repository. e.g. namespace/name
func (*ManifestApiService) GetRepoManifest ¶
func (a *ManifestApiService) GetRepoManifest(ctx context.Context, manifestref string, repository string) (*http.Response, error)
ManifestApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param manifestref The digest of the manifest
- @param repository The full path of the repository. e.g. namespace/name
func (*ManifestApiService) ListManifestLabels ¶
func (a *ManifestApiService) ListManifestLabels(ctx context.Context, manifestref string, repository string, localVarOptionals *ManifestApiListManifestLabelsOpts) (*http.Response, error)
type MirrorApiService ¶
type MirrorApiService service
func (*MirrorApiService) ChangeRepoMirrorConfig ¶
func (a *MirrorApiService) ChangeRepoMirrorConfig(ctx context.Context, body UpdateMirrorConfig, repository string) (*http.Response, error)
MirrorApiService Allow users to modifying the repository's mirroring configuration.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Request body contents.
- @param repository The full path of the repository. e.g. namespace/name
func (*MirrorApiService) CreateRepoMirrorConfig ¶
func (a *MirrorApiService) CreateRepoMirrorConfig(ctx context.Context, body CreateMirrorConfig, repository string) (*http.Response, error)
MirrorApiService Create a RepoMirrorConfig for a given Repository.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Request body contents.
- @param repository The full path of the repository. e.g. namespace/name
func (*MirrorApiService) GetRepoMirrorConfig ¶
func (a *MirrorApiService) GetRepoMirrorConfig(ctx context.Context, repository string) (ViewMirrorConfig, *http.Response, error)
MirrorApiService Return the Mirror configuration for a given Repository.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param repository The full path of the repository. e.g. namespace/name
@return ViewMirrorConfig
func (*MirrorApiService) SyncCancel ¶
func (a *MirrorApiService) SyncCancel(ctx context.Context, repository string) (*http.Response, error)
MirrorApiService Update the sync_status for a given Repository's mirroring configuration.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param repository The full path of the repository. e.g. namespace/name
func (*MirrorApiService) SyncNow ¶
MirrorApiService Update the sync_status for a given Repository's mirroring configuration.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param repository The full path of the repository. e.g. namespace/name
type NewApp ¶
type NewApp struct { // The URI for the application's OAuth redirect RedirectUri string `json:"redirect_uri,omitempty"` // The e-mail address of the avatar to use for the application AvatarEmail string `json:"avatar_email,omitempty"` // The name of the application Name string `json:"name"` // The URI for the application's homepage ApplicationUri string `json:"application_uri,omitempty"` // The human-readable description for the application Description string `json:"description,omitempty"` }
Description of a new organization application.
type NewOrg ¶
type NewOrg struct { // The (may be disabled) recaptcha response code for verification RecaptchaResponse string `json:"recaptcha_response,omitempty"` // Organization username Name string `json:"name"` // Organization contact email Email string `json:"email,omitempty"` }
Description of a new organization.
type NewPrototype ¶
type NewPrototype struct { ActivatingUser *NewPrototypeActivatingUser `json:"activating_user,omitempty"` // Role that should be applied to the delegate Role string `json:"role"` Delegate *NewPrototypeDelegate `json:"delegate"` }
Description of a new prototype
type NewPrototypeActivatingUser ¶
type NewPrototypeActivatingUser struct { // The username for the activating_user Name string `json:"name"` }
Repository creating user to whom the rule should apply
type NewPrototypeDelegate ¶
type NewPrototypeDelegate struct { // Whether the delegate is a user or a team Kind string `json:"kind"` // The name for the delegate team or user Name string `json:"name"` }
Information about the user or team to which the rule grants access
type NewRepo ¶
type NewRepo struct { // Namespace in which the repository should be created. If omitted, the username of the caller is used Namespace string `json:"namespace,omitempty"` // Visibility which the repository will start with Visibility string `json:"visibility"` // Repository name Repository string `json:"repository"` // Markdown encoded description for the repository Description string `json:"description"` }
Description of a new repository
type NewStarredRepository ¶
type NewToken ¶
type NewToken struct { // Friendly name to help identify the token FriendlyName string `json:"friendlyName"` }
Description of a new token.
type NewUser ¶
type NewUser struct { // The user's username Username string `json:"username"` // The user's password Password string `json:"password"` // The user's email address Email string `json:"email,omitempty"` // The optional invite code InviteCode string `json:"invite_code,omitempty"` // The (may be disabled) recaptcha response code for verification RecaptchaResponse string `json:"recaptcha_response,omitempty"` }
Fields which must be specified for a new user.
type NotificationCreateRequest ¶
type NotificationCreateRequest struct { // JSON config information for the specific event of notification EventConfig *interface{} `json:"eventConfig"` // The human-readable title of the notification Title string `json:"title,omitempty"` // JSON config information for the specific method of notification Config *interface{} `json:"config"` // The event on which the notification will respond Event string `json:"event"` // The method of notification (such as email or web callback) Method string `json:"method"` }
Information for creating a notification on a repository
type OrganizationApiService ¶
type OrganizationApiService service
func (*OrganizationApiService) ChangeOrganizationDetails ¶
func (a *OrganizationApiService) ChangeOrganizationDetails(ctx context.Context, body UpdateOrg, orgname string) (*http.Response, error)
OrganizationApiService Change the details for the specified organization.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Request body contents.
- @param orgname The name of the organization
func (*OrganizationApiService) CreateOrganization ¶
func (a *OrganizationApiService) CreateOrganization(ctx context.Context, body NewOrg) (*http.Response, error)
OrganizationApiService Create a new organization.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Request body contents.
func (*OrganizationApiService) CreateOrganizationApplication ¶
func (a *OrganizationApiService) CreateOrganizationApplication(ctx context.Context, body NewApp, orgname string) (*http.Response, error)
OrganizationApiService Creates a new application under this organization.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Request body contents.
- @param orgname The name of the organization
func (*OrganizationApiService) DeleteAdminedOrganization ¶
func (a *OrganizationApiService) DeleteAdminedOrganization(ctx context.Context, orgname string) (*http.Response, error)
OrganizationApiService Deletes the specified organization.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param orgname The name of the organization
func (*OrganizationApiService) DeleteOrganizationApplication ¶
func (a *OrganizationApiService) DeleteOrganizationApplication(ctx context.Context, orgname string, clientId string) (*http.Response, error)
OrganizationApiService Deletes the application under this organization.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param orgname The name of the organization
- @param clientId The OAuth client ID
func (*OrganizationApiService) GetApplicationInformation ¶
func (a *OrganizationApiService) GetApplicationInformation(ctx context.Context, clientId string) (*http.Response, error)
OrganizationApiService Get information on the specified application.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param clientId The OAuth client ID
func (*OrganizationApiService) GetOrganization ¶
func (a *OrganizationApiService) GetOrganization(ctx context.Context, orgname string) (*http.Response, error)
OrganizationApiService Get the details for the specified organization.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param orgname The name of the organization
func (*OrganizationApiService) GetOrganizationApplication ¶
func (a *OrganizationApiService) GetOrganizationApplication(ctx context.Context, orgname string, clientId string) (*http.Response, error)
OrganizationApiService Retrieves the application with the specified client_id under the specified organization.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param orgname The name of the organization
- @param clientId The OAuth client ID
func (*OrganizationApiService) GetOrganizationApplications ¶
func (a *OrganizationApiService) GetOrganizationApplications(ctx context.Context, orgname string) (*http.Response, error)
OrganizationApiService List the applications for the specified organization.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param orgname The name of the organization
func (*OrganizationApiService) GetOrganizationCollaborators ¶
func (a *OrganizationApiService) GetOrganizationCollaborators(ctx context.Context, orgname string) (*http.Response, error)
OrganizationApiService List outside collaborators of the specified organization.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param orgname The name of the organization
func (*OrganizationApiService) GetOrganizationMember ¶
func (a *OrganizationApiService) GetOrganizationMember(ctx context.Context, orgname string, membername string) (*http.Response, error)
OrganizationApiService Retrieves the details of a member of the organization.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param orgname The name of the organization
- @param membername The username of the organization member
func (*OrganizationApiService) GetOrganizationMembers ¶
func (a *OrganizationApiService) GetOrganizationMembers(ctx context.Context, orgname string) (*http.Response, error)
OrganizationApiService List the human members of the specified organization.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param orgname The name of the organization
func (*OrganizationApiService) RemoveOrganizationMember ¶
func (a *OrganizationApiService) RemoveOrganizationMember(ctx context.Context, orgname string, membername string) (*http.Response, error)
OrganizationApiService Removes a member from an organization, revoking all its repository priviledges and removing it from all teams in the organization.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param orgname The name of the organization
- @param membername The username of the organization member
func (*OrganizationApiService) UpdateOrganizationApplication ¶
func (a *OrganizationApiService) UpdateOrganizationApplication(ctx context.Context, body UpdateApp, orgname string, clientId string) (*http.Response, error)
OrganizationApiService Updates an application under this organization.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Request body contents.
- @param orgname The name of the organization
- @param clientId The OAuth client ID
type PermissionApiService ¶
type PermissionApiService service
func (*PermissionApiService) ChangeTeamPermissions ¶
func (a *PermissionApiService) ChangeTeamPermissions(ctx context.Context, body TeamPermission, teamname string, repository string) (*http.Response, error)
PermissionApiService Update the existing team permission.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Request body contents.
- @param teamname The name of the team to which the permission applies
- @param repository The full path of the repository. e.g. namespace/name
func (*PermissionApiService) ChangeUserPermissions ¶
func (a *PermissionApiService) ChangeUserPermissions(ctx context.Context, body UserPermission, username string, repository string) (*http.Response, error)
PermissionApiService Update the perimssions for an existing repository.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Request body contents.
- @param username The username of the user to which the permission applies
- @param repository The full path of the repository. e.g. namespace/name
func (*PermissionApiService) DeleteTeamPermissions ¶
func (a *PermissionApiService) DeleteTeamPermissions(ctx context.Context, teamname string, repository string) (*http.Response, error)
PermissionApiService Delete the permission for the specified team.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param teamname The name of the team to which the permission applies
- @param repository The full path of the repository. e.g. namespace/name
func (*PermissionApiService) DeleteUserPermissions ¶
func (a *PermissionApiService) DeleteUserPermissions(ctx context.Context, username string, repository string) (*http.Response, error)
PermissionApiService Delete the permission for the user.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param username The username of the user to which the permission applies
- @param repository The full path of the repository. e.g. namespace/name
func (*PermissionApiService) GetTeamPermissions ¶
func (a *PermissionApiService) GetTeamPermissions(ctx context.Context, teamname string, repository string) (*http.Response, error)
PermissionApiService Fetch the permission for the specified team.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param teamname The name of the team to which the permission applies
- @param repository The full path of the repository. e.g. namespace/name
func (*PermissionApiService) GetUserPermissions ¶
func (a *PermissionApiService) GetUserPermissions(ctx context.Context, username string, repository string) (*http.Response, error)
PermissionApiService Get the permission for the specified user.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param username The username of the user to which the permission applies
- @param repository The full path of the repository. e.g. namespace/name
func (*PermissionApiService) GetUserTransitivePermission ¶
func (a *PermissionApiService) GetUserTransitivePermission(ctx context.Context, username string, repository string) (*http.Response, error)
PermissionApiService Get the fetch the permission for the specified user.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param username The username of the user to which the permissions apply
- @param repository The full path of the repository. e.g. namespace/name
func (*PermissionApiService) ListRepoTeamPermissions ¶
func (a *PermissionApiService) ListRepoTeamPermissions(ctx context.Context, repository string) (*http.Response, error)
PermissionApiService List all team permission.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param repository The full path of the repository. e.g. namespace/name
func (*PermissionApiService) ListRepoUserPermissions ¶
func (a *PermissionApiService) ListRepoUserPermissions(ctx context.Context, repository string) (*http.Response, error)
PermissionApiService List all user permissions.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param repository The full path of the repository. e.g. namespace/name
type PrototypeApiService ¶
type PrototypeApiService service
func (*PrototypeApiService) CreateOrganizationPrototypePermission ¶
func (a *PrototypeApiService) CreateOrganizationPrototypePermission(ctx context.Context, body NewPrototype, orgname string) (*http.Response, error)
PrototypeApiService Create a new permission prototype.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Request body contents.
- @param orgname The name of the organization
func (*PrototypeApiService) DeleteOrganizationPrototypePermission ¶
func (a *PrototypeApiService) DeleteOrganizationPrototypePermission(ctx context.Context, orgname string, prototypeid string) (*http.Response, error)
PrototypeApiService Delete an existing permission prototype.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param orgname The name of the organization
- @param prototypeid The ID of the prototype
func (*PrototypeApiService) GetOrganizationPrototypePermissions ¶
func (a *PrototypeApiService) GetOrganizationPrototypePermissions(ctx context.Context, orgname string) (*http.Response, error)
PrototypeApiService List the existing prototypes for this organization.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param orgname The name of the organization
func (*PrototypeApiService) UpdateOrganizationPrototypePermission ¶
func (a *PrototypeApiService) UpdateOrganizationPrototypePermission(ctx context.Context, body PrototypeUpdate, orgname string, prototypeid string) (*http.Response, error)
PrototypeApiService Update the role of an existing permission prototype.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Request body contents.
- @param orgname The name of the organization
- @param prototypeid The ID of the prototype
type PrototypeUpdate ¶
type PrototypeUpdate struct { // Role that should be applied to the permission Role string `json:"role"` }
Description of a the new prototype role
type PutServiceKey ¶
type PutServiceKey struct { // The expiration date as a unix timestamp Expiration *interface{} `json:"expiration,omitempty"` // The friendly name of a service key Name string `json:"name,omitempty"` // The key/value pairs of this key's metadata Metadata *interface{} `json:"metadata,omitempty"` }
Description of updates for a service key
type RepoUpdate ¶
type RepoUpdate struct { // Markdown encoded description for the repository Description string `json:"description"` }
Fields which can be updated in a repository.
type RepositoryApiService ¶
type RepositoryApiService service
func (*RepositoryApiService) ChangeRepoState ¶
func (a *RepositoryApiService) ChangeRepoState(ctx context.Context, body ChangeRepoState, repository string) (*http.Response, error)
RepositoryApiService Change the state of a repository.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Request body contents.
- @param repository The full path of the repository. e.g. namespace/name
func (*RepositoryApiService) ChangeRepoVisibility ¶
func (a *RepositoryApiService) ChangeRepoVisibility(ctx context.Context, body ChangeVisibility, repository string) (*http.Response, error)
RepositoryApiService Change the visibility of a repository.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Request body contents.
- @param repository The full path of the repository. e.g. namespace/name
func (*RepositoryApiService) CreateRepo ¶
func (a *RepositoryApiService) CreateRepo(ctx context.Context, body NewRepo) (*http.Response, error)
RepositoryApiService Create a new repository.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Request body contents.
func (*RepositoryApiService) DeleteRepository ¶
func (a *RepositoryApiService) DeleteRepository(ctx context.Context, repository string) (*http.Response, error)
RepositoryApiService Delete a repository.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param repository The full path of the repository. e.g. namespace/name
func (*RepositoryApiService) GetRepo ¶
func (a *RepositoryApiService) GetRepo(ctx context.Context, repository string, localVarOptionals *RepositoryApiGetRepoOpts) (*http.Response, error)
func (*RepositoryApiService) ListRepos ¶
func (a *RepositoryApiService) ListRepos(ctx context.Context, localVarOptionals *RepositoryApiListReposOpts) (*http.Response, error)
func (*RepositoryApiService) UpdateRepo ¶
func (a *RepositoryApiService) UpdateRepo(ctx context.Context, body RepoUpdate, repository string) (*http.Response, error)
RepositoryApiService Update the description in the specified repository.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Request body contents.
- @param repository The full path of the repository. e.g. namespace/name
type RepositoryBuildRequest ¶
type RepositoryBuildRequest struct { // Subdirectory in which the Dockerfile can be found. You can only specify this or dockerfile_path Subdirectory string `json:"subdirectory,omitempty"` // The URL of the .tar.gz to build. Must start with \"http\" or \"https\". ArchiveUrl string `json:"archive_url,omitempty"` // The tags to which the built images will be pushed. If none specified, \"latest\" is used. DockerTags []string `json:"docker_tags,omitempty"` // Username of a Quay robot account to use as pull credentials PullRobot string `json:"pull_robot,omitempty"` // The file id that was generated when the build spec was uploaded FileId string `json:"file_id,omitempty"` // Pass in the context for the dockerfile. This is optional. Context string `json:"context,omitempty"` // Path to a dockerfile. You can only specify this or subdirectory. DockerfilePath string `json:"dockerfile_path,omitempty"` }
Description of a new repository build.
type RepositorynotificationApiService ¶
type RepositorynotificationApiService service
func (*RepositorynotificationApiService) CreateRepoNotification ¶
func (a *RepositorynotificationApiService) CreateRepoNotification(ctx context.Context, body NotificationCreateRequest, repository string) (*http.Response, error)
RepositorynotificationApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Request body contents.
- @param repository The full path of the repository. e.g. namespace/name
func (*RepositorynotificationApiService) DeleteRepoNotification ¶
func (a *RepositorynotificationApiService) DeleteRepoNotification(ctx context.Context, uuid string, repository string) (*http.Response, error)
RepositorynotificationApiService Deletes the specified notification.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param uuid The UUID of the notification
- @param repository The full path of the repository. e.g. namespace/name
func (*RepositorynotificationApiService) GetRepoNotification ¶
func (a *RepositorynotificationApiService) GetRepoNotification(ctx context.Context, uuid string, repository string) (*http.Response, error)
RepositorynotificationApiService Get information for the specified notification.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param uuid The UUID of the notification
- @param repository The full path of the repository. e.g. namespace/name
func (*RepositorynotificationApiService) ListRepoNotifications ¶
func (a *RepositorynotificationApiService) ListRepoNotifications(ctx context.Context, repository string) (*http.Response, error)
RepositorynotificationApiService List the notifications for the specified repository.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param repository The full path of the repository. e.g. namespace/name
func (*RepositorynotificationApiService) ResetRepositoryNotificationFailures ¶
func (a *RepositorynotificationApiService) ResetRepositoryNotificationFailures(ctx context.Context, uuid string, repository string) (*http.Response, error)
RepositorynotificationApiService Resets repository notification to 0 failures.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param uuid The UUID of the notification
- @param repository The full path of the repository. e.g. namespace/name
func (*RepositorynotificationApiService) TestRepoNotification ¶
func (a *RepositorynotificationApiService) TestRepoNotification(ctx context.Context, uuid string, repository string) (*http.Response, error)
RepositorynotificationApiService Queues a test notification for this repository.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param uuid The UUID of the notification
- @param repository The full path of the repository. e.g. namespace/name
type RepotokenApiService ¶
type RepotokenApiService service
func (*RepotokenApiService) ChangeToken ¶
func (a *RepotokenApiService) ChangeToken(ctx context.Context, body TokenPermission, code string, repository string) (*http.Response, error)
RepotokenApiService Update the permissions for the specified repository token.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Request body contents.
- @param code The token code
- @param repository The full path of the repository. e.g. namespace/name
func (*RepotokenApiService) CreateToken ¶
func (a *RepotokenApiService) CreateToken(ctx context.Context, body NewToken, repository string) (*http.Response, error)
RepotokenApiService Create a new repository token.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Request body contents.
- @param repository The full path of the repository. e.g. namespace/name
func (*RepotokenApiService) DeleteToken ¶
func (a *RepotokenApiService) DeleteToken(ctx context.Context, code string, repository string) (*http.Response, error)
RepotokenApiService Delete the repository token.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param code The token code
- @param repository The full path of the repository. e.g. namespace/name
func (*RepotokenApiService) GetTokens ¶
func (a *RepotokenApiService) GetTokens(ctx context.Context, code string, repository string) (*http.Response, error)
RepotokenApiService Fetch the specified repository token information.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param code The token code
- @param repository The full path of the repository. e.g. namespace/name
func (*RepotokenApiService) ListRepoTokens ¶
func (a *RepotokenApiService) ListRepoTokens(ctx context.Context, repository string) (*http.Response, error)
RepotokenApiService List the tokens for the specified repository.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param repository The full path of the repository. e.g. namespace/name
type RestoreTag ¶
type RestoreTag struct { // (Deprecated: use `manifest_digest`) Image to which the tag should point Image string `json:"image,omitempty"` // If specified, the manifest digest that should be used ManifestDigest string `json:"manifest_digest,omitempty"` }
Restores a tag to a specific image
type RobotApiService ¶
type RobotApiService service
func (*RobotApiService) CreateOrgRobot ¶
func (a *RobotApiService) CreateOrgRobot(ctx context.Context, body CreateRobot, orgname string, robotShortname string) (*http.Response, error)
RobotApiService Create a new robot in the organization.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Request body contents.
- @param orgname The name of the organization
- @param robotShortname The short name for the robot, without any user or organization prefix
func (*RobotApiService) CreateUserRobot ¶
func (a *RobotApiService) CreateUserRobot(ctx context.Context, body CreateRobot, robotShortname string) (*http.Response, error)
RobotApiService Create a new user robot with the specified name.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Request body contents.
- @param robotShortname The short name for the robot, without any user or organization prefix
func (*RobotApiService) DeleteOrgRobot ¶
func (a *RobotApiService) DeleteOrgRobot(ctx context.Context, orgname string, robotShortname string) (*http.Response, error)
RobotApiService Delete an existing organization robot.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param orgname The name of the organization
- @param robotShortname The short name for the robot, without any user or organization prefix
func (*RobotApiService) DeleteUserRobot ¶
func (a *RobotApiService) DeleteUserRobot(ctx context.Context, robotShortname string) (*http.Response, error)
RobotApiService Delete an existing robot.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param robotShortname The short name for the robot, without any user or organization prefix
func (*RobotApiService) GetOrgRobot ¶
func (a *RobotApiService) GetOrgRobot(ctx context.Context, orgname string, robotShortname string) (*http.Response, error)
RobotApiService Returns the organization's robot with the specified name.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param orgname The name of the organization
- @param robotShortname The short name for the robot, without any user or organization prefix
func (*RobotApiService) GetOrgRobotPermissions ¶
func (a *RobotApiService) GetOrgRobotPermissions(ctx context.Context, orgname string, robotShortname string) (*http.Response, error)
RobotApiService Returns the list of repository permissions for the org's robot.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param orgname The name of the organization
- @param robotShortname The short name for the robot, without any user or organization prefix
func (*RobotApiService) GetOrgRobots ¶
func (a *RobotApiService) GetOrgRobots(ctx context.Context, orgname string, localVarOptionals *RobotApiGetOrgRobotsOpts) (*http.Response, error)
func (*RobotApiService) GetUserRobot ¶
func (a *RobotApiService) GetUserRobot(ctx context.Context, robotShortname string) (*http.Response, error)
RobotApiService Returns the user's robot with the specified name.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param robotShortname The short name for the robot, without any user or organization prefix
func (*RobotApiService) GetUserRobotPermissions ¶
func (a *RobotApiService) GetUserRobotPermissions(ctx context.Context, robotShortname string) (*http.Response, error)
RobotApiService Returns the list of repository permissions for the user's robot.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param robotShortname The short name for the robot, without any user or organization prefix
func (*RobotApiService) GetUserRobots ¶
func (a *RobotApiService) GetUserRobots(ctx context.Context, localVarOptionals *RobotApiGetUserRobotsOpts) (*http.Response, error)
func (*RobotApiService) RegenerateOrgRobotToken ¶
func (a *RobotApiService) RegenerateOrgRobotToken(ctx context.Context, orgname string, robotShortname string) (*http.Response, error)
RobotApiService Regenerates the token for an organization robot.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param orgname The name of the organization
- @param robotShortname The short name for the robot, without any user or organization prefix
func (*RobotApiService) RegenerateUserRobotToken ¶
func (a *RobotApiService) RegenerateUserRobotToken(ctx context.Context, robotShortname string) (*http.Response, error)
RobotApiService Regenerates the token for a user's robot.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param robotShortname The short name for the robot, without any user or organization prefix
type RunParameters ¶
type RunParameters struct { // (SCM only) If specified, the name of the branch to build. BranchName string `json:"branch_name,omitempty"` // (Custom Only) If specified, the ref/SHA1 used to checkout a git repository. CommitSha string `json:"commit_sha,omitempty"` }
Optional run parameters for activating the build trigger
type SearchApiService ¶
type SearchApiService service
func (*SearchApiService) ConductRepoSearch ¶
func (a *SearchApiService) ConductRepoSearch(ctx context.Context, localVarOptionals *SearchApiConductRepoSearchOpts) (*http.Response, error)
func (*SearchApiService) ConductSearch ¶
func (a *SearchApiService) ConductSearch(ctx context.Context, localVarOptionals *SearchApiConductSearchOpts) (*http.Response, error)
func (*SearchApiService) GetMatchingEntities ¶
func (a *SearchApiService) GetMatchingEntities(ctx context.Context, prefix string, localVarOptionals *SearchApiGetMatchingEntitiesOpts) (*http.Response, error)
type SecscanApiService ¶
type SecscanApiService service
func (*SecscanApiService) GetRepoImageSecurity ¶
func (a *SecscanApiService) GetRepoImageSecurity(ctx context.Context, repository string, imageid string, localVarOptionals *SecscanApiGetRepoImageSecurityOpts) (*http.Response, error)
func (*SecscanApiService) GetRepoManifestSecurity ¶
func (a *SecscanApiService) GetRepoManifestSecurity(ctx context.Context, manifestref string, repository string, localVarOptionals *SecscanApiGetRepoManifestSecurityOpts) (*http.Response, error)
type SuperuserApiService ¶
type SuperuserApiService service
func (*SuperuserApiService) ApproveServiceKey ¶
func (a *SuperuserApiService) ApproveServiceKey(ctx context.Context, body ApproveServiceKey, kid string) (*http.Response, error)
SuperuserApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Request body contents.
- @param kid The unique identifier for a service key
func (*SuperuserApiService) ChangeOrganization ¶
func (a *SuperuserApiService) ChangeOrganization(ctx context.Context, body UpdateOrg, name string) (*http.Response, error)
SuperuserApiService Updates information about the specified user.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Request body contents.
- @param name The name of the organizaton being managed
func (*SuperuserApiService) CreateInstallUser ¶
func (a *SuperuserApiService) CreateInstallUser(ctx context.Context, body CreateInstallUser) (*http.Response, error)
SuperuserApiService Creates a new user.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Request body contents.
func (*SuperuserApiService) CreateServiceKey ¶
func (a *SuperuserApiService) CreateServiceKey(ctx context.Context, body CreateServiceKey) (*http.Response, error)
SuperuserApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Request body contents.
func (*SuperuserApiService) DeleteOrganization ¶
func (a *SuperuserApiService) DeleteOrganization(ctx context.Context, name string) (*http.Response, error)
SuperuserApiService Deletes the specified organization.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param name The name of the organizaton being managed
func (*SuperuserApiService) DeleteServiceKey ¶
func (a *SuperuserApiService) DeleteServiceKey(ctx context.Context, kid string) (*http.Response, error)
SuperuserApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param kid The unique identifier for a service key
func (*SuperuserApiService) GetRepoBuildLogsSuperUser ¶
func (a *SuperuserApiService) GetRepoBuildLogsSuperUser(ctx context.Context, buildUuid string) (*http.Response, error)
SuperuserApiService Return the build logs for the build specified by the build uuid.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param buildUuid The UUID of the build
func (*SuperuserApiService) GetRepoBuildStatusSuperUser ¶
func (a *SuperuserApiService) GetRepoBuildStatusSuperUser(ctx context.Context, repository string, buildUuid string) (*http.Response, error)
SuperuserApiService Return the status for the builds specified by the build uuids.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param repository The full path of the repository. e.g. namespace/name
- @param buildUuid The UUID of the build
func (*SuperuserApiService) GetRepoBuildSuperUser ¶
func (a *SuperuserApiService) GetRepoBuildSuperUser(ctx context.Context, repository string, buildUuid string) (*http.Response, error)
SuperuserApiService Returns information about a build.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param repository The full path of the repository. e.g. namespace/name
- @param buildUuid The UUID of the build
func (*SuperuserApiService) GetServiceKey ¶
func (a *SuperuserApiService) GetServiceKey(ctx context.Context, kid string) (*http.Response, error)
SuperuserApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param kid The unique identifier for a service key
func (*SuperuserApiService) ListAllUsers ¶
func (a *SuperuserApiService) ListAllUsers(ctx context.Context, localVarOptionals *SuperuserApiListAllUsersOpts) (*http.Response, error)
func (*SuperuserApiService) ListServiceKeys ¶
SuperuserApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
func (*SuperuserApiService) UpdateServiceKey ¶
func (a *SuperuserApiService) UpdateServiceKey(ctx context.Context, body PutServiceKey, kid string) (*http.Response, error)
SuperuserApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Request body contents.
- @param kid The unique identifier for a service key
type TagApiListRepoTagsOpts ¶
type TagApiListTagImagesOpts ¶
type TagApiService ¶
type TagApiService service
func (*TagApiService) ChangeTag ¶
func (a *TagApiService) ChangeTag(ctx context.Context, body ChangeTag, tag string, repository string) (*http.Response, error)
TagApiService Change which image a tag points to or create a new tag.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Request body contents.
- @param tag The name of the tag
- @param repository The full path of the repository. e.g. namespace/name
func (*TagApiService) DeleteFullTag ¶
func (a *TagApiService) DeleteFullTag(ctx context.Context, tag string, repository string) (*http.Response, error)
TagApiService Delete the specified repository tag.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param tag The name of the tag
- @param repository The full path of the repository. e.g. namespace/name
func (*TagApiService) ListRepoTags ¶
func (a *TagApiService) ListRepoTags(ctx context.Context, repository string, localVarOptionals *TagApiListRepoTagsOpts) (*http.Response, error)
func (*TagApiService) ListTagImages ¶
func (a *TagApiService) ListTagImages(ctx context.Context, tag string, repository string, localVarOptionals *TagApiListTagImagesOpts) (*http.Response, error)
func (*TagApiService) RestoreTag ¶
func (a *TagApiService) RestoreTag(ctx context.Context, body RestoreTag, tag string, repository string) (*http.Response, error)
TagApiService Restores a repository tag back to a previous image in the repository.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Request body contents.
- @param tag The name of the tag
- @param repository The full path of the repository. e.g. namespace/name
type TeamApiService ¶
type TeamApiService service
func (*TeamApiService) DeleteOrganizationTeam ¶
func (a *TeamApiService) DeleteOrganizationTeam(ctx context.Context, orgname string, teamname string) (*http.Response, error)
TeamApiService Delete the specified team.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param orgname The name of the organization
- @param teamname The name of the team
func (*TeamApiService) DeleteOrganizationTeamMember ¶
func (a *TeamApiService) DeleteOrganizationTeamMember(ctx context.Context, orgname string, membername string, teamname string) (*http.Response, error)
TeamApiService Delete a member of a team. If the user is merely invited to join the team, then the invite is removed instead.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param orgname The name of the organization
- @param membername The username of the team member
- @param teamname The name of the team
func (*TeamApiService) DeleteTeamMemberEmailInvite ¶
func (a *TeamApiService) DeleteTeamMemberEmailInvite(ctx context.Context, orgname string, email string, teamname string) (*http.Response, error)
TeamApiService Delete an invite of an email address to join a team.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param orgname
- @param email
- @param teamname
func (*TeamApiService) GetOrganizationTeamMembers ¶
func (a *TeamApiService) GetOrganizationTeamMembers(ctx context.Context, orgname string, teamname string, localVarOptionals *TeamApiGetOrganizationTeamMembersOpts) (*http.Response, error)
func (*TeamApiService) GetOrganizationTeamPermissions ¶
func (a *TeamApiService) GetOrganizationTeamPermissions(ctx context.Context, orgname string, teamname string) (*http.Response, error)
TeamApiService Returns the list of repository permissions for the org's team.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param orgname The name of the organization
- @param teamname The name of the team
func (*TeamApiService) InviteTeamMemberEmail ¶
func (a *TeamApiService) InviteTeamMemberEmail(ctx context.Context, orgname string, email string, teamname string) (*http.Response, error)
TeamApiService Invites an email address to an existing team.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param orgname
- @param email
- @param teamname
func (*TeamApiService) UpdateOrganizationTeam ¶
func (a *TeamApiService) UpdateOrganizationTeam(ctx context.Context, body TeamDescription, orgname string, teamname string) (*http.Response, error)
TeamApiService Update the org-wide permission for the specified team.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Request body contents.
- @param orgname The name of the organization
- @param teamname The name of the team
func (*TeamApiService) UpdateOrganizationTeamMember ¶
func (a *TeamApiService) UpdateOrganizationTeamMember(ctx context.Context, orgname string, membername string, teamname string) (*http.Response, error)
TeamApiService Adds or invites a member to an existing team.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param orgname The name of the organization
- @param membername The username of the team member
- @param teamname The name of the team
type TeamDescription ¶
type TeamDescription struct { // Org wide permissions that should apply to the team Role string `json:"role"` // Markdown description for the team Description string `json:"description,omitempty"` }
Description of a team
type TeamPermission ¶
type TeamPermission struct { // Role to use for the team Role string `json:"role"` }
Description of a team permission.
type TokenPermission ¶
type TokenPermission struct { // Role to use for the token Role string `json:"role"` }
Description of a token permission
type TriggerApiService ¶
type TriggerApiService service
func (*TriggerApiService) ActivateBuildTrigger ¶
func (a *TriggerApiService) ActivateBuildTrigger(ctx context.Context, body BuildTriggerActivateRequest, triggerUuid string, repository string) (*http.Response, error)
TriggerApiService Activate the specified build trigger.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Request body contents.
- @param triggerUuid The UUID of the build trigger
- @param repository The full path of the repository. e.g. namespace/name
func (*TriggerApiService) DeleteBuildTrigger ¶
func (a *TriggerApiService) DeleteBuildTrigger(ctx context.Context, triggerUuid string, repository string) (*http.Response, error)
TriggerApiService Delete the specified build trigger.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param triggerUuid The UUID of the build trigger
- @param repository The full path of the repository. e.g. namespace/name
func (*TriggerApiService) GetBuildTrigger ¶
func (a *TriggerApiService) GetBuildTrigger(ctx context.Context, triggerUuid string, repository string) (*http.Response, error)
TriggerApiService Get information for the specified build trigger.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param triggerUuid The UUID of the build trigger
- @param repository The full path of the repository. e.g. namespace/name
func (*TriggerApiService) ListBuildTriggers ¶
func (a *TriggerApiService) ListBuildTriggers(ctx context.Context, repository string) (*http.Response, error)
TriggerApiService List the triggers for the specified repository.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param repository The full path of the repository. e.g. namespace/name
func (*TriggerApiService) ListTriggerRecentBuilds ¶
func (a *TriggerApiService) ListTriggerRecentBuilds(ctx context.Context, triggerUuid string, repository string, localVarOptionals *TriggerApiListTriggerRecentBuildsOpts) (*http.Response, error)
func (*TriggerApiService) ManuallyStartBuildTrigger ¶
func (a *TriggerApiService) ManuallyStartBuildTrigger(ctx context.Context, body RunParameters, triggerUuid string, repository string) (*http.Response, error)
TriggerApiService Manually start a build from the specified trigger.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Request body contents.
- @param triggerUuid The UUID of the build trigger
- @param repository The full path of the repository. e.g. namespace/name
func (*TriggerApiService) UpdateBuildTrigger ¶
func (a *TriggerApiService) UpdateBuildTrigger(ctx context.Context, body UpdateTrigger, triggerUuid string, repository string) (*http.Response, error)
TriggerApiService Updates the specified build trigger.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Request body contents.
- @param triggerUuid The UUID of the build trigger
- @param repository The full path of the repository. e.g. namespace/name
type UpdateApp ¶
type UpdateApp struct { // The URI for the application's OAuth redirect RedirectUri string `json:"redirect_uri"` // The e-mail address of the avatar to use for the application AvatarEmail string `json:"avatar_email,omitempty"` // The name of the application Name string `json:"name"` // The URI for the application's homepage ApplicationUri string `json:"application_uri"` // The human-readable description for the application Description string `json:"description,omitempty"` }
Description of an updated application.
type UpdateMirrorConfig ¶
type UpdateMirrorConfig struct { // Used to enable or disable synchronizations. IsEnabled bool `json:"is_enabled,omitempty"` ExternalRegistryConfig *UpdateMirrorConfigExternalRegistryConfig `json:"external_registry_config,omitempty"` // Determines the next time this repository is ready for synchronization. SyncStartDate string `json:"sync_start_date,omitempty"` // Location of the external repository. ExternalReference string `json:"external_reference,omitempty"` RootRule *UpdateMirrorConfigRootRule `json:"root_rule,omitempty"` // Number of seconds after next_start_date to begin synchronizing. SyncInterval int32 `json:"sync_interval,omitempty"` // Username of robot which will be used for image pushes. RobotUsername string `json:"robot_username,omitempty"` }
Update the repository mirroring configuration.
type UpdateMirrorConfigExternalRegistryConfig ¶
type UpdateMirrorConfigExternalRegistryConfig struct { // Proxy configuration for use during synchronization. Proxy *interface{} `json:"proxy,omitempty"` // Determines whether HTTPs is required and the certificate is verified when communicating with the external repository. VerifyTls bool `json:"verify_tls,omitempty"` }
type UpdateMirrorConfigRootRule ¶
type UpdateMirrorConfigRootRule struct { // The kind of rule type RuleKind string `json:"rule_kind"` // Array of tag patterns RuleValue []string `json:"rule_value"` }
A list of glob-patterns used to determine which tags should be synchronized.
type UpdateOrg ¶
type UpdateOrg struct { // Whether the organization desires to receive emails for invoices InvoiceEmail bool `json:"invoice_email,omitempty"` // Organization contact email Email string `json:"email,omitempty"` // The number of seconds for tag expiration TagExpirationS int32 `json:"tag_expiration_s,omitempty"` }
Description of updates for an existing organization
type UpdateTrigger ¶
type UpdateTrigger struct { // Whether the build trigger is enabled Enabled bool `json:"enabled"` }
Options for updating a build trigger
type UpdateUser ¶
type UpdateUser struct { // The user's username Username string `json:"username,omitempty"` // Whether the user desires to receive an invoice email. InvoiceEmail bool `json:"invoice_email,omitempty"` // The user's password Password string `json:"password,omitempty"` // The user's email address Email string `json:"email,omitempty"` // The number of seconds for tag expiration TagExpirationS int32 `json:"tag_expiration_s,omitempty"` }
Fields which can be updated in a user.
type UserApiService ¶
type UserApiService service
func (*UserApiService) CreateStar ¶
func (a *UserApiService) CreateStar(ctx context.Context, body NewStarredRepository) (*http.Response, error)
UserApiService Star a repository.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body Request body contents.
func (*UserApiService) DeleteStar ¶
UserApiService Removes a star from a repository.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param repository The full path of the repository. e.g. namespace/name
func (*UserApiService) GetLoggedInUser ¶
UserApiService Get user information for the authenticated user.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return UserView
func (*UserApiService) GetUserInformation ¶
func (a *UserApiService) GetUserInformation(ctx context.Context, username string) (*http.Response, error)
UserApiService Get user information for the specified user.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param username
func (*UserApiService) ListStarredRepos ¶
func (a *UserApiService) ListStarredRepos(ctx context.Context, localVarOptionals *UserApiListStarredReposOpts) (*http.Response, error)
type UserPermission ¶
type UserPermission struct { // Role to use for the user Role string `json:"role"` }
Description of a user permission.
type UserView ¶
type UserView struct { // Information about the organizations in which the user is a member Organizations []interface{} `json:"organizations,omitempty"` // Whether the user's email address has been verified Verified bool `json:"verified,omitempty"` // Avatar data representing the user's icon Avatar *interface{} `json:"avatar"` // true if this user data represents a guest user Anonymous bool `json:"anonymous"` // The list of external login providers against which the user has authenticated Logins []interface{} `json:"logins,omitempty"` // Whether the user has permission to create repositories CanCreateRepo bool `json:"can_create_repo,omitempty"` // If true, the user's namespace is the preferred namespace to display PreferredNamespace bool `json:"preferred_namespace,omitempty"` // The user's email address Email string `json:"email,omitempty"` }
Describes a user
type ViewMirrorConfig ¶
type ViewMirrorConfig struct { // Used to enable or disable synchronizations. IsEnabled bool `json:"is_enabled"` ExternalRegistryConfig *UpdateMirrorConfigExternalRegistryConfig `json:"external_registry_config"` // Determines the next time this repository is ready for synchronization. SyncStartDate string `json:"sync_start_date"` // Location of the external repository. ExternalReference string `json:"external_reference"` RootRule *UpdateMirrorConfigRootRule `json:"root_rule"` // Number of seconds after next_start_date to begin synchronizing. SyncInterval int32 `json:"sync_interval"` // Username of robot which will be used for image pushes. RobotUsername string `json:"robot_username"` }
View the repository mirroring configuration.
Source Files ¶
- api_appspecifictokens.go
- api_build.go
- api_discovery.go
- api_error.go
- api_globalmessages.go
- api_image.go
- api_logs.go
- api_manifest.go
- api_mirror.go
- api_organization.go
- api_permission.go
- api_prototype.go
- api_repository.go
- api_repositorynotification.go
- api_repotoken.go
- api_robot.go
- api_search.go
- api_secscan.go
- api_superuser.go
- api_tag.go
- api_team.go
- api_trigger.go
- api_user.go
- client.go
- configuration.go
- model_add_label.go
- model_api_error.go
- model_api_error_description.go
- model_approve_service_key.go
- model_build_trigger_activate_request.go
- model_change_repo_state.go
- model_change_tag.go
- model_change_visibility.go
- model_create_install_user.go
- model_create_message.go
- model_create_message_message.go
- model_create_mirror_config.go
- model_create_robot.go
- model_create_service_key.go
- model_export_logs.go
- model_new_app.go
- model_new_org.go
- model_new_prototype.go
- model_new_prototype_activating_user.go
- model_new_prototype_delegate.go
- model_new_repo.go
- model_new_starred_repository.go
- model_new_token.go
- model_new_user.go
- model_notification_create_request.go
- model_prototype_update.go
- model_put_service_key.go
- model_repo_update.go
- model_repository_build_request.go
- model_restore_tag.go
- model_run_parameters.go
- model_team_description.go
- model_team_permission.go
- model_token_permission.go
- model_update_app.go
- model_update_mirror_config.go
- model_update_mirror_config_external_registry_config.go
- model_update_mirror_config_root_rule.go
- model_update_org.go
- model_update_trigger.go
- model_update_user.go
- model_user_permission.go
- model_user_view.go
- model_view_mirror_config.go
- response.go