Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (7 sloc) 354 Bytes
package v1alpha1
type sortClusterStatusVersionsByDate []StatusClusterVersion
func (s sortClusterStatusVersionsByDate) Len() int { return len(s) }
func (s sortClusterStatusVersionsByDate) Swap(i, j int) { s[i], s[j] = s[j], s[i] }
func (s sortClusterStatusVersionsByDate) Less(i, j int) bool {
return s[i].Date.UnixNano() < s[j].Date.UnixNano()
}
You can’t perform that action at this time.