Matthias Andreas Benkard | 832a54e | 2019-01-29 09:27:38 +0100 | [diff] [blame] | 1 | /* |
| 2 | Copyright The Kubernetes Authors. |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | */ |
| 16 | |
| 17 | |
| 18 | // This file was autogenerated by go-to-protobuf. Do not edit it manually! |
| 19 | |
| 20 | syntax = 'proto2'; |
| 21 | |
| 22 | package k8s.io.api.settings.v1alpha1; |
| 23 | |
| 24 | import "k8s.io/api/core/v1/generated.proto"; |
| 25 | import "k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto"; |
| 26 | import "k8s.io/apimachinery/pkg/runtime/generated.proto"; |
| 27 | import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto"; |
| 28 | import "k8s.io/apimachinery/pkg/util/intstr/generated.proto"; |
| 29 | |
| 30 | // Package-wide variables from generator "generated". |
| 31 | option go_package = "v1alpha1"; |
| 32 | |
| 33 | // PodPreset is a policy resource that defines additional runtime |
| 34 | // requirements for a Pod. |
| 35 | message PodPreset { |
| 36 | // +optional |
| 37 | optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; |
| 38 | |
| 39 | // +optional |
| 40 | optional PodPresetSpec spec = 2; |
| 41 | } |
| 42 | |
| 43 | // PodPresetList is a list of PodPreset objects. |
| 44 | message PodPresetList { |
| 45 | // Standard list metadata. |
| 46 | // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata |
| 47 | // +optional |
| 48 | optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; |
| 49 | |
| 50 | // Items is a list of schema objects. |
| 51 | repeated PodPreset items = 2; |
| 52 | } |
| 53 | |
| 54 | // PodPresetSpec is a description of a pod preset. |
| 55 | message PodPresetSpec { |
| 56 | // Selector is a label query over a set of resources, in this case pods. |
| 57 | // Required. |
| 58 | optional k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 1; |
| 59 | |
| 60 | // Env defines the collection of EnvVar to inject into containers. |
| 61 | // +optional |
| 62 | repeated k8s.io.api.core.v1.EnvVar env = 2; |
| 63 | |
| 64 | // EnvFrom defines the collection of EnvFromSource to inject into containers. |
| 65 | // +optional |
| 66 | repeated k8s.io.api.core.v1.EnvFromSource envFrom = 3; |
| 67 | |
| 68 | // Volumes defines the collection of Volume to inject into the pod. |
| 69 | // +optional |
| 70 | repeated k8s.io.api.core.v1.Volume volumes = 4; |
| 71 | |
| 72 | // VolumeMounts defines the collection of VolumeMount to inject into containers. |
| 73 | // +optional |
| 74 | repeated k8s.io.api.core.v1.VolumeMount volumeMounts = 5; |
| 75 | } |
| 76 | |