github.com/kubeshop/testkube@v1.17.23/pkg/api/v1/testkube/model_debug_info_extended.go (about)

     1  package testkube
     2  
     3  // Table builds up a table from parts of the DebugInfo that are short and easy to read - no logs
     4  func (d DebugInfo) Table() (header []string, output [][]string) {
     5  	header = []string{"Client Version", "Server Version", "Cluster Version"}
     6  	output = make([][]string, 0)
     7  
     8  	row := []string{d.ClientVersion, d.ServerVersion, d.ClusterVersion}
     9  	output = append(output, row)
    10  
    11  	return header, output
    12  }