1 // SPDX-License-Identifier: Apache-2.0
2 // Copyright (c) 2020 Intel Corporation
6 // The ApprovalSubresource type defines the 4 necessary parameters
7 // that the "approval" subresource of a CertificateSigningRequest in K8s
8 // requires, in a forma tto be exchanged over AppContext
9 type ApprovalSubresource struct {
10 LastUpdateTime string `json:"lastUpdateTime,omitempty"`
11 Message string `json:"message,omitempty"`
12 Reason string `json:"reason,omitempty"`
13 Type string `json:"type,omitempty"`