Documentation ¶
Index ¶
- type DependencySpecifierClient
- func (c *DependencySpecifierClient) Create(productSlug string, releaseVersion string, dependentProductSlug string, ...) error
- func (c *DependencySpecifierClient) Delete(productSlug string, releaseVersion string, dependencySpecifierID int) error
- func (c *DependencySpecifierClient) Get(productSlug string, releaseVersion string, dependencySpecifierID int) error
- func (c *DependencySpecifierClient) List(productSlug string, releaseVersion string) error
- type PivnetClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DependencySpecifierClient ¶
type DependencySpecifierClient struct {
// contains filtered or unexported fields
}
func NewDependencySpecifierClient ¶
func NewDependencySpecifierClient( pivnetClient PivnetClient, eh errorhandler.ErrorHandler, format string, outputWriter io.Writer, printer printer.Printer, ) *DependencySpecifierClient
func (*DependencySpecifierClient) Delete ¶
func (c *DependencySpecifierClient) Delete( productSlug string, releaseVersion string, dependencySpecifierID int, ) error
type PivnetClient ¶
type PivnetClient interface { ReleaseForVersion(productSlug string, releaseVersion string) (pivnet.Release, error) DependencySpecifiers(productSlug string, releaseID int) ([]pivnet.DependencySpecifier, error) DependencySpecifier(productSlug string, releaseID int, dependencySpecifierID int) (pivnet.DependencySpecifier, error) CreateDependencySpecifier(productSlug string, releaseID int, dependentProductSlug string, specifier string) (pivnet.DependencySpecifier, error) DeleteDependencySpecifier(productSlug string, releaseID int, dependencySpecifierID int) error }
Click to show internal directories.
Click to hide internal directories.