filegroup

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileGroupClient

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

func NewFileGroupClient

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

func (*FileGroupClient) AddToRelease

func (c *FileGroupClient) AddToRelease(
	productSlug string,
	fileGroupID int,
	releaseVersion string,
) error

func (*FileGroupClient) Create

func (c *FileGroupClient) Create(productSlug string, name string) error

func (*FileGroupClient) Delete

func (c *FileGroupClient) Delete(productSlug string, fileGroupID int) error

func (*FileGroupClient) Get

func (c *FileGroupClient) Get(productSlug string, fileGroupID int) error

func (*FileGroupClient) List

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

func (*FileGroupClient) RemoveFromRelease

func (c *FileGroupClient) RemoveFromRelease(
	productSlug string,
	fileGroupID int,
	releaseVersion string,
) error

func (*FileGroupClient) Update

func (c *FileGroupClient) Update(
	productSlug string,
	fileGroupID int,
	name *string,
) error

type PivnetClient

type PivnetClient interface {
	FileGroups(productSlug string) ([]pivnet.FileGroup, error)
	FileGroupsForRelease(productSlug string, releaseID int) ([]pivnet.FileGroup, error)
	ReleaseForVersion(productSlug string, releaseVersion string) (pivnet.Release, error)
	FileGroup(productSlug string, fileGroupID int) (pivnet.FileGroup, error)
	CreateFileGroup(productSlug string, name string) (pivnet.FileGroup, error)
	UpdateFileGroup(productSlug string, fileGroup pivnet.FileGroup) (pivnet.FileGroup, error)
	DeleteFileGroup(productSlug string, fileGroupID int) (pivnet.FileGroup, error)
	AddFileGroupToRelease(productSlug string, fileGroupID int, releaseID int) error
	RemoveFileGroupFromRelease(productSlug string, fileGroupID int, releaseID int) 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