Documentation ¶
Index ¶
- type PivnetClient
- type ReleaseClient
- func (c *ReleaseClient) Create(productSlug string, releaseVersion string, releaseType string, eulaSlug string) error
- func (c *ReleaseClient) Delete(productSlug string, releaseVersion string) error
- func (c *ReleaseClient) Get(productSlug string, releaseVersion string) error
- func (c *ReleaseClient) List(productSlug string) error
- func (c *ReleaseClient) ListWithLimit(productSlug string, limit string) error
- func (c *ReleaseClient) Update(productSlug string, releaseVersion string, availability *string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PivnetClient ¶
type PivnetClient interface { ReleasesForProductSlug(productSlug string, params ...pivnet.QueryParameter) ([]pivnet.Release, error) ReleaseForVersion(productSlug string, releaseVersion string) (pivnet.Release, error) CreateRelease(config pivnet.CreateReleaseConfig) (pivnet.Release, error) UpdateRelease(productSlug string, release pivnet.Release) (pivnet.Release, error) DeleteRelease(productSlug string, release pivnet.Release) error EULAs() ([]pivnet.EULA, error) ReleaseTypes() ([]pivnet.ReleaseType, error) }
type ReleaseClient ¶
type ReleaseClient struct {
// contains filtered or unexported fields
}
func NewReleaseClient ¶
func NewReleaseClient( pivnetClient PivnetClient, eh errorhandler.ErrorHandler, format string, outputWriter io.Writer, printer printer.Printer, ) *ReleaseClient
func (*ReleaseClient) Delete ¶
func (c *ReleaseClient) Delete(productSlug string, releaseVersion string) error
func (*ReleaseClient) Get ¶
func (c *ReleaseClient) Get( productSlug string, releaseVersion string, ) error
func (*ReleaseClient) List ¶
func (c *ReleaseClient) List(productSlug string) error
func (*ReleaseClient) ListWithLimit ¶ added in v0.0.72
func (c *ReleaseClient) ListWithLimit(productSlug string, limit string) error
Click to show internal directories.
Click to hide internal directories.