Documentation
¶
Index ¶
- type Fetcher
- func (f *Fetcher) FetchCLIInfo(ctx context.Context, cliInfo versions.CLIInfo) (versions.CLIInfo, error)
- func (f *Fetcher) FetchImageInfo(ctx context.Context, imageInfo versions.ImageInfo) (versions.ImageInfo, error)
- func (f *Fetcher) FetchVersionLatest(ctx context.Context, latest versions.Latest) (versions.Latest, error)
- func (f *Fetcher) FetchVersionList(ctx context.Context, list versions.List) (versions.List, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fetcher ¶
type Fetcher struct {
fetcher.HTTPClient
}
Fetcher fetches version API resources without authentication.
func (*Fetcher) FetchCLIInfo ¶
func (f *Fetcher) FetchCLIInfo(ctx context.Context, cliInfo versions.CLIInfo) (versions.CLIInfo, error)
FetchCLIInfo fetches the given cli info from the versions API.
func (*Fetcher) FetchImageInfo ¶
func (f *Fetcher) FetchImageInfo(ctx context.Context, imageInfo versions.ImageInfo) (versions.ImageInfo, error)
FetchImageInfo fetches the given image info from the versions API.
Click to show internal directories.
Click to hide internal directories.