blob: 83be997904edd99ac2487bf2b178c38e1ccc69b2 [file] [log] [blame]
Zack Williamse940c7a2019-08-21 14:25:39 -07001/*
2Copyright The Kubernetes Authors.
3
4Licensed under the Apache License, Version 2.0 (the "License");
5you may not use this file except in compliance with the License.
6You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10Unless required by applicable law or agreed to in writing, software
11distributed under the License is distributed on an "AS IS" BASIS,
12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13See the License for the specific language governing permissions and
14limitations under the License.
15*/
16
17
18// This file was autogenerated by go-to-protobuf. Do not edit it manually!
19
20syntax = 'proto2';
21
22package k8s.io.apimachinery.pkg.apis.meta.v1beta1;
23
24import "k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto";
25import "k8s.io/apimachinery/pkg/runtime/generated.proto";
26import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto";
27
28// Package-wide variables from generator "generated".
29option go_package = "v1beta1";
30
31// PartialObjectMetadata is a generic representation of any object with ObjectMeta. It allows clients
32// to get access to a particular ObjectMeta schema without knowing the details of the version.
33// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
34message PartialObjectMetadata {
35 // Standard object's metadata.
36 // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
37 // +optional
38 optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
39}
40
41// PartialObjectMetadataList contains a list of objects containing only their metadata
42// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
43message PartialObjectMetadataList {
44 // items contains each of the included items.
45 repeated PartialObjectMetadata items = 1;
46}
47
48// TableOptions are used when a Table is requested by the caller.
49// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
50message TableOptions {
51 // includeObject decides whether to include each object along with its columnar information.
52 // Specifying "None" will return no object, specifying "Object" will return the full object contents, and
53 // specifying "Metadata" (the default) will return the object's metadata in the PartialObjectMetadata kind
54 // in version v1beta1 of the meta.k8s.io API group.
55 optional string includeObject = 1;
56}
57