Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAPIResourceSchemas ¶ added in v0.7.1
func CreateAPIResourceSchemas(schemes []*runtime.Scheme, openAPIDefinitionsGetters []common.GetOpenAPIDefinitions, defs ...InternalAPI) (map[apisv1alpha1.GroupResource]*apisv1alpha1.APIResourceSchema, error)
Types ¶
type InternalAPI ¶
type InternalAPI struct {
Names apiextensionsv1.CustomResourceDefinitionNames
GroupVersion schema.GroupVersion
Instance runtime.Object
ResourceScope apiextensionsv1.ResourceScope
HasStatus bool
}
InternalAPI describes an API to be imported from some schemes and generated OpenAPI V2 definitions.
Click to show internal directories.
Click to hide internal directories.