fb5eb77b870474a125430d03cc7b82bb30dfeada
[icn/sdwan.git] /
1 // SPDX-License-Identifier: Apache-2.0
2 // Copyright (c) 2020 Intel Corporation
3
4 package subresources
5
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"`
14 }