release

package
v0.0.32 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2016 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CLIRelease

type CLIRelease struct {
	pivnet.Release `yaml:",inline"`
	Fingerprint    string `json:"fingerprint,omitempty"`
}

type PivnetClient

type PivnetClient interface {
	ReleasesForProductSlug(productSlug string) ([]pivnet.Release, error)
	ReleaseForVersion(productSlug string, releaseVersion string) (pivnet.Release, error)
	CreateRelease(config pivnet.CreateReleaseConfig) (pivnet.Release, error)
	DeleteRelease(productSlug string, release pivnet.Release) error
	ReleaseFingerprint(productSlug string, releaseID int) (string, 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) Create

func (c *ReleaseClient) Create(
	productSlug string,
	releaseVersion string,
	releaseType string,
	eulaSlug string,
) error

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

Directories

Path Synopsis
This file was generated by counterfeiter
This file was generated by counterfeiter

Jump to

Keyboard shortcuts

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