Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewBuildInfoFromOldString (0.16 sec)

  1. pkg/version/version.go

    type DockerBuildInfo struct {
    	Hub  string
    	Tag  string
    	OS   string
    	Arch string
    }
    
    // NewBuildInfoFromOldString creates a BuildInfo struct based on the output
    // of previous Istio components '-- version' output
    func NewBuildInfoFromOldString(oldOutput string) (BuildInfo, error) {
    	res := BuildInfo{}
    
    	lines := strings.Split(oldOutput, "\n")
    	for _, line := range lines {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 29 14:15:26 UTC 2023
    - 3.8K bytes
    - Viewed (0)
Back to top