1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-07 01:07:05 +00:00
node-feature-discovery/pkg/apis/nfd/v1alpha1/generated.proto
Muyassarov, Feruzjon e3a856b405 update re-generated code with make-generate results
Update generated code based on the updated from re-running make
generate.

Signed-off-by: Muyassarov, Feruzjon <feruzjon.muyassarov@intel.com>
2023-03-11 22:15:11 +02:00

77 lines
2 KiB
Protocol Buffer

/*
Copyright 2023 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// This file was autogenerated by go-to-protobuf. Do not edit it manually!
syntax = "proto2";
package v1alpha1;
// Package-wide variables from generator "generated".
option go_package = "sigs.k8s.io/node-feature-discovery/pkg/apis/nfd/v1alpha1";
// AttributeFeatureSet is a set of features having string value.
//
// +protobuf=true
message AttributeFeatureSet {
map<string, string> elements = 1;
}
// Features is the collection of all discovered features.
//
// +protobuf=true
message Features {
// Flags contains all the flag-type features of the node.
// +optional
map<string, FlagFeatureSet> flags = 1;
// Attributes contains all the attribute-type features of the node.
// +optional
map<string, AttributeFeatureSet> vattributes = 2;
// Instances contains all the instance-type features of the node.
// +optional
map<string, InstanceFeatureSet> instances = 3;
}
// FlagFeatureSet is a set of simple features only containing names without values.
//
// +protobuf=true
message FlagFeatureSet {
map<string, Nil> elements = 1;
}
// InstanceFeature represents one instance of a complex features, e.g. a device.
//
// +protobuf=true
message InstanceFeature {
map<string, string> attributes = 1;
}
// InstanceFeatureSet is a set of features each of which is an instance having multiple attributes.
//
// +protobuf=true
message InstanceFeatureSet {
repeated InstanceFeature elements = 1;
}
// Nil is a dummy empty struct for protobuf compatibility
//
// +protobuf=true
message Nil {
}