dependencyspecifier

package
v2.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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) Create

func (c *DependencySpecifierClient) Create(
	productSlug string,
	releaseVersion string,
	dependentProductSlug string,
	specifier string,
) error

func (*DependencySpecifierClient) Delete

func (c *DependencySpecifierClient) Delete(
	productSlug string,
	releaseVersion string,
	dependencySpecifierID int,
) error

func (*DependencySpecifierClient) Get

func (c *DependencySpecifierClient) Get(
	productSlug string,
	releaseVersion string,
	dependencySpecifierID int,
) error

func (*DependencySpecifierClient) List

func (c *DependencySpecifierClient) List(productSlug string, releaseVersion string) 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
}

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL