mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
Merge pull request #100233 from umangachapagain/imagepolicy-desc
add missing description to api/imagepolicy/v1alpha1/types.go
This commit is contained in:
commit
032a6fd494
@ -11,7 +11,6 @@
|
|||||||
./staging/src/k8s.io/api/extensions/v1beta1/types.go
|
./staging/src/k8s.io/api/extensions/v1beta1/types.go
|
||||||
./staging/src/k8s.io/api/flowcontrol/v1alpha1/types.go
|
./staging/src/k8s.io/api/flowcontrol/v1alpha1/types.go
|
||||||
./staging/src/k8s.io/api/flowcontrol/v1beta1/types.go
|
./staging/src/k8s.io/api/flowcontrol/v1beta1/types.go
|
||||||
./staging/src/k8s.io/api/imagepolicy/v1alpha1/types.go
|
|
||||||
./staging/src/k8s.io/api/networking/v1/types.go
|
./staging/src/k8s.io/api/networking/v1/types.go
|
||||||
./staging/src/k8s.io/api/networking/v1beta1/types.go
|
./staging/src/k8s.io/api/networking/v1beta1/types.go
|
||||||
./staging/src/k8s.io/api/policy/v1beta1/types.go
|
./staging/src/k8s.io/api/policy/v1beta1/types.go
|
||||||
|
@ -30,6 +30,8 @@ option go_package = "v1alpha1";
|
|||||||
|
|
||||||
// ImageReview checks if the set of images in a pod are allowed.
|
// ImageReview checks if the set of images in a pod are allowed.
|
||||||
message ImageReview {
|
message ImageReview {
|
||||||
|
// Standard object's metadata.
|
||||||
|
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||||
// +optional
|
// +optional
|
||||||
optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
|
optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
|
||||||
|
|
||||||
|
@ -28,6 +28,8 @@ import (
|
|||||||
// ImageReview checks if the set of images in a pod are allowed.
|
// ImageReview checks if the set of images in a pod are allowed.
|
||||||
type ImageReview struct {
|
type ImageReview struct {
|
||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
|
// Standard object's metadata.
|
||||||
|
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||||
// +optional
|
// +optional
|
||||||
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
|
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
|
||||||
|
|
||||||
|
@ -28,9 +28,10 @@ package v1alpha1
|
|||||||
|
|
||||||
// AUTO-GENERATED FUNCTIONS START HERE. DO NOT EDIT.
|
// AUTO-GENERATED FUNCTIONS START HERE. DO NOT EDIT.
|
||||||
var map_ImageReview = map[string]string{
|
var map_ImageReview = map[string]string{
|
||||||
"": "ImageReview checks if the set of images in a pod are allowed.",
|
"": "ImageReview checks if the set of images in a pod are allowed.",
|
||||||
"spec": "Spec holds information about the pod being evaluated",
|
"metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
|
||||||
"status": "Status is filled in by the backend and indicates whether the pod should be allowed.",
|
"spec": "Spec holds information about the pod being evaluated",
|
||||||
|
"status": "Status is filled in by the backend and indicates whether the pod should be allowed.",
|
||||||
}
|
}
|
||||||
|
|
||||||
func (ImageReview) SwaggerDoc() map[string]string {
|
func (ImageReview) SwaggerDoc() map[string]string {
|
||||||
|
Loading…
Reference in New Issue
Block a user