image

package
v1.8.7 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package image get available container images

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitHub added in v1.8.0

type GitHub struct {
	Client *github.Client
}

func NewGitHubClient added in v1.8.0

func NewGitHubClient(ctx context.Context) (*GitHub, error)

func (*GitHub) CreateMLImageInformationList added in v1.8.0

func (g *GitHub) CreateMLImageInformationList(parent context.Context, mlImageNameSlice []string) (map[string]*MLImageInfo, error)

CreateMLImageInformationList will return completely image information

func (*GitHub) CreateMLImageNameList added in v1.8.0

func (g *GitHub) CreateMLImageNameList(ctx context.Context) ([]string, error)

CreateMLImageNameList is super set for GetImageName(ctx context.Context)

func (*GitHub) GetMLImageLibraryVersion added in v1.8.0

func (g *GitHub) GetMLImageLibraryVersion(ctx context.Context, imageName string) (*MLImageInfo, error)

GetMLImageLibraryVersion will return python library version

type MLImageInfo

type MLImageInfo struct {
	//PackageVersions is version of packages
	PackageVersions PackageVersions
	//TensorflowGPUVersion is version for tensorflow-gpu
	TensorflowGPUVersion string
	//KerasVersion is version for keras
	KerasVersion string
	//TorchVersion is version for torch
	TorchVersion string
	//TorchVisionVersion is version for torch vision
	TorchVisionVersion string
	//DocsLink is the hyperlink to see a document written about a specific container image version.
	DocsLink string
	//RegistryName is container registry name
	RegistryName string
}

MLImageInfo is python library version installed in machinelearning-images

type PackageVersions added in v1.8.0

type PackageVersions struct {
	ImageStatus     string `json:"IMAGE_STATUS"`
	AnacondaVersion string `json:"ANACONDA_VERSION"`
}

Jump to

Keyboard shortcuts

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