quay

package module
v0.0.0-...-27277c1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 31, 2020 License: MIT Imports: 21 Imported by: 0

README

Go API client for quay

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.

Overview

This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.

  • API version: v1
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.v3.generators.go.GoClientCodegen

Installation

Put the package under your project folder and add the following in import:

import "./quay"

Or install and update with go get -u github.com/angeiv/go-quay and import directly:

import "github.com/angeiv/go-quay"

Documentation for API Endpoints

All URIs are relative to http://localhost/

Class Method HTTP request Description
AppspecifictokensApi CreateAppToken Post /api/v1/user/apptoken
AppspecifictokensApi GetAppToken Get /api/v1/user/apptoken/{token_uuid}
AppspecifictokensApi ListAppTokens Get /api/v1/user/apptoken
AppspecifictokensApi RevokeAppToken Delete /api/v1/user/apptoken/{token_uuid}
BuildApi CancelRepoBuild Delete /api/v1/repository/{repository}/build/{build_uuid}
BuildApi GetRepoBuild Get /api/v1/repository/{repository}/build/{build_uuid}
BuildApi GetRepoBuildLogs Get /api/v1/repository/{repository}/build/{build_uuid}/logs
BuildApi GetRepoBuildStatus Get /api/v1/repository/{repository}/build/{build_uuid}/status
BuildApi GetRepoBuilds Get /api/v1/repository/{repository}/build/
BuildApi RequestRepoBuild Post /api/v1/repository/{repository}/build/
DiscoveryApi Discovery Get /api/v1/discovery
ErrorApi GetErrorDescription Get /api/v1/error/{error_type}
GlobalmessagesApi CreateGlobalMessage Post /api/v1/messages
GlobalmessagesApi DeleteGlobalMessage Delete /api/v1/message/{uuid}
GlobalmessagesApi GetGlobalMessages Get /api/v1/messages
ImageApi GetImage Get /api/v1/repository/{repository}/image/{image_id}
ImageApi ListRepositoryImages Get /api/v1/repository/{repository}/image/
LogsApi ExportOrgLogs Post /api/v1/organization/{orgname}/exportlogs
LogsApi ExportRepoLogs Post /api/v1/repository/{repository}/exportlogs
LogsApi ExportUserLogs Post /api/v1/user/exportlogs
LogsApi GetAggregateOrgLogs Get /api/v1/organization/{orgname}/aggregatelogs
LogsApi GetAggregateRepoLogs Get /api/v1/repository/{repository}/aggregatelogs
LogsApi GetAggregateUserLogs Get /api/v1/user/aggregatelogs
LogsApi ListOrgLogs Get /api/v1/organization/{orgname}/logs
LogsApi ListRepoLogs Get /api/v1/repository/{repository}/logs
LogsApi ListUserLogs Get /api/v1/user/logs
ManifestApi AddManifestLabel Post /api/v1/repository/{repository}/manifest/{manifestref}/labels
ManifestApi DeleteManifestLabel Delete /api/v1/repository/{repository}/manifest/{manifestref}/labels/{labelid}
ManifestApi GetManifestLabel Get /api/v1/repository/{repository}/manifest/{manifestref}/labels/{labelid}
ManifestApi GetRepoManifest Get /api/v1/repository/{repository}/manifest/{manifestref}
ManifestApi ListManifestLabels Get /api/v1/repository/{repository}/manifest/{manifestref}/labels
MirrorApi ChangeRepoMirrorConfig Put /api/v1/repository/{repository}/mirror
MirrorApi CreateRepoMirrorConfig Post /api/v1/repository/{repository}/mirror
MirrorApi GetRepoMirrorConfig Get /api/v1/repository/{repository}/mirror
MirrorApi SyncCancel Post /api/v1/repository/{repository}/mirror/sync-cancel
MirrorApi SyncNow Post /api/v1/repository/{repository}/mirror/sync-now
OrganizationApi ChangeOrganizationDetails Put /api/v1/organization/{orgname}
OrganizationApi CreateOrganization Post /api/v1/organization/
OrganizationApi CreateOrganizationApplication Post /api/v1/organization/{orgname}/applications
OrganizationApi DeleteAdminedOrganization Delete /api/v1/organization/{orgname}
OrganizationApi DeleteOrganizationApplication Delete /api/v1/organization/{orgname}/applications/{client_id}
OrganizationApi GetApplicationInformation Get /api/v1/app/{client_id}
OrganizationApi GetOrganization Get /api/v1/organization/{orgname}
OrganizationApi GetOrganizationApplication Get /api/v1/organization/{orgname}/applications/{client_id}
OrganizationApi GetOrganizationApplications Get /api/v1/organization/{orgname}/applications
OrganizationApi GetOrganizationCollaborators Get /api/v1/organization/{orgname}/collaborators
OrganizationApi GetOrganizationMember Get /api/v1/organization/{orgname}/members/{membername}
OrganizationApi GetOrganizationMembers Get /api/v1/organization/{orgname}/members
OrganizationApi RemoveOrganizationMember Delete /api/v1/organization/{orgname}/members/{membername}
OrganizationApi UpdateOrganizationApplication Put /api/v1/organization/{orgname}/applications/{client_id}
PermissionApi ChangeTeamPermissions Put /api/v1/repository/{repository}/permissions/team/{teamname}
PermissionApi ChangeUserPermissions Put /api/v1/repository/{repository}/permissions/user/{username}
PermissionApi DeleteTeamPermissions Delete /api/v1/repository/{repository}/permissions/team/{teamname}
PermissionApi DeleteUserPermissions Delete /api/v1/repository/{repository}/permissions/user/{username}
PermissionApi GetTeamPermissions Get /api/v1/repository/{repository}/permissions/team/{teamname}
PermissionApi GetUserPermissions Get /api/v1/repository/{repository}/permissions/user/{username}
PermissionApi GetUserTransitivePermission Get /api/v1/repository/{repository}/permissions/user/{username}/transitive
PermissionApi ListRepoTeamPermissions Get /api/v1/repository/{repository}/permissions/team/
PermissionApi ListRepoUserPermissions Get /api/v1/repository/{repository}/permissions/user/
PrototypeApi CreateOrganizationPrototypePermission Post /api/v1/organization/{orgname}/prototypes
PrototypeApi DeleteOrganizationPrototypePermission Delete /api/v1/organization/{orgname}/prototypes/{prototypeid}
PrototypeApi GetOrganizationPrototypePermissions Get /api/v1/organization/{orgname}/prototypes
PrototypeApi UpdateOrganizationPrototypePermission Put /api/v1/organization/{orgname}/prototypes/{prototypeid}
RepositoryApi ChangeRepoState Put /api/v1/repository/{repository}/changestate
RepositoryApi ChangeRepoVisibility Post /api/v1/repository/{repository}/changevisibility
RepositoryApi CreateRepo Post /api/v1/repository
RepositoryApi DeleteRepository Delete /api/v1/repository/{repository}
RepositoryApi GetRepo Get /api/v1/repository/{repository}
RepositoryApi ListRepos Get /api/v1/repository
RepositoryApi UpdateRepo Put /api/v1/repository/{repository}
RepositorynotificationApi CreateRepoNotification Post /api/v1/repository/{repository}/notification/
RepositorynotificationApi DeleteRepoNotification Delete /api/v1/repository/{repository}/notification/{uuid}
RepositorynotificationApi GetRepoNotification Get /api/v1/repository/{repository}/notification/{uuid}
RepositorynotificationApi ListRepoNotifications Get /api/v1/repository/{repository}/notification/
RepositorynotificationApi ResetRepositoryNotificationFailures Post /api/v1/repository/{repository}/notification/{uuid}
RepositorynotificationApi TestRepoNotification Post /api/v1/repository/{repository}/notification/{uuid}/test
RepotokenApi ChangeToken Put /api/v1/repository/{repository}/tokens/{code}
RepotokenApi CreateToken Post /api/v1/repository/{repository}/tokens/
RepotokenApi DeleteToken Delete /api/v1/repository/{repository}/tokens/{code}
RepotokenApi GetTokens Get /api/v1/repository/{repository}/tokens/{code}
RepotokenApi ListRepoTokens Get /api/v1/repository/{repository}/tokens/
RobotApi CreateOrgRobot Put /api/v1/organization/{orgname}/robots/{robot_shortname}
RobotApi CreateUserRobot Put /api/v1/user/robots/{robot_shortname}
RobotApi DeleteOrgRobot Delete /api/v1/organization/{orgname}/robots/{robot_shortname}
RobotApi DeleteUserRobot Delete /api/v1/user/robots/{robot_shortname}
RobotApi GetOrgRobot Get /api/v1/organization/{orgname}/robots/{robot_shortname}
RobotApi GetOrgRobotPermissions Get /api/v1/organization/{orgname}/robots/{robot_shortname}/permissions
RobotApi GetOrgRobots Get /api/v1/organization/{orgname}/robots
RobotApi GetUserRobot Get /api/v1/user/robots/{robot_shortname}
RobotApi GetUserRobotPermissions Get /api/v1/user/robots/{robot_shortname}/permissions
RobotApi GetUserRobots Get /api/v1/user/robots
RobotApi RegenerateOrgRobotToken Post /api/v1/organization/{orgname}/robots/{robot_shortname}/regenerate
RobotApi RegenerateUserRobotToken Post /api/v1/user/robots/{robot_shortname}/regenerate
SearchApi ConductRepoSearch Get /api/v1/find/repositories
SearchApi ConductSearch Get /api/v1/find/all
SearchApi GetMatchingEntities Get /api/v1/entities/{prefix}
SecscanApi GetRepoImageSecurity Get /api/v1/repository/{repository}/image/{imageid}/security
SecscanApi GetRepoManifestSecurity Get /api/v1/repository/{repository}/manifest/{manifestref}/security
SuperuserApi ApproveServiceKey Post /api/v1/superuser/approvedkeys/{kid}
SuperuserApi ChangeOrganization Put /api/v1/superuser/organizations/{name}
SuperuserApi CreateInstallUser Post /api/v1/superuser/users/
SuperuserApi CreateServiceKey Post /api/v1/superuser/keys
SuperuserApi DeleteOrganization Delete /api/v1/superuser/organizations/{name}
SuperuserApi DeleteServiceKey Delete /api/v1/superuser/keys/{kid}
SuperuserApi GetRepoBuildLogsSuperUser Get /api/v1/superuser/{build_uuid}/logs
SuperuserApi GetRepoBuildStatusSuperUser Get /api/v1/superuser/{build_uuid}/status
SuperuserApi GetRepoBuildSuperUser Get /api/v1/superuser/{build_uuid}/build
SuperuserApi GetServiceKey Get /api/v1/superuser/keys/{kid}
SuperuserApi ListAllUsers Get /api/v1/superuser/users/
SuperuserApi ListServiceKeys Get /api/v1/superuser/keys
SuperuserApi UpdateServiceKey Put /api/v1/superuser/keys/{kid}
TagApi ChangeTag Put /api/v1/repository/{repository}/tag/{tag}
TagApi DeleteFullTag Delete /api/v1/repository/{repository}/tag/{tag}
TagApi ListRepoTags Get /api/v1/repository/{repository}/tag/
TagApi ListTagImages Get /api/v1/repository/{repository}/tag/{tag}/images
TagApi RestoreTag Post /api/v1/repository/{repository}/tag/{tag}/restore
TeamApi DeleteOrganizationTeam Delete /api/v1/organization/{orgname}/team/{teamname}
TeamApi DeleteOrganizationTeamMember Delete /api/v1/organization/{orgname}/team/{teamname}/members/{membername}
TeamApi DeleteTeamMemberEmailInvite Delete /api/v1/organization/{orgname}/team/{teamname}/invite/{email}
TeamApi GetOrganizationTeamMembers Get /api/v1/organization/{orgname}/team/{teamname}/members
TeamApi GetOrganizationTeamPermissions Get /api/v1/organization/{orgname}/team/{teamname}/permissions
TeamApi InviteTeamMemberEmail Put /api/v1/organization/{orgname}/team/{teamname}/invite/{email}
TeamApi UpdateOrganizationTeam Put /api/v1/organization/{orgname}/team/{teamname}
TeamApi UpdateOrganizationTeamMember Put /api/v1/organization/{orgname}/team/{teamname}/members/{membername}
TriggerApi ActivateBuildTrigger Post /api/v1/repository/{repository}/trigger/{trigger_uuid}/activate
TriggerApi DeleteBuildTrigger Delete /api/v1/repository/{repository}/trigger/{trigger_uuid}
TriggerApi GetBuildTrigger Get /api/v1/repository/{repository}/trigger/{trigger_uuid}
TriggerApi ListBuildTriggers Get /api/v1/repository/{repository}/trigger/
TriggerApi ListTriggerRecentBuilds Get /api/v1/repository/{repository}/trigger/{trigger_uuid}/builds
TriggerApi ManuallyStartBuildTrigger Post /api/v1/repository/{repository}/trigger/{trigger_uuid}/start
TriggerApi UpdateBuildTrigger Put /api/v1/repository/{repository}/trigger/{trigger_uuid}
UserApi CreateStar Post /api/v1/user/starred
UserApi DeleteStar Delete /api/v1/user/starred/{repository}
UserApi GetLoggedInUser Get /api/v1/user/
UserApi GetUserInformation Get /api/v1/users/{username}
UserApi ListStarredRepos Get /api/v1/user/starred

Documentation For Models

Documentation For Authorization

oauth2_implicit

Example

auth := context.WithValue(context.Background(), sw.ContextAccessToken, "ACCESSTOKENSTRING")
r, err := client.Service.Operation(auth, args)

Or via OAuth2 module to automatically refresh tokens and perform user authentication.

import "golang.org/x/oauth2"

/* Perform OAuth2 round trip request and obtain a token */

tokenSource := oauth2cfg.TokenSource(createContext(httpClient), &token)
auth := context.WithValue(oauth2.NoContext, sw.ContextOAuth2, tokenSource)
r, err := client.Service.Operation(auth, args)

Author

support@quay.io

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

Constants

This section is empty.

Variables

View Source
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

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

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

func (c *APIClient) ChangeBasePath(path string)

Change base path to allow switching to mocks

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

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 AppspecifictokensApiListAppTokensOpts

type AppspecifictokensApiListAppTokensOpts struct {
	Expiring optional.Bool
}

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 (*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 BuildApiGetRepoBuildsOpts

type BuildApiGetRepoBuildsOpts struct {
	Since optional.Int32
	Limit optional.Int32
}

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 ChangeTag

type ChangeTag struct {
}

Makes changes to a specific tag

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 DiscoveryApiDiscoveryOpts

type DiscoveryApiDiscoveryOpts struct {
	Internal optional.Bool
}

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

func (a *GlobalmessagesApiService) GetGlobalMessages(ctx context.Context) (*http.Response, error)

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 LogsApiExportOrgLogsOpts

type LogsApiExportOrgLogsOpts struct {
	Endtime   optional.String
	Starttime optional.String
}

type LogsApiExportRepoLogsOpts

type LogsApiExportRepoLogsOpts struct {
	Endtime   optional.String
	Starttime optional.String
}

type LogsApiExportUserLogsOpts

type LogsApiExportUserLogsOpts struct {
	Endtime   optional.String
	Starttime optional.String
}

type LogsApiGetAggregateOrgLogsOpts

type LogsApiGetAggregateOrgLogsOpts struct {
	Performer optional.String
	Endtime   optional.String
	Starttime optional.String
}

type LogsApiGetAggregateRepoLogsOpts

type LogsApiGetAggregateRepoLogsOpts struct {
	Endtime   optional.String
	Starttime optional.String
}

type LogsApiGetAggregateUserLogsOpts

type LogsApiGetAggregateUserLogsOpts struct {
	Performer optional.String
	Endtime   optional.String
	Starttime optional.String
}

type LogsApiListOrgLogsOpts

type LogsApiListOrgLogsOpts struct {
	NextPage  optional.String
	Performer optional.String
	Endtime   optional.String
	Starttime optional.String
}

type LogsApiListRepoLogsOpts

type LogsApiListRepoLogsOpts struct {
	NextPage  optional.String
	Endtime   optional.String
	Starttime optional.String
}

type LogsApiListUserLogsOpts

type LogsApiListUserLogsOpts struct {
	NextPage  optional.String
	Performer optional.String
	Endtime   optional.String
	Starttime optional.String
}

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 ManifestApiListManifestLabelsOpts

type ManifestApiListManifestLabelsOpts struct {
	Filter optional.String
}

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&#x27;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&#x27;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

func (a *MirrorApiService) SyncNow(ctx context.Context, repository string) (*http.Response, error)

MirrorApiService Update the sync_status for a given Repository&#x27;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 NewStarredRepository struct {
	// Namespace in which the repository belongs
	Namespace string `json:"namespace"`
	// Repository name
	Repository string `json:"repository"`
}

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 RepositoryApiGetRepoOpts

type RepositoryApiGetRepoOpts struct {
	IncludeTags  optional.Bool
	IncludeStats optional.Bool
}

type RepositoryApiListReposOpts

type RepositoryApiListReposOpts struct {
	NextPage     optional.String
	RepoKind     optional.String
	Popularity   optional.Bool
	LastModified optional.Bool
	Public       optional.Bool
	Starred      optional.Bool
	Namespace    optional.String
}

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 RobotApiGetOrgRobotsOpts

type RobotApiGetOrgRobotsOpts struct {
	Limit       optional.Int32
	Token       optional.Bool
	Permissions optional.Bool
}

type RobotApiGetUserRobotsOpts

type RobotApiGetUserRobotsOpts struct {
	Limit       optional.Int32
	Token       optional.Bool
	Permissions optional.Bool
}

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&#x27;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&#x27;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&#x27;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&#x27;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&#x27;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 SearchApiConductRepoSearchOpts

type SearchApiConductRepoSearchOpts struct {
	Page  optional.Int32
	Query optional.String
}

type SearchApiConductSearchOpts

type SearchApiConductSearchOpts struct {
	Query optional.String
}

type SearchApiGetMatchingEntitiesOpts

type SearchApiGetMatchingEntitiesOpts struct {
	IncludeOrgs  optional.Bool
	IncludeTeams optional.Bool
	Namespace    optional.String
}

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 SecscanApiGetRepoImageSecurityOpts

type SecscanApiGetRepoImageSecurityOpts struct {
	Vulnerabilities optional.Bool
}

type SecscanApiGetRepoManifestSecurityOpts

type SecscanApiGetRepoManifestSecurityOpts struct {
	Vulnerabilities optional.Bool
}

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 SuperuserApiListAllUsersOpts

type SuperuserApiListAllUsersOpts struct {
	Disabled optional.Bool
}

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

func (a *SuperuserApiService) ListServiceKeys(ctx context.Context) (*http.Response, error)

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 TagApiListRepoTagsOpts struct {
	OnlyActiveTags optional.Bool
	Page           optional.Int32
	Limit          optional.Int32
	SpecificTag    optional.String
}

type TagApiListTagImagesOpts

type TagApiListTagImagesOpts struct {
	Owned optional.Bool
}

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 TeamApiGetOrganizationTeamMembersOpts

type TeamApiGetOrganizationTeamMembersOpts struct {
	IncludePending optional.Bool
}

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&#x27;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 TriggerApiListTriggerRecentBuildsOpts

type TriggerApiListTriggerRecentBuildsOpts struct {
	Limit optional.Int32
}

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 UserApiListStarredReposOpts

type UserApiListStarredReposOpts struct {
	NextPage optional.String
}

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

func (a *UserApiService) DeleteStar(ctx context.Context, repository string) (*http.Response, error)

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

func (a *UserApiService) GetLoggedInUser(ctx context.Context) (UserView, *http.Response, error)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL