releasedependency

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2020 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PivnetClient

type PivnetClient interface {
	ReleaseForVersion(productSlug string, releaseVersion string) (pivnet.Release, error)
	ReleaseDependencies(productSlug string, releaseID int) ([]pivnet.ReleaseDependency, error)
	AddReleaseDependency(productSlug string, releaseID int, dependentReleaseID int) error
	RemoveReleaseDependency(productSlug string, releaseID int, dependentReleaseID int) error
}

type ReleaseDependencyClient

type ReleaseDependencyClient struct {
	// contains filtered or unexported fields
}

func NewReleaseDependencyClient

func NewReleaseDependencyClient(
	pivnetClient PivnetClient,
	eh errorhandler.ErrorHandler,
	format string,
	outputWriter io.Writer,
	printer printer.Printer,
) *ReleaseDependencyClient

func (*ReleaseDependencyClient) Add

func (c *ReleaseDependencyClient) Add(
	productSlug string,
	releaseVersion string,
	dependentProductSlug string,
	dependentReleaseVersion string,
) error

func (*ReleaseDependencyClient) List

func (c *ReleaseDependencyClient) List(productSlug string, releaseVersion string) error

func (*ReleaseDependencyClient) Remove

func (c *ReleaseDependencyClient) Remove(
	productSlug string,
	releaseVersion string,
	dependentProductSlug string,
	dependentReleaseVersion string,
) 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