sslobodr | d046be8 | 2019-01-16 10:02:22 -0500 | [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 | |
| 29 | // Package-wide variables from generator "generated". |
| 30 | option go_package = "v1alpha1"; |
| 31 | |
| 32 | // PodPreset is a policy resource that defines additional runtime |
| 33 | // requirements for a Pod. |
| 34 | message PodPreset { |
| 35 | // +optional |
| 36 | optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; |
| 37 | |
| 38 | // +optional |
| 39 | optional PodPresetSpec spec = 2; |
| 40 | } |
| 41 | |
| 42 | // PodPresetList is a list of PodPreset objects. |
| 43 | message PodPresetList { |
| 44 | // Standard list metadata. |
| 45 | // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata |
| 46 | // +optional |
| 47 | optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; |
| 48 | |
| 49 | // Items is a list of schema objects. |
| 50 | repeated PodPreset items = 2; |
| 51 | } |
| 52 | |
| 53 | // PodPresetSpec is a description of a pod preset. |
| 54 | message PodPresetSpec { |
| 55 | // Selector is a label query over a set of resources, in this case pods. |
| 56 | // Required. |
| 57 | optional k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 1; |
| 58 | |
| 59 | // Env defines the collection of EnvVar to inject into containers. |
| 60 | // +optional |
| 61 | repeated k8s.io.api.core.v1.EnvVar env = 2; |
| 62 | |
| 63 | // EnvFrom defines the collection of EnvFromSource to inject into containers. |
| 64 | // +optional |
| 65 | repeated k8s.io.api.core.v1.EnvFromSource envFrom = 3; |
| 66 | |
| 67 | // Volumes defines the collection of Volume to inject into the pod. |
| 68 | // +optional |
| 69 | repeated k8s.io.api.core.v1.Volume volumes = 4; |
| 70 | |
| 71 | // VolumeMounts defines the collection of VolumeMount to inject into containers. |
| 72 | // +optional |
| 73 | repeated k8s.io.api.core.v1.VolumeMount volumeMounts = 5; |
| 74 | } |
| 75 | |