Documentation ¶
Index ¶
- Constants
- Variables
- func CacheDir() string
- func CvssVectorToScore(vector string) (string, float64)
- func ExtractRangeVersions(introduce string) (string, string)
- func GetComponentFromDescription(descriptions string, currentComponent string) string
- func GetLastUpdatedDate(dist string) (time.Time, error)
- func GetMultiIDs(id string) []string
- func K8sCveDir() string
- func MinorVersion(version string) bool
- func SetLastUpdatedDate(dist string, lastUpdatedDate time.Time) error
- func TrimString(version string, trimValues []string) string
- func UpdateVersions(to, introduce string) (string, string)
- func UpstreamOrgByName(component string) string
- func UpstreamRepoByName(component string) string
- type LastUpdated
Constants ¶
View Source
const ( LessThanOrEqual = "lessThenOrEqual" LessThen = "lessThen" )
Variables ¶
View Source
var ( UpstreamOrgName = map[string]string{ "k8s.io": "controller-manager,kubelet,apiserver,kubectl,kubernetes,kube-scheduler,kube-proxy", "sigs.k8s.io": "secrets-store-csi-driver", } UpstreamRepoName = map[string]string{ "kube-controller-manager": "controller-manager", "kubelet": "kubelet", "kube-apiserver": "apiserver", "kubectl": "kubectl", "kubernetes": "kubernetes", "kube-scheduler": "kube-scheduler", "kube-proxy": "kube-proxy", "api server": "apiserver", "secrets-store-csi-driver": "secrets-store-csi-driver", } )
Functions ¶
func CvssVectorToScore ¶
func ExtractRangeVersions ¶
func GetMultiIDs ¶
func MinorVersion ¶
MinorVersion returns true if version is minor version 1.1 or 2.2 and etc
func TrimString ¶
func UpdateVersions ¶
func UpstreamOrgByName ¶
func UpstreamRepoByName ¶
Types ¶
type LastUpdated ¶
Click to show internal directories.
Click to hide internal directories.