1 // Copyright (c) 2020 Cisco and/or its affiliates.
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at:
7 // http://www.apache.org/licenses/LICENSE-2.0
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
15 // Package vppapi parses VPP API files without any additional processing.
24 Options map[string]string `json:",omitempty"`
25 Imports []string `json:",omitempty"`
27 AliasTypes []AliasType `json:",omitempty"`
28 EnumTypes []EnumType `json:",omitempty"`
29 StructTypes []StructType `json:",omitempty"`
30 UnionTypes []UnionType `json:",omitempty"`
32 Messages []Message `json:",omitempty"`
33 Service *Service `json:",omitempty"`
39 Length int `json:",omitempty"`
72 Length int `json:",omitempty"`
73 Array bool `json:",omitempty"`
74 SizeFrom string `json:",omitempty"`
75 Meta map[string]interface{} `json:",omitempty"`
79 RPCs []RPC `json:",omitempty"`
85 Stream bool `json:",omitempty"`
86 StreamMsg string `json:",omitempty"`
87 Events []string `json:",omitempty"`