package
2.5.1+incompatible
Repository: https://github.com/deis/workflow-manager.git
Documentation: pkg.go.dev
# Functions
AddUpdateData adds UpdateAvailable field data to cluster components Any cluster object modifications are made "in-place".
GetAvailableVersions gets available component version data from the cache.
GetCluster collects all cluster metadata and returns a Cluster.
GetDoctorInfo collects doctor info and return DoctorInfo struct.
GetID gets the cluster ID from the cache.
GetInstalled collects all installed components and returns a Cluster.
GetLatestVersion returns the latest known version of a deis component.
NewAvailableVersionsFromAPI returns a new AvailableVersions implementation that fetches its version information from a workflow manager API.
NewClusterIDFromPersistentStorage returns a new ClusterID implementation that uses the kubernetes API to get its cluster information.
NewestSemVer returns the newest (largest) semver string.
NewInstalledDeisData returns a new InstalledDeisData using rcl as the rc.Lister implementation.
NewLatestReleasedComponent creates a new AvailableComponentVersion that gets the latest released component using sgc as the implementation to get and create secrets.
ParseJSONCluster converts a JSON representation of a cluster to a Cluster type.
# Structs
ComponentVersionsJSONWrapper is the JSON compatible struct that holds a slice of types.ComponentVersion structs.
SparseComponentAndTrainInfo is the JSON compatible struct that holds a SparseComponentInfo and SparseVersionInfo.
SparseComponentAndTrainInfoJSONWrapper is the JSON compatible struct that holds a slice of SparseComponentAndTrainInfo structs.
SparseComponentInfo is the JSON compatible struct that holds limited data about a component.
SparseVersionInfo is the JSON compatible struct that holds limited data about a component version.
# Interfaces
AvailableComponentVersion is an interface for managing component version data.
AvailableVersions is an interface for managing available component version data.
ClusterID is an interface for managing cluster ID data.
InstalledData is an interface for managing installed cluster metadata.