Skip to content

LongLonghaoran/pulp3api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go API client for openapi

Fetch, Upload, Organize, and Distribute Software Packages

Overview

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

  • API version: v3
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen For more information, please visit https://pulpproject.org

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context

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

import openapi "github.com/GIT_USER_ID/GIT_REPO_ID"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value sw.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), openapi.ContextServerIndex, 1)

Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), openapi.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using sw.ContextOperationServerIndices and sw.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), openapi.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), openapi.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to http://121.37.218.63:24817

Class Method HTTP request Description
AccessPoliciesApi AccessPoliciesList Get /pulp/api/v3/access_policies/ List access policys
AccessPoliciesApi AccessPoliciesPartialUpdate Patch /pulp/api/v3/access_policies/{pulp_id}/ Update an access policy
AccessPoliciesApi AccessPoliciesRead Get /pulp/api/v3/access_policies/{pulp_id}/ Inspect an access policy
AccessPoliciesApi AccessPoliciesReset Post /pulp/api/v3/access_policies/{pulp_id}/reset/
AccessPoliciesApi AccessPoliciesUpdate Put /pulp/api/v3/access_policies/{pulp_id}/ Update an access policy
AcsApi AcsCreate Post /pulp/api/v3/acs/ Create an alternate content source
AcsApi AcsDelete Delete /pulp/api/v3/acs/{pulp_id}/ Delete an alternate content source
AcsApi AcsList Get /pulp/api/v3/acs/ List acs
AcsApi AcsPartialUpdate Patch /pulp/api/v3/acs/{pulp_id}/ Update an alternate content source
AcsApi AcsRead Get /pulp/api/v3/acs/{pulp_id}/ Inspect an alternate content source
AcsApi AcsRefresh Post /pulp/api/v3/acs/{pulp_id}/refresh/
AcsApi AcsUpdate Put /pulp/api/v3/acs/{pulp_id}/ Update an alternate content source
ArtifactsApi ArtifactsCreate Post /pulp/api/v3/artifacts/ Create an artifact
ArtifactsApi ArtifactsDelete Delete /pulp/api/v3/artifacts/{pulp_id}/ Delete an artifact
ArtifactsApi ArtifactsList Get /pulp/api/v3/artifacts/ List artifacts
ArtifactsApi ArtifactsRead Get /pulp/api/v3/artifacts/{pulp_id}/ Inspect an artifact
ContentApi ContentCreate Post /pulp/api/v3/content/ Create a content
ContentApi ContentList Get /pulp/api/v3/content/ List content
ContentApi ContentRead Get /pulp/api/v3/content/{pulp_id}/ Inspect a content
ContentBlobsApi ContentContainerBlobsList Get /pulp/api/v3/content/container/blobs/ List blobs
ContentBlobsApi ContentContainerBlobsRead Get /pulp/api/v3/content/container/blobs/{pulp_id}/ Inspect a blob
ContentGenericContentsApi ContentDebGenericContentsCreate Post /pulp/api/v3/content/deb/generic_contents/ Create a generic content
ContentGenericContentsApi ContentDebGenericContentsList Get /pulp/api/v3/content/deb/generic_contents/ List generic contents
ContentGenericContentsApi ContentDebGenericContentsRead Get /pulp/api/v3/content/deb/generic_contents/{pulp_id}/ Inspect a generic content
ContentInstallerFileIndicesApi ContentDebInstallerFileIndicesCreate Post /pulp/api/v3/content/deb/installer_file_indices/ Create an installer file index
ContentInstallerFileIndicesApi ContentDebInstallerFileIndicesList Get /pulp/api/v3/content/deb/installer_file_indices/ List InstallerFileIndices
ContentInstallerFileIndicesApi ContentDebInstallerFileIndicesRead Get /pulp/api/v3/content/deb/installer_file_indices/{pulp_id}/ Inspect an installer file index
ContentInstallerPackagesApi ContentDebInstallerPackagesCreate Post /pulp/api/v3/content/deb/installer_packages/ Create an installer package
ContentInstallerPackagesApi ContentDebInstallerPackagesList Get /pulp/api/v3/content/deb/installer_packages/ List installer packages
ContentInstallerPackagesApi ContentDebInstallerPackagesRead Get /pulp/api/v3/content/deb/installer_packages/{pulp_id}/ Inspect an installer package
ContentManifestsApi ContentContainerManifestsList Get /pulp/api/v3/content/container/manifests/ List manifests
ContentManifestsApi ContentContainerManifestsRead Get /pulp/api/v3/content/container/manifests/{pulp_id}/ Inspect a manifest
ContentPackageIndicesApi ContentDebPackageIndicesCreate Post /pulp/api/v3/content/deb/package_indices/ Create a package index
ContentPackageIndicesApi ContentDebPackageIndicesList Get /pulp/api/v3/content/deb/package_indices/ List PackageIndices
ContentPackageIndicesApi ContentDebPackageIndicesRead Get /pulp/api/v3/content/deb/package_indices/{pulp_id}/ Inspect a package index
ContentPackageReleaseComponentsApi ContentDebPackageReleaseComponentsCreate Post /pulp/api/v3/content/deb/package_release_components/ Create a package release component
ContentPackageReleaseComponentsApi ContentDebPackageReleaseComponentsList Get /pulp/api/v3/content/deb/package_release_components/ List package release components
ContentPackageReleaseComponentsApi ContentDebPackageReleaseComponentsRead Get /pulp/api/v3/content/deb/package_release_components/{pulp_id}/ Inspect a package release component
ContentPackagesApi ContentDebPackagesCreate Post /pulp/api/v3/content/deb/packages/ Create a package
ContentPackagesApi ContentDebPackagesList Get /pulp/api/v3/content/deb/packages/ List packages
ContentPackagesApi ContentDebPackagesRead Get /pulp/api/v3/content/deb/packages/{pulp_id}/ Inspect a package
ContentReleaseArchitecturesApi ContentDebReleaseArchitecturesCreate Post /pulp/api/v3/content/deb/release_architectures/ Create a release architecture
ContentReleaseArchitecturesApi ContentDebReleaseArchitecturesList Get /pulp/api/v3/content/deb/release_architectures/ List release architectures
ContentReleaseArchitecturesApi ContentDebReleaseArchitecturesRead Get /pulp/api/v3/content/deb/release_architectures/{pulp_id}/ Inspect a release architecture
ContentReleaseComponentsApi ContentDebReleaseComponentsCreate Post /pulp/api/v3/content/deb/release_components/ Create a release component
ContentReleaseComponentsApi ContentDebReleaseComponentsList Get /pulp/api/v3/content/deb/release_components/ List release components
ContentReleaseComponentsApi ContentDebReleaseComponentsRead Get /pulp/api/v3/content/deb/release_components/{pulp_id}/ Inspect a release component
ContentReleaseFilesApi ContentDebReleaseFilesCreate Post /pulp/api/v3/content/deb/release_files/ Create a release file
ContentReleaseFilesApi ContentDebReleaseFilesList Get /pulp/api/v3/content/deb/release_files/ List release files
ContentReleaseFilesApi ContentDebReleaseFilesRead Get /pulp/api/v3/content/deb/release_files/{pulp_id}/ Inspect a release file
ContentReleasesApi ContentDebReleasesCreate Post /pulp/api/v3/content/deb/releases/ Create a release
ContentReleasesApi ContentDebReleasesList Get /pulp/api/v3/content/deb/releases/ List releases
ContentReleasesApi ContentDebReleasesRead Get /pulp/api/v3/content/deb/releases/{pulp_id}/ Inspect a release
ContentSignaturesApi ContentContainerSignaturesList Get /pulp/api/v3/content/container/signatures/ List manifest signatures
ContentSignaturesApi ContentContainerSignaturesRead Get /pulp/api/v3/content/container/signatures/{pulp_id}/ Inspect a manifest signature
ContentTagsApi ContentContainerTagsList Get /pulp/api/v3/content/container/tags/ List tags
ContentTagsApi ContentContainerTagsRead Get /pulp/api/v3/content/container/tags/{pulp_id}/ Inspect a tag
ContentguardsApi ContentguardsCreate Post /pulp/api/v3/contentguards/ Create a content guard
ContentguardsApi ContentguardsDelete Delete /pulp/api/v3/contentguards/{pulp_id}/ Delete a content guard
ContentguardsApi ContentguardsList Get /pulp/api/v3/contentguards/ List content guards
ContentguardsApi ContentguardsPartialUpdate Patch /pulp/api/v3/contentguards/{pulp_id}/ Update a content guard
ContentguardsApi ContentguardsRead Get /pulp/api/v3/contentguards/{pulp_id}/ Inspect a content guard
ContentguardsApi ContentguardsUpdate Put /pulp/api/v3/contentguards/{pulp_id}/ Update a content guard
ContentguardsContentRedirectApi ContentguardsCoreContentRedirectAddRole Post /pulp/api/v3/contentguards/core/content_redirect/{pulp_id}/add_role/
ContentguardsContentRedirectApi ContentguardsCoreContentRedirectCreate Post /pulp/api/v3/contentguards/core/content_redirect/ Create a content redirect content guard
ContentguardsContentRedirectApi ContentguardsCoreContentRedirectDelete Delete /pulp/api/v3/contentguards/core/content_redirect/{pulp_id}/ Delete a content redirect content guard
ContentguardsContentRedirectApi ContentguardsCoreContentRedirectList Get /pulp/api/v3/contentguards/core/content_redirect/ List content redirect content guards
ContentguardsContentRedirectApi ContentguardsCoreContentRedirectListRoles Get /pulp/api/v3/contentguards/core/content_redirect/{pulp_id}/list_roles/
ContentguardsContentRedirectApi ContentguardsCoreContentRedirectMyPermissions Get /pulp/api/v3/contentguards/core/content_redirect/{pulp_id}/my_permissions/
ContentguardsContentRedirectApi ContentguardsCoreContentRedirectPartialUpdate Patch /pulp/api/v3/contentguards/core/content_redirect/{pulp_id}/ Update a content redirect content guard
ContentguardsContentRedirectApi ContentguardsCoreContentRedirectRead Get /pulp/api/v3/contentguards/core/content_redirect/{pulp_id}/ Inspect a content redirect content guard
ContentguardsContentRedirectApi ContentguardsCoreContentRedirectRemoveRole Post /pulp/api/v3/contentguards/core/content_redirect/{pulp_id}/remove_role/
ContentguardsContentRedirectApi ContentguardsCoreContentRedirectUpdate Put /pulp/api/v3/contentguards/core/content_redirect/{pulp_id}/ Update a content redirect content guard
ContentguardsRbacApi ContentguardsCoreRbacAddRole Post /pulp/api/v3/contentguards/core/rbac/{pulp_id}/add_role/
ContentguardsRbacApi ContentguardsCoreRbacCreate Post /pulp/api/v3/contentguards/core/rbac/ Create a rbac content guard
ContentguardsRbacApi ContentguardsCoreRbacDelete Delete /pulp/api/v3/contentguards/core/rbac/{pulp_id}/ Delete a rbac content guard
ContentguardsRbacApi ContentguardsCoreRbacList Get /pulp/api/v3/contentguards/core/rbac/ List rbac content guards
ContentguardsRbacApi ContentguardsCoreRbacListRoles Get /pulp/api/v3/contentguards/core/rbac/{pulp_id}/list_roles/
ContentguardsRbacApi ContentguardsCoreRbacMyPermissions Get /pulp/api/v3/contentguards/core/rbac/{pulp_id}/my_permissions/
ContentguardsRbacApi ContentguardsCoreRbacPartialUpdate Patch /pulp/api/v3/contentguards/core/rbac/{pulp_id}/ Update a rbac content guard
ContentguardsRbacApi ContentguardsCoreRbacRead Get /pulp/api/v3/contentguards/core/rbac/{pulp_id}/ Inspect a rbac content guard
ContentguardsRbacApi ContentguardsCoreRbacRemoveRole Post /pulp/api/v3/contentguards/core/rbac/{pulp_id}/remove_role/
ContentguardsRbacApi ContentguardsCoreRbacUpdate Put /pulp/api/v3/contentguards/core/rbac/{pulp_id}/ Update a rbac content guard
DebCopyApi CopyContent Post /pulp/api/v3/deb/copy/ Copy content
DistributionsApi DistributionsCreate Post /pulp/api/v3/distributions/ Create a distribution
DistributionsApi DistributionsDelete Delete /pulp/api/v3/distributions/{pulp_id}/ Delete a distribution
DistributionsApi DistributionsList Get /pulp/api/v3/distributions/ List distributions
DistributionsApi DistributionsPartialUpdate Patch /pulp/api/v3/distributions/{pulp_id}/ Update a distribution
DistributionsApi DistributionsRead Get /pulp/api/v3/distributions/{pulp_id}/ Inspect a distribution
DistributionsApi DistributionsUpdate Put /pulp/api/v3/distributions/{pulp_id}/ Update a distribution
DistributionsAptApi DistributionsDebAptCreate Post /pulp/api/v3/distributions/deb/apt/ Create an apt distribution
DistributionsAptApi DistributionsDebAptDelete Delete /pulp/api/v3/distributions/deb/apt/{pulp_id}/ Delete an apt distribution
DistributionsAptApi DistributionsDebAptList Get /pulp/api/v3/distributions/deb/apt/ List apt distributions
DistributionsAptApi DistributionsDebAptPartialUpdate Patch /pulp/api/v3/distributions/deb/apt/{pulp_id}/ Update an apt distribution
DistributionsAptApi DistributionsDebAptRead Get /pulp/api/v3/distributions/deb/apt/{pulp_id}/ Inspect an apt distribution
DistributionsAptApi DistributionsDebAptUpdate Put /pulp/api/v3/distributions/deb/apt/{pulp_id}/ Update an apt distribution
DistributionsContainerApi DistributionsContainerContainerAddRole Post /pulp/api/v3/distributions/container/container/{pulp_id}/add_role/
DistributionsContainerApi DistributionsContainerContainerCreate Post /pulp/api/v3/distributions/container/container/ Create a container distribution
DistributionsContainerApi DistributionsContainerContainerDelete Delete /pulp/api/v3/distributions/container/container/{pulp_id}/ Delete a container distribution
DistributionsContainerApi DistributionsContainerContainerList Get /pulp/api/v3/distributions/container/container/ List container distributions
DistributionsContainerApi DistributionsContainerContainerListRoles Get /pulp/api/v3/distributions/container/container/{pulp_id}/list_roles/
DistributionsContainerApi DistributionsContainerContainerMyPermissions Get /pulp/api/v3/distributions/container/container/{pulp_id}/my_permissions/
DistributionsContainerApi DistributionsContainerContainerPartialUpdate Patch /pulp/api/v3/distributions/container/container/{pulp_id}/ Update a container distribution
DistributionsContainerApi DistributionsContainerContainerRead Get /pulp/api/v3/distributions/container/container/{pulp_id}/ Inspect a container distribution
DistributionsContainerApi DistributionsContainerContainerRemoveRole Post /pulp/api/v3/distributions/container/container/{pulp_id}/remove_role/
DistributionsContainerApi DistributionsContainerContainerUpdate Put /pulp/api/v3/distributions/container/container/{pulp_id}/ Update a container distribution
DocsApiJsonApi DocsApiJsonGet Get /pulp/api/v3/docs/api.json
DocsApiYamlApi DocsApiYamlGet Get /pulp/api/v3/docs/api.yaml
ExportersApi ExportersCreate Post /pulp/api/v3/exporters/ Create an exporter
ExportersApi ExportersDelete Delete /pulp/api/v3/exporters/{pulp_id}/ Delete an exporter
ExportersApi ExportersList Get /pulp/api/v3/exporters/ List exporters
ExportersApi ExportersPartialUpdate Patch /pulp/api/v3/exporters/{pulp_id}/ Update an exporter
ExportersApi ExportersRead Get /pulp/api/v3/exporters/{pulp_id}/ Inspect an exporter
ExportersApi ExportersUpdate Put /pulp/api/v3/exporters/{pulp_id}/ Update an exporter
ExportersExportsApi ExportersExportsCreate Post /pulp/api/v3/exporters/{exporter_pk}/exports/ Create an export
ExportersExportsApi ExportersExportsDelete Delete /pulp/api/v3/exporters/{exporter_pk}/exports/{pulp_id}/ Delete an export
ExportersExportsApi ExportersExportsList Get /pulp/api/v3/exporters/{exporter_pk}/exports/ List exports
ExportersExportsApi ExportersExportsRead Get /pulp/api/v3/exporters/{exporter_pk}/exports/{pulp_id}/ Inspect an export
ExportersFilesystemApi ExportersCoreFilesystemCreate Post /pulp/api/v3/exporters/core/filesystem/ Create a filesystem exporter
ExportersFilesystemApi ExportersCoreFilesystemDelete Delete /pulp/api/v3/exporters/core/filesystem/{pulp_id}/ Delete a filesystem exporter
ExportersFilesystemApi ExportersCoreFilesystemList Get /pulp/api/v3/exporters/core/filesystem/ List filesystem exporters
ExportersFilesystemApi ExportersCoreFilesystemPartialUpdate Patch /pulp/api/v3/exporters/core/filesystem/{pulp_id}/ Update a filesystem exporter
ExportersFilesystemApi ExportersCoreFilesystemRead Get /pulp/api/v3/exporters/core/filesystem/{pulp_id}/ Inspect a filesystem exporter
ExportersFilesystemApi ExportersCoreFilesystemUpdate Put /pulp/api/v3/exporters/core/filesystem/{pulp_id}/ Update a filesystem exporter
ExportersFilesystemExportsApi ExportersCoreFilesystemExportsCreate Post /pulp/api/v3/exporters/core/filesystem/{exporter_pk}/exports/ Create a filesystem export
ExportersFilesystemExportsApi ExportersCoreFilesystemExportsDelete Delete /pulp/api/v3/exporters/core/filesystem/{exporter_pk}/exports/{pulp_id}/ Delete a filesystem export
ExportersFilesystemExportsApi ExportersCoreFilesystemExportsList Get /pulp/api/v3/exporters/core/filesystem/{exporter_pk}/exports/ List filesystem exports
ExportersFilesystemExportsApi ExportersCoreFilesystemExportsRead Get /pulp/api/v3/exporters/core/filesystem/{exporter_pk}/exports/{pulp_id}/ Inspect a filesystem export
ExportersPulpApi ExportersCorePulpCreate Post /pulp/api/v3/exporters/core/pulp/ Create a pulp exporter
ExportersPulpApi ExportersCorePulpDelete Delete /pulp/api/v3/exporters/core/pulp/{pulp_id}/ Delete a pulp exporter
ExportersPulpApi ExportersCorePulpList Get /pulp/api/v3/exporters/core/pulp/ List pulp exporters
ExportersPulpApi ExportersCorePulpPartialUpdate Patch /pulp/api/v3/exporters/core/pulp/{pulp_id}/ Update a pulp exporter
ExportersPulpApi ExportersCorePulpRead Get /pulp/api/v3/exporters/core/pulp/{pulp_id}/ Inspect a pulp exporter
ExportersPulpApi ExportersCorePulpUpdate Put /pulp/api/v3/exporters/core/pulp/{pulp_id}/ Update a pulp exporter
ExportersPulpExportsApi ExportersCorePulpExportsCreate Post /pulp/api/v3/exporters/core/pulp/{exporter_pk}/exports/ Create a pulp export
ExportersPulpExportsApi ExportersCorePulpExportsDelete Delete /pulp/api/v3/exporters/core/pulp/{exporter_pk}/exports/{pulp_id}/ Delete a pulp export
ExportersPulpExportsApi ExportersCorePulpExportsList Get /pulp/api/v3/exporters/core/pulp/{exporter_pk}/exports/ List pulp exports
ExportersPulpExportsApi ExportersCorePulpExportsRead Get /pulp/api/v3/exporters/core/pulp/{exporter_pk}/exports/{pulp_id}/ Inspect a pulp export
GroupsApi GroupsAddRole Post /pulp/api/v3/groups/{id}/add_role/
GroupsApi GroupsCreate Post /pulp/api/v3/groups/ Create a group
GroupsApi GroupsDelete Delete /pulp/api/v3/groups/{id}/ Delete a group
GroupsApi GroupsList Get /pulp/api/v3/groups/ List groups
GroupsApi GroupsListRoles Get /pulp/api/v3/groups/{id}/list_roles/
GroupsApi GroupsMyPermissions Get /pulp/api/v3/groups/{id}/my_permissions/
GroupsApi GroupsPartialUpdate Patch /pulp/api/v3/groups/{id}/ Update a group
GroupsApi GroupsRead Get /pulp/api/v3/groups/{id}/ Inspect a group
GroupsApi GroupsRemoveRole Post /pulp/api/v3/groups/{id}/remove_role/
GroupsApi GroupsUpdate Put /pulp/api/v3/groups/{id}/ Update a group
GroupsRolesApi GroupsRolesCreate Post /pulp/api/v3/groups/{group_pk}/roles/ Create a group role
GroupsRolesApi GroupsRolesDelete Delete /pulp/api/v3/groups/{group_pk}/roles/{pulp_id}/ Delete a group role
GroupsRolesApi GroupsRolesList Get /pulp/api/v3/groups/{group_pk}/roles/ List group roles
GroupsRolesApi GroupsRolesRead Get /pulp/api/v3/groups/{group_pk}/roles/{pulp_id}/ Inspect a group role
GroupsUsersApi GroupsUsersCreate Post /pulp/api/v3/groups/{group_pk}/users/ Create an user
GroupsUsersApi GroupsUsersDelete Delete /pulp/api/v3/groups/{group_pk}/users/{id}/ Delete an user
GroupsUsersApi GroupsUsersList Get /pulp/api/v3/groups/{group_pk}/users/ List users
ImportersApi ImportersCreate Post /pulp/api/v3/importers/ Create an importer
ImportersApi ImportersDelete Delete /pulp/api/v3/importers/{pulp_id}/ Delete an importer
ImportersApi ImportersList Get /pulp/api/v3/importers/ List importers
ImportersApi ImportersPartialUpdate Patch /pulp/api/v3/importers/{pulp_id}/ Update an importer
ImportersApi ImportersRead Get /pulp/api/v3/importers/{pulp_id}/ Inspect an importer
ImportersApi ImportersUpdate Put /pulp/api/v3/importers/{pulp_id}/ Update an importer
ImportersImportsApi ImportersImportsCreate Post /pulp/api/v3/importers/{importer_pk}/imports/ Create an import
ImportersImportsApi ImportersImportsDelete Delete /pulp/api/v3/importers/{importer_pk}/imports/{pulp_id}/ Delete an import
ImportersImportsApi ImportersImportsList Get /pulp/api/v3/importers/{importer_pk}/imports/ List imports
ImportersImportsApi ImportersImportsRead Get /pulp/api/v3/importers/{importer_pk}/imports/{pulp_id}/ Inspect an import
ImportersPulpApi ImportersCorePulpCreate Post /pulp/api/v3/importers/core/pulp/ Create a pulp importer
ImportersPulpApi ImportersCorePulpDelete Delete /pulp/api/v3/importers/core/pulp/{pulp_id}/ Delete a pulp importer
ImportersPulpApi ImportersCorePulpList Get /pulp/api/v3/importers/core/pulp/ List pulp importers
ImportersPulpApi ImportersCorePulpPartialUpdate Patch /pulp/api/v3/importers/core/pulp/{pulp_id}/ Update a pulp importer
ImportersPulpApi ImportersCorePulpRead Get /pulp/api/v3/importers/core/pulp/{pulp_id}/ Inspect a pulp importer
ImportersPulpApi ImportersCorePulpUpdate Put /pulp/api/v3/importers/core/pulp/{pulp_id}/ Update a pulp importer
ImportersPulpImportCheckApi PulpImportCheckPost Post /pulp/api/v3/importers/core/pulp/import-check/ Validate the parameters to be used for a PulpImport call
ImportersPulpImportsApi ImportersCorePulpImportsCreate Post /pulp/api/v3/importers/core/pulp/{importer_pk}/imports/ Create a pulp import
ImportersPulpImportsApi ImportersCorePulpImportsDelete Delete /pulp/api/v3/importers/core/pulp/{importer_pk}/imports/{pulp_id}/ Delete a pulp import
ImportersPulpImportsApi ImportersCorePulpImportsList Get /pulp/api/v3/importers/core/pulp/{importer_pk}/imports/ List pulp imports
ImportersPulpImportsApi ImportersCorePulpImportsRead Get /pulp/api/v3/importers/core/pulp/{importer_pk}/imports/{pulp_id}/ Inspect a pulp import
OrphansApi OrphansDelete Delete /pulp/api/v3/orphans/ Delete orphans
OrphansCleanupApi OrphansCleanupCleanup Post /pulp/api/v3/orphans/cleanup/
PublicationsApi PublicationsDelete Delete /pulp/api/v3/publications/{pulp_id}/ Delete a publication
PublicationsApi PublicationsList Get /pulp/api/v3/publications/ List publications
PublicationsApi PublicationsRead Get /pulp/api/v3/publications/{pulp_id}/ Inspect a publication
PublicationsAptApi PublicationsDebAptCreate Post /pulp/api/v3/publications/deb/apt/ Create an apt publication
PublicationsAptApi PublicationsDebAptDelete Delete /pulp/api/v3/publications/deb/apt/{pulp_id}/ Delete an apt publication
PublicationsAptApi PublicationsDebAptList Get /pulp/api/v3/publications/deb/apt/ List apt publications
PublicationsAptApi PublicationsDebAptRead Get /pulp/api/v3/publications/deb/apt/{pulp_id}/ Inspect an apt publication
PublicationsVerbatimApi PublicationsDebVerbatimCreate Post /pulp/api/v3/publications/deb/verbatim/ Create a verbatim publication
PublicationsVerbatimApi PublicationsDebVerbatimDelete Delete /pulp/api/v3/publications/deb/verbatim/{pulp_id}/ Delete a verbatim publication
PublicationsVerbatimApi PublicationsDebVerbatimList Get /pulp/api/v3/publications/deb/verbatim/ List verbatim publications
PublicationsVerbatimApi PublicationsDebVerbatimRead Get /pulp/api/v3/publications/deb/verbatim/{pulp_id}/ Inspect a verbatim publication
PulpContainerNamespacesApi PulpContainerNamespacesAddRole Post /pulp/api/v3/pulp_container/namespaces/{pulp_id}/add_role/
PulpContainerNamespacesApi PulpContainerNamespacesCreate Post /pulp/api/v3/pulp_container/namespaces/ Create a container namespace
PulpContainerNamespacesApi PulpContainerNamespacesDelete Delete /pulp/api/v3/pulp_container/namespaces/{pulp_id}/ Delete a container namespace
PulpContainerNamespacesApi PulpContainerNamespacesList Get /pulp/api/v3/pulp_container/namespaces/ List container namespaces
PulpContainerNamespacesApi PulpContainerNamespacesListRoles Get /pulp/api/v3/pulp_container/namespaces/{pulp_id}/list_roles/
PulpContainerNamespacesApi PulpContainerNamespacesMyPermissions Get /pulp/api/v3/pulp_container/namespaces/{pulp_id}/my_permissions/
PulpContainerNamespacesApi PulpContainerNamespacesRead Get /pulp/api/v3/pulp_container/namespaces/{pulp_id}/ Inspect a container namespace
PulpContainerNamespacesApi PulpContainerNamespacesRemoveRole Post /pulp/api/v3/pulp_container/namespaces/{pulp_id}/remove_role/
RemotesApi RemotesCreate Post /pulp/api/v3/remotes/ Create a remote
RemotesApi RemotesDelete Delete /pulp/api/v3/remotes/{pulp_id}/ Delete a remote
RemotesApi RemotesList Get /pulp/api/v3/remotes/ List remotes
RemotesApi RemotesPartialUpdate Patch /pulp/api/v3/remotes/{pulp_id}/ Update a remote
RemotesApi RemotesRead Get /pulp/api/v3/remotes/{pulp_id}/ Inspect a remote
RemotesApi RemotesUpdate Put /pulp/api/v3/remotes/{pulp_id}/ Update a remote
RemotesAptApi RemotesDebAptCreate Post /pulp/api/v3/remotes/deb/apt/ Create an apt remote
RemotesAptApi RemotesDebAptDelete Delete /pulp/api/v3/remotes/deb/apt/{pulp_id}/ Delete an apt remote
RemotesAptApi RemotesDebAptList Get /pulp/api/v3/remotes/deb/apt/ List apt remotes
RemotesAptApi RemotesDebAptPartialUpdate Patch /pulp/api/v3/remotes/deb/apt/{pulp_id}/ Update an apt remote
RemotesAptApi RemotesDebAptRead Get /pulp/api/v3/remotes/deb/apt/{pulp_id}/ Inspect an apt remote
RemotesAptApi RemotesDebAptUpdate Put /pulp/api/v3/remotes/deb/apt/{pulp_id}/ Update an apt remote
RemotesContainerApi RemotesContainerContainerAddRole Post /pulp/api/v3/remotes/container/container/{pulp_id}/add_role/
RemotesContainerApi RemotesContainerContainerCreate Post /pulp/api/v3/remotes/container/container/ Create a container remote
RemotesContainerApi RemotesContainerContainerDelete Delete /pulp/api/v3/remotes/container/container/{pulp_id}/ Delete a container remote
RemotesContainerApi RemotesContainerContainerList Get /pulp/api/v3/remotes/container/container/ List container remotes
RemotesContainerApi RemotesContainerContainerListRoles Get /pulp/api/v3/remotes/container/container/{pulp_id}/list_roles/
RemotesContainerApi RemotesContainerContainerMyPermissions Get /pulp/api/v3/remotes/container/container/{pulp_id}/my_permissions/
RemotesContainerApi RemotesContainerContainerPartialUpdate Patch /pulp/api/v3/remotes/container/container/{pulp_id}/ Update a container remote
RemotesContainerApi RemotesContainerContainerRead Get /pulp/api/v3/remotes/container/container/{pulp_id}/ Inspect a container remote
RemotesContainerApi RemotesContainerContainerRemoveRole Post /pulp/api/v3/remotes/container/container/{pulp_id}/remove_role/
RemotesContainerApi RemotesContainerContainerUpdate Put /pulp/api/v3/remotes/container/container/{pulp_id}/ Update a container remote
RepairApi RepairPost Post /pulp/api/v3/repair/ Repair Artifact Storage
RepositoriesApi RepositoriesCreate Post /pulp/api/v3/repositories/ Create a repository
RepositoriesApi RepositoriesDelete Delete /pulp/api/v3/repositories/{pulp_id}/ Delete a repository
RepositoriesApi RepositoriesList Get /pulp/api/v3/repositories/ List repositories
RepositoriesApi RepositoriesPartialUpdate Patch /pulp/api/v3/repositories/{pulp_id}/ Update a repository
RepositoriesApi RepositoriesRead Get /pulp/api/v3/repositories/{pulp_id}/ Inspect a repository
RepositoriesApi RepositoriesUpdate Put /pulp/api/v3/repositories/{pulp_id}/ Update a repository
RepositoriesAptApi RepositoriesDebAptCreate Post /pulp/api/v3/repositories/deb/apt/ Create an apt repository
RepositoriesAptApi RepositoriesDebAptDelete Delete /pulp/api/v3/repositories/deb/apt/{pulp_id}/ Delete an apt repository
RepositoriesAptApi RepositoriesDebAptList Get /pulp/api/v3/repositories/deb/apt/ List apt repositorys
RepositoriesAptApi RepositoriesDebAptModify Post /pulp/api/v3/repositories/deb/apt/{pulp_id}/modify/ Modify Repository Content
RepositoriesAptApi RepositoriesDebAptPartialUpdate Patch /pulp/api/v3/repositories/deb/apt/{pulp_id}/ Update an apt repository
RepositoriesAptApi RepositoriesDebAptRead Get /pulp/api/v3/repositories/deb/apt/{pulp_id}/ Inspect an apt repository
RepositoriesAptApi RepositoriesDebAptSync Post /pulp/api/v3/repositories/deb/apt/{pulp_id}/sync/ Sync from remote
RepositoriesAptApi RepositoriesDebAptUpdate Put /pulp/api/v3/repositories/deb/apt/{pulp_id}/ Update an apt repository
RepositoriesAptVersionsApi RepositoriesDebAptVersionsDelete Delete /pulp/api/v3/repositories/deb/apt/{repository_pk}/versions/{number}/ Delete a repository version
RepositoriesAptVersionsApi RepositoriesDebAptVersionsList Get /pulp/api/v3/repositories/deb/apt/{repository_pk}/versions/ List repository versions
RepositoriesAptVersionsApi RepositoriesDebAptVersionsRead Get /pulp/api/v3/repositories/deb/apt/{repository_pk}/versions/{number}/ Inspect a repository version
RepositoriesAptVersionsApi RepositoriesDebAptVersionsRepair Post /pulp/api/v3/repositories/deb/apt/{repository_pk}/versions/{number}/repair/
RepositoriesContainerApi RepositoriesContainerContainerAdd Post /pulp/api/v3/repositories/container/container/{pulp_id}/add/ Add content
RepositoriesContainerApi RepositoriesContainerContainerAddRole Post /pulp/api/v3/repositories/container/container/{pulp_id}/add_role/
RepositoriesContainerApi RepositoriesContainerContainerBuildImage Post /pulp/api/v3/repositories/container/container/{pulp_id}/build_image/ Build an Image
RepositoriesContainerApi RepositoriesContainerContainerCopyManifests Post /pulp/api/v3/repositories/container/container/{pulp_id}/copy_manifests/ Copy manifests
RepositoriesContainerApi RepositoriesContainerContainerCopyTags Post /pulp/api/v3/repositories/container/container/{pulp_id}/copy_tags/ Copy tags
RepositoriesContainerApi RepositoriesContainerContainerCreate Post /pulp/api/v3/repositories/container/container/ Create a container repository
RepositoriesContainerApi RepositoriesContainerContainerDelete Delete /pulp/api/v3/repositories/container/container/{pulp_id}/ Delete a container repository
RepositoriesContainerApi RepositoriesContainerContainerList Get /pulp/api/v3/repositories/container/container/ List container repositorys
RepositoriesContainerApi RepositoriesContainerContainerListRoles Get /pulp/api/v3/repositories/container/container/{pulp_id}/list_roles/
RepositoriesContainerApi RepositoriesContainerContainerMyPermissions Get /pulp/api/v3/repositories/container/container/{pulp_id}/my_permissions/
RepositoriesContainerApi RepositoriesContainerContainerPartialUpdate Patch /pulp/api/v3/repositories/container/container/{pulp_id}/ Update a container repository
RepositoriesContainerApi RepositoriesContainerContainerRead Get /pulp/api/v3/repositories/container/container/{pulp_id}/ Inspect a container repository
RepositoriesContainerApi RepositoriesContainerContainerRemove Post /pulp/api/v3/repositories/container/container/{pulp_id}/remove/ Remove content
RepositoriesContainerApi RepositoriesContainerContainerRemoveRole Post /pulp/api/v3/repositories/container/container/{pulp_id}/remove_role/
RepositoriesContainerApi RepositoriesContainerContainerSign Post /pulp/api/v3/repositories/container/container/{pulp_id}/sign/ Sign images in the repo
RepositoriesContainerApi RepositoriesContainerContainerSync Post /pulp/api/v3/repositories/container/container/{pulp_id}/sync/ Sync from a remote
RepositoriesContainerApi RepositoriesContainerContainerTag Post /pulp/api/v3/repositories/container/container/{pulp_id}/tag/ Create a Tag
RepositoriesContainerApi RepositoriesContainerContainerUntag Post /pulp/api/v3/repositories/container/container/{pulp_id}/untag/ Delete a tag
RepositoriesContainerApi RepositoriesContainerContainerUpdate Put /pulp/api/v3/repositories/container/container/{pulp_id}/ Update a container repository
RepositoriesContainerPushApi RepositoriesContainerContainerPushAddRole Post /pulp/api/v3/repositories/container/container-push/{pulp_id}/add_role/
RepositoriesContainerPushApi RepositoriesContainerContainerPushList Get /pulp/api/v3/repositories/container/container-push/ List container push repositorys
RepositoriesContainerPushApi RepositoriesContainerContainerPushListRoles Get /pulp/api/v3/repositories/container/container-push/{pulp_id}/list_roles/
RepositoriesContainerPushApi RepositoriesContainerContainerPushMyPermissions Get /pulp/api/v3/repositories/container/container-push/{pulp_id}/my_permissions/
RepositoriesContainerPushApi RepositoriesContainerContainerPushPartialUpdate Patch /pulp/api/v3/repositories/container/container-push/{pulp_id}/ Update a container push repository
RepositoriesContainerPushApi RepositoriesContainerContainerPushRead Get /pulp/api/v3/repositories/container/container-push/{pulp_id}/ Inspect a container push repository
RepositoriesContainerPushApi RepositoriesContainerContainerPushRemoveImage Post /pulp/api/v3/repositories/container/container-push/{pulp_id}/remove_image/ Delete an image from a repository
RepositoriesContainerPushApi RepositoriesContainerContainerPushRemoveRole Post /pulp/api/v3/repositories/container/container-push/{pulp_id}/remove_role/
RepositoriesContainerPushApi RepositoriesContainerContainerPushRemoveSignatures Post /pulp/api/v3/repositories/container/container-push/{pulp_id}/remove_signatures/
RepositoriesContainerPushApi RepositoriesContainerContainerPushSign Post /pulp/api/v3/repositories/container/container-push/{pulp_id}/sign/ Sign images in the repo
RepositoriesContainerPushApi RepositoriesContainerContainerPushTag Post /pulp/api/v3/repositories/container/container-push/{pulp_id}/tag/ Create a Tag
RepositoriesContainerPushApi RepositoriesContainerContainerPushUntag Post /pulp/api/v3/repositories/container/container-push/{pulp_id}/untag/ Delete a tag
RepositoriesContainerPushApi RepositoriesContainerContainerPushUpdate Put /pulp/api/v3/repositories/container/container-push/{pulp_id}/ Update a container push repository
RepositoriesContainerPushVersionsApi RepositoriesContainerContainerPushVersionsDelete Delete /pulp/api/v3/repositories/container/container-push/{repository_pk}/versions/{number}/ Delete a repository version
RepositoriesContainerPushVersionsApi RepositoriesContainerContainerPushVersionsList Get /pulp/api/v3/repositories/container/container-push/{repository_pk}/versions/ List repository versions
RepositoriesContainerPushVersionsApi RepositoriesContainerContainerPushVersionsRead Get /pulp/api/v3/repositories/container/container-push/{repository_pk}/versions/{number}/ Inspect a repository version
RepositoriesContainerPushVersionsApi RepositoriesContainerContainerPushVersionsRepair Post /pulp/api/v3/repositories/container/container-push/{repository_pk}/versions/{number}/repair/
RepositoriesContainerVersionsApi RepositoriesContainerContainerVersionsDelete Delete /pulp/api/v3/repositories/container/container/{repository_pk}/versions/{number}/ Delete a repository version
RepositoriesContainerVersionsApi RepositoriesContainerContainerVersionsList Get /pulp/api/v3/repositories/container/container/{repository_pk}/versions/ List repository versions
RepositoriesContainerVersionsApi RepositoriesContainerContainerVersionsRead Get /pulp/api/v3/repositories/container/container/{repository_pk}/versions/{number}/ Inspect a repository version
RepositoriesContainerVersionsApi RepositoriesContainerContainerVersionsRepair Post /pulp/api/v3/repositories/container/container/{repository_pk}/versions/{number}/repair/
RepositoriesReclaimSpaceApi RepositoriesReclaimSpaceReclaim Post /pulp/api/v3/repositories/reclaim_space/
RepositoriesVersionsApi RepositoriesVersionsDelete Delete /pulp/api/v3/repositories/{repository_pk}/versions/{number}/ Delete a repository version
RepositoriesVersionsApi RepositoriesVersionsList Get /pulp/api/v3/repositories/{repository_pk}/versions/ List repository versions
RepositoriesVersionsApi RepositoriesVersionsRead Get /pulp/api/v3/repositories/{repository_pk}/versions/{number}/ Inspect a repository version
RepositoriesVersionsApi RepositoriesVersionsRepair Post /pulp/api/v3/repositories/{repository_pk}/versions/{number}/repair/
RepositoryVersionsApi RepositoryVersionsList Get /pulp/api/v3/repository_versions/ List repository versions
RolesApi RolesCreate Post /pulp/api/v3/roles/ Create a role
RolesApi RolesDelete Delete /pulp/api/v3/roles/{pulp_id}/ Delete a role
RolesApi RolesList Get /pulp/api/v3/roles/ List roles
RolesApi RolesPartialUpdate Patch /pulp/api/v3/roles/{pulp_id}/ Update a role
RolesApi RolesRead Get /pulp/api/v3/roles/{pulp_id}/ Inspect a role
RolesApi RolesUpdate Put /pulp/api/v3/roles/{pulp_id}/ Update a role
SigningServicesApi SigningServicesList Get /pulp/api/v3/signing-services/ List signing services
SigningServicesApi SigningServicesRead Get /pulp/api/v3/signing-services/{pulp_id}/ Inspect a signing service
StatusApi StatusRead Get /pulp/api/v3/status/ Inspect status of Pulp
TaskGroupsApi TaskGroupsList Get /pulp/api/v3/task-groups/ List task groups
TaskGroupsApi TaskGroupsRead Get /pulp/api/v3/task-groups/{pulp_id}/ Inspect a task group
TaskSchedulesApi TaskSchedulesAddRole Post /pulp/api/v3/task-schedules/{pulp_id}/add_role/
TaskSchedulesApi TaskSchedulesList Get /pulp/api/v3/task-schedules/ List task schedules
TaskSchedulesApi TaskSchedulesListRoles Get /pulp/api/v3/task-schedules/{pulp_id}/list_roles/
TaskSchedulesApi TaskSchedulesMyPermissions Get /pulp/api/v3/task-schedules/{pulp_id}/my_permissions/
TaskSchedulesApi TaskSchedulesRead Get /pulp/api/v3/task-schedules/{pulp_id}/ Inspect a task schedule
TaskSchedulesApi TaskSchedulesRemoveRole Post /pulp/api/v3/task-schedules/{pulp_id}/remove_role/
TasksApi TasksAddRole Post /pulp/api/v3/tasks/{pulp_id}/add_role/
TasksApi TasksCancel Patch /pulp/api/v3/tasks/{pulp_id}/ Cancel a task
TasksApi TasksDelete Delete /pulp/api/v3/tasks/{pulp_id}/ Delete a task
TasksApi TasksList Get /pulp/api/v3/tasks/ List tasks
TasksApi TasksListRoles Get /pulp/api/v3/tasks/{pulp_id}/list_roles/
TasksApi TasksMyPermissions Get /pulp/api/v3/tasks/{pulp_id}/my_permissions/
TasksApi TasksPurge Post /pulp/api/v3/tasks/purge/ Purge Completed Tasks
TasksApi TasksRead Get /pulp/api/v3/tasks/{pulp_id}/ Inspect a task
TasksApi TasksRemoveRole Post /pulp/api/v3/tasks/{pulp_id}/remove_role/
TokenApi TokenGet Get /token/
UploadsApi UploadsCommit Post /pulp/api/v3/uploads/{pulp_id}/commit/ Finish an Upload
UploadsApi UploadsCreate Post /pulp/api/v3/uploads/ Create an upload
UploadsApi UploadsDelete Delete /pulp/api/v3/uploads/{pulp_id}/ Delete an upload
UploadsApi UploadsList Get /pulp/api/v3/uploads/ List uploads
UploadsApi UploadsRead Get /pulp/api/v3/uploads/{pulp_id}/ Inspect an upload
UploadsApi UploadsUpdate Put /pulp/api/v3/uploads/{pulp_id}/ Upload a file chunk
UsersApi UsersCreate Post /pulp/api/v3/users/ Create an user
UsersApi UsersDelete Delete /pulp/api/v3/users/{id}/ Delete an user
UsersApi UsersList Get /pulp/api/v3/users/ List users
UsersApi UsersPartialUpdate Patch /pulp/api/v3/users/{id}/ Update an user
UsersApi UsersRead Get /pulp/api/v3/users/{id}/ Inspect an user
UsersApi UsersUpdate Put /pulp/api/v3/users/{id}/ Update an user
UsersRolesApi UsersRolesCreate Post /pulp/api/v3/users/{user_pk}/roles/ Create an user role
UsersRolesApi UsersRolesDelete Delete /pulp/api/v3/users/{user_pk}/roles/{pulp_id}/ Delete an user role
UsersRolesApi UsersRolesList Get /pulp/api/v3/users/{user_pk}/roles/ List user roles
UsersRolesApi UsersRolesRead Get /pulp/api/v3/users/{user_pk}/roles/{pulp_id}/ Inspect an user role
WorkersApi WorkersList Get /pulp/api/v3/workers/ List workers
WorkersApi WorkersRead Get /pulp/api/v3/workers/{pulp_id}/ Inspect a worker

Documentation For Models

Documentation For Authorization

basicAuth

  • Type: HTTP basic authentication

Example

auth := context.WithValue(context.Background(), sw.ContextBasicAuth, sw.BasicAuth{
    UserName: "username",
    Password: "password",
})
r, err := client.Service.Operation(auth, args)

cookieAuth

  • Type: API key
  • API key parameter name: sessionid
  • Location:

Note, each API key must be added to a map of map[string]APIKey where the key is: sessionid and passed in as the auth context for each request.

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

pulp-list@redhat.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages