Files
go/kubernetes/client/v1beta1_custom_resource_definition_spec.go
Haowei Cai 6181687d2e Generated API change for kubernetes 1.10
Settings:
    export KUBERNETES_BRANCH="release-1.10"
    export CLIENT_VERSION="0.1.0a1"
    export PACKAGE_NAME="client"
2018-03-21 14:15:19 -07:00

33 lines
1.2 KiB
Go

/*
* Kubernetes
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* API version: v1.10.0
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package client
// CustomResourceDefinitionSpec describes how a user wants their resource to appear
type V1beta1CustomResourceDefinitionSpec struct {
// Group is the group this resource belongs in
Group string `json:"group"`
// Names are the names used to describe this custom resource
Names *V1beta1CustomResourceDefinitionNames `json:"names"`
// Scope indicates whether this resource is cluster or namespace scoped. Default is namespaced
Scope string `json:"scope"`
// Subresources describes the subresources for CustomResources This field is alpha-level and should only be sent to servers that enable subresources via the CustomResourceSubresources feature gate.
Subresources *V1beta1CustomResourceSubresources `json:"subresources,omitempty"`
// Validation describes the validation methods for CustomResources
Validation *V1beta1CustomResourceValidation `json:"validation,omitempty"`
// Version is the version this resource belongs in
Version string `json:"version"`
}