Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
- Loading branch information
1 parent
1e1fef7
commit 63537e8
Showing
17 changed files
with
1,206 additions
and
0 deletions.
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
api/hypershift/v1beta1/certificatesigningrequestapproval_types.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
package v1beta1 | ||
|
||
import ( | ||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" | ||
) | ||
|
||
// +genclient | ||
// +kubebuilder:resource:path=certificatesigningrequestapprovals,shortName=csra;csras,scope=Namespaced | ||
// +kubebuilder:object:root=true | ||
// +kubebuilder:storageversion | ||
|
||
// CertificateSigningRequestApproval defines the desired state of CertificateSigningRequestApproval | ||
type CertificateSigningRequestApproval struct { | ||
metav1.TypeMeta `json:",inline"` | ||
metav1.ObjectMeta `json:"metadata,omitempty"` | ||
|
||
Spec CertificateSigningRequestApprovalSpec `json:"spec,omitempty"` | ||
Status CertificateSigningRequestApprovalStatus `json:"status,omitempty"` | ||
} | ||
|
||
// CertificateSigningRequestApprovalSpec defines the desired state of CertificateSigningRequestApproval | ||
type CertificateSigningRequestApprovalSpec struct{} | ||
|
||
// CertificateSigningRequestApprovalStatus defines the observed state of CertificateSigningRequestApproval | ||
type CertificateSigningRequestApprovalStatus struct{} | ||
|
||
// +kubebuilder:object:root=true | ||
|
||
// CertificateSigningRequestApprovalList contains a list of CertificateSigningRequestApprovals. | ||
type CertificateSigningRequestApprovalList struct { | ||
metav1.TypeMeta `json:",inline"` | ||
metav1.ListMeta `json:"metadata,omitempty"` | ||
Items []CertificateSigningRequestApproval `json:"items"` | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
219 changes: 219 additions & 0 deletions
219
client/applyconfiguration/hypershift/v1beta1/certificatesigningrequestapproval.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.