Documentation ¶
Index ¶
- type FileGroupClient
- func (c *FileGroupClient) AddToRelease(productSlug string, fileGroupID int, releaseVersion string) error
- func (c *FileGroupClient) Create(productSlug string, name string) error
- func (c *FileGroupClient) Delete(productSlug string, fileGroupID int) error
- func (c *FileGroupClient) Get(productSlug string, fileGroupID int) error
- func (c *FileGroupClient) List(productSlug string, releaseVersion string) error
- func (c *FileGroupClient) RemoveFromRelease(productSlug string, fileGroupID int, releaseVersion string) error
- func (c *FileGroupClient) Update(productSlug string, fileGroupID int, name *string) error
- type PivnetClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileGroupClient ¶
type FileGroupClient struct {
// contains filtered or unexported fields
}
func NewFileGroupClient ¶
func NewFileGroupClient( pivnetClient PivnetClient, eh errorhandler.ErrorHandler, format string, outputWriter io.Writer, printer printer.Printer, ) *FileGroupClient
func (*FileGroupClient) AddToRelease ¶
func (c *FileGroupClient) AddToRelease( productSlug string, fileGroupID int, releaseVersion string, ) error
func (*FileGroupClient) Create ¶
func (c *FileGroupClient) Create(productSlug string, name string) error
func (*FileGroupClient) Delete ¶
func (c *FileGroupClient) Delete(productSlug string, fileGroupID int) error
func (*FileGroupClient) Get ¶
func (c *FileGroupClient) Get(productSlug string, fileGroupID int) error
func (*FileGroupClient) List ¶
func (c *FileGroupClient) List(productSlug string, releaseVersion string) error
func (*FileGroupClient) RemoveFromRelease ¶
func (c *FileGroupClient) RemoveFromRelease( productSlug string, fileGroupID int, releaseVersion string, ) error
type PivnetClient ¶
type PivnetClient interface { FileGroups(productSlug string) ([]pivnet.FileGroup, error) FileGroupsForRelease(productSlug string, releaseID int) ([]pivnet.FileGroup, error) ReleaseForVersion(productSlug string, releaseVersion string) (pivnet.Release, error) FileGroup(productSlug string, fileGroupID int) (pivnet.FileGroup, error) CreateFileGroup(productSlug string, name string) (pivnet.FileGroup, error) UpdateFileGroup(productSlug string, fileGroup pivnet.FileGroup) (pivnet.FileGroup, error) DeleteFileGroup(productSlug string, fileGroupID int) (pivnet.FileGroup, error) AddFileGroupToRelease(productSlug string, fileGroupID int, releaseID int) error RemoveFileGroupFromRelease(productSlug string, fileGroupID int, releaseID int) error }
Directories ¶
Path | Synopsis |
---|---|
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.