Documentation ¶
Index ¶
- func GetProviderInputsFromRequest(r *http.Request) (string, string, string)
- func GetProviderNameFromRequest(r *http.Request) string
- func New() *providersV1HttpService
- type GPGPublicKey
- type Platform
- type PlatformMetadataResponse
- type Protocols
- type ProviderData
- type ProviderMetadata
- type ProviderVersionsResponse
- type SigningKeys
- type VersionData
- type VersionItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GPGPublicKey ¶
type PlatformMetadataResponse ¶
type PlatformMetadataResponse struct { Protocols Protocols `json:"protocols"` OS string `json:"os"` Arch string `json:"arch"` Filename string `json:"filename"` DownloadURL string `json:"download_url"` ShasumsURL string `json:"shasums_url"` ShasumsSigURL string `json:"shasums_signature_url"` Shasum string `json:"shasum"` SigningKeys SigningKeys `json:"signing_keys"` }
type ProviderData ¶
type ProviderData map[string]*VersionData
type ProviderMetadata ¶
type ProviderMetadata struct { OS string `json:"os"` Arch string `json:"arch"` 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 SigningKeys `json:"signing_keys"` }
type ProviderVersionsResponse ¶
type ProviderVersionsResponse struct {
Versions []VersionItem `json:"versions"`
}
type SigningKeys ¶
type SigningKeys struct {
GPGPublicKeys []GPGPublicKey `json:"gpg_public_keys"`
}
type VersionData ¶
type VersionData struct { Protocols Protocols `json:"protocols"` Platforms []ProviderMetadata `json:"platforms"` }
type VersionItem ¶
Click to show internal directories.
Click to hide internal directories.