eula

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 EULAClient

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

func NewEULAClient

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

func (*EULAClient) AcceptEULA

func (c *EULAClient) AcceptEULA(productSlug string, releaseVersion string) error

func (*EULAClient) Get

func (c *EULAClient) Get(eulaSlug string) error

func (*EULAClient) List

func (c *EULAClient) List() error

type PivnetClient

type PivnetClient interface {
	AcceptEULA(productSlug string, releaseID int) error
	EULAs() ([]pivnet.EULA, error)
	EULA(eulaSlug string) (pivnet.EULA, error)
	ReleaseForVersion(productSlug string, releaseVersion string) (pivnet.Release, 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