Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sdk ¶
type Sdk struct {
// contains filtered or unexported fields
}
func (*Sdk) AcceptEula ¶
func (s *Sdk) AcceptEula(tile config.PivnetMetadata) error
func (*Sdk) DownloadTile ¶
DownloadTile retrieves a given productSlug, releaseId, and fileId from PivNet If a os.File is return it is guarenteed to match the fileSha256 If an error is returned no os.File will be returned
Caller is responsible for deleting the os.File
func (*Sdk) DownloadTileToPath ¶
func (s *Sdk) DownloadTileToPath(tile config.PivnetMetadata, path string) (file *os.File, err error)
DownloadTileToPath is a version of DownloadTile that accepts a path specifying download location of the tile.
Click to show internal directories.
Click to hide internal directories.