Documentation ¶
Index ¶
- type AccessTokenService
- type Client
- func (c Client) AcceptEULA(productSlug string, releaseID int) error
- func (c Client) AddArtifactReferenceToRelease(productSlug string, artifactReferenceID int, releaseID int) error
- func (c Client) AddFileGroupToRelease(productSlug string, fileGroupID int, releaseID int) error
- func (c Client) AddMemberToGroup(userGroupID int, emailAddress string, admin bool) (pivnet.UserGroup, error)
- func (c Client) AddProductFileToFileGroup(productSlug string, fileGroupID int, productFileID int) error
- func (c Client) AddProductFileToRelease(productSlug string, releaseID int, productFileID int) error
- func (c Client) AddReleaseDependency(productSlug string, releaseID int, dependentReleaseID int) error
- func (c Client) AddReleaseUpgradePath(productSlug string, releaseID int, previousReleaseID int) error
- func (c Client) AddSubscriptionGroupMember(subscriptionGroupID int, emailAddress string, isAdmin string) (pivnet.SubscriptionGroup, error)
- func (c Client) AddUserGroup(productSlug string, releaseID int, userGroupID int) error
- func (c Client) ArtifactReference(productSlug string, artifactReferenceID int) (pivnet.ArtifactReference, error)
- func (c Client) ArtifactReferenceForRelease(productSlug string, releaseID int, artifactReferenceID int) (pivnet.ArtifactReference, error)
- func (c Client) ArtifactReferences(productSlug string) ([]pivnet.ArtifactReference, error)
- func (c Client) ArtifactReferencesForDigest(productSlug string, artifactReferenceDigest string) ([]pivnet.ArtifactReference, error)
- func (c Client) ArtifactReferencesForRelease(productSlug string, releaseID int) ([]pivnet.ArtifactReference, error)
- func (c Client) Auth() (bool, error)
- func (c Client) CreateArtifactReference(config pivnet.CreateArtifactReferenceConfig) (pivnet.ArtifactReference, error)
- func (c Client) CreateDependencySpecifier(productSlug string, releaseID int, dependentProductSlug string, ...) (pivnet.DependencySpecifier, error)
- func (c Client) CreateFileGroup(productSlug string, name string) (pivnet.FileGroup, error)
- func (c Client) CreateProductFile(config pivnet.CreateProductFileConfig) (pivnet.ProductFile, error)
- func (c Client) CreateRelease(config pivnet.CreateReleaseConfig) (pivnet.Release, error)
- func (c Client) CreateRequest(method string, url string, body io.Reader) (*http.Request, error)
- func (c Client) CreateUserGroup(name string, description string, members []string) (pivnet.UserGroup, error)
- func (c Client) DeleteArtifactReference(productSlug string, artifactReferenceID int) (pivnet.ArtifactReference, error)
- func (c Client) DeleteDependencySpecifier(productSlug string, releaseID int, dependencySpecifierID int) error
- func (c Client) DeleteFileGroup(productSlug string, fileGroupID int) (pivnet.FileGroup, error)
- func (c Client) DeleteProductFile(productSlug string, productFileID int) (pivnet.ProductFile, error)
- func (c Client) DeleteRelease(productSlug string, release pivnet.Release) error
- func (c Client) DeleteUserGroup(userGroupID int) error
- func (c Client) DependencySpecifier(productSlug string, releaseID int, dependencySpecifierID int) (pivnet.DependencySpecifier, error)
- func (c Client) DependencySpecifiers(productSlug string, releaseID int) ([]pivnet.DependencySpecifier, error)
- func (c Client) DownloadProductFile(location *download.FileInfo, productSlug string, releaseID int, ...) error
- func (c Client) EULA(eulaSlug string) (pivnet.EULA, error)
- func (c Client) EULAs() ([]pivnet.EULA, error)
- func (c Client) FileGroup(productSlug string, fileGroupID int) (pivnet.FileGroup, error)
- func (c Client) FileGroups(productSlug string) ([]pivnet.FileGroup, error)
- func (c Client) FileGroupsForRelease(productSlug string, releaseID int) ([]pivnet.FileGroup, error)
- func (c Client) FindProductForSlug(slug string) (pivnet.Product, error)
- func (c Client) MakeRequest(method string, url string, expectedResponseCode int, body io.Reader) (*http.Response, error)
- func (c Client) PivnetVersions() (pivnet.PivnetVersions, error)
- func (c Client) ProductFile(productSlug string, productFileID int) (pivnet.ProductFile, error)
- func (c Client) ProductFileForRelease(productSlug string, releaseID int, productFileID int) (pivnet.ProductFile, error)
- func (c Client) ProductFiles(productSlug string) ([]pivnet.ProductFile, error)
- func (c Client) ProductFilesForRelease(productSlug string, releaseID int) ([]pivnet.ProductFile, error)
- func (c Client) Products() ([]pivnet.Product, error)
- func (c Client) Release(productSlug string, releaseID int) (pivnet.Release, error)
- func (c Client) ReleaseDependencies(productSlug string, releaseID int) ([]pivnet.ReleaseDependency, error)
- func (c Client) ReleaseForVersion(productSlug string, releaseVersion string) (pivnet.Release, error)
- func (c Client) ReleaseTypes() ([]pivnet.ReleaseType, error)
- func (c Client) ReleaseUpgradePaths(productSlug string, releaseID int) ([]pivnet.ReleaseUpgradePath, error)
- func (c Client) ReleasesForProductSlug(productSlug string, params ...pivnet.QueryParameter) ([]pivnet.Release, error)
- func (c Client) RemoveArtifactReferenceFromRelease(productSlug string, artifactReferenceID int, releaseID int) error
- func (c Client) RemoveFileGroupFromRelease(productSlug string, fileGroupID int, releaseID int) error
- func (c Client) RemoveMemberFromGroup(userGroupID int, emailAddress string) (pivnet.UserGroup, error)
- func (c Client) RemoveProductFileFromFileGroup(productSlug string, fileGroupID int, productFileID int) error
- func (c Client) RemoveProductFileFromRelease(productSlug string, releaseID int, productFileID int) error
- func (c Client) RemoveReleaseDependency(productSlug string, releaseID int, dependentReleaseID int) error
- func (c Client) RemoveReleaseUpgradePath(productSlug string, releaseID int, previousReleaseID int) error
- func (c Client) RemoveSubscriptionGroupMember(subscriptionGroupID int, emailAddress string) (pivnet.SubscriptionGroup, error)
- func (c Client) RemoveUserGroup(productSlug string, releaseID int, userGroupID int) error
- func (c Client) SlugAlias(slug string) (pivnet.SlugAliasResponse, error)
- func (c Client) SubscriptionGroup(subscriptionGroupID int) (pivnet.SubscriptionGroup, error)
- func (c Client) SubscriptionGroups() ([]pivnet.SubscriptionGroup, error)
- func (c Client) UpdateArtifactReference(productSlug string, artifactReference pivnet.ArtifactReference) (pivnet.ArtifactReference, error)
- func (c Client) UpdateFileGroup(productSlug string, fileGroup pivnet.FileGroup) (pivnet.FileGroup, error)
- func (c Client) UpdateProductFile(productSlug string, productFile pivnet.ProductFile) (pivnet.ProductFile, error)
- func (c Client) UpdateRelease(productSlug string, release pivnet.Release) (pivnet.Release, error)
- func (c Client) UpdateUserGroup(userGroup pivnet.UserGroup) (pivnet.UserGroup, error)
- func (c Client) UserGroup(userGroupID int) (pivnet.UserGroup, error)
- func (c Client) UserGroups() ([]pivnet.UserGroup, error)
- func (c Client) UserGroupsForRelease(productSlug string, releaseID int) ([]pivnet.UserGroup, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessTokenService ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(token AccessTokenService, config pivnet.ClientConfig, logger logger.Logger) *Client
func (Client) AddArtifactReferenceToRelease ¶
func (Client) AddFileGroupToRelease ¶
func (Client) AddMemberToGroup ¶
func (Client) AddProductFileToFileGroup ¶
func (Client) AddProductFileToRelease ¶
func (Client) AddReleaseDependency ¶
func (Client) AddReleaseUpgradePath ¶
func (Client) AddSubscriptionGroupMember ¶
func (Client) AddUserGroup ¶
func (Client) ArtifactReference ¶
func (Client) ArtifactReferenceForRelease ¶
func (Client) ArtifactReferences ¶
func (Client) ArtifactReferencesForDigest ¶
func (Client) ArtifactReferencesForRelease ¶
func (Client) CreateArtifactReference ¶
func (Client) CreateDependencySpecifier ¶
func (Client) CreateFileGroup ¶
func (Client) CreateProductFile ¶
func (Client) CreateRelease ¶
func (Client) CreateRequest ¶
func (Client) CreateUserGroup ¶
func (Client) DeleteArtifactReference ¶
func (Client) DeleteDependencySpecifier ¶
func (Client) DeleteFileGroup ¶
func (Client) DeleteProductFile ¶
func (Client) DeleteRelease ¶
func (Client) DeleteUserGroup ¶
func (Client) DependencySpecifier ¶
func (Client) DependencySpecifiers ¶
func (Client) DownloadProductFile ¶
func (Client) FileGroups ¶
func (Client) FileGroupsForRelease ¶
func (Client) FindProductForSlug ¶
func (Client) MakeRequest ¶
func (Client) PivnetVersions ¶
func (Client) ProductFile ¶
func (Client) ProductFileForRelease ¶
func (Client) ProductFiles ¶
func (Client) ProductFilesForRelease ¶
func (Client) ReleaseDependencies ¶
func (Client) ReleaseForVersion ¶
func (Client) ReleaseTypes ¶
func (Client) ReleaseUpgradePaths ¶
func (Client) ReleasesForProductSlug ¶
func (Client) RemoveArtifactReferenceFromRelease ¶
func (Client) RemoveFileGroupFromRelease ¶
func (Client) RemoveMemberFromGroup ¶
func (Client) RemoveProductFileFromFileGroup ¶
func (Client) RemoveProductFileFromRelease ¶
func (Client) RemoveReleaseDependency ¶
func (Client) RemoveReleaseUpgradePath ¶
func (Client) RemoveSubscriptionGroupMember ¶
func (Client) RemoveUserGroup ¶
func (Client) SubscriptionGroup ¶
func (Client) SubscriptionGroups ¶
func (Client) UpdateArtifactReference ¶
func (Client) UpdateFileGroup ¶
func (Client) UpdateProductFile ¶
func (Client) UpdateRelease ¶
func (Client) UpdateUserGroup ¶
func (Client) UserGroups ¶
Click to show internal directories.
Click to hide internal directories.