package will now be listed, sorted by lastupdatedtime (#1334)

This commit is contained in:
Vivek Singh
2019-10-01 15:30:51 +08:00
committed by Ta-Ching Chen
parent b47b3ecb70
commit 96ae708163
3 changed files with 25 additions and 9 deletions
+5
View File
@@ -17,6 +17,8 @@ limitations under the License.
package v1
import (
"time"
apiv1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
@@ -280,6 +282,9 @@ type (
// BuildLog stores build log during the compilation.
BuildLog string `json:"buildlog,omitempty"` // output of the build (errors etc)
// LastUpdateTimestamp will store the timestamp the package was last updated
LastUpdateTimestamp time.Time `json:"lastUpdateTimestamp,omitempty"`
}
// PackageRef is a reference to the package.