provider

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Download

type Download struct {
	Protocols []string `json:"protocols"`
	OS        string   `json:"os"`
	Arch      string   `json:"arch"`
	*DownloadMeta
}

Download desribes response for downloading provider

type DownloadMeta

type DownloadMeta struct {
	Filename            string             `json:"filename"`
	DownloadURL         string             `json:"download_url"`
	ShasumsURL          string             `json:"shasums_url"`
	ShasumsSignatureURL string             `json:"shasums_signature_url"`
	Shasum              string             `json:"shasum"`
	SigningKeys         config.SigningKeys `json:"signing_keys"`
}

DownloadMeta desribes metadata for downloding

type DownloadQuery

type DownloadQuery struct {
	Namespace string
	Type      string
	Version   string
	OS        string
	Arch      string
}

DownloadQuery desribes query for finding provider

type Platform

type Platform struct {
	OS   string `json:"os"`
	Arch string `json:"arch"`
}

Platform describes provider platform

type Version

type Version struct {
	Name      string     `json:"version"`
	Protocols []string   `json:"protocols"`
	Platforms []Platform `json:"platforms"`
}

Version desribes provider version

type Versions

type Versions struct {
	Versions []Version `json:"versions"`
}

Versions describes response for provider verions

Jump to

Keyboard shortcuts

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