Merge pull request #2035 from pwittrock/openapi

Introduce OpenAPI kyaml libraries
This commit is contained in:
Kubernetes Prow Robot
2020-01-09 09:35:45 -08:00
committed by GitHub
18 changed files with 21917 additions and 9 deletions

View File

@@ -223,6 +223,11 @@ func (m MapNodeSlice) Values() []*RNode {
return values
}
type TypeMeta struct {
Kind string
APIVersion string
}
// ResourceMeta contains the metadata for a both Resource Type and Resource.
type ResourceMeta struct {
// APIVersion is the apiVersion field of a Resource