1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-14 11:57:51 +00:00

pkg/api/feature: update auto-generated code

Complete the previous renaming.
This commit is contained in:
Markus Lehtonen 2022-07-01 10:12:34 +03:00
parent abdbd420d1
commit 7f806e8c45
2 changed files with 675 additions and 675 deletions

File diff suppressed because it is too large Load diff

View file

@ -24,15 +24,25 @@ package feature;
// Package-wide variables from generator "generated".
option go_package = "sigs.k8s.io/node-feature-discovery/pkg/api/feature";
// AttributeFeatureSet is a set of features having string value.
message AttributeFeatureSet {
map<string, string> elements = 1;
}
// DomainFeatures is the collection of all discovered features of one domain.
message DomainFeatures {
map<string, KeyFeatureSet> keys = 1;
map<string, FlagFeatureSet> flags = 1;
map<string, ValueFeatureSet> values = 2;
map<string, AttributeFeatureSet> vattributes = 2;
map<string, InstanceFeatureSet> instances = 3;
}
// FlagFeatureSet is a set of simple features only containing names without values.
message FlagFeatureSet {
map<string, Nil> elements = 1;
}
// InstanceFeature represents one instance of a complex features, e.g. a device.
message InstanceFeature {
map<string, string> attributes = 1;
@ -43,17 +53,7 @@ message InstanceFeatureSet {
repeated InstanceFeature elements = 1;
}
// KeyFeatureSet is a set of simple features only containing names without values.
message KeyFeatureSet {
map<string, Nil> elements = 1;
}
// Nil is a dummy empty struct for protobuf compatibility
message Nil {
}
// ValueFeatureSet is a set of features having string value.
message ValueFeatureSet {
map<string, string> elements = 1;
}