metadata

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthenticatedPivnetClient

type AuthenticatedPivnetClient struct {
	ClientConfig pivnetapi.ClientConfig
	HTTPClient   *http.Client
}

func (AuthenticatedPivnetClient) Do

func (AuthenticatedPivnetClient) Get

func (AuthenticatedPivnetClient) Head

type FileProvider

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

func (*FileProvider) MetadataBytes

func (f *FileProvider) MetadataBytes() ([]byte, error)

type PivnetProvider

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

func (*PivnetProvider) MetadataBytes

func (p *PivnetProvider) MetadataBytes() ([]byte, error)

type Provider

type Provider interface {
	MetadataBytes() ([]byte, error)
}

func NewFileProvider

func NewFileProvider(pathToPivotalFile string) Provider

func NewPivnetProvider

func NewPivnetProvider(token, slug, version, glob string) Provider

Jump to

Keyboard shortcuts

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