api/types/typemeta.go
raw| 1 | // Copyright 2019 The Kubernetes Authors. |
| 2 | // SPDX-License-Identifier: Apache-2.0 |
| 3 | |
| 4 | package types |
| 5 | |
| 6 | // TypeMeta partially copies apimachinery/pkg/apis/meta/v1.TypeMeta |
| 7 | // No need for a direct dependence; the fields are stable. |
| 8 | type TypeMeta struct { |
| 9 | Kind string `json:"kind,omitempty" yaml:"kind,omitempty"` |
| 10 | APIVersion string `json:"apiVersion,omitempty" yaml:"apiVersion,omitempty"` |
| 11 | } |