framework

package
v0.0.0-...-c641a3c Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2019 License: Apache-2.0 Imports: 2 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckIfFrameworkExists

func CheckIfFrameworkExists(fwName, fwVersion, learnerConfigPath string) (bool, error)

CheckIfFrameworkExists Checks if the specified framework exists

func GetImageBuildTagForFramework

func GetImageBuildTagForFramework(fwName, fwVersion, learnerConfigPath string) string

GetImageBuildTagForFramework Returns the latest build tag for a specified framework and version

Types

type DetailList

type DetailList struct {
	Versions []*Details
}

DetailList list of versions for a framework

type Details

type Details struct {
	Version   string
	External  bool
	Build     string
	PrevBuild string
}

Details Specific details for a framework version

type Frameworks

type Frameworks struct {
	Frameworks map[string]*DetailList
}

Frameworks All frameworks supported and maintained by dlaas

func GetFrameworks

func GetFrameworks(learnerConfigPath string) (Frameworks, error)

GetFrameworks returns the frameworks and their versions that are stored in the path to the learnerConfig

Jump to

Keyboard shortcuts

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