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